// File: gtarcoder[P]libevent_utils/utils.cpp
// Function: GetLocalTime[abi:cxx11]()
std::string GetLocalTime(){
	std::time_t now = time(NULL);
	struct tm* t = localtime(&now);
	std::ostringstream os;

	os << std::setw(4) << (t->tm_year + 1900);

	os << '-' << std::setw(2) << std::setfill('0') << t->tm_mon + 1 << '-' << std::setw(2) << std::setfill('0') << t->tm_mday
		<< "  " << std::setw(2) << std::setfill('0') << t->tm_hour
		<< ':' << std::setw(2) << std::setfill('0') << t->tm_min
		<< ':' << std::setw(2) << std::setfill('0') << t->tm_sec << "  ";

	return os.str();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x2e0, %rsp            # imm = 0x2E0
movq %rdi, -0x1e0(%rbp)
movq %rdi, %rax
movq %rax, -0x1d8(%rbp)
movq %rdi, -0x8(%rbp)
xorl %eax, %eax
movl %eax, %edi
callq 0x2270
movq %rax, -0x10(%rbp)
leaq -0x10(%rbp), %rdi
callq 0x21f0
movq %rax, -0x18(%rbp)
leaq -0x190(%rbp), %rdi
callq 0x2370
movl $0x4, %edi
callq 0x6240
movl %eax, -0x1d0(%rbp)
jmp 0x5bf8
movl -0x1d0(%rbp), %eax
movl %eax, -0x194(%rbp)
movl -0x194(%rbp), %esi
leaq -0x190(%rbp), %rdi
callq 0x2310
movq %rax, -0x1e8(%rbp)
jmp 0x5c1f
movq -0x1e8(%rbp), %rdi
movq -0x18(%rbp), %rax
movl 0x14(%rax), %esi
addl $0x76c, %esi            # imm = 0x76C
callq 0x2400
jmp 0x5c3a
leaq -0x190(%rbp), %rdi
movl $0x2d, %esi
callq 0x2330
movq %rax, -0x1f0(%rbp)
jmp 0x5c54
movl $0x2, %edi
callq 0x6240
movl %eax, -0x1f4(%rbp)
jmp 0x5c66
movq -0x1f0(%rbp), %rdi
movl -0x1f4(%rbp), %eax
movl %eax, -0x1a8(%rbp)
movl -0x1a8(%rbp), %esi
callq 0x2310
movq %rax, -0x200(%rbp)
jmp 0x5c8d
movl $0x30, %edi
callq 0x6260
movb %al, -0x201(%rbp)
jmp 0x5c9f
movq -0x200(%rbp), %rdi
movb -0x201(%rbp), %al
movb %al, -0x1a9(%rbp)
movzbl -0x1a9(%rbp), %esi
callq 0x23c0
movq %rax, -0x210(%rbp)
jmp 0x5cc7
movq -0x210(%rbp), %rdi
movq -0x18(%rbp), %rax
movl 0x10(%rax), %esi
incl %esi
callq 0x2400
movq %rax, -0x218(%rbp)
jmp 0x5ce5
movq -0x218(%rbp), %rdi
movl $0x2d, %esi
callq 0x2330
movq %rax, -0x220(%rbp)
jmp 0x5cff
movl $0x2, %edi
callq 0x6240
movl %eax, -0x224(%rbp)
jmp 0x5d11
movq -0x220(%rbp), %rdi
movl -0x224(%rbp), %eax
movl %eax, -0x1b0(%rbp)
movl -0x1b0(%rbp), %esi
callq 0x2310
movq %rax, -0x230(%rbp)
jmp 0x5d38
movl $0x30, %edi
callq 0x6260
movb %al, -0x231(%rbp)
jmp 0x5d4a
movq -0x230(%rbp), %rdi
movb -0x231(%rbp), %al
movb %al, -0x1b1(%rbp)
movzbl -0x1b1(%rbp), %esi
callq 0x23c0
movq %rax, -0x240(%rbp)
jmp 0x5d72
movq -0x240(%rbp), %rdi
movq -0x18(%rbp), %rax
movl 0xc(%rax), %esi
callq 0x2400
movq %rax, -0x248(%rbp)
jmp 0x5d8e
movq -0x248(%rbp), %rdi
leaq 0x1640(%rip), %rsi      # 0x73dc
callq 0x22a0
movq %rax, -0x250(%rbp)
jmp 0x5daa
movl $0x2, %edi
callq 0x6240
movl %eax, -0x254(%rbp)
jmp 0x5dbc
movq -0x250(%rbp), %rdi
movl -0x254(%rbp), %eax
movl %eax, -0x1b8(%rbp)
movl -0x1b8(%rbp), %esi
callq 0x2310
movq %rax, -0x260(%rbp)
jmp 0x5de3
movl $0x30, %edi
callq 0x6260
movb %al, -0x261(%rbp)
jmp 0x5df5
movq -0x260(%rbp), %rdi
movb -0x261(%rbp), %al
movb %al, -0x1b9(%rbp)
movzbl -0x1b9(%rbp), %esi
callq 0x23c0
movq %rax, -0x270(%rbp)
jmp 0x5e1d
movq -0x270(%rbp), %rdi
movq -0x18(%rbp), %rax
movl 0x8(%rax), %esi
callq 0x2400
movq %rax, -0x278(%rbp)
jmp 0x5e39
movq -0x278(%rbp), %rdi
movl $0x3a, %esi
callq 0x2330
movq %rax, -0x280(%rbp)
jmp 0x5e53
movl $0x2, %edi
callq 0x6240
movl %eax, -0x284(%rbp)
jmp 0x5e65
movq -0x280(%rbp), %rdi
movl -0x284(%rbp), %eax
movl %eax, -0x1c0(%rbp)
movl -0x1c0(%rbp), %esi
callq 0x2310
movq %rax, -0x290(%rbp)
jmp 0x5e8c
movl $0x30, %edi
callq 0x6260
movb %al, -0x291(%rbp)
jmp 0x5e9e
movq -0x290(%rbp), %rdi
movb -0x291(%rbp), %al
movb %al, -0x1c1(%rbp)
movzbl -0x1c1(%rbp), %esi
callq 0x23c0
movq %rax, -0x2a0(%rbp)
jmp 0x5ec6
movq -0x2a0(%rbp), %rdi
movq -0x18(%rbp), %rax
movl 0x4(%rax), %esi
callq 0x2400
movq %rax, -0x2a8(%rbp)
jmp 0x5ee2
movq -0x2a8(%rbp), %rdi
movl $0x3a, %esi
callq 0x2330
movq %rax, -0x2b0(%rbp)
jmp 0x5efc
movl $0x2, %edi
callq 0x6240
movl %eax, -0x2b4(%rbp)
jmp 0x5f0e
movq -0x2b0(%rbp), %rdi
movl -0x2b4(%rbp), %eax
movl %eax, -0x1c8(%rbp)
movl -0x1c8(%rbp), %esi
callq 0x2310
movq %rax, -0x2c0(%rbp)
jmp 0x5f35
movl $0x30, %edi
callq 0x6260
movb %al, -0x2c1(%rbp)
jmp 0x5f47
movq -0x2c0(%rbp), %rdi
movb -0x2c1(%rbp), %al
movb %al, -0x1c9(%rbp)
movzbl -0x1c9(%rbp), %esi
callq 0x23c0
movq %rax, -0x2d0(%rbp)
jmp 0x5f6f
movq -0x2d0(%rbp), %rdi
movq -0x18(%rbp), %rax
movl (%rax), %esi
callq 0x2400
movq %rax, -0x2d8(%rbp)
jmp 0x5f8a
movq -0x2d8(%rbp), %rdi
leaq 0x1444(%rip), %rsi      # 0x73dc
callq 0x22a0
jmp 0x5f9f
movq -0x1e0(%rbp), %rdi
leaq -0x190(%rbp), %rsi
callq 0x22e0
jmp 0x5fb4
leaq -0x190(%rbp), %rdi
callq 0x2090
movq -0x1d8(%rbp), %rax
addq $0x2e0, %rsp            # imm = 0x2E0
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1a0(%rbp)
movl %eax, -0x1a4(%rbp)
leaq -0x190(%rbp), %rdi
callq 0x2090
movq -0x1a0(%rbp), %rdi
callq 0x2420
nopw (%rax,%rax)