// File: /workspace/github_cpp_makefile_star2_O3/lega911[P]ijson/src/utils.cpp
// Function: ltime()
const char *ltime() {
    // thread unsafe
    std::time_t t = std::time(0);
    std::tm* now = std::localtime(&t);

    lbuf.clear();
    lbuf.add_number(now->tm_year + 1900);
    lbuf.add("-", 1);
    int mon = now->tm_mon + 1;
    if(mon < 10) lbuf.add("0", 1);
    lbuf.add_number(mon);
    lbuf.add("-", 1);
    if(now->tm_mday < 10) lbuf.add("0", 1);
    lbuf.add_number(now->tm_mday);
    lbuf.add(" ", 1);
    if(now->tm_hour < 10) lbuf.add("0", 1);
    lbuf.add_number(now->tm_hour);
    lbuf.add(":", 1);
    if(now->tm_min < 10) lbuf.add("0", 1);
    lbuf.add_number(now->tm_min);
    lbuf.add(":", 1);
    if(now->tm_sec < 10) lbuf.add("0", 1);
    lbuf.add_number(now->tm_sec);
    lbuf.add(" ", 1);

    return lbuf.ptr();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
xorl %edi, %edi
callq 0x82c0
leaq -0x20(%rbp), %rdi
movq %rax, (%rdi)
callq 0x8230
movq %rax, %rbx
movl $0x0, 0x7ee9(%rip)      # 0x1e308
leaq 0x7eda(%rip), %r14      # 0x1e300
movslq 0x14(%rax), %rsi
addq $0x76c, %rsi            # imm = 0x76C
movq %r14, %rdi
callq 0xc35e
movl 0x7ec9(%rip), %esi      # 0x1e308
incl %esi
movq %r14, %rdi
callq 0xc596
movq 0x7eb0(%rip), %rax      # 0x1e300
movslq 0x7eb1(%rip), %rcx      # 0x1e308
movb $0x2d, (%rax,%rcx)
movl 0x7ea7(%rip), %esi      # 0x1e308
leal 0x1(%rsi), %eax
movl %eax, 0x7e9e(%rip)      # 0x1e308
movslq 0x10(%rbx), %rax
leaq 0x1(%rax), %r14
cmpq $0x8, %rax
jg 0x1649f
addl $0x2, %esi
leaq 0x7e7e(%rip), %rdi      # 0x1e300
callq 0xc596
movq 0x7e72(%rip), %rax      # 0x1e300
movslq 0x7e73(%rip), %rcx      # 0x1e308
movb $0x30, (%rax,%rcx)
incl 0x7e69(%rip)            # 0x1e308
leaq 0x7e5a(%rip), %r15      # 0x1e300
movq %r15, %rdi
movq %r14, %rsi
callq 0xc35e
movl 0x7e51(%rip), %esi      # 0x1e308
incl %esi
movq %r15, %rdi
callq 0xc596
movq 0x7e38(%rip), %rax      # 0x1e300
movslq 0x7e39(%rip), %rcx      # 0x1e308
movb $0x2d, (%rax,%rcx)
movl 0x7e2f(%rip), %esi      # 0x1e308
leal 0x1(%rsi), %eax
movl %eax, 0x7e26(%rip)      # 0x1e308
movl 0xc(%rbx), %eax
cmpl $0x9, %eax
jg 0x16514
addl $0x2, %esi
leaq 0x7e0c(%rip), %rdi      # 0x1e300
callq 0xc596
movq 0x7e00(%rip), %rax      # 0x1e300
movslq 0x7e01(%rip), %rcx      # 0x1e308
movb $0x30, (%rax,%rcx)
incl 0x7df7(%rip)            # 0x1e308
movl 0xc(%rbx), %eax
movslq %eax, %rsi
leaq 0x7de2(%rip), %r14      # 0x1e300
movq %r14, %rdi
callq 0xc35e
movl 0x7ddc(%rip), %esi      # 0x1e308
incl %esi
movq %r14, %rdi
callq 0xc596
movq 0x7dc3(%rip), %rax      # 0x1e300
movslq 0x7dc4(%rip), %rcx      # 0x1e308
movb $0x20, (%rax,%rcx)
movl 0x7dba(%rip), %esi      # 0x1e308
leal 0x1(%rsi), %eax
movl %eax, 0x7db1(%rip)      # 0x1e308
movl 0x8(%rbx), %eax
cmpl $0x9, %eax
jg 0x16589
addl $0x2, %esi
leaq 0x7d97(%rip), %rdi      # 0x1e300
callq 0xc596
movq 0x7d8b(%rip), %rax      # 0x1e300
movslq 0x7d8c(%rip), %rcx      # 0x1e308
movb $0x30, (%rax,%rcx)
incl 0x7d82(%rip)            # 0x1e308
movl 0x8(%rbx), %eax
movslq %eax, %rsi
leaq 0x7d6d(%rip), %r14      # 0x1e300
movq %r14, %rdi
callq 0xc35e
movl 0x7d67(%rip), %esi      # 0x1e308
incl %esi
movq %r14, %rdi
callq 0xc596
movq 0x7d4e(%rip), %rax      # 0x1e300
movslq 0x7d4f(%rip), %rcx      # 0x1e308
movb $0x3a, (%rax,%rcx)
movl 0x7d45(%rip), %esi      # 0x1e308
leal 0x1(%rsi), %eax
movl %eax, 0x7d3c(%rip)      # 0x1e308
movl 0x4(%rbx), %eax
cmpl $0x9, %eax
jg 0x165fe
addl $0x2, %esi
leaq 0x7d22(%rip), %rdi      # 0x1e300
callq 0xc596
movq 0x7d16(%rip), %rax      # 0x1e300
movslq 0x7d17(%rip), %rcx      # 0x1e308
movb $0x30, (%rax,%rcx)
incl 0x7d0d(%rip)            # 0x1e308
movl 0x4(%rbx), %eax
movslq %eax, %rsi
leaq 0x7cf8(%rip), %r14      # 0x1e300
movq %r14, %rdi
callq 0xc35e
movl 0x7cf2(%rip), %esi      # 0x1e308
incl %esi
movq %r14, %rdi
callq 0xc596
movq 0x7cd9(%rip), %rax      # 0x1e300
movslq 0x7cda(%rip), %rcx      # 0x1e308
movb $0x3a, (%rax,%rcx)
movl 0x7cd0(%rip), %esi      # 0x1e308
leal 0x1(%rsi), %eax
movl %eax, 0x7cc7(%rip)      # 0x1e308
movl (%rbx), %eax
cmpl $0x9, %eax
jg 0x16671
addl $0x2, %esi
leaq 0x7cae(%rip), %rdi      # 0x1e300
callq 0xc596
movq 0x7ca2(%rip), %rax      # 0x1e300
movslq 0x7ca3(%rip), %rcx      # 0x1e308
movb $0x30, (%rax,%rcx)
incl 0x7c99(%rip)            # 0x1e308
movl (%rbx), %eax
movslq %eax, %rsi
leaq 0x7c85(%rip), %rbx      # 0x1e300
movq %rbx, %rdi
callq 0xc35e
movl 0x7c7f(%rip), %esi      # 0x1e308
incl %esi
movq %rbx, %rdi
callq 0xc596
movq 0x7c66(%rip), %rax      # 0x1e300
movslq 0x7c67(%rip), %rcx      # 0x1e308
movb $0x20, (%rax,%rcx)
incl 0x7c5d(%rip)            # 0x1e308
movq 0x7c4e(%rip), %rax      # 0x1e300
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop