// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: let_to_port
static void let_to_port(s7_scheme *sc, s7_pointer obj, s7_pointer port, use_write_t use_write, shared_info *ci)
    {
        /* if outer env points to (say) method list, the object needs to specialize object->string itself */
        if (has_active_methods(sc, obj))
        {
            s7_pointer print_func;
            print_func = find_method(sc, obj, sc->object_to_string_symbol);
            if (print_func != sc->undefined)
            {
                s7_pointer p;
                /* what needs to be protected here? for one, the function might not return a string! */

                clear_has_methods(obj);
                if (use_write == P_WRITE)
                    p = s7_apply_function(sc, print_func, list_1(sc, obj));
                else p = s7_apply_function(sc, print_func, list_2(sc, obj, (use_write == P_DISPLAY) ? sc->F : sc->key_readable_symbol));
                set_has_methods(obj);

                if ((is_string(p)) &&
                        (string_length(p) > 0))
                    port_write_string(port)(sc, string_value(p), string_length(p), port);
                return;
            }
        }

        if (obj == sc->rootlet)
            port_write_string(port)(sc, "(rootlet)", 9, port);
        else
        {
            if (obj == sc->s7_let)
                port_write_string(port)(sc, "*s7*", 4, port);
            else
            {
                if (sc->short_print)
                    port_write_string(port)(sc, "#<let>", 6, port);
                else
                {
                    /* circles can happen here:
                     *    (let () (let ((b (curlet))) (curlet))):    #<let 'b #<let>>
                     * or (let ((b #f)) (set! b (curlet)) (curlet)): #1=#<let 'b #1#>
                     */
                    if (use_write == P_READABLE)
                    {
                        int32_t lref;
                        if ((ci) &&
                                (is_cyclic(obj)) &&
                                ((lref = peek_shared_ref(ci, obj)) != 0))
                        {
                            if (lref < 0) lref = -lref;
                            if ((ci->defined[lref]) || (port == ci->cycle_port))
                            {
                                char buf[128];
                                int32_t len;
                                len = catstrs_direct(buf, "<", pos_int_to_str_direct(sc, lref), ">", NULL);
                                port_write_string(ci->cycle_port)(sc, buf, len, ci->cycle_port);
                                return;
                            }
                            if ((outlet(obj) != sc->nil) &&
                                    (outlet(obj) != sc->rootlet))
                            {
                                char buf[128];
                                int32_t len;
                                len = catstrs_direct(buf, "  (set! (outlet <", pos_int_to_str_direct(sc, lref), ">) ", NULL);
                                port_write_string(ci->cycle_port)(sc, buf, len, ci->cycle_port);
                                let_to_port(sc, outlet(obj), ci->cycle_port, use_write, ci);
                                port_write_string(ci->cycle_port)(sc, ")\n", 2, ci->cycle_port);
                            }
                            if (has_methods(obj))
                                port_write_string(port)(sc, "(openlet ", 9, port);
                            /* not immutable here because we'll need to set the let fields below, then declare it immutable */
                            if (let_has_setter(sc, obj))
                            {
                                port_write_string(port)(sc, "(let (", 6, port);
                                slot_list_to_port_with_cycle(sc, obj, let_slots(obj), port, ci, true);
                                port_write_string(port)(sc, ") ", 2, port);
                                slot_setters_to_port(sc, obj, port, ci);
                                port_write_string(port)(sc, " (curlet))", 10, port);
                            }
                            else
                            {
                                port_write_string(port)(sc, "(inlet", 6, port);
                                slot_list_to_port_with_cycle(sc, obj, let_slots(obj), port, ci, false);
                                port_write_character(port)(sc, ')', port);
                            }
                            if (has_methods(obj))
                                port_write_character(port)(sc, ')', port);
                        }
                        else
                        {
                            if (has_methods(obj))
                                port_write_string(port)(sc, "(openlet ", 9, port);
                            if (is_immutable(obj))
                                port_write_string(port)(sc, "(immutable! ", 12, port);

                            /* this ignores outlet -- but is that a problem? */
                            /* (object->string (let ((i 0)) (set! (setter 'i) integer?) (curlet)) :readable) -> "(let ((i 0)) (set! (setter 'i) #_integer?) (curlet))" */
                            if (let_has_setter(sc, obj))
                            {
                                port_write_string(port)(sc, "(let (", 6, port);
                                slot_list_to_port(sc, let_slots(obj), port, ci, true);
                                port_write_string(port)(sc, ") ", 2, port);
                                slot_setters_to_port(sc, obj, port, ci);
                                /* perhaps set outlet here?? */
                                port_write_string(port)(sc, " (curlet))", 10, port);
                            }
                            else
                            {
                                if ((outlet(obj) != sc->nil) &&
                                        (outlet(obj) != sc->rootlet))
                                {
                                    int32_t ref;
                                    port_write_string(port)(sc, "(sublet ", 8, port);
                                    if ((ci) && ((ref = peek_shared_ref(ci, outlet(obj))) < 0))
                                    {
                                        char buf[128];
                                        int32_t len;
                                        len = catstrs_direct(buf, "<", pos_int_to_str_direct(sc, -ref), ">", NULL);
                                        port_write_string(port)(sc, buf, len, port);
                                    }
                                    else
                                    {
                                        s7_pointer name;
                                        name = s7_let_ref(sc, obj, make_symbol(sc, "class-name"));
                                        if (is_symbol(name))
                                            symbol_to_port(sc, name, port, P_DISPLAY, ci);
                                        else let_to_port(sc, outlet(obj), port, use_write, ci);
                                    }
                                }
                                else port_write_string(port)(sc, "(inlet", 6, port);
                                slot_list_to_port(sc, let_slots(obj), port, ci, false);
                                port_write_character(port)(sc, ')', port);
                            }
                            if (is_immutable(obj))
                                port_write_character(port)(sc, ')', port);
                            if (has_methods(obj))
                                port_write_character(port)(sc, ')', port);
                        }
                    }
                    else /* not readable write */
                    {
                        port_write_string(port)(sc, "(inlet", 6, port);
                        if (is_funclet(obj))
                            funclet_slots_to_port(sc, obj, port, use_write, ci);
                        else slot_to_port_1(sc, let_slots(obj), port, use_write, ci, 0);
                        port_write_character(port)(sc, ')', port);
                    }}}}
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movl %ecx, %ebp
movq %rdx, %r9
movq %rsi, %r15
movq %rdi, %rbx
movq (%rsi), %r12
movq %r12, %r14
andq $0x40000000, %r14       # imm = 0x40000000
movq %rdx, 0x8(%rsp)
je 0xf0e28
cmpb $0x1, 0x24c(%rbx)
jne 0xf0e28
movq 0x1380(%rbx), %rdx
movq %rbx, %rdi
movq %r15, %rsi
movq %r8, %r13
callq 0x89ff
movq %r13, %r8
movq 0x8(%rsp), %r9
cmpq 0x128(%rbx), %rax
je 0xf0e28
movq %rax, %r13
andq $-0x40000001, %r12      # imm = 0xBFFFFFFF
movq %r12, (%r15)
testl %ebp, %ebp
je 0xf0f47
cmpl $0x1, %ebp
jne 0xf0f4e
movq 0x90(%rbx), %rax
movq 0x110(%rbx), %r14
cmpq 0x98(%rbx), %rax
ja 0xf0fa9
leaq 0x90(%rbx), %r12
movq %rbx, %rdi
callq 0xa550
jmp 0xf0fa5
movq 0x150(%rbx), %rax
cmpq %r15, %rax
je 0xf0e60
cmpq %r15, 0x2150(%rbx)
je 0xf0e7a
cmpb $0x1, 0x248(%rbx)
jne 0xf0eab
movq 0x8(%r9), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
leaq 0x299c2(%rip), %rsi     # 0x11a81b
movl $0x6, %edx
jmp 0xf0e92
movq 0x8(%r9), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
leaq 0x2999e(%rip), %rsi     # 0x11a811
movl $0x9, %edx
jmp 0xf0e92
movq 0x8(%r9), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
leaq 0x26500(%rip), %rsi     # 0x11738d
movl $0x4, %edx
movq %rbx, %rdi
movq %r9, %rcx
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmpq *%rax
cmpl $0x2, %ebp
jne 0xf0efd
testq %r8, %r8
sete %cl
movq %r12, %rdx
notq %rdx
movabsq $0x20000000020000, %rsi # imm = 0x20000000020000
testq %rsi, %rdx
setne %dl
orb %cl, %dl
jne 0xf1216
movslq 0xc(%r8), %rcx
testq %rcx, %rcx
jle 0xf1216
movq (%r8), %rsi
xorl %edx, %edx
cmpq %r15, (%rsi,%rdx,8)
je 0xf10b8
incq %rdx
cmpq %rdx, %rcx
jne 0xf0ee6
jmp 0xf1216
movq %r8, %r13
movq 0x8(%r9), %rax
movq 0x48(%rax), %rax
leaq 0x2993e(%rip), %rsi     # 0x11a84d
movl $0x6, %edx
movq %rbx, %rdi
movq %r9, %rcx
movq %r9, %r14
callq *0x10(%rax)
testb $0x20, 0x3(%r15)
movq 0x8(%r15), %r15
jne 0xf1019
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
movl %ebp, %ecx
movq %r13, %r8
callq 0xf5368
jmp 0xf13ca
movl $0x120, %eax            # imm = 0x120
jmp 0xf0f53
movl $0x18a0, %eax           # imm = 0x18A0
movq (%rbx,%rax), %rdx
movq 0x90(%rbx), %rax
movq 0x110(%rbx), %rbp
leaq 0x90(%rbx), %r12
cmpq 0x98(%rbx), %rax
ja 0xf0f8a
movq %rbx, %rdi
movq %rdx, %r14
callq 0xa550
movq %r14, %rdx
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, (%r12)
movq -0x8(%rax), %r14
movq $0x200001, (%r14)       # imm = 0x200001
movq %rdx, 0x8(%r14)
movq %rbp, 0x10(%r14)
movq (%r12), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rdx
movq $0x200001, (%rdx)       # imm = 0x200001
movq %r15, 0x8(%rdx)
movq %r14, 0x10(%rdx)
movq %rbx, %rdi
movq %r13, %rsi
callq 0xaee6
orb $0x40, 0x3(%r15)
cmpb $0x13, (%rax)
jne 0xf1554
movq 0x8(%rax), %rdx
testq %rdx, %rdx
jle 0xf1554
movq 0x8(%rsp), %rcx
movq 0x8(%rcx), %rsi
movq 0x48(%rsi), %rsi
movq 0x10(%rsi), %r8
movq 0x10(%rax), %rsi
movq %rbx, %rdi
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmpq *%r8
testq %r15, %r15
movq %r14, %rdx
je 0xf13cd
movq $-0x1, %r14
leaq 0x6134d(%rip), %r12     # 0x152380
movq 0x8(%rdx), %rax
movq 0x48(%rax), %rax
movq %rbx, %rdi
movl $0x20, %esi
callq *0x8(%rax)
movzbl (%r15), %eax
movq %r13, %r8
testq %r13, %r13
je 0xf1084
leaq 0x612e7(%rip), %rcx     # 0x152340
cmpb $0x1, (%rax,%rcx)
jne 0xf1084
cmpl $0x15, %eax
movq 0x8(%rsp), %rdx
jne 0xf1075
movl $0x15, %eax
testb $0x1, 0x7(%r15)
jne 0xf1089
movq %rbx, %rdi
movq %r15, %rsi
movl %ebp, %ecx
callq 0x9596b
jmp 0xf1095
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
movq %r15, %rsi
movl %ebp, %ecx
callq *(%r12,%rax,8)
cmpq 0x280(%rbx), %r14
je 0xf13a8
incq %r14
movq 0x18(%r15), %r15
testq %r15, %r15
movq 0x8(%rsp), %rdx
jne 0xf1033
jmp 0xf13cd
movq 0x20(%r8), %rcx
movl (%rcx,%rdx,4), %edx
testl %edx, %edx
je 0xf1216
movl %edx, %ecx
negl %ecx
cmovsl %edx, %ecx
movq 0x48(%r8), %rdx
cmpb $0x0, (%rdx,%rcx)
jne 0xf13f4
cmpq %r9, 0x28(%r8)
je 0xf13f4
movq %r8, %r12
movq 0x10(%r15), %rdx
cmpq %rax, %rdx
je 0xf11d2
cmpq 0x110(%rbx), %rdx
je 0xf11d2
leaq 0xb6f(%rbx), %r8
movb $0x0, 0xb6f(%rbx)
leaq 0x25428(%rip), %rsi     # 0x116540
movabsq $-0x3333333333333333, %rdi # imm = 0xCCCCCCCCCCCCCCCD
movq %rcx, %rax
mulq %rdi
shrq $0x3, %rdx
leaq (%rdx,%rdx), %rax
leaq (%rax,%rax,4), %rax
movq %rcx, %r9
subq %rax, %r9
movb (%rsi,%r9), %al
movb %al, -0x1(%r8)
decq %r8
cmpq $0x9, %rcx
movq %rdx, %rcx
ja 0xf1122
leaq 0x296cd(%rip), %rsi     # 0x11a822
leaq 0x296d8(%rip), %rcx     # 0x11a834
leaq 0x10(%rsp), %r13
movq %r13, %rdi
movq %r8, %rdx
xorl %r8d, %r8d
xorl %eax, %eax
callq 0xc442
movq 0x28(%r12), %rcx
movq 0x8(%rcx), %rdx
movq 0x48(%rdx), %r8
movslq %eax, %rdx
movq %rbx, %rdi
movq %r13, %rsi
callq *0x10(%r8)
movq 0x10(%r15), %rsi
movq 0x28(%r12), %rdx
movq %rbx, %rdi
movl $0x2, %ecx
movq %r12, %r8
callq 0xf0d7c
movq 0x28(%r12), %rcx
movq 0x8(%rcx), %rax
movq 0x48(%rax), %rax
leaq 0x29421(%rip), %rsi     # 0x11a5d9
movl $0x2, %edx
movq %rbx, %rdi
callq *0x10(%rax)
movq (%r15), %r14
andl $0x40000000, %r14d      # imm = 0x40000000
movq 0x8(%rsp), %r9
testq %r14, %r14
je 0xf11f9
movq 0x8(%r9), %rax
movq 0x48(%rax), %rax
leaq 0x29652(%rip), %rsi     # 0x11a838
movl $0x9, %edx
movq %rbx, %rdi
movq %r9, %rcx
callq *0x10(%rax)
movq 0x8(%rsp), %r9
movq 0x8(%r15), %rax
testq %rax, %rax
je 0xf1566
testb $0x4, 0x2(%rax)
jne 0xf15b9
movq 0x18(%rax), %rax
jmp 0xf11fd
movq %r8, %rbp
testq %r14, %r14
je 0xf1243
movq 0x8(%r9), %rax
movq 0x48(%rax), %rax
leaq 0x2960b(%rip), %rsi     # 0x11a838
movl $0x9, %edx
movq %rbx, %rdi
movq %r9, %rcx
callq *0x10(%rax)
movq 0x8(%rsp), %r9
movq (%r15), %r12
btl $0x18, %r12d
jae 0xf126c
movq 0x8(%r9), %rax
movq 0x48(%rax), %rax
leaq 0x258eb(%rip), %rsi     # 0x116b44
movl $0xc, %edx
movq %rbx, %rdi
movq %r9, %rcx
callq *0x10(%rax)
movq 0x8(%rsp), %r9
movq 0x8(%r15), %rax
testq %rax, %rax
je 0xf1285
testb $0x4, 0x2(%rax)
jne 0xf1320
movq 0x18(%rax), %rax
jmp 0xf1270
movq 0x10(%r15), %rax
cmpq 0x110(%rbx), %rax
je 0xf12fb
cmpq 0x150(%rbx), %rax
je 0xf12fb
movq 0x8(%r9), %rax
movq 0x48(%rax), %rax
leaq 0x295aa(%rip), %rsi     # 0x11a854
movl $0x8, %edx
movq %rbx, %rdi
movq %r9, %rcx
callq *0x10(%rax)
testq %rbp, %rbp
je 0xf1492
movq 0x10(%r15), %rax
testb $0x2, 0x2(%rax)
je 0xf1492
movq %rbp, %rdi
movslq 0xc(%rbp), %rcx
testq %rcx, %rcx
jle 0xf1492
movq (%rdi), %rsi
xorl %edx, %edx
cmpq %rax, (%rsi,%rdx,8)
je 0xf1483
incq %rdx
cmpq %rdx, %rcx
jne 0xf12e4
jmp 0xf1492
movq 0x8(%r9), %rax
movq 0x48(%rax), %rax
leaq 0x29543(%rip), %rsi     # 0x11a84d
movl $0x6, %edx
movq %rbx, %rdi
movq %r9, %rcx
movq %r9, %r14
callq *0x10(%rax)
jmp 0xf14e7
movq 0x8(%r9), %rax
movq 0x48(%rax), %rax
leaq 0x257ff(%rip), %rsi     # 0x116b2e
movl $0x6, %edx
movq %rbx, %rdi
movq %r9, %rcx
movq %r9, %r14
callq *0x10(%rax)
movq 0x8(%r15), %rsi
movq %rbx, %rdi
movq %r14, %rdx
movq %rbp, %rcx
movl $0x1, %r8d
callq 0xf5223
movq 0x8(%r14), %rax
movq 0x48(%rax), %rax
leaq 0x2944e(%rip), %rsi     # 0x11a7b5
movl $0x2, %edx
movq %rbx, %rdi
movq %r14, %rcx
callq *0x10(%rax)
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %rbp, %rcx
callq 0xf511e
movq 0x8(%r14), %rax
movq 0x48(%rax), %rax
leaq 0x294ad(%rip), %rsi     # 0x11a842
movl $0xa, %edx
movq %rbx, %rdi
movq %r14, %rcx
callq *0x10(%rax)
jmp 0xf1512
movq 0x8(%rsp), %r14
movq 0x8(%r14), %rax
movq 0x48(%rax), %rax
leaq 0x257e5(%rip), %rsi     # 0x116ba1
movl $0x4, %edx
movq %rbx, %rdi
movq %r14, %rcx
callq *0x10(%rax)
movq %r14, %rdx
movq 0x8(%rdx), %rax
movq 0x48(%rax), %rax
movq 0x8(%rax), %rax
movq %rbx, %rdi
movl $0x29, %esi
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmpq *%rax
movq %r8, %r15
leaq 0xb6f(%rbx), %r8
movb $0x0, 0xb6f(%rbx)
leaq 0x25134(%rip), %rsi     # 0x116540
movabsq $-0x3333333333333333, %rdi # imm = 0xCCCCCCCCCCCCCCCD
movq %rcx, %rax
mulq %rdi
shrq $0x3, %rdx
leaq (%rdx,%rdx), %rax
leaq (%rax,%rax,4), %rax
movq %rcx, %r9
subq %rax, %r9
movb (%rsi,%r9), %al
movb %al, -0x1(%r8)
decq %r8
cmpq $0x9, %rcx
movq %rdx, %rcx
ja 0xf1416
leaq 0x29422(%rip), %rsi     # 0x11a86b
leaq 0x296f1(%rip), %rcx     # 0x11ab41
leaq 0x10(%rsp), %r14
movq %r14, %rdi
movq %r8, %rdx
xorl %r8d, %r8d
xorl %eax, %eax
callq 0xc442
movq 0x28(%r15), %rcx
movq 0x8(%rcx), %rdx
movq 0x48(%rdx), %r8
movslq %eax, %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq *0x10(%r8)
jmp 0xf1554
movq 0x20(%rdi), %rax
movl (%rax,%rdx,4), %esi
testl %esi, %esi
js 0xf164f
leaq 0x18f7e(%rip), %rsi     # 0x10a417
movq %rbx, %rdi
callq 0x9afc
movq %rbx, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0xb54b
cmpb $0xa, (%rax)
jne 0xf14cb
movq %rbx, %rdi
movq %rax, %rsi
movq 0x8(%rsp), %r14
movq %r14, %rdx
xorl %ecx, %ecx
callq 0xf2089
jmp 0xf14e7
movq 0x10(%r15), %rsi
movq %rbx, %rdi
movq 0x8(%rsp), %r14
movq %r14, %rdx
movl $0x2, %ecx
movq %rbp, %r8
callq 0xf0d7c
movq 0x8(%r15), %rsi
movq %rbx, %rdi
movq %r14, %rdx
movq %rbp, %rcx
xorl %r8d, %r8d
callq 0xf5223
movq 0x8(%r14), %rax
movq 0x48(%rax), %rax
movq %rbx, %rdi
movl $0x29, %esi
movq %r14, %rdx
callq *0x8(%rax)
movq (%r15), %rax
btl $0x18, %eax
jae 0xf1536
movq 0x8(%rsp), %rdx
movq 0x8(%rdx), %rax
movq 0x48(%rax), %rax
movq %rbx, %rdi
movl $0x29, %esi
callq *0x8(%rax)
movq (%r15), %rax
btl $0x1e, %eax
jae 0xf1554
movq 0x8(%rsp), %rdx
movq 0x8(%rdx), %rax
movq 0x48(%rax), %rax
movq %rbx, %rdi
movl $0x29, %esi
callq *0x8(%rax)
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x8(%r9), %rax
movq 0x48(%rax), %rax
leaq 0x292d8(%rip), %rsi     # 0x11a84d
movl $0x6, %edx
movq %rbx, %rdi
movq %r9, %rcx
movq %r9, %r14
callq *0x10(%rax)
movq 0x8(%r15), %rdx
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rcx
movq %r12, %r8
xorl %r9d, %r9d
callq 0xf4c29
movq 0x8(%r14), %rax
movq 0x48(%rax), %rax
movq %rbx, %rdi
movl $0x29, %esi
movq %r14, %rdx
callq *0x8(%rax)
jmp 0xf163f
movq 0x8(%r9), %rax
movq 0x48(%rax), %rax
leaq 0x25566(%rip), %rsi     # 0x116b2e
movl $0x6, %edx
movq %rbx, %rdi
movq %r9, %rcx
movq %r9, %r14
callq *0x10(%rax)
movq 0x8(%r15), %rdx
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rcx
movq %r12, %r8
movl $0x1, %r9d
callq 0xf4c29
movq 0x8(%r14), %rax
movq 0x48(%rax), %rax
leaq 0x291b2(%rip), %rsi     # 0x11a7b5
movl $0x2, %edx
movq %rbx, %rdi
movq %r14, %rcx
callq *0x10(%rax)
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %r12, %rcx
callq 0xf511e
movq 0x8(%r14), %rax
movq 0x48(%rax), %rax
leaq 0x29211(%rip), %rsi     # 0x11a842
movl $0xa, %edx
movq %rbx, %rdi
movq %r14, %rcx
callq *0x10(%rax)
testb $0x40, 0x3(%r15)
jne 0xf153c
jmp 0xf1554
negl %esi
leaq 0xb6f(%rbx), %r8
movb $0x0, 0xb6f(%rbx)
leaq 0x24eda(%rip), %rcx     # 0x116540
movabsq $-0x3333333333333333, %rdi # imm = 0xCCCCCCCCCCCCCCCD
movq %rsi, %rax
mulq %rdi
shrq $0x3, %rdx
leaq (%rdx,%rdx), %rax
leaq (%rax,%rax,4), %rax
movq %rsi, %r9
subq %rax, %r9
movb (%rcx,%r9), %al
movb %al, -0x1(%r8)
decq %r8
cmpq $0x9, %rsi
movq %rdx, %rsi
ja 0xf1670
leaq 0x291c8(%rip), %rsi     # 0x11a86b
leaq 0x29497(%rip), %rcx     # 0x11ab41
leaq 0x10(%rsp), %r13
movq %r13, %rdi
movq %r8, %rdx
xorl %r8d, %r8d
xorl %eax, %eax
callq 0xc442
movq 0x8(%rsp), %r14
movq 0x8(%r14), %rcx
movq 0x48(%rcx), %r8
movslq %eax, %rdx
movq %rbx, %rdi
movq %r13, %rsi
movq %r14, %rcx
callq *0x10(%r8)
jmp 0xf14e7