// File: /workspace/github_c_makefile_star2_O0/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:
subq $0x298, %rsp            # imm = 0x298
movq %rdi, 0x290(%rsp)
movq %rsi, 0x288(%rsp)
movq %rdx, 0x280(%rsp)
movl %ecx, 0x27c(%rsp)
movq %r8, 0x270(%rsp)
movq 0x288(%rsp), %rax
movq (%rax), %rax
andq $0x40000000, %rax       # imm = 0x40000000
cmpq $0x0, %rax
je 0x1a7f0f
movq 0x290(%rsp), %rax
testb $0x1, 0x24c(%rax)
je 0x1a7f0f
movq 0x290(%rsp), %rdi
movq 0x288(%rsp), %rsi
movq 0x290(%rsp), %rax
movq 0x1380(%rax), %rdx
callq 0x98d0
movq %rax, 0x268(%rsp)
movq 0x268(%rsp), %rax
movq 0x290(%rsp), %rcx
cmpq 0x128(%rcx), %rax
je 0x1a7f0d
movq 0x288(%rsp), %rax
movq (%rax), %rcx
andq $-0x40000001, %rcx      # imm = 0xBFFFFFFF
movq %rcx, (%rax)
cmpl $0x1, 0x27c(%rsp)
jne 0x1a7d3c
movq 0x290(%rsp), %rax
movq %rax, 0x50(%rsp)
movq 0x268(%rsp), %rax
movq %rax, 0x58(%rsp)
movq 0x288(%rsp), %rax
movq %rax, 0x250(%rsp)
movq 0x290(%rsp), %rax
movq 0x110(%rax), %rax
movq %rax, 0x248(%rsp)
movq 0x290(%rsp), %rax
movq 0x90(%rax), %rax
movq 0x290(%rsp), %rcx
cmpq 0x98(%rcx), %rax
ja 0x1a7ca8
movq 0x290(%rsp), %rdi
callq 0xc670
movq 0x290(%rsp), %rcx
movq 0x90(%rcx), %rax
movq %rax, %rdx
addq $-0x8, %rdx
movq %rdx, 0x90(%rcx)
movq -0x8(%rax), %rax
movq %rax, 0x258(%rsp)
movq 0x258(%rsp), %rax
movq $0x200001, (%rax)       # imm = 0x200001
movq 0x58(%rsp), %rsi
movq 0x50(%rsp), %rdi
movq 0x250(%rsp), %rcx
movq 0x258(%rsp), %rax
movq %rcx, 0x8(%rax)
movq 0x248(%rsp), %rcx
movq 0x258(%rsp), %rax
movq %rcx, 0x10(%rax)
movq 0x258(%rsp), %rax
movq %rax, 0x240(%rsp)
movq 0x240(%rsp), %rdx
callq 0xda50
movq %rax, 0x260(%rsp)
jmp 0x1a7e96
movq 0x290(%rsp), %rax
movq %rax, 0x30(%rsp)
movq 0x268(%rsp), %rax
movq %rax, 0x38(%rsp)
movq 0x290(%rsp), %rax
movq %rax, 0x40(%rsp)
movq 0x288(%rsp), %rax
movq %rax, 0x48(%rsp)
cmpl $0x0, 0x27c(%rsp)
jne 0x1a7d90
movq 0x290(%rsp), %rax
movq 0x120(%rax), %rax
movq %rax, 0x28(%rsp)
jmp 0x1a7da4
movq 0x290(%rsp), %rax
movq 0x18a0(%rax), %rax
movq %rax, 0x28(%rsp)
movq 0x28(%rsp), %rax
movq %rax, 0x230(%rsp)
movq 0x290(%rsp), %rax
movq 0x110(%rax), %rax
movq %rax, 0x228(%rsp)
movq 0x290(%rsp), %rax
movq 0x90(%rax), %rax
movq 0x290(%rsp), %rcx
cmpq 0x98(%rcx), %rax
ja 0x1a7df5
movq 0x290(%rsp), %rdi
callq 0xc670
movq 0x290(%rsp), %rcx
movq 0x90(%rcx), %rax
movq %rax, %rdx
addq $-0x8, %rdx
movq %rdx, 0x90(%rcx)
movq -0x8(%rax), %rax
movq %rax, 0x238(%rsp)
movq 0x238(%rsp), %rax
movq $0x200001, (%rax)       # imm = 0x200001
movq 0x48(%rsp), %rsi
movq 0x40(%rsp), %rdi
movq 0x230(%rsp), %rcx
movq 0x238(%rsp), %rax
movq %rcx, 0x8(%rax)
movq 0x228(%rsp), %rcx
movq 0x238(%rsp), %rax
movq %rcx, 0x10(%rax)
movq 0x238(%rsp), %rax
movq %rax, 0x220(%rsp)
movq 0x220(%rsp), %rdx
callq 0xd9f0
movq 0x30(%rsp), %rdi
movq 0x38(%rsp), %rsi
movq %rax, %rdx
callq 0xda50
movq %rax, 0x260(%rsp)
movq 0x288(%rsp), %rax
movq (%rax), %rcx
orq $0x40000000, %rcx       # imm = 0x40000000
movq %rcx, (%rax)
movq 0x260(%rsp), %rax
movzbl (%rax), %eax
cmpl $0x13, %eax
jne 0x1a7f08
movq 0x260(%rsp), %rax
cmpq $0x0, 0x8(%rax)
jle 0x1a7f08
movq 0x280(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x290(%rsp), %rdi
movq 0x260(%rsp), %rcx
movq 0x10(%rcx), %rsi
movq 0x260(%rsp), %rcx
movq 0x8(%rcx), %rdx
movq 0x280(%rsp), %rcx
callq *%rax
jmp 0x1a89fa
jmp 0x1a7f0f
movq 0x288(%rsp), %rax
movq 0x290(%rsp), %rcx
cmpq 0x150(%rcx), %rax
jne 0x1a7f5f
movq 0x280(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x290(%rsp), %rdi
movq 0x280(%rsp), %rcx
leaq 0x4a7e4(%rip), %rsi     # 0x1f2737
movl $0x9, %edx
callq *%rax
jmp 0x1a89fa
movq 0x288(%rsp), %rax
movq 0x290(%rsp), %rcx
cmpq 0x2150(%rcx), %rax
jne 0x1a7faf
movq 0x280(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x290(%rsp), %rdi
movq 0x280(%rsp), %rcx
leaq 0x46eaa(%rip), %rsi     # 0x1eee4d
movl $0x4, %edx
callq *%rax
jmp 0x1a89f8
movq 0x290(%rsp), %rax
testb $0x1, 0x248(%rax)
je 0x1a7ff7
movq 0x280(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x290(%rsp), %rdi
movq 0x280(%rsp), %rcx
leaq 0x4a756(%rip), %rsi     # 0x1f2741
movl $0x6, %edx
callq *%rax
jmp 0x1a89f6
cmpl $0x2, 0x27c(%rsp)
jne 0x1a891f
cmpq $0x0, 0x270(%rsp)
je 0x1a849c
movq 0x288(%rsp), %rax
movzwl 0x6(%rax), %eax
andl $0x20, %eax
cmpl $0x0, %eax
je 0x1a849c
movq 0x270(%rsp), %rdi
movq 0x288(%rsp), %rsi
callq 0xd2740
movl %eax, 0x21c(%rsp)
cmpl $0x0, %eax
je 0x1a849c
cmpl $0x0, 0x21c(%rsp)
jge 0x1a806b
xorl %eax, %eax
subl 0x21c(%rsp), %eax
movl %eax, 0x21c(%rsp)
movq 0x270(%rsp), %rax
movq 0x48(%rax), %rax
movslq 0x21c(%rsp), %rcx
testb $0x1, (%rax,%rcx)
jne 0x1a809f
movq 0x280(%rsp), %rax
movq 0x270(%rsp), %rcx
cmpq 0x28(%rcx), %rax
jne 0x1a812d
leaq 0x190(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x290(%rsp), %rdi
movslq 0x21c(%rsp), %rsi
callq 0xae30
movq 0x20(%rsp), %rdi
movq %rax, %rdx
leaq 0x4a6c1(%rip), %rsi     # 0x1f2791
leaq 0x4a990(%rip), %rcx     # 0x1f2a67
xorl %eax, %eax
movl %eax, %r8d
movb $0x0, %al
callq 0x10540
movl %eax, 0x18c(%rsp)
movq 0x270(%rsp), %rax
movq 0x28(%rax), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x290(%rsp), %rdi
leaq 0x190(%rsp), %rsi
movslq 0x18c(%rsp), %rdx
movq 0x270(%rsp), %rcx
movq 0x28(%rcx), %rcx
callq *%rax
jmp 0x1a89fa
movq 0x288(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x290(%rsp), %rcx
cmpq 0x110(%rcx), %rax
je 0x1a8266
movq 0x288(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x290(%rsp), %rcx
cmpq 0x150(%rcx), %rax
je 0x1a8266
leaq 0x100(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x290(%rsp), %rdi
movslq 0x21c(%rsp), %rsi
callq 0xae30
movq 0x18(%rsp), %rdi
movq %rax, %rdx
leaq 0x4a5a8(%rip), %rsi     # 0x1f2748
leaq 0x4a5b3(%rip), %rcx     # 0x1f275a
xorl %eax, %eax
movl %eax, %r8d
movb $0x0, %al
callq 0x10540
movl %eax, 0xfc(%rsp)
movq 0x270(%rsp), %rax
movq 0x28(%rax), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x290(%rsp), %rdi
leaq 0x100(%rsp), %rsi
movslq 0xfc(%rsp), %rdx
movq 0x270(%rsp), %rcx
movq 0x28(%rcx), %rcx
callq *%rax
movq 0x290(%rsp), %rdi
movq 0x288(%rsp), %rax
movq 0x10(%rax), %rsi
movq 0x270(%rsp), %rax
movq 0x28(%rax), %rdx
movl 0x27c(%rsp), %ecx
movq 0x270(%rsp), %r8
callq 0x1a7b70
movq 0x270(%rsp), %rax
movq 0x28(%rax), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x290(%rsp), %rdi
movq 0x270(%rsp), %rcx
movq 0x28(%rcx), %rcx
leaq 0x4a2a0(%rip), %rsi     # 0x1f24ff
movl $0x2, %edx
callq *%rax
movq 0x288(%rsp), %rax
movq (%rax), %rax
andq $0x40000000, %rax       # imm = 0x40000000
cmpq $0x0, %rax
je 0x1a82af
movq 0x280(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x290(%rsp), %rdi
movq 0x280(%rsp), %rcx
leaq 0x4a4b6(%rip), %rsi     # 0x1f275e
movl $0x9, %edx
callq *%rax
movq 0x290(%rsp), %rdi
movq 0x288(%rsp), %rsi
callq 0x1af3a0
testb $0x1, %al
jne 0x1a82cd
jmp 0x1a83c4
movq 0x280(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x290(%rsp), %rdi
movq 0x280(%rsp), %rcx
leaq 0x462f6(%rip), %rsi     # 0x1ee5ee
movl $0x6, %edx
callq *%rax
movq 0x290(%rsp), %rdi
movq 0x288(%rsp), %rsi
movq 0x288(%rsp), %rax
movq 0x8(%rax), %rdx
movq 0x280(%rsp), %rcx
movq 0x270(%rsp), %r8
movl $0x1, %r9d
callq 0x1af400
movq 0x280(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x290(%rsp), %rdi
movq 0x280(%rsp), %rcx
leaq 0x4a37a(%rip), %rsi     # 0x1f26db
movl $0x2, %edx
callq *%rax
movq 0x290(%rsp), %rdi
movq 0x288(%rsp), %rsi
movq 0x280(%rsp), %rdx
movq 0x270(%rsp), %rcx
callq 0x1afaf0
movq 0x280(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x290(%rsp), %rdi
movq 0x280(%rsp), %rcx
leaq 0x4a3b0(%rip), %rsi     # 0x1f2768
movl $0xa, %edx
callq *%rax
jmp 0x1a8455
movq 0x280(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x290(%rsp), %rdi
movq 0x280(%rsp), %rcx
leaq 0x4a384(%rip), %rsi     # 0x1f2773
movl $0x6, %edx
callq *%rax
movq 0x290(%rsp), %rdi
movq 0x288(%rsp), %rsi
movq 0x288(%rsp), %rax
movq 0x8(%rax), %rdx
movq 0x280(%rsp), %rcx
movq 0x270(%rsp), %r8
xorl %r9d, %r9d
callq 0x1af400
movq 0x280(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x8(%rax), %rax
movq 0x290(%rsp), %rdi
movq 0x280(%rsp), %rdx
movl $0x29, %esi
callq *%rax
movq 0x288(%rsp), %rax
movq (%rax), %rax
andq $0x40000000, %rax       # imm = 0x40000000
cmpq $0x0, %rax
je 0x1a8497
movq 0x280(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x8(%rax), %rax
movq 0x290(%rsp), %rdi
movq 0x280(%rsp), %rdx
movl $0x29, %esi
callq *%rax
jmp 0x1a891a
movq 0x288(%rsp), %rax
movq (%rax), %rax
andq $0x40000000, %rax       # imm = 0x40000000
cmpq $0x0, %rax
je 0x1a84e5
movq 0x280(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x290(%rsp), %rdi
movq 0x280(%rsp), %rcx
leaq 0x4a280(%rip), %rsi     # 0x1f275e
movl $0x9, %edx
callq *%rax
movq 0x288(%rsp), %rax
movq (%rax), %rax
andq $0x1000000, %rax        # imm = 0x1000000
cmpq $0x0, %rax
je 0x1a852e
movq 0x280(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x290(%rsp), %rdi
movq 0x280(%rsp), %rcx
leaq 0x460dd(%rip), %rsi     # 0x1ee604
movl $0xc, %edx
callq *%rax
movq 0x290(%rsp), %rdi
movq 0x288(%rsp), %rsi
callq 0x1af3a0
testb $0x1, %al
jne 0x1a854c
jmp 0x1a863b
movq 0x280(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x290(%rsp), %rdi
movq 0x280(%rsp), %rcx
leaq 0x46077(%rip), %rsi     # 0x1ee5ee
movl $0x6, %edx
callq *%rax
movq 0x290(%rsp), %rdi
movq 0x288(%rsp), %rax
movq 0x8(%rax), %rsi
movq 0x280(%rsp), %rdx
movq 0x270(%rsp), %rcx
movl $0x1, %r8d
callq 0x1afc90
movq 0x280(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x290(%rsp), %rdi
movq 0x280(%rsp), %rcx
leaq 0x4a103(%rip), %rsi     # 0x1f26db
movl $0x2, %edx
callq *%rax
movq 0x290(%rsp), %rdi
movq 0x288(%rsp), %rsi
movq 0x280(%rsp), %rdx
movq 0x270(%rsp), %rcx
callq 0x1afaf0
movq 0x280(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x290(%rsp), %rdi
movq 0x280(%rsp), %rcx
leaq 0x4a139(%rip), %rsi     # 0x1f2768
movl $0xa, %edx
callq *%rax
jmp 0x1a8894
movq 0x288(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x290(%rsp), %rcx
cmpq 0x110(%rcx), %rax
je 0x1a880b
movq 0x288(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x290(%rsp), %rcx
cmpq 0x150(%rcx), %rax
je 0x1a880b
movq 0x280(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x290(%rsp), %rdi
movq 0x280(%rsp), %rcx
leaq 0x4a0d2(%rip), %rsi     # 0x1f277a
movl $0x8, %edx
callq *%rax
cmpq $0x0, 0x270(%rsp)
je 0x1a8761
movq 0x270(%rsp), %rdi
movq 0x288(%rsp), %rax
movq 0x10(%rax), %rsi
callq 0xd2740
movl %eax, 0xf8(%rsp)
cmpl $0x0, %eax
jge 0x1a8761
leaq 0x70(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x290(%rsp), %rdi
xorl %eax, %eax
subl 0xf8(%rsp), %eax
movslq %eax, %rsi
callq 0xae30
movq 0x10(%rsp), %rdi
movq %rax, %rdx
leaq 0x4a07c(%rip), %rsi     # 0x1f2791
leaq 0x4a34b(%rip), %rcx     # 0x1f2a67
xorl %eax, %eax
movl %eax, %r8d
movb $0x0, %al
callq 0x10540
movl %eax, 0x6c(%rsp)
movq 0x280(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x290(%rsp), %rdi
leaq 0x70(%rsp), %rsi
movslq 0x6c(%rsp), %rdx
movq 0x280(%rsp), %rcx
callq *%rax
jmp 0x1a8809
movq 0x290(%rsp), %rax
movq %rax, (%rsp)
movq 0x288(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x290(%rsp), %rdi
leaq 0x39776(%rip), %rsi     # 0x1e1eff
callq 0xb400
movq (%rsp), %rdi
movq 0x8(%rsp), %rsi
movq %rax, %rdx
callq 0xe490
movq %rax, 0x60(%rsp)
movq 0x60(%rsp), %rax
movzbl (%rax), %eax
cmpl $0xa, %eax
jne 0x1a87d7
movq 0x290(%rsp), %rdi
movq 0x60(%rsp), %rsi
movq 0x280(%rsp), %rdx
movq 0x270(%rsp), %r8
xorl %ecx, %ecx
callq 0x1a9970
jmp 0x1a8807
movq 0x290(%rsp), %rdi
movq 0x288(%rsp), %rax
movq 0x10(%rax), %rsi
movq 0x280(%rsp), %rdx
movl 0x27c(%rsp), %ecx
movq 0x270(%rsp), %r8
callq 0x1a7b70
jmp 0x1a8809
jmp 0x1a883d
movq 0x280(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x290(%rsp), %rdi
movq 0x280(%rsp), %rcx
leaq 0x49f3d(%rip), %rsi     # 0x1f2773
movl $0x6, %edx
callq *%rax
movq 0x290(%rsp), %rdi
movq 0x288(%rsp), %rax
movq 0x8(%rax), %rsi
movq 0x280(%rsp), %rdx
movq 0x270(%rsp), %rcx
xorl %r8d, %r8d
callq 0x1afc90
movq 0x280(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x8(%rax), %rax
movq 0x290(%rsp), %rdi
movq 0x280(%rsp), %rdx
movl $0x29, %esi
callq *%rax
movq 0x288(%rsp), %rax
movq (%rax), %rax
andq $0x1000000, %rax        # imm = 0x1000000
cmpq $0x0, %rax
je 0x1a88d6
movq 0x280(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x8(%rax), %rax
movq 0x290(%rsp), %rdi
movq 0x280(%rsp), %rdx
movl $0x29, %esi
callq *%rax
movq 0x288(%rsp), %rax
movq (%rax), %rax
andq $0x40000000, %rax       # imm = 0x40000000
cmpq $0x0, %rax
je 0x1a8918
movq 0x280(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x8(%rax), %rax
movq 0x290(%rsp), %rdi
movq 0x280(%rsp), %rdx
movl $0x29, %esi
callq *%rax
jmp 0x1a891a
jmp 0x1a89f4
movq 0x280(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x290(%rsp), %rdi
movq 0x280(%rsp), %rcx
leaq 0x49e29(%rip), %rsi     # 0x1f2773
movl $0x6, %edx
callq *%rax
movq 0x288(%rsp), %rax
movq (%rax), %rax
andq $0x20000000, %rax       # imm = 0x20000000
cmpq $0x0, %rax
je 0x1a8996
movq 0x290(%rsp), %rdi
movq 0x288(%rsp), %rsi
movq 0x280(%rsp), %rdx
movl 0x27c(%rsp), %ecx
movq 0x270(%rsp), %r8
callq 0x1afe90
jmp 0x1a89c9
movq 0x290(%rsp), %rdi
movq 0x288(%rsp), %rax
movq 0x8(%rax), %rsi
movq 0x280(%rsp), %rdx
movl 0x27c(%rsp), %ecx
movq 0x270(%rsp), %r8
xorl %r9d, %r9d
callq 0x1b0000
movq 0x280(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x8(%rax), %rax
movq 0x290(%rsp), %rdi
movq 0x280(%rsp), %rdx
movl $0x29, %esi
callq *%rax
jmp 0x1a89f6
jmp 0x1a89f8
jmp 0x1a89fa
addq $0x298, %rsp            # imm = 0x298
retq
nopw %cs:(%rax,%rax)