// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: number_to_string_base_10
static char *number_to_string_base_10(s7_scheme *sc, s7_pointer obj, s7_int width, s7_int precision, char float_choice, s7_int *nlen, use_write_t choice) /* don't free result */
    {
        /* called by number_to_string_with_radix g_number_to_string, number_to_string_p_p number_to_port format_number */
        /* the rest of s7 assumes nlen is set to the correct length
         *   a tricky case: (format #f "~f" 1e308) -- tries to print 308 digits! so 256 as default len is too small.
         *   but then even worse: (format #f "~F" 1e308+1e308i)!
         */
        s7_int len;

        if ((width + precision) > 512)
            len = 512 + 2 * (width + precision);
        else len = 1024;

        if (len > sc->num_to_str_size)
        {
            if (!sc->num_to_str)
                sc->num_to_str = (char *)malloc(len);
            else sc->num_to_str = (char *)realloc(sc->num_to_str, len);
            sc->num_to_str_size = len;
        }

        /* bignums can't happen here */
        switch (type(obj))
        {
            case T_INTEGER:
                if (width == 0)
                {
                    if (has_print_name(obj))
                    {
                        (*nlen) = print_name_length(obj);
                        return((char *)print_name(obj));
                    }
                    return(integer_to_string(sc, integer(obj), nlen));
                }
                {
                    char *p;
                    p = integer_to_string(sc, integer(obj), &len);
                    if (width > len)
                    {
                        insert_spaces(sc, p, width, len);
                        (*nlen) = width;
                        return(sc->num_to_str);
                    }
                    (*nlen) = len;
                    return(p);
                }

            case T_RATIO:
                len = catstrs_direct(sc->num_to_str, integer_to_string_no_length(sc, numerator(obj)), "/", pos_int_to_str_direct(sc, denominator(obj)), NULL);
                if (width > len)
                {
                    insert_spaces(sc, sc->num_to_str, width, len);
                    (*nlen) = width;
                }
                else (*nlen) = len;
                return(sc->num_to_str);

            case T_REAL:
                if (width == 0)
                {
#if WITH_DTOA
                    if ((float_choice == 'g') &&
                            (precision == WRITE_REAL_PRECISION))
                    {
                        /* (number->string 0.0000001) is sensitive to (*s7* 'float-format-precision) and inconsistent: either 1e-7 or 0.0000001
                         *    because fpconv_dtoa has some complicated decision about 'g' vs 'f' -- not sure if this is a bug.
                         */
                        len = fpconv_dtoa(real(obj), sc->num_to_str);
                        sc->num_to_str[len] = '\0';
                        (*nlen) = len;
                        return(sc->num_to_str);
                    }
#endif
                    len = snprintf(sc->num_to_str, sc->num_to_str_size - 4,
                            (float_choice == 'g') ? "%.*g" : ((float_choice == 'f') ? "%.*f" : "%.*e"),
                            (int32_t)precision, real(obj)); /* -4 for floatify */
                }
                else len = snprintf(sc->num_to_str, sc->num_to_str_size - 4,
                        (float_choice == 'g') ? "%*.*g" : ((float_choice == 'f') ? "%*.*f" : "%*.*e"),
                        (int32_t)width, (int32_t)precision, real(obj)); /* -4 for floatify */
                (*nlen) = len;
                floatify(sc->num_to_str, nlen);
                return(sc->num_to_str);

            default:
                {
                    char *imag;

                    sc->num_to_str[0] = '\0';
                    real(sc->real_wrapper4) = imag_part(obj);
                    imag = copy_string(number_to_string_base_10(sc, sc->real_wrapper4, 0, precision, float_choice, &len, choice));

                    sc->num_to_str[0] = '\0';
                    real(sc->real_wrapper3) = real_part(obj);
                    number_to_string_base_10(sc, sc->real_wrapper3, 0, precision, float_choice, &len, choice);

                    sc->num_to_str[len] = '\0';
                    len = catstrs(sc->num_to_str, sc->num_to_str_size, ((imag[0] == '+') || (imag[0] == '-')) ? "" : "+", imag, "i", NULL);
                    free(imag);

                    if (width > len)  /* (format #f "~20g" 1+i) */
                    {
                        insert_spaces(sc, sc->num_to_str, width, len); /* this checks sc->num_to_str_size */
                        (*nlen) = width;
                    }
                    else (*nlen) = len;
                }
                break;
        }
        return(sc->num_to_str);
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movq %r9, %r14
movl %r8d, %ebp
movq %rcx, %r13
movq %rsi, %r12
movq %rdx, (%rsp)
leaq (%rcx,%rdx), %rax
cmpq $0x201, %rax            # imm = 0x201
leaq 0x200(%rax,%rax), %rax
movl $0x400, %ebx            # imm = 0x400
cmovgeq %rax, %rbx
movq %rdi, %r9
movq %rbx, 0x100(%rsp)
movslq 0x7e0(%rdi), %rax
cmpq %rax, %rbx
jle 0x8f525
movq %r9, %r15
movq 0x830(%r9), %rdi
testq %rdi, %rdi
je 0x8f50a
movq %rbx, %rsi
callq 0x8510
jmp 0x8f512
movq %rbx, %rdi
callq 0x8480
movq %r15, %r9
movq %rax, 0x830(%r15)
movl %ebx, 0x7e0(%r15)
movl %ebx, %eax
movzbl (%r12), %ecx
cmpl $0xd, %ecx
je 0x8f5a2
cmpl $0xc, %ecx
je 0x8f573
cmpl $0xb, %ecx
jne 0x8f5ff
movq (%rsp), %r13
testq %r13, %r13
je 0x8f7f2
movq 0x8(%r12), %rdi
movl 0xbb4d3(%rip), %eax     # 0x14aa28
shlq $0x3f, %rax
cmpq %rdi, %rax
jne 0x8f81f
leaq 0x8710f(%rip), %r12     # 0x116678
movl $0x14, %ecx
jmp 0x8fa14
movq 0x830(%r9), %rdi
movq 0x8(%r12), %r8
movl 0xbb4a3(%rip), %eax     # 0x14aa28
shlq $0x3f, %rax
cmpq %r8, %rax
jne 0x8f707
leaq 0x870df(%rip), %rsi     # 0x116678
movq (%rsp), %r15
jmp 0x8f8a3
movq (%rsp), %rcx
testq %rcx, %rcx
movq %r14, 0x20(%rsp)
je 0x8f78a
movq 0x830(%r9), %rdi
addl $-0x4, %eax
movslq %eax, %rsi
cmpb $0x66, %bpl
leaq 0x870a0(%rip), %rax     # 0x11666c
leaq 0x8709f(%rip), %r8      # 0x116672
cmoveq %rax, %r8
cmpb $0x67, %bpl
leaq 0x87084(%rip), %rdx     # 0x116666
cmovneq %r8, %rdx
movsd 0x8(%r12), %xmm0
movl %r13d, %r8d
movb $0x1, %al
movq %r9, %r13
callq 0x8210
jmp 0x8f982
movq %r14, 0x20(%rsp)
movq 0x830(%r9), %rax
xorl %ecx, %ecx
movb %cl, (%rax)
movsd 0x10(%r12), %xmm0
movq 0x1f30(%r9), %rax
movsd %xmm0, 0x8(%rax)
movq 0x1f30(%r9), %rsi
movsbl %bpl, %r14d
leaq 0x100(%rsp), %rbx
movq %r9, %rdi
xorl %edx, %edx
movq %r13, %rcx
movl %r14d, %r8d
movq %r9, %r15
movq %rbx, %r9
callq 0x8f49e
movq %rax, %rdi
callq 0xc157
movq %rax, %rbp
movq 0x830(%r15), %rax
xorl %ecx, %ecx
movb %cl, (%rax)
movsd 0x8(%r12), %xmm0
movq 0x1f28(%r15), %rax
movsd %xmm0, 0x8(%rax)
movq 0x1f28(%r15), %rsi
movq %r15, %rdi
xorl %edx, %edx
movq %r13, %rcx
movl %r14d, %r8d
movq %rbx, %r9
callq 0x8f49e
movq 0x830(%r15), %rax
movq (%rbx), %rcx
xorl %edx, %edx
movb %dl, (%rax,%rcx)
movq 0x830(%r15), %rdi
movslq 0x7e0(%r15), %rsi
movb (%rbp), %al
addb $-0x2b, %al
leaq 0x8ce17(%rip), %rcx     # 0x11c4ce
leaq 0x851c6(%rip), %rdx     # 0x114884
testb $-0x3, %al
cmoveq %rcx, %rdx
leaq 0x8aeb1(%rip), %r8      # 0x11a57c
movq %rbp, %rcx
xorl %r9d, %r9d
xorl %eax, %eax
callq 0x9517
movq %rax, %rbx
movq %rbp, %rdi
callq 0x8050
movq (%rsp), %r14
cmpq %r14, %rbx
jge 0x8f773
movq 0x830(%r15), %rsi
movq %r15, %rdi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x9050a
jmp 0x8f776
leaq 0xb2e(%r9), %rsi
movq %r9, %rbx
movb $0x0, 0xb2f(%r9)
movq %r8, %rcx
negq %rcx
cmovsq %r8, %rcx
leaq 0x86e16(%rip), %r9      # 0x116540
movabsq $-0x3333333333333333, %r10 # imm = 0xCCCCCCCCCCCCCCCD
movq (%rsp), %r15
movq %rcx, %rax
mulq %r10
shrq $0x3, %rdx
leaq (%rdx,%rdx), %rax
leaq (%rax,%rax,4), %rax
movq %rcx, %r11
subq %rax, %r11
movb (%r9,%r11), %al
movb %al, (%rsi)
decq %rsi
cmpq $0x9, %rcx
movq %rdx, %rcx
ja 0x8f738
testq %r8, %r8
js 0x8f89d
incq %rsi
jmp 0x8f8a0
movq %rbx, %r14
movq 0x20(%rsp), %rax
movq %r14, (%rax)
movq 0x830(%r15), %r12
jmp 0x8fa34
cmpb $0x67, %bpl
setne %cl
cmpq $0x10, %r13
setne %dl
orb %cl, %dl
jne 0x8f93c
movq 0x8(%r12), %xmm0
movq 0x830(%r9), %r10
movq %xmm0, %r11
xorl %edi, %edi
testq %r11, %r11
jns 0x8f7c3
movb $0x2d, (%r10)
movl $0x1, %edi
movl %edi, %eax
addq %rax, %r10
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0x8fa4e
jp 0x8fa4e
movw $0x2e30, (%r10)         # imm = 0x2E30
movb $0x30, 0x2(%r10)
movl $0x3, %r14d
jmp 0x902bf
testb $0x8, 0x3(%r12)
jne 0x8f9f0
movq 0x8(%r12), %rsi
movq %r9, %rdi
movq %r14, %rdx
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x9044f
leaq 0xb0f(%r9), %r12
leaq 0xb0e(%r9), %r8
movq %r9, %r15
movb $0x0, 0xb0f(%r9)
movq %rdi, %rsi
negq %rsi
cmovsq %rdi, %rsi
movq $-0x1, %r9
xorl %ecx, %ecx
leaq 0x86cee(%rip), %r10     # 0x116540
movabsq $-0x3333333333333333, %r11 # imm = 0xCCCCCCCCCCCCCCCD
movq %rsi, %rax
mulq %r11
shrq $0x3, %rdx
leaq (%rdx,%rdx), %rax
leaq (%rax,%rax,4), %rax
movq %rsi, %rbx
subq %rax, %rbx
movb (%r10,%rbx), %al
movb %al, 0x1(%r8,%r9)
incq %rcx
decq %r9
cmpq $0x9, %rsi
movq %rdx, %rsi
ja 0x8f85c
testq %rdi, %rdi
js 0x8f9ff
subq %rcx, %r12
jmp 0x8fa11
movb $0x2d, (%rsi)
movq %rbx, %r9
movq 0x10(%r12), %r8
leaq 0xb6f(%r9), %rcx
movq %r9, %rbx
movb $0x0, 0xb6f(%r9)
leaq 0x86c7f(%rip), %r9      # 0x116540
movabsq $0x6666666666666667, %r10 # imm = 0x6666666666666667
movq %r8, %rax
imulq %r10
movq %rdx, %rax
shrq $0x3f, %rax
sarq $0x2, %rdx
addq %rax, %rdx
leaq (%rdx,%rdx), %rax
leaq (%rax,%rax,4), %rax
movq %r8, %r11
subq %rax, %r11
movb (%r9,%r11), %al
movb %al, -0x1(%rcx)
decq %rcx
addq $0x9, %r8
cmpq $0x12, %r8
movq %rdx, %r8
ja 0x8f8cb
leaq 0x7f2a9(%rip), %rdx     # 0x10ebb4
xorl %r8d, %r8d
xorl %eax, %eax
callq 0xc442
cmpq %r15, %rax
jge 0x8f931
movq 0x830(%rbx), %rsi
movq %rbx, %rdi
movq %r15, %rdx
movq %rax, %rcx
callq 0x9050a
jmp 0x8f934
movq %rax, %r15
movq %r15, (%r14)
jmp 0x8fa2d
addl $-0x4, %eax
cmpb $0x66, %bpl
leaq 0x86d12(%rip), %rcx     # 0x11665c
leaq 0x86d10(%rip), %r8      # 0x116661
cmoveq %rcx, %r8
cmpb $0x67, %bpl
movq 0x830(%r9), %rdi
movslq %eax, %rsi
leaq 0x8abd7(%rip), %rdx     # 0x11a541
cmovneq %r8, %rdx
movsd 0x8(%r12), %xmm0
movl %r13d, %ecx
movb $0x1, %al
movq %r9, %r13
callq 0x8210
movl %eax, %ebx
movslq %eax, %r14
movq 0x20(%rsp), %r15
movq %r14, (%r15)
movq 0x830(%r13), %r12
movq %r12, %rdi
movl $0x2e, %esi
callq 0x81d0
testq %rax, %rax
jne 0x8fa34
movq %r12, %rdi
movl $0x65, %esi
callq 0x81d0
testq %rax, %rax
jne 0x8fa34
cmpl $0x3, %ebx
movq %r13, %rsi
jne 0x8fafd
movzbl (%r12), %eax
cmpl $0x6e, %eax
je 0x8fadf
movl $0x3, %r14d
cmpl $0x69, %eax
jne 0x8fafd
movb $0x66, %dl
movb $0x6e, %cl
jmp 0x8fae3
movzbl 0x18(%r12), %eax
movq %rax, (%r14)
addq $0x19, %r12
jmp 0x8fa34
movb $0x2d, 0x1(%r8,%r9)
subq %rcx, %r8
negq %r9
movq %r9, %rcx
movq %r8, %r12
movq %r15, %r9
cmpq %r13, %rcx
jge 0x8fa49
movq %r9, %rdi
movq %r12, %rsi
movq %r13, %rdx
movq %r9, %rbx
callq 0x9050a
movq %r13, (%r14)
movq 0x830(%rbx), %r12
movq %r12, %rax
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rcx, (%r14)
jmp 0x8fa34
movabsq $0xfffffffffffff, %rdx  # imm = 0xFFFFFFFFFFFFF
movq %r11, %rax
notq %rax
movabsq $0x7ff0000000000000, %rcx # imm = 0x7FF0000000000000
testq %rcx, %rax
jne 0x8fa88
testq %r11, %r11
js 0x8fb1d
movb $0x2b, (%r10)
incq %r10
movl $0x6, %r14d
jmp 0x8fb23
movq %r9, 0x18(%rsp)
movq %r11, %r8
andq %rdx, %r8
movq %r11, 0xf0(%rsp)
shrq $0x34, %r11
leaq (%rdx,%r8), %r9
incq %r9
movq %r9, (%rsp)
andl $0x7ff, %r11d           # imm = 0x7FF
cmoveq %r8, %r9
leaq 0x1(%r9,%r9), %rsi
movl %edi, 0xc(%rsp)
movq %r10, 0x98(%rsp)
je 0x8fb58
leal -0x433(%r11), %r10d
leal -0x428(%r11), %ecx
jmp 0x8fb84
movb $0x61, %cl
movl %eax, %edx
movb $0x2b, (%r12)
movb %al, 0x1(%r12)
movb %cl, 0x2(%r12)
movb %dl, 0x3(%r12)
movl $0x4, %r14d
movw $0x302e, (%r12,%r14)    # imm = 0x302E
movb $0x0, 0x2(%r12,%r14)
addq $0x2, %r14
movq %r14, (%r15)
movq 0x830(%rsi), %r12
jmp 0x8fa34
movl $0x5, %r14d
xorl %eax, %eax
testq %rdx, %r11
setne %al
leal 0x69(%rax,%rax,4), %ecx
movl $0x6e, %edx
movl $0x61, %esi
cmovel %edx, %esi
shlb $0x3, %al
orb $0x66, %al
movb %cl, (%r10)
movb %sil, 0x1(%r10)
movb %al, 0x2(%r10)
movw $0x302e, 0x3(%r10)      # imm = 0x302E
jmp 0x902bf
movabsq $0x1fffffffffffff, %rax # imm = 0x1FFFFFFFFFFFFF
andq %rsi, %rax
bsrq %rax, %rcx
movl %ecx, %r10d
notb %cl
addb $0x36, %cl
shlq %cl, %rsi
xorl $-0x40, %r10d
addl $0xfffffbd9, %r10d      # imm = 0xFFFFFBD9
movl $0xfffffbd9, %ecx       # imm = 0xFFFFFBD9
leal -0xb(%r10), %ebx
incq %rdx
xorl %eax, %eax
cmpq %rdx, %r9
sete %al
notl %eax
addl %ecx, %eax
bsrq %r8, %rcx
notq %rcx
movl $0xffffffb4, %edi       # imm = 0xFFFFFFB4
subl %r10d, %edi
xorps %xmm0, %xmm0
cvtsi2sd %edi, %xmm0
mulsd 0x76553(%rip), %xmm0    # 0x106108
cvttsd2si %xmm0, %r15d
addq $0x35, %rcx
leal 0x15c(%r15), %edi
addl $0x163, %r15d           # imm = 0x163
testl %edi, %edi
cmovnsl %edi, %r15d
sarl $0x3, %r15d
leaq 0x79753(%rip), %r12     # 0x109330
movslq %r15d, %r13
shlq $0x4, %r13
movl 0x8(%r13,%r12), %r14d
leal (%rbx,%r14), %edi
movl $0x1, %ebp
cmpl $-0x7c, %edi
jl 0x8fc01
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
cmpl $-0x5f, %edi
jl 0x8fc06
addl %ebp, %r15d
jmp 0x8fbdd
addq %r13, %r12
cmpq %rdx, %r9
sete %dl
subl %r10d, %eax
shlq %cl, %r8
incb %dl
movl %edx, %ecx
shlq %cl, %r9
testl %r11d, %r11d
movq %r10, %r11
movq (%rsp), %r10
cmoveq %r8, %r10
decq %r9
movl %eax, %ecx
shlq %cl, %r9
shlq $0xa, %rsi
movq %rsi, %rax
movq %rsi, 0x10(%rsp)
shlq $0xb, %r10
movq (%r12), %rsi
movl %esi, %edx
movq %rdx, %rbp
movl %r10d, %ebx
shrq $0x20, %rsi
movq %rsi, %r12
imulq %rbx, %r12
imulq %rdx, %rbx
movq %rdx, %r13
movl %eax, %edi
movq %rsi, %r8
imulq %rdi, %r8
imulq %rdx, %rdi
addl %r11d, %r14d
movl $0xffffffcb, %eax       # imm = 0xFFFFFFCB
subl %r14d, %eax
movq %rax, (%rsp)
movl %r9d, %eax
movq %rsi, %r11
imulq %rax, %r11
movq %rdx, %r14
imulq %rax, %rdx
shrq $0x20, %r9
imulq %r9, %r14
imulq %rsi, %r9
shrq $0x20, %rdx
movl %r14d, %ecx
movl %r11d, %eax
movq %rcx, 0xb8(%rsp)
movq %rax, 0xb0(%rsp)
addq %rcx, %rax
movq %rdx, 0xe0(%rsp)
addq %rdx, %rax
subq $-0x80000000, %rax      # imm = 0x80000000
shrq $0x20, %r14
shrq $0x20, %r11
movq %r14, 0xd8(%rsp)
movq %r9, 0xd0(%rsp)
leaq (%r14,%r9), %rdx
movq %r11, 0xc8(%rsp)
addq %r11, %rdx
shrq $0x20, %rax
addq %rdx, %rax
movq 0x10(%rsp), %rdx
shrq $0x20, %rdx
imulq %rdx, %r13
movq %rsi, %rcx
movq %rdx, 0xc0(%rsp)
imulq %rdx, %rcx
shrq $0x20, %rdi
movl %r13d, %edx
movl %r8d, %r9d
movq %rdx, 0x50(%rsp)
movq %r9, 0x48(%rsp)
addq %r9, %rdx
movq %rdi, 0x90(%rsp)
addq %rdi, %rdx
subq $-0x80000000, %rdx      # imm = 0x80000000
shrq $0x20, %r13
shrq $0x20, %r8
shrq $0x20, %rdx
movq %r13, 0x78(%rsp)
movq %rcx, 0x68(%rsp)
leaq (%rcx,%r13), %rdi
movq %r8, 0x80(%rsp)
addq %r8, %rdi
leaq (%rdi,%rdx), %r8
leaq (%rdx,%rdi), %r9
decq %r9
shrq $0x20, %r10
imulq %r10, %rbp
movq %rsi, 0xe8(%rsp)
movq %rsi, %r11
movq %r10, 0xa8(%rsp)
imulq %r10, %r11
shrq $0x20, %rbx
movl %ebp, %ecx
movl %r12d, %edx
movq %rcx, 0x60(%rsp)
movq %rdx, 0x58(%rsp)
addq %rcx, %rdx
movq %rbx, 0x28(%rsp)
addq %rbx, %rdx
subq $-0x80000000, %rdx      # imm = 0x80000000
shrq $0x20, %rbp
shrq $0x20, %r12
shrq $0x20, %rdx
movq %rbp, 0x70(%rsp)
leaq (%r11,%rbp), %rsi
movq %r12, 0x88(%rsp)
addq %r12, %rsi
addq %rdx, %rsi
movq %r9, %rdx
subq %rsi, %rdx
movq %rdx, 0xa0(%rsp)
notq %rax
leaq (%rax,%r8), %rbp
decq %rbp
shll $0x3, %r15d
movl $0x15c, %eax            # imm = 0x15C
subl %r15d, %eax
movq %rax, 0x10(%rsp)
movl $0x1, %edi
movq (%rsp), %rcx
shlq %cl, %rdi
movq %r9, %r10
shrq %cl, %r10
movl $0x165, %r13d           # imm = 0x165
subl %r15d, %r13d
leaq -0x1(%rdi), %rax
movq %rax, 0xf8(%rsp)
andq %rax, %r9
xorl %esi, %esi
leaq 0x79ac3(%rip), %rbx     # 0x1098f0
movl $0xb, %r15d
movq (%rbx), %r14
movq %r10, %rax
xorl %edx, %edx
divq %r14
movq %rax, %r8
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
andq %rcx, %r8
setne %dl
testl %esi, %esi
setne %r12b
orb %dl, %r12b
movl $0x0, %edx
cmpb $0x1, %r12b
jne 0x8fe6d
addb $0x30, %al
movslq %esi, %rdx
incl %esi
movb %al, 0x30(%rsp,%rdx)
movl %esi, %edx
imulq %r14, %r8
subq %r8, %r10
movq %r10, %rsi
movq (%rsp), %rcx
shlq %cl, %rsi
leaq (%rsi,%r9), %r8
movq %rbp, %rax
subq %r8, %rax
jae 0x8ffe3
addq $0x8, %rbx
decl %r15d
decl %r13d
movl %edx, %esi
cmpl $0x1, %r15d
ja 0x8fe33
movq 0x80(%rsp), %rax
addq 0x78(%rsp), %rax
movq 0x90(%rsp), %rsi
addq 0x48(%rsp), %rsi
addq 0x50(%rsp), %rsi
subq $-0x80000000, %rsi      # imm = 0x80000000
shrq $0x20, %rsi
addq %rax, %rsi
addq 0x68(%rsp), %rsi
movq 0x88(%rsp), %r8
addq 0x70(%rsp), %r8
movq 0x28(%rsp), %rax
addq 0x58(%rsp), %rax
addq 0x60(%rsp), %rax
subq $-0x80000000, %rax      # imm = 0x80000000
shrq $0x20, %rax
addq %r8, %rax
addq %r11, %rax
subq %rsi, %rax
incq %rax
movq %rax, 0x28(%rsp)
leaq 0x79a20(%rip), %rax     # 0x109930
xorl %esi, %esi
addq %r9, %r9
leaq (%r9,%r9,4), %r9
movq %r9, %r8
movq (%rsp), %rcx
shrq %cl, %r8
movl %r8d, %r10d
orl %edx, %r10d
movl $0x0, %r10d
je 0x8ff42
addb $0x30, %r8b
movslq %edx, %r10
incl %edx
movb %r8b, 0x30(%rsp,%r10)
movl %edx, %r10d
movl %r10d, %edx
addq %rbp, %rbp
leaq (%rbp,%rbp,4), %rbp
decl %esi
andq 0xf8(%rsp), %r9
movq %rbp, %r8
subq %r9, %r8
jbe 0x8ffd1
movq 0x10(%rsp), %r10
addl %esi, %r10d
movq %r10, 0x10(%rsp)
cmpq %rdi, %r8
jb 0x90123
movq (%rax), %r8
movq %r8, %r10
imulq 0xa0(%rsp), %r10
movq %r10, %r11
subq %r9, %r11
jbe 0x90123
movslq %edx, %rbx
leaq (%rdi,%r9), %r14
movq %rbp, %r15
subq %r14, %r15
imulq 0x28(%rsp), %r8
cmpq %r10, %r14
jb 0x8ffb1
leaq (%r8,%r14), %r12
cmpq %r12, %r11
jbe 0x8ffcc
decb 0x2f(%rsp,%rbx)
subq %rdi, %r15
setb %r13b
cmpq %r10, %r14
jae 0x8ffcc
subq %rdi, %r11
addq %rdi, %r14
testb %r13b, %r13b
je 0x8ffa3
movl %edx, %r13d
jmp 0x8ffd5
addq $-0x8, %rax
cmpq %r9, %rbp
jbe 0x8ff12
jmp 0x90126
movq (%rsp), %rcx
shlq %cl, %r14
movq 0xa0(%rsp), %r10
cmpq %r10, %r8
jae 0x9011b
cmpq %r14, %rax
jb 0x9011b
movq 0x90(%rsp), %rbx
addq 0x48(%rsp), %rbx
addq 0x50(%rsp), %rbx
subq $-0x80000000, %rbx      # imm = 0x80000000
shrq $0x20, %rbx
movq 0x80(%rsp), %r15
movq 0x78(%rsp), %r12
leaq (%r15,%r12), %rax
addq %rbx, %rax
addq 0x68(%rsp), %rax
movq 0x88(%rsp), %rdi
addq 0x70(%rsp), %rdi
movq 0x28(%rsp), %rcx
addq 0x58(%rsp), %rcx
addq 0x60(%rsp), %rcx
subq $-0x80000000, %rcx      # imm = 0x80000000
shrq $0x20, %rcx
addq %rdi, %rcx
addq %rcx, %r11
notq %r11
addq %rax, %r11
subq %r8, %r11
movq 0xd8(%rsp), %r8
addq 0xc8(%rsp), %r8
movq 0xe0(%rsp), %rdi
addq 0xb0(%rsp), %rdi
addq 0xb8(%rsp), %rdi
subq $-0x80000000, %rdi      # imm = 0x80000000
shrq $0x20, %rdi
addq %r8, %rdi
addq 0xd0(%rsp), %rdi
subq %rdi, %rax
movq 0xa8(%rsp), %r8
subq 0xc0(%rsp), %r8
movq 0xe8(%rsp), %rdi
imulq %r8, %rdi
addq %rcx, %rdi
addq %r14, %r9
addq %r9, %rdi
subq %r15, %rdi
subq %r12, %rdi
subq %rbx, %rdi
leaq (%r9,%rsi), %rcx
addq %rdi, %rsi
incq %rsi
movslq %edx, %rdi
subq %rcx, %rax
addq $-0x2, %rax
cmpq %r10, %rcx
jb 0x900fd
cmpq %rsi, %r11
jbe 0x9011b
decb 0x2f(%rsp,%rdi)
subq %r14, %rax
setb %r8b
cmpq %r10, %rcx
jae 0x9011b
subq %r14, %r11
addq %r14, %rcx
addq %r14, %rsi
testb %r8b, %r8b
je 0x900f3
movl %r13d, %eax
movq %rax, 0x10(%rsp)
movl %edx, %r13d
movq 0x10(%rsp), %r12
leal (%r12,%r13), %r14d
movl $0x1, %eax
subl %r14d, %eax
testl %r14d, %r14d
leal -0x1(%r13,%r12), %ebx
cmovlel %eax, %ebx
testl %r12d, %r12d
js 0x90199
leal 0x7(%r13), %eax
cmpl %eax, %ebx
jge 0x90199
movslq %r13d, %rbx
leaq 0x30(%rsp), %rsi
movq 0x98(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rdx
callq 0x83e0
addq %r15, %rbx
movl %r12d, %edx
movq %rbx, %rdi
movl $0x30, %esi
callq 0x8270
movslq %r14d, %rax
movw $0x302e, (%r15,%rax)    # imm = 0x302E
addl $0x2, %r14d
movq 0x18(%rsp), %r9
movl 0xc(%rsp), %edi
jmp 0x902bf
testl %r12d, %r12d
movq 0x98(%rsp), %r15
jns 0x901b9
cmpl $-0x7, %r12d
ja 0x902e4
cmpl $0x3, %ebx
jle 0x902e4
movq 0xf0(%rsp), %rax
shrq $0x3f, %rax
movl $0x12, %r14d
subl %eax, %r14d
cmpl %r13d, %r14d
cmovgel %r13d, %r14d
movb 0x30(%rsp), %al
movb %al, (%r15)
movl $0x1, %ecx
cmpl $0x2, %r13d
jl 0x90202
movb $0x2e, 0x1(%r15)
leaq 0x2(%r15), %rdi
leaq 0x31(%rsp), %rsi
leal -0x1(%r14), %edx
callq 0x83e0
leal 0x1(%r14), %ecx
movl %ecx, %eax
movb $0x65, (%r15,%rax)
addl %r12d, %r14d
setle %dl
addb %dl, %dl
addb $0x2b, %dl
leaq 0x2(%rax), %r14
movslq %ecx, %rsi
movb %dl, 0x1(%r15,%rsi)
cmpl $0x63, %ebx
jg 0x90238
movl %r14d, %eax
cmpl $0x9, %ebx
movq 0x18(%rsp), %r9
movl 0xc(%rsp), %edi
jg 0x90263
jmp 0x90295
movl %ebx, %edx
imulq $0x51eb851f, %rdx, %rdx # imm = 0x51EB851F
shrq $0x25, %rdx
imull $-0x64, %edx, %esi
addb $0x30, %dl
addq $0x3, %rax
movb %dl, (%r15,%r14)
addl %esi, %ebx
cmpl $0xa, %ebx
movq 0x18(%rsp), %r9
movl 0xc(%rsp), %edi
jl 0x9028a
movl %ebx, %ecx
movl $0xcccccccd, %edx       # imm = 0xCCCCCCCD
imulq %rcx, %rdx
shrq $0x23, %rdx
leal (%rdx,%rdx), %ecx
addb $0x30, %dl
movl %eax, %esi
incl %eax
movb %dl, (%r15,%rsi)
leal (%rcx,%rcx,4), %ecx
subl %ecx, %ebx
movl %eax, %r14d
jmp 0x90295
addl $0x4, %ecx
movb $0x30, (%r15,%rax)
movl %ecx, %r14d
movslq %ebx, %rax
imulq $0x66666667, %rax, %rcx # imm = 0x66666667
movq %rcx, %rdx
shrq $0x3f, %rdx
shrq $0x22, %rcx
addl %edx, %ecx
addl %ecx, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
addb $0x30, %al
movl %r14d, %ecx
incl %r14d
movb %al, (%r15,%rcx)
addl %edi, %r14d
movslq %r14d, %rax
movq 0x830(%r9), %rcx
movb $0x0, (%rcx,%rax)
movq 0x20(%rsp), %rcx
movq %rax, (%rcx)
movq 0x830(%r9), %r12
jmp 0x8fa34
testl %r14d, %r14d
jle 0x9031f
negl %r12d
movl %r14d, %ebx
leaq 0x30(%rsp), %rsi
movq %r15, %rdi
movq %rbx, %rdx
callq 0x83e0
leaq (%r15,%rbx), %rdi
incq %rdi
movb $0x2e, -0x1(%rdi)
leaq (%rsp,%rbx), %rsi
addq $0x30, %rsi
movq %r12, %rdx
callq 0x83e0
incl %r13d
jmp 0x90359
movl %r14d, %eax
negl %eax
movw $0x2e30, (%r15)         # imm = 0x2E30
leaq 0x2(%r15), %rdi
movl %eax, %ebx
movl $0x30, %esi
movq %rbx, %rdx
callq 0x8270
leaq (%r15,%rbx), %rdi
addq $0x2, %rdi
movslq %r13d, %rdx
leaq 0x30(%rsp), %rsi
callq 0x83e0
subl %r14d, %r13d
addl $0x2, %r13d
movl %r13d, %r14d
jmp 0x9018b