// File: /workspace/github_cpp_makefile_star2_O1/cqbqdd11519[P]DockerClient/rapidjson/include/rapidjson/internal/itoa.h
// Function: rapidjson::internal::u64toa(unsigned long, char*)
inline char* u64toa(uint64_t value, char* buffer) {
    RAPIDJSON_ASSERT(buffer != 0);
    const char* cDigitsLut = GetDigitsLut();
    const uint64_t  kTen8 = 100000000;
    const uint64_t  kTen9 = kTen8 * 10;
    const uint64_t kTen10 = kTen8 * 100;
    const uint64_t kTen11 = kTen8 * 1000;
    const uint64_t kTen12 = kTen8 * 10000;
    const uint64_t kTen13 = kTen8 * 100000;
    const uint64_t kTen14 = kTen8 * 1000000;
    const uint64_t kTen15 = kTen8 * 10000000;
    const uint64_t kTen16 = kTen8 * kTen8;

    if (value < kTen8) {
        uint32_t v = static_cast<uint32_t>(value);
        if (v < 10000) {
            const uint32_t d1 = (v / 100) << 1;
            const uint32_t d2 = (v % 100) << 1;

            if (v >= 1000)
                *buffer++ = cDigitsLut[d1];
            if (v >= 100)
                *buffer++ = cDigitsLut[d1 + 1];
            if (v >= 10)
                *buffer++ = cDigitsLut[d2];
            *buffer++ = cDigitsLut[d2 + 1];
        }
        else {
            // value = bbbbcccc
            const uint32_t b = v / 10000;
            const uint32_t c = v % 10000;

            const uint32_t d1 = (b / 100) << 1;
            const uint32_t d2 = (b % 100) << 1;

            const uint32_t d3 = (c / 100) << 1;
            const uint32_t d4 = (c % 100) << 1;

            if (value >= 10000000)
                *buffer++ = cDigitsLut[d1];
            if (value >= 1000000)
                *buffer++ = cDigitsLut[d1 + 1];
            if (value >= 100000)
                *buffer++ = cDigitsLut[d2];
            *buffer++ = cDigitsLut[d2 + 1];

            *buffer++ = cDigitsLut[d3];
            *buffer++ = cDigitsLut[d3 + 1];
            *buffer++ = cDigitsLut[d4];
            *buffer++ = cDigitsLut[d4 + 1];
        }
    }
    else if (value < kTen16) {
        const uint32_t v0 = static_cast<uint32_t>(value / kTen8);
        const uint32_t v1 = static_cast<uint32_t>(value % kTen8);

        const uint32_t b0 = v0 / 10000;
        const uint32_t c0 = v0 % 10000;

        const uint32_t d1 = (b0 / 100) << 1;
        const uint32_t d2 = (b0 % 100) << 1;

        const uint32_t d3 = (c0 / 100) << 1;
        const uint32_t d4 = (c0 % 100) << 1;

        const uint32_t b1 = v1 / 10000;
        const uint32_t c1 = v1 % 10000;

        const uint32_t d5 = (b1 / 100) << 1;
        const uint32_t d6 = (b1 % 100) << 1;

        const uint32_t d7 = (c1 / 100) << 1;
        const uint32_t d8 = (c1 % 100) << 1;

        if (value >= kTen15)
            *buffer++ = cDigitsLut[d1];
        if (value >= kTen14)
            *buffer++ = cDigitsLut[d1 + 1];
        if (value >= kTen13)
            *buffer++ = cDigitsLut[d2];
        if (value >= kTen12)
            *buffer++ = cDigitsLut[d2 + 1];
        if (value >= kTen11)
            *buffer++ = cDigitsLut[d3];
        if (value >= kTen10)
            *buffer++ = cDigitsLut[d3 + 1];
        if (value >= kTen9)
            *buffer++ = cDigitsLut[d4];

        *buffer++ = cDigitsLut[d4 + 1];
        *buffer++ = cDigitsLut[d5];
        *buffer++ = cDigitsLut[d5 + 1];
        *buffer++ = cDigitsLut[d6];
        *buffer++ = cDigitsLut[d6 + 1];
        *buffer++ = cDigitsLut[d7];
        *buffer++ = cDigitsLut[d7 + 1];
        *buffer++ = cDigitsLut[d8];
        *buffer++ = cDigitsLut[d8 + 1];
    }
    else {
        const uint32_t a = static_cast<uint32_t>(value / kTen16); // 1 to 1844
        value %= kTen16;

        if (a < 10)
            *buffer++ = static_cast<char>('0' + static_cast<char>(a));
        else if (a < 100) {
            const uint32_t i = a << 1;
            *buffer++ = cDigitsLut[i];
            *buffer++ = cDigitsLut[i + 1];
        }
        else if (a < 1000) {
            *buffer++ = static_cast<char>('0' + static_cast<char>(a / 100));

            const uint32_t i = (a % 100) << 1;
            *buffer++ = cDigitsLut[i];
            *buffer++ = cDigitsLut[i + 1];
        }
        else {
            const uint32_t i = (a / 100) << 1;
            const uint32_t j = (a % 100) << 1;
            *buffer++ = cDigitsLut[i];
            *buffer++ = cDigitsLut[i + 1];
            *buffer++ = cDigitsLut[j];
            *buffer++ = cDigitsLut[j + 1];
        }

        const uint32_t v0 = static_cast<uint32_t>(value / kTen8);
        const uint32_t v1 = static_cast<uint32_t>(value % kTen8);

        const uint32_t b0 = v0 / 10000;
        const uint32_t c0 = v0 % 10000;

        const uint32_t d1 = (b0 / 100) << 1;
        const uint32_t d2 = (b0 % 100) << 1;

        const uint32_t d3 = (c0 / 100) << 1;
        const uint32_t d4 = (c0 % 100) << 1;

        const uint32_t b1 = v1 / 10000;
        const uint32_t c1 = v1 % 10000;

        const uint32_t d5 = (b1 / 100) << 1;
        const uint32_t d6 = (b1 % 100) << 1;

        const uint32_t d7 = (c1 / 100) << 1;
        const uint32_t d8 = (c1 % 100) << 1;

        *buffer++ = cDigitsLut[d1];
        *buffer++ = cDigitsLut[d1 + 1];
        *buffer++ = cDigitsLut[d2];
        *buffer++ = cDigitsLut[d2 + 1];
        *buffer++ = cDigitsLut[d3];
        *buffer++ = cDigitsLut[d3 + 1];
        *buffer++ = cDigitsLut[d4];
        *buffer++ = cDigitsLut[d4 + 1];
        *buffer++ = cDigitsLut[d5];
        *buffer++ = cDigitsLut[d5 + 1];
        *buffer++ = cDigitsLut[d6];
        *buffer++ = cDigitsLut[d6 + 1];
        *buffer++ = cDigitsLut[d7];
        *buffer++ = cDigitsLut[d7 + 1];
        *buffer++ = cDigitsLut[d8];
        *buffer++ = cDigitsLut[d8 + 1];
    }

    return buffer;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
testq %rsi, %rsi
je 0xd199
cmpq $0x5f5e0ff, %rdi        # imm = 0x5F5E0FF
ja 0xccb4
movl %edi, %eax
cmpq $0x270f, %rdi           # imm = 0x270F
ja 0xced1
movl %eax, %ecx
imulq $0x51eb851f, %rcx, %rcx # imm = 0x51EB851F
shrq $0x25, %rcx
imull $0x64, %ecx, %edx
addl %ecx, %ecx
cmpq $0x3e8, %rdi            # imm = 0x3E8
jb 0xcc6c
movq 0xb2fe(%rip), %r8       # 0x17f60
movb (%r8,%rcx), %r8b
movb %r8b, (%rsi)
incq %rsi
subl %edx, %eax
cmpq $0x64, %rdi
jb 0xcc86
movl %ecx, %ecx
movq 0xb2e3(%rip), %rdx      # 0x17f60
movb 0x1(%rdx,%rcx), %cl
movb %cl, (%rsi)
incq %rsi
addl %eax, %eax
cmpq $0xa, %rdi
jb 0xcc9d
movq 0xb2cb(%rip), %rcx      # 0x17f60
movb (%rcx,%rax), %cl
movb %cl, (%rsi)
incq %rsi
movl %eax, %eax
movq 0xb2ba(%rip), %rcx      # 0x17f60
movb 0x1(%rcx,%rax), %al
movb %al, (%rsi)
incq %rsi
jmp 0xd18b
movabsq $0x2386f26fc0ffff, %rax # imm = 0x2386F26FC0FFFF
cmpq %rax, %rdi
ja 0xcfab
movabsq $-0x543388ee7b9e3103, %rcx # imm = 0xABCC77118461CEFD
movq %rdi, %rax
mulq %rcx
shrq $0x1a, %rdx
imulq $0x5f5e100, %rdx, %rax  # imm = 0x5F5E100
movq %rdi, %r9
subq %rax, %r9
movl %edx, %eax
movl $0xd1b71759, %r11d      # imm = 0xD1B71759
imulq %rax, %r11
shrq $0x2d, %r11
imull $0x2710, %r11d, %ecx    # imm = 0x2710
subl %ecx, %edx
imulq $0x431bde83, %rax, %r14 # imm = 0x431BDE83
shrq $0x31, %r14
andl $-0x2, %r14d
imulq $0x28f5c29, %r11, %rax  # imm = 0x28F5C29
shrq $0x20, %rax
imull $0x64, %eax, %r15d
imulq $0x68db8bb, %r9, %rcx   # imm = 0x68DB8BB
shrq $0x28, %rcx
imull $0x2710, %ecx, %r8d     # imm = 0x2710
movl %r9d, %eax
subl %r8d, %eax
imulq $0x28f5c29, %rcx, %rbx  # imm = 0x28F5C29
imulq $0x28f5c29, %rax, %r8   # imm = 0x28F5C29
movabsq $0x38d7ea4c68000, %r10  # imm = 0x38D7EA4C68000
cmpq %r10, %rdi
jb 0xcd65
movq 0xb205(%rip), %r10      # 0x17f60
movb (%r10,%r14), %r10b
movb %r10b, (%rsi)
incq %rsi
imulq $0x28f5c29, %rdx, %r10  # imm = 0x28F5C29
shrq $0x20, %rbx
shrq $0x20, %r8
subl %r15d, %r11d
movabsq $0x5af3107a4000, %r15   # imm = 0x5AF3107A4000
cmpq %r15, %rdi
jb 0xcd9b
movl %r14d, %r14d
movq 0xb1d0(%rip), %r15      # 0x17f60
movb 0x1(%r15,%r14), %r14b
movb %r14b, (%rsi)
incq %rsi
shrq $0x20, %r10
imulq $0x8637bd1, %r9, %r9    # imm = 0x8637BD1
addl %r11d, %r11d
movq %rdi, %r14
shrq $0xd, %r14
cmpq $0x48c27395, %r14       # imm = 0x48C27395
jb 0xcdca
movq 0xb1a0(%rip), %r14      # 0x17f60
movb (%r14,%r11), %r14b
movb %r14b, (%rsi)
incq %rsi
shrq $0x2e, %r9
imull $0x64, %ebx, %r14d
imull $0x64, %r8d, %ebx
movq %rdi, %r15
shrq $0xc, %r15
cmpq $0xe8d4a51, %r15        # imm = 0xE8D4A51
jb 0xcdfb
movl %r11d, %r11d
movq 0xb170(%rip), %r15      # 0x17f60
movb 0x1(%r15,%r11), %r11b
movb %r11b, (%rsi)
incq %rsi
imull $0x64, %r10d, %r11d
subl %r14d, %ecx
subl %ebx, %eax
addl %r10d, %r10d
movq %rdi, %rbx
shrq $0xb, %rbx
cmpq $0x2e90edd, %rbx        # imm = 0x2E90EDD
jb 0xce27
movq 0xb142(%rip), %rbx      # 0x17f60
movb (%rbx,%r10), %bl
movb %bl, (%rsi)
incq %rsi
subl %r11d, %edx
andl $0x1fe, %r9d            # imm = 0x1FE
addl %ecx, %ecx
addl %r8d, %r8d
addl %eax, %eax
movq %rdi, %r11
shrq $0xa, %r11
cmpq $0x9502f9, %r11         # imm = 0x9502F9
jb 0xce5d
movl %r10d, %r10d
movq 0xb10e(%rip), %r11      # 0x17f60
movb 0x1(%r11,%r10), %r10b
movb %r10b, (%rsi)
incq %rsi
addl %edx, %edx
cmpq $0x3b9aca00, %rdi       # imm = 0x3B9ACA00
jb 0xce79
movq 0xb0f1(%rip), %rdi      # 0x17f60
movb (%rdi,%rdx), %dil
movb %dil, (%rsi)
incq %rsi
movl %edx, %edx
movq 0xb0de(%rip), %rdi      # 0x17f60
movb 0x1(%rdi,%rdx), %dl
movb %dl, (%rsi)
movb (%rdi,%r9), %dl
movb %dl, 0x1(%rsi)
movl %r9d, %edx
movb 0x1(%rdi,%rdx), %dl
movb %dl, 0x2(%rsi)
movb (%rdi,%rcx), %dl
movb %dl, 0x3(%rsi)
movl %ecx, %ecx
movb 0x1(%rdi,%rcx), %cl
movb %cl, 0x4(%rsi)
movb (%rdi,%r8), %cl
movb %cl, 0x5(%rsi)
movl %r8d, %ecx
movb 0x1(%rdi,%rcx), %cl
movb %cl, 0x6(%rsi)
movb (%rdi,%rax), %cl
movb %cl, 0x7(%rsi)
movl %eax, %eax
movb 0x1(%rdi,%rax), %al
movb %al, 0x8(%rsi)
addq $0x9, %rsi
jmp 0xd18b
movl %eax, %edx
movl $0xd1b71759, %ecx       # imm = 0xD1B71759
imulq %rdx, %rcx
shrq $0x2d, %rcx
imull $0x2710, %ecx, %r8d     # imm = 0x2710
subl %r8d, %eax
imulq $0x431bde83, %rdx, %r8  # imm = 0x431BDE83
shrq $0x31, %r8
andl $-0x2, %r8d
imulq $0x28f5c29, %rcx, %rdx  # imm = 0x28F5C29
shrq $0x20, %rdx
imull $0x64, %edx, %r9d
imulq $0x28f5c29, %rax, %rdx  # imm = 0x28F5C29
shrq $0x20, %rdx
imull $0x64, %edx, %r10d
subl %r10d, %eax
cmpq $0x989680, %rdi         # imm = 0x989680
jb 0xcf34
movq 0xb036(%rip), %r10      # 0x17f60
movb (%r10,%r8), %r10b
movb %r10b, (%rsi)
incq %rsi
subl %r9d, %ecx
addl %edx, %edx
addl %eax, %eax
cmpq $0xf4240, %rdi          # imm = 0xF4240
jb 0xcf59
movl %r8d, %r8d
movq 0xb012(%rip), %r9       # 0x17f60
movb 0x1(%r9,%r8), %r8b
movb %r8b, (%rsi)
incq %rsi
addl %ecx, %ecx
cmpq $0x186a0, %rdi          # imm = 0x186A0
jb 0xcf75
movq 0xaff5(%rip), %rdi      # 0x17f60
movb (%rdi,%rcx), %dil
movb %dil, (%rsi)
incq %rsi
movl %ecx, %ecx
movq 0xafe2(%rip), %rdi      # 0x17f60
movb 0x1(%rdi,%rcx), %cl
movb %cl, (%rsi)
movb (%rdi,%rdx), %cl
movb %cl, 0x1(%rsi)
movl %edx, %ecx
movb 0x1(%rdi,%rcx), %cl
movb %cl, 0x2(%rsi)
movb (%rdi,%rax), %cl
movb %cl, 0x3(%rsi)
movl %eax, %eax
movb 0x1(%rdi,%rax), %al
movb %al, 0x4(%rsi)
addq $0x5, %rsi
jmp 0xd18b
movabsq $0x39a5652fb1137857, %rcx # imm = 0x39A5652FB1137857
movq %rdi, %rax
mulq %rcx
shrq $0x33, %rdx
movabsq $0x2386f26fc10000, %rax # imm = 0x2386F26FC10000
imulq %rdx, %rax
movq %rdi, %rcx
subq %rax, %rcx
movabsq $0x16345785d89ffff, %rax # imm = 0x16345785D89FFFF
cmpq %rax, %rdi
ja 0xcfef
orb $0x30, %dl
movb %dl, (%rsi)
incq %rsi
jmp 0xd087
movabsq $0xde0b6b3a763ffff, %rax # imm = 0xDE0B6B3A763FFFF
cmpq %rax, %rdi
ja 0xd014
movl %edx, %eax
movq 0xaf59(%rip), %rdx      # 0x17f60
movzwl (%rdx,%rax,2), %eax
movw %ax, (%rsi)
addq $0x2, %rsi
jmp 0xd087
movl %edx, %r8d
imulq $0x28f5c29, %r8, %rax   # imm = 0x28F5C29
shrq $0x20, %rax
movabsq $-0x7538dcfb76180001, %r9 # imm = 0x8AC7230489E7FFFF
cmpq %r9, %rdi
ja 0xd05a
addb $0x30, %al
movb %al, (%rsi)
imulq $0x28f5c29, %r8, %rax   # imm = 0x28F5C29
shrq $0x20, %rax
imull $0x64, %eax, %eax
subl %eax, %edx
movq 0xaf14(%rip), %rax      # 0x17f60
movzwl (%rax,%rdx,2), %eax
movw %ax, 0x1(%rsi)
addq $0x3, %rsi
jmp 0xd087
imull $0x64, %eax, %edi
subl %edi, %edx
movl %eax, %eax
movl %edx, %edx
movq 0xaef6(%rip), %rdi      # 0x17f60
movzwl (%rdi,%rax,2), %eax
movw %ax, (%rsi)
movb (%rdi,%rdx,2), %al
addq %rdx, %rdx
movb %al, 0x2(%rsi)
movl %edx, %eax
movb 0x1(%rdi,%rax), %al
movb %al, 0x3(%rsi)
addq $0x4, %rsi
movabsq $-0x543388ee7b9e3103, %rdx # imm = 0xABCC77118461CEFD
movq %rcx, %rax
mulq %rdx
shrq $0x1a, %rdx
imulq $0x5f5e100, %rdx, %rax  # imm = 0x5F5E100
subq %rax, %rcx
movl %edx, %edi
movl $0xd1b71759, %eax       # imm = 0xD1B71759
imulq %rdi, %rax
shrq $0x2d, %rax
imull $0x2710, %eax, %r8d     # imm = 0x2710
subl %r8d, %edx
imulq $0x431bde83, %rdi, %rdi # imm = 0x431BDE83
shrq $0x31, %rdi
andl $-0x2, %edi
imulq $0x28f5c29, %rax, %r8   # imm = 0x28F5C29
shrq $0x20, %r8
imull $0x64, %r8d, %r8d
subl %r8d, %eax
imulq $0x28f5c29, %rdx, %r8   # imm = 0x28F5C29
shrq $0x20, %r8
imull $0x64, %r8d, %r9d
subl %r9d, %edx
imulq $0x68db8bb, %rcx, %r9   # imm = 0x68DB8BB
shrq $0x28, %r9
imull $0x2710, %r9d, %r11d    # imm = 0x2710
movl %ecx, %r10d
subl %r11d, %r10d
imulq $0x8637bd1, %rcx, %rcx  # imm = 0x8637BD1
shrq $0x2e, %rcx
andl $0x1fe, %ecx            # imm = 0x1FE
imulq $0x28f5c29, %r9, %r11   # imm = 0x28F5C29
shrq $0x20, %r11
imull $0x64, %r11d, %r11d
subl %r11d, %r9d
imulq $0x28f5c29, %r10, %r11  # imm = 0x28F5C29
shrq $0x20, %r11
imull $0x64, %r11d, %ebx
subl %ebx, %r10d
movq 0xae1c(%rip), %rbx      # 0x17f60
movzwl (%rbx,%rdi), %edi
movw %di, (%rsi)
movzwl (%rbx,%rax,2), %eax
movw %ax, 0x2(%rsi)
movzwl (%rbx,%r8,2), %eax
movw %ax, 0x4(%rsi)
movzwl (%rbx,%rdx,2), %eax
movw %ax, 0x6(%rsi)
movzwl (%rbx,%rcx), %eax
movw %ax, 0x8(%rsi)
movzwl (%rbx,%r9,2), %eax
movw %ax, 0xa(%rsi)
movzwl (%rbx,%r11,2), %eax
movw %ax, 0xc(%rsi)
movzwl (%rbx,%r10,2), %eax
movw %ax, 0xe(%rsi)
addq $0x10, %rsi
movq %rsi, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x3eca(%rip), %rdi      # 0x1106a
leaq 0x3ecf(%rip), %rsi      # 0x11076
leaq 0x3f8e(%rip), %rcx      # 0x1113c
movl $0x7f, %edx
callq 0x72c0