// File: /workspace/github_c_makefile_star2_O0/BernardTatin[P]s7sh/s7.c
// Function: check_let
static s7_pointer check_let(s7_scheme *sc)
                {
                    s7_pointer x, start, form;
                    bool named_let;
                    int32_t vars;

                    form = sc->code;
                    sc->code = cdr(sc->code);

                    if (!is_pair(sc->code))               /* (let . 1) */
                    {
                        if (is_null(sc->code))            /* (let) */
                            eval_error(sc, "let has no variables or body: ~A", 32, form);
                        eval_error(sc, "let form is an improper list? ~A", 32, form);
                    }

                    if (!is_pair(cdr(sc->code)))          /* (let () ) */
                        eval_error(sc, "let has no body: ~A", 19, form);

                    if ((!is_list(car(sc->code))) &&      /* (let 1 ...) */
                            (!is_normal_symbol(car(sc->code))))
                        eval_error(sc, "let variable list is messed up or missing: ~A", 45, form);

                    named_let = (is_symbol(car(sc->code)));
                    if (named_let)
                    {
                        if (!is_list(cadr(sc->code)))             /* (let hi #t) */
                            eval_error(sc, "let variable list is messed up: ~A", 34, form);
                        if (!is_pair(cddr(sc->code)))             /* (let hi () . =>) or (let hi () ) */
                        {
                            if (is_null(cddr(sc->code)))
                                eval_error(sc, "named let has no body: ~A", 25 , form);
                            else eval_error(sc, "named let stray dot? ~A", 23, form);
                        }
                        if (is_constant_symbol(sc, car(sc->code)))
                            return(s7_error(sc, sc->wrong_type_arg_symbol,
                                        set_elist_2(sc, wrap_string(sc, "can't bind an immutable object: ~S", 34), form)));
                        set_local(car(sc->code));
                        start = cadr(sc->code);
                    }
                    else start = car(sc->code);

                    clear_symbol_list(sc);
                    for (vars = 0, x = start; is_pair(x); vars++, x = cdr(x))
                    {
                        s7_pointer y, carx;
                        carx = car(x);

                        if ((!is_pair(carx)) || (is_null(cdr(carx))))  /* (let ((x)) ...) or (let ((x 1) . (y 2)) ...) */
                            eval_error(sc, "let variable declaration, but no value?: ~A", 43, x);

                        if (!(is_pair(cdr(carx))))                     /* (let ((x . 1))...) */
                            eval_error(sc, "let variable declaration is not a proper list?: ~A", 50, x);

                        if (is_not_null(cddr(carx)))                   /* (let ((x 1 2 3)) ...) */
                            eval_error(sc, "let variable declaration has more than one value?: ~A", 53, x);

                        y = car(carx);
                        if (!(is_symbol(y)))
                            eval_error(sc, "bad variable ~S in let", 22, carx);

                        if (is_constant_symbol(sc, y))
                            return(s7_error(sc, sc->wrong_type_arg_symbol,
                                        set_elist_2(sc, wrap_string(sc, "can't bind an immutable object: ~S", 34), x)));

                        /* check for name collisions -- not sure this is required by Scheme */
                        if (symbol_is_in_list(sc, y))
                            s7_error(sc, sc->syntax_error_symbol,
                                    set_elist_3(sc, wrap_string(sc, "duplicate identifier in let: ~S in ~S", 37), y, form));
                        add_symbol_to_list(sc, y);
                        set_local(y);
                    }

                    /* (let ('1) quote) -> 1 */

                    if (is_not_null(x))                  /* (let* ((a 1) . b) a) */
                        eval_error(sc, "let variable list improper?: ~A", 31, form);

                    if (!s7_is_proper_list(sc, cdr(sc->code)))
                        eval_error(sc, "stray dot in let body: ~S", 25, cdr(sc->code));

                    if (named_let)
                    {
                        if (vars == 0)
                        {
                            pair_set_syntax_op(form, OP_NAMED_LET_NO_VARS);
                            optimize_lambda(sc, true, car(sc->code), sc->nil, cddr(sc->code));
                        }
                        else
                        {
                            s7_pointer ex, exp;
                            bool fx_ok = true;
                            pair_set_syntax_op(form, OP_NAMED_LET);
                            /* this is (let name ...) so the initial values need to be removed from the closure arg list */

                            sc->args = T_Pair(safe_list_if_possible(sc, vars));
                            for (ex = start, exp = sc->args; is_pair(ex); ex = cdr(ex), exp = cdr(exp))
                            {
                                s7_function fx;
                                s7_pointer val;
                                val = cdar(ex);
                                fx = fx_choose(sc, val, sc->envir, let_symbol_is_safe);
                                if (fx) set_c_call(val, fx); else fx_ok = false;
                                car(exp) = caar(ex);
                            }
                            if (fx_ok)
                                pair_set_syntax_op(form, OP_NAMED_LET_FX);

                            optimize_lambda(sc, true, car(sc->code), sc->args, cddr(sc->code)); /* car(sc->code) is the name */
                            clear_list_in_use(sc->args);
                            sc->args = sc->nil;
                        }
                        set_opt3_lamlet(sc->code, sc->nil);
                        return(sc->code);
                    }

                    /* not named let */
                    if (vars == 0)        /* not_in_heap does not happen much here */
                        pair_set_syntax_op(form, OP_LET_NO_VARS);
                    else
                    {
                        pair_set_syntax_op(form, OP_LET_UNCHECKED);
                        if (vars == 1)
                            check_let_one_var(sc, form, start);
                        else
                        {
                            s7_pointer p;
                            if (vars < GC_TRIGGER_SIZE)
                            {
                                opcode_t opt = OP_UNOPT;
                                for (p = start; is_pair(p); p = cdr(p))
                                {
                                    x = car(p);
                                    if (is_fxable(sc, cadr(x)))
                                    {
                                        set_c_call(cdr(x), fx_choose(sc, cdr(x), sc->envir, let_symbol_is_safe));
                                        if (opt == OP_UNOPT)
                                            opt = OP_LET_FX_OLD;
                                    }
                                    else opt = OP_LET_UNCHECKED;
                                }
                                pair_set_syntax_op(form, opt);
                                if (opt == OP_LET_FX_OLD)
                                {
                                    if (is_null(cddr(sc->code)))
                                    {
                                        if (vars == 2)
                                            pair_set_syntax_op(form, OP_LET_FX_2_OLD);
                                        else
                                        {
                                            if (vars == 3)
                                                pair_set_syntax_op(form, OP_LET_FX_3_OLD);
                                        }
                                    }
                                }
                            }
                            else
                            {
                                pair_set_syntax_op(form, OP_LET_UNCHECKED);
                                for (p = start; is_pair(p); p = cdr(p))
                                {
                                    x = car(p);
                                    if (is_fxable(sc, cadr(x)))
                                        set_c_call(cdr(x), fx_choose(sc, cdr(x), sc->envir, let_symbol_is_safe));
                                }
                            }
                        }
                    }

                    if (optimize_op(form) >= OP_LET_FX_OLD)
                    {
                        /* if body_is_safe, we could use sc->lamlets here to save the frame, even if not unheaped, but
                         *   that means we mark the frame one extra time, which matters in random lets, and body_is_safe
                         *   is somewhat expensive.  So in most timing tests, the saved let is not an improvement.
                         */
                        if ((not_in_heap(form)) &&
                                (body_is_safe(sc, sc->unused, cdr(sc->code), true) >= SAFE_BODY))
                            set_opt3_let(sc->code, make_permanent_let(sc, car(sc->code)));
                        else
                        {
                            set_optimize_op(form, optimize_op(form) + 1); /* *_old -> *_new */
                            set_opt3_let(sc->code, sc->nil);
                        }
                    }

                    /* TODO: extend to other lets? */
                    if ((is_pair(cadr(form))) &&
                            (is_let(sc->envir)) && (is_funclet(sc->envir)) && (tis_slot(let_slots(sc->envir))))
                    {
                        s7_pointer p, s1, s2 = NULL;
                        s1 = let_slots(sc->envir);
                        if (tis_slot(next_slot(s1))) s2 = slot_symbol(next_slot(s1));
                        s1 = slot_symbol(s1);
                        for (p = cadr(form); is_pair(p); p = cdr(p))
                        {
                            s7_pointer init;
                            init = cdar(p);
                            fx_tree(sc, init, s1, s2);
                        }
                    }

                    return(sc->code);
                }

// Assembly:
subq $0x218, %rsp            # imm = 0x218
movq %rdi, 0x208(%rsp)
movq 0x208(%rsp), %rax
movq (%rax), %rax
movq %rax, 0x1f0(%rsp)
movq 0x208(%rsp), %rax
movq (%rax), %rax
movq 0x10(%rax), %rcx
movq 0x208(%rsp), %rax
movq %rcx, (%rax)
movq 0x208(%rsp), %rax
movq (%rax), %rax
movzbl (%rax), %eax
cmpl $0x1, %eax
je 0x19510d
movq 0x208(%rsp), %rax
movq (%rax), %rax
movq 0x208(%rsp), %rcx
cmpq 0x110(%rcx), %rax
jne 0x195080
movq 0x208(%rsp), %rax
movq %rax, 0x170(%rsp)
movq 0x208(%rsp), %rax
movq 0x1918(%rax), %rax
movq %rax, 0x178(%rsp)
movq 0x208(%rsp), %rax
movq %rax, 0x168(%rsp)
movq 0x208(%rsp), %rdi
leaq 0x5ba12(%rip), %rsi     # 0x1f0a4b
movl $0x20, %edx
callq 0xb880
movq 0x168(%rsp), %rdi
movq %rax, %rsi
movq 0x1f0(%rsp), %rdx
callq 0xb830
movq 0x170(%rsp), %rdi
movq 0x178(%rsp), %rsi
movq %rax, %rdx
callq 0x2f940
movq %rax, 0x210(%rsp)
jmp 0x196532
movq 0x208(%rsp), %rax
movq %rax, 0x158(%rsp)
movq 0x208(%rsp), %rax
movq 0x1918(%rax), %rax
movq %rax, 0x160(%rsp)
movq 0x208(%rsp), %rax
movq %rax, 0x150(%rsp)
movq 0x208(%rsp), %rdi
leaq 0x5b9a6(%rip), %rsi     # 0x1f0a6c
movl $0x20, %edx
callq 0xb880
movq 0x150(%rsp), %rdi
movq %rax, %rsi
movq 0x1f0(%rsp), %rdx
callq 0xb830
movq 0x158(%rsp), %rdi
movq 0x160(%rsp), %rsi
movq %rax, %rdx
callq 0x2f940
movq %rax, 0x210(%rsp)
jmp 0x196532
movq 0x208(%rsp), %rax
movq (%rax), %rax
movq 0x10(%rax), %rax
movzbl (%rax), %eax
cmpl $0x1, %eax
je 0x1951b5
movq 0x208(%rsp), %rax
movq %rax, 0x140(%rsp)
movq 0x208(%rsp), %rax
movq 0x1918(%rax), %rax
movq %rax, 0x148(%rsp)
movq 0x208(%rsp), %rax
movq %rax, 0x138(%rsp)
movq 0x208(%rsp), %rdi
leaq 0x5b976(%rip), %rsi     # 0x1f0ae4
movl $0x13, %edx
callq 0xb880
movq 0x138(%rsp), %rdi
movq %rax, %rsi
movq 0x1f0(%rsp), %rdx
callq 0xb830
movq 0x140(%rsp), %rdi
movq 0x148(%rsp), %rsi
movq %rax, %rdx
callq 0x2f940
movq %rax, 0x210(%rsp)
jmp 0x196532
movq 0x208(%rsp), %rax
movq (%rax), %rax
movq 0x8(%rax), %rax
movzbl (%rax), %eax
cmpl $0x1, %eax
je 0x1952b0
movq 0x208(%rsp), %rax
movq (%rax), %rax
movq 0x8(%rax), %rax
movzbl (%rax), %eax
cmpl $0x2, %eax
je 0x1952b0
movq 0x208(%rsp), %rax
movq (%rax), %rax
movq 0x8(%rax), %rax
movzbl (%rax), %eax
cmpl $0xa, %eax
jne 0x195223
movq 0x208(%rsp), %rax
movq (%rax), %rax
movq 0x8(%rax), %rax
movzwl 0x6(%rax), %eax
andl $0x80, %eax
cmpl $0x0, %eax
je 0x1952b0
movq 0x208(%rsp), %rax
movq %rax, 0x128(%rsp)
movq 0x208(%rsp), %rax
movq 0x1918(%rax), %rax
movq %rax, 0x130(%rsp)
movq 0x208(%rsp), %rax
movq %rax, 0x120(%rsp)
movq 0x208(%rsp), %rdi
leaq 0x5b824(%rip), %rsi     # 0x1f0a8d
movl $0x2d, %edx
callq 0xb880
movq 0x120(%rsp), %rdi
movq %rax, %rsi
movq 0x1f0(%rsp), %rdx
callq 0xb830
movq 0x128(%rsp), %rdi
movq 0x130(%rsp), %rsi
movq %rax, %rdx
callq 0x2f940
movq %rax, 0x210(%rsp)
jmp 0x196532
movq 0x208(%rsp), %rax
movq (%rax), %rax
movq 0x8(%rax), %rax
movzbl (%rax), %eax
cmpl $0xa, %eax
sete %al
andb $0x1, %al
movb %al, 0x1ef(%rsp)
testb $0x1, 0x1ef(%rsp)
je 0x19560c
movq 0x208(%rsp), %rax
movq (%rax), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rax
movzbl (%rax), %eax
cmpl $0x1, %eax
je 0x1953aa
movq 0x208(%rsp), %rax
movq (%rax), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rax
movzbl (%rax), %eax
cmpl $0x2, %eax
je 0x1953aa
movq 0x208(%rsp), %rax
movq %rax, 0x110(%rsp)
movq 0x208(%rsp), %rax
movq 0x1918(%rax), %rax
movq %rax, 0x118(%rsp)
movq 0x208(%rsp), %rax
movq %rax, 0x108(%rsp)
movq 0x208(%rsp), %rdi
leaq 0x5b758(%rip), %rsi     # 0x1f0abb
movl $0x22, %edx
callq 0xb880
movq 0x108(%rsp), %rdi
movq %rax, %rsi
movq 0x1f0(%rsp), %rdx
callq 0xb830
movq 0x110(%rsp), %rdi
movq 0x118(%rsp), %rsi
movq %rax, %rdx
callq 0x2f940
movq %rax, 0x210(%rsp)
jmp 0x196532
movq 0x208(%rsp), %rax
movq (%rax), %rax
movq 0x10(%rax), %rax
movq 0x10(%rax), %rax
movzbl (%rax), %eax
cmpl $0x1, %eax
je 0x19550b
movq 0x208(%rsp), %rax
movq (%rax), %rax
movq 0x10(%rax), %rax
movq 0x10(%rax), %rax
movq 0x208(%rsp), %rcx
cmpq 0x110(%rcx), %rax
jne 0x19547e
movq 0x208(%rsp), %rax
movq %rax, 0xf8(%rsp)
movq 0x208(%rsp), %rax
movq 0x1918(%rax), %rax
movq %rax, 0x100(%rsp)
movq 0x208(%rsp), %rax
movq %rax, 0xf0(%rsp)
movq 0x208(%rsp), %rdi
leaq 0x5b6a7(%rip), %rsi     # 0x1f0ade
movl $0x19, %edx
callq 0xb880
movq 0xf0(%rsp), %rdi
movq %rax, %rsi
movq 0x1f0(%rsp), %rdx
callq 0xb830
movq 0xf8(%rsp), %rdi
movq 0x100(%rsp), %rsi
movq %rax, %rdx
callq 0x2f940
movq %rax, 0x210(%rsp)
jmp 0x196532
movq 0x208(%rsp), %rax
movq %rax, 0xe0(%rsp)
movq 0x208(%rsp), %rax
movq 0x1918(%rax), %rax
movq %rax, 0xe8(%rsp)
movq 0x208(%rsp), %rax
movq %rax, 0xd8(%rsp)
movq 0x208(%rsp), %rdi
leaq 0x5b634(%rip), %rsi     # 0x1f0af8
movl $0x17, %edx
callq 0xb880
movq 0xd8(%rsp), %rdi
movq %rax, %rsi
movq 0x1f0(%rsp), %rdx
callq 0xb830
movq 0xe0(%rsp), %rdi
movq 0xe8(%rsp), %rsi
movq %rax, %rdx
callq 0x2f940
movq %rax, 0x210(%rsp)
jmp 0x196532
movq 0x208(%rsp), %rdi
movq 0x208(%rsp), %rax
movq (%rax), %rax
movq 0x8(%rax), %rsi
callq 0xc57c0
testb $0x1, %al
jne 0x195530
jmp 0x1955bd
movq 0x208(%rsp), %rax
movq %rax, 0xc8(%rsp)
movq 0x208(%rsp), %rax
movq 0x1940(%rax), %rax
movq %rax, 0xd0(%rsp)
movq 0x208(%rsp), %rax
movq %rax, 0xc0(%rsp)
movq 0x208(%rsp), %rdi
leaq 0x5adbc(%rip), %rsi     # 0x1f0332
movl $0x22, %edx
callq 0xb880
movq 0xc0(%rsp), %rdi
movq %rax, %rsi
movq 0x1f0(%rsp), %rdx
callq 0xb830
movq 0xc8(%rsp), %rdi
movq 0xd0(%rsp), %rsi
movq %rax, %rdx
callq 0x2f940
movq %rax, 0x210(%rsp)
jmp 0x196532
movq 0x208(%rsp), %rax
movq (%rax), %rax
movq 0x8(%rax), %rax
movq (%rax), %rcx
orq $0x100000, %rcx         # imm = 0x100000
andq $-0x12201, %rcx         # imm = 0xFFFEDDFF
movq 0x208(%rsp), %rax
movq (%rax), %rax
movq 0x8(%rax), %rax
movq %rcx, (%rax)
movq 0x208(%rsp), %rax
movq (%rax), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rax
movq %rax, 0x1f8(%rsp)
jmp 0x195623
movq 0x208(%rsp), %rax
movq (%rax), %rax
movq 0x8(%rax), %rax
movq %rax, 0x1f8(%rsp)
movq 0x208(%rsp), %rdi
callq 0xdd1b0
movl $0x0, 0x1e8(%rsp)
movq 0x1f8(%rsp), %rax
movq %rax, 0x200(%rsp)
movq 0x200(%rsp), %rax
movzbl (%rax), %eax
cmpl $0x1, %eax
jne 0x195ad2
movq 0x200(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x1d8(%rsp)
movq 0x1d8(%rsp), %rax
movzbl (%rax), %eax
cmpl $0x1, %eax
jne 0x1956a4
movq 0x1d8(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x208(%rsp), %rcx
cmpq 0x110(%rcx), %rax
jne 0x195731
movq 0x208(%rsp), %rax
movq %rax, 0xb0(%rsp)
movq 0x208(%rsp), %rax
movq 0x1918(%rax), %rax
movq %rax, 0xb8(%rsp)
movq 0x208(%rsp), %rax
movq %rax, 0xa8(%rsp)
movq 0x208(%rsp), %rdi
leaq 0x5b426(%rip), %rsi     # 0x1f0b10
movl $0x2b, %edx
callq 0xb880
movq 0xa8(%rsp), %rdi
movq %rax, %rsi
movq 0x200(%rsp), %rdx
callq 0xb830
movq 0xb0(%rsp), %rdi
movq 0xb8(%rsp), %rsi
movq %rax, %rdx
callq 0x2f940
movq %rax, 0x210(%rsp)
jmp 0x196532
movq 0x1d8(%rsp), %rax
movq 0x10(%rax), %rax
movzbl (%rax), %eax
cmpl $0x1, %eax
je 0x1957d6
movq 0x208(%rsp), %rax
movq %rax, 0x98(%rsp)
movq 0x208(%rsp), %rax
movq 0x1918(%rax), %rax
movq %rax, 0xa0(%rsp)
movq 0x208(%rsp), %rax
movq %rax, 0x90(%rsp)
movq 0x208(%rsp), %rdi
leaq 0x5b3ad(%rip), %rsi     # 0x1f0b3c
movl $0x32, %edx
callq 0xb880
movq 0x90(%rsp), %rdi
movq %rax, %rsi
movq 0x200(%rsp), %rdx
callq 0xb830
movq 0x98(%rsp), %rdi
movq 0xa0(%rsp), %rsi
movq %rax, %rdx
callq 0x2f940
movq %rax, 0x210(%rsp)
jmp 0x196532
movq 0x1d8(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x10(%rax), %rax
movq 0x208(%rsp), %rcx
cmpq 0x110(%rcx), %rax
je 0x195882
movq 0x208(%rsp), %rax
movq %rax, 0x80(%rsp)
movq 0x208(%rsp), %rax
movq 0x1918(%rax), %rax
movq %rax, 0x88(%rsp)
movq 0x208(%rsp), %rax
movq %rax, 0x78(%rsp)
movq 0x208(%rsp), %rdi
leaq 0x5b331(%rip), %rsi     # 0x1f0b6f
movl $0x35, %edx
callq 0xb880
movq 0x78(%rsp), %rdi
movq %rax, %rsi
movq 0x200(%rsp), %rdx
callq 0xb830
movq 0x80(%rsp), %rdi
movq 0x88(%rsp), %rsi
movq %rax, %rdx
callq 0x2f940
movq %rax, 0x210(%rsp)
jmp 0x196532
movq 0x1d8(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x1e0(%rsp)
movq 0x1e0(%rsp), %rax
movzbl (%rax), %eax
cmpl $0xa, %eax
je 0x195921
movq 0x208(%rsp), %rax
movq %rax, 0x68(%rsp)
movq 0x208(%rsp), %rax
movq 0x1918(%rax), %rax
movq %rax, 0x70(%rsp)
movq 0x208(%rsp), %rax
movq %rax, 0x60(%rsp)
movq 0x208(%rsp), %rdi
leaq 0x5b2c2(%rip), %rsi     # 0x1f0ba5
movl $0x16, %edx
callq 0xb880
movq 0x60(%rsp), %rdi
movq %rax, %rsi
movq 0x1d8(%rsp), %rdx
callq 0xb830
movq 0x68(%rsp), %rdi
movq 0x70(%rsp), %rsi
movq %rax, %rdx
callq 0x2f940
movq %rax, 0x210(%rsp)
jmp 0x196532
movq 0x208(%rsp), %rdi
movq 0x1e0(%rsp), %rsi
callq 0xc57c0
testb $0x1, %al
jne 0x19593c
jmp 0x1959b7
movq 0x208(%rsp), %rax
movq %rax, 0x50(%rsp)
movq 0x208(%rsp), %rax
movq 0x1940(%rax), %rax
movq %rax, 0x58(%rsp)
movq 0x208(%rsp), %rax
movq %rax, 0x48(%rsp)
movq 0x208(%rsp), %rdi
leaq 0x5a9b9(%rip), %rsi     # 0x1f0332
movl $0x22, %edx
callq 0xb880
movq 0x48(%rsp), %rdi
movq %rax, %rsi
movq 0x200(%rsp), %rdx
callq 0xb830
movq 0x50(%rsp), %rdi
movq 0x58(%rsp), %rsi
movq %rax, %rdx
callq 0x2f940
movq %rax, 0x210(%rsp)
jmp 0x196532
movq 0x1e0(%rsp), %rax
movl 0x2c(%rax), %eax
movq 0x208(%rsp), %rcx
cmpl 0xa88(%rcx), %eax
jne 0x195a6f
movq 0x1e0(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x20(%rax), %rax
movl 0xc(%rax), %eax
movq 0x208(%rsp), %rcx
cmpl 0xa8c(%rcx), %eax
jne 0x195a6f
movq 0x208(%rsp), %rax
movq %rax, 0x38(%rsp)
movq 0x208(%rsp), %rax
movq 0x1918(%rax), %rax
movq %rax, 0x40(%rsp)
movq 0x208(%rsp), %rax
movq %rax, 0x30(%rsp)
movq 0x208(%rsp), %rdi
leaq 0x5b186(%rip), %rsi     # 0x1f0bbc
movl $0x25, %edx
callq 0xb880
movq 0x30(%rsp), %rdi
movq %rax, %rsi
movq 0x1e0(%rsp), %rdx
movq 0x1f0(%rsp), %rcx
callq 0xf240
movq 0x38(%rsp), %rdi
movq 0x40(%rsp), %rsi
movq %rax, %rdx
callq 0x2f940
movq 0x208(%rsp), %rdi
movq 0x1e0(%rsp), %rsi
callq 0xde160
movq 0x1e0(%rsp), %rax
movq (%rax), %rcx
orq $0x100000, %rcx         # imm = 0x100000
andq $-0x12201, %rcx         # imm = 0xFFFEDDFF
movq 0x1e0(%rsp), %rax
movq %rcx, (%rax)
movl 0x1e8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x1e8(%rsp)
movq 0x200(%rsp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x200(%rsp)
jmp 0x19564b
movq 0x200(%rsp), %rax
movq 0x208(%rsp), %rcx
cmpq 0x110(%rcx), %rax
je 0x195b66
movq 0x208(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x208(%rsp), %rax
movq 0x1918(%rax), %rax
movq %rax, 0x28(%rsp)
movq 0x208(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x208(%rsp), %rdi
leaq 0x5b0ba(%rip), %rsi     # 0x1f0be2
movl $0x1f, %edx
callq 0xb880
movq 0x18(%rsp), %rdi
movq %rax, %rsi
movq 0x1f0(%rsp), %rdx
callq 0xb830
movq 0x20(%rsp), %rdi
movq 0x28(%rsp), %rsi
movq %rax, %rdx
callq 0x2f940
movq %rax, 0x210(%rsp)
jmp 0x196532
movq 0x208(%rsp), %rdi
movq 0x208(%rsp), %rax
movq (%rax), %rax
movq 0x10(%rax), %rsi
callq 0x31a40
testb $0x1, %al
jne 0x195c0a
movq 0x208(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x208(%rsp), %rax
movq 0x1918(%rax), %rax
movq %rax, 0x10(%rsp)
movq 0x208(%rsp), %rax
movq %rax, (%rsp)
movq 0x208(%rsp), %rdi
leaq 0x5b03c(%rip), %rsi     # 0x1f0c02
movl $0x19, %edx
callq 0xb880
movq (%rsp), %rdi
movq %rax, %rsi
movq 0x208(%rsp), %rax
movq (%rax), %rax
movq 0x10(%rax), %rdx
callq 0xb830
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rsi
movq %rax, %rdx
callq 0x2f940
movq %rax, 0x210(%rsp)
jmp 0x196532
testb $0x1, 0x1ef(%rsp)
je 0x195f19
cmpl $0x0, 0x1e8(%rsp)
jne 0x195c9e
jmp 0x195c24
movq 0x1f0(%rsp), %rax
movw $0x241, 0x4(%rax)       # imm = 0x241
movq 0x1f0(%rsp), %rax
movq (%rax), %rcx
andq $-0x10000, %rcx         # imm = 0xFFFF0000
orq $0x201, %rcx            # imm = 0x201
movq 0x1f0(%rsp), %rax
movq %rcx, (%rax)
movq 0x208(%rsp), %rdi
movq 0x208(%rsp), %rax
movq (%rax), %rax
movq 0x8(%rax), %rdx
movq 0x208(%rsp), %rax
movq 0x110(%rax), %rcx
movq 0x208(%rsp), %rax
movq (%rax), %rax
movq 0x10(%rax), %rax
movq 0x10(%rax), %r8
movl $0x1, %esi
callq 0x182d50
jmp 0x195ec9
movb $0x1, 0x1c7(%rsp)
movq 0x1f0(%rsp), %rax
movw $0x240, 0x4(%rax)       # imm = 0x240
movq 0x1f0(%rsp), %rax
movq (%rax), %rcx
andq $-0x10000, %rcx         # imm = 0xFFFF0000
orq $0x201, %rcx            # imm = 0x201
movq 0x1f0(%rsp), %rax
movq %rcx, (%rax)
movq 0x208(%rsp), %rdi
movslq 0x1e8(%rsp), %rsi
callq 0x101200
movq %rax, %rcx
movq 0x208(%rsp), %rax
movq %rcx, 0x10(%rax)
movq 0x1f8(%rsp), %rax
movq %rax, 0x1d0(%rsp)
movq 0x208(%rsp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x1c8(%rsp)
movq 0x1d0(%rsp), %rax
movzbl (%rax), %eax
cmpl $0x1, %eax
jne 0x195e03
movq 0x1d0(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x10(%rax), %rax
movq %rax, 0x1b0(%rsp)
movq 0x208(%rsp), %rdi
movq 0x1b0(%rsp), %rsi
movq 0x208(%rsp), %rax
movq 0x8(%rax), %rdx
leaq -0x9016f(%rip), %rcx    # 0x105c00
callq 0x103260
movq %rax, 0x1b8(%rsp)
cmpq $0x0, 0x1b8(%rsp)
je 0x195db2
jmp 0x195d89
movq 0x1b8(%rsp), %rcx
movq 0x1b0(%rsp), %rax
movq %rcx, 0x20(%rax)
movq 0x1b0(%rsp), %rax
movzwl 0x6(%rax), %ecx
orl $0x4, %ecx
movw %cx, 0x6(%rax)
jmp 0x195dba
movb $0x0, 0x1c7(%rsp)
movq 0x1d0(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rcx
movq 0x1c8(%rsp), %rax
movq %rcx, 0x8(%rax)
movq 0x1d0(%rsp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x1d0(%rsp)
movq 0x1c8(%rsp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x1c8(%rsp)
jmp 0x195d20
testb $0x1, 0x1c7(%rsp)
je 0x195e43
jmp 0x195e0f
movq 0x1f0(%rsp), %rax
movw $0x242, 0x4(%rax)       # imm = 0x242
movq 0x1f0(%rsp), %rax
movq (%rax), %rcx
andq $-0x10000, %rcx         # imm = 0xFFFF0000
orq $0x201, %rcx            # imm = 0x201
movq 0x1f0(%rsp), %rax
movq %rcx, (%rax)
jmp 0x195e43
movq 0x208(%rsp), %rdi
movq 0x208(%rsp), %rax
movq (%rax), %rax
movq 0x8(%rax), %rdx
movq 0x208(%rsp), %rax
movq 0x10(%rax), %rcx
movq 0x208(%rsp), %rax
movq (%rax), %rax
movq 0x10(%rax), %rax
movq 0x10(%rax), %r8
movl $0x1, %esi
callq 0x182d50
movq 0x208(%rsp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rcx
andq $-0x401, %rcx           # imm = 0xFBFF
movq %rcx, (%rax)
movq 0x208(%rsp), %rax
movl $0x0, 0x2138(%rax)
movq 0x208(%rsp), %rax
movq 0x110(%rax), %rcx
movq 0x208(%rsp), %rax
movq %rcx, 0x10(%rax)
jmp 0x195ecb
movq 0x208(%rsp), %rax
movq 0x110(%rax), %rcx
movq 0x208(%rsp), %rax
movq (%rax), %rax
movq %rcx, 0x28(%rax)
movq 0x208(%rsp), %rax
movq (%rax), %rax
movq (%rax), %rcx
andq $-0x40001, %rcx         # imm = 0xFFFBFFFF
movq %rcx, (%rax)
movq 0x208(%rsp), %rax
movq (%rax), %rax
movq %rax, 0x210(%rsp)
jmp 0x196532
cmpl $0x0, 0x1e8(%rsp)
jne 0x195f5c
jmp 0x195f25
movq 0x1f0(%rsp), %rax
movw $0x23f, 0x4(%rax)       # imm = 0x23F
movq 0x1f0(%rsp), %rax
movq (%rax), %rcx
andq $-0x10000, %rcx         # imm = 0xFFFF0000
orq $0x201, %rcx            # imm = 0x201
movq 0x1f0(%rsp), %rax
movq %rcx, (%rax)
jmp 0x1962d5
jmp 0x195f5e
movq 0x1f0(%rsp), %rax
movw $0x215, 0x4(%rax)       # imm = 0x215
movq 0x1f0(%rsp), %rax
movq (%rax), %rcx
andq $-0x10000, %rcx         # imm = 0xFFFF0000
orq $0x201, %rcx            # imm = 0x201
movq 0x1f0(%rsp), %rax
movq %rcx, (%rax)
cmpl $0x1, 0x1e8(%rsp)
jne 0x195fbc
movq 0x208(%rsp), %rdi
movq 0x1f0(%rsp), %rsi
movq 0x1f8(%rsp), %rdx
callq 0x196550
jmp 0x1962d3
cmpl $0x40, 0x1e8(%rsp)
jge 0x1961cb
movq $0x0, 0x1a0(%rsp)
movq 0x1f8(%rsp), %rax
movq %rax, 0x1a8(%rsp)
movq 0x1a8(%rsp), %rax
movzbl (%rax), %eax
cmpl $0x1, %eax
jne 0x1960c9
movq 0x1a8(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x200(%rsp)
movq 0x208(%rsp), %rdi
movq 0x200(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rsi
callq 0x15cfb0
testb $0x1, %al
jne 0x196031
jmp 0x1960a2
jmp 0x196033
movq 0x208(%rsp), %rdi
movq 0x200(%rsp), %rax
movq 0x10(%rax), %rsi
movq 0x208(%rsp), %rax
movq 0x8(%rax), %rdx
leaq -0x9045a(%rip), %rcx    # 0x105c00
callq 0x103260
movq %rax, %rcx
movq 0x200(%rsp), %rax
movq 0x10(%rax), %rax
movq %rcx, 0x20(%rax)
movq 0x200(%rsp), %rax
movq 0x10(%rax), %rax
movzwl 0x6(%rax), %ecx
orl $0x4, %ecx
movw %cx, 0x6(%rax)
cmpq $0x0, 0x1a0(%rsp)
jne 0x1960a0
movq $0x244, 0x1a0(%rsp) # imm = 0x244
jmp 0x1960ae
movq $0x215, 0x1a0(%rsp) # imm = 0x215
jmp 0x1960b0
movq 0x1a8(%rsp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x1a8(%rsp)
jmp 0x195fe6
jmp 0x1960cb
movq 0x1a0(%rsp), %rax
movw %ax, %cx
movq 0x1f0(%rsp), %rax
movw %cx, 0x4(%rax)
movq 0x1f0(%rsp), %rax
movq (%rax), %rcx
andq $-0x10000, %rcx         # imm = 0xFFFF0000
orq $0x201, %rcx            # imm = 0x201
movq 0x1f0(%rsp), %rax
movq %rcx, (%rax)
cmpq $0x244, 0x1a0(%rsp) # imm = 0x244
jne 0x1961c6
movq 0x208(%rsp), %rax
movq (%rax), %rax
movq 0x10(%rax), %rax
movq 0x10(%rax), %rax
movq 0x208(%rsp), %rcx
cmpq 0x110(%rcx), %rax
jne 0x1961c4
cmpl $0x2, 0x1e8(%rsp)
jne 0x196180
jmp 0x19614c
movq 0x1f0(%rsp), %rax
movw $0x246, 0x4(%rax)       # imm = 0x246
movq 0x1f0(%rsp), %rax
movq (%rax), %rcx
andq $-0x10000, %rcx         # imm = 0xFFFF0000
orq $0x201, %rcx            # imm = 0x201
movq 0x1f0(%rsp), %rax
movq %rcx, (%rax)
jmp 0x1961c2
cmpl $0x3, 0x1e8(%rsp)
jne 0x1961c0
jmp 0x19618c
movq 0x1f0(%rsp), %rax
movw $0x248, 0x4(%rax)       # imm = 0x248
movq 0x1f0(%rsp), %rax
movq (%rax), %rcx
andq $-0x10000, %rcx         # imm = 0xFFFF0000
orq $0x201, %rcx            # imm = 0x201
movq 0x1f0(%rsp), %rax
movq %rcx, (%rax)
jmp 0x1961c0
jmp 0x1961c2
jmp 0x1961c4
jmp 0x1961c6
jmp 0x1962d1
jmp 0x1961cd
movq 0x1f0(%rsp), %rax
movw $0x215, 0x4(%rax)       # imm = 0x215
movq 0x1f0(%rsp), %rax
movq (%rax), %rcx
andq $-0x10000, %rcx         # imm = 0xFFFF0000
orq $0x201, %rcx            # imm = 0x201
movq 0x1f0(%rsp), %rax
movq %rcx, (%rax)
movq 0x1f8(%rsp), %rax
movq %rax, 0x1a8(%rsp)
movq 0x1a8(%rsp), %rax
movzbl (%rax), %eax
cmpl $0x1, %eax
jne 0x1962cf
movq 0x1a8(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x200(%rsp)
movq 0x208(%rsp), %rdi
movq 0x200(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rsi
callq 0x15cfb0
testb $0x1, %al
jne 0x19625a
jmp 0x1962b4
jmp 0x19625c
movq 0x208(%rsp), %rdi
movq 0x200(%rsp), %rax
movq 0x10(%rax), %rsi
movq 0x208(%rsp), %rax
movq 0x8(%rax), %rdx
leaq -0x90683(%rip), %rcx    # 0x105c00
callq 0x103260
movq %rax, %rcx
movq 0x200(%rsp), %rax
movq 0x10(%rax), %rax
movq %rcx, 0x20(%rax)
movq 0x200(%rsp), %rax
movq 0x10(%rax), %rax
movzwl 0x6(%rax), %ecx
orl $0x4, %ecx
movw %cx, 0x6(%rax)
jmp 0x1962b4
jmp 0x1962b6
movq 0x1a8(%rsp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x1a8(%rsp)
jmp 0x19620f
jmp 0x1962d1
jmp 0x1962d3
jmp 0x1962d5
movq 0x1f0(%rsp), %rax
movzwl 0x4(%rax), %eax
cmpl $0x244, %eax            # imm = 0x244
jl 0x1963d9
movq 0x1f0(%rsp), %rax
movzwl 0x6(%rax), %eax
andl $0x4000, %eax           # imm = 0x4000
cmpl $0x0, %eax
je 0x196381
movq 0x208(%rsp), %rdi
movq 0x208(%rsp), %rax
movq 0x140(%rax), %rsi
movq 0x208(%rsp), %rax
movq (%rax), %rax
movq 0x10(%rax), %rdx
movl $0x1, %ecx
callq 0x183880
cmpl $0x2, %eax
jb 0x196381
jmp 0x196339
movq 0x208(%rsp), %rdi
movq 0x208(%rsp), %rax
movq (%rax), %rax
movq 0x8(%rax), %rsi
callq 0x174af0
movq %rax, %rcx
movq 0x208(%rsp), %rax
movq (%rax), %rax
movq %rcx, 0x28(%rax)
movq 0x208(%rsp), %rax
movq (%rax), %rax
movq (%rax), %rcx
andq $-0x40001, %rcx         # imm = 0xFFFBFFFF
movq %rcx, (%rax)
jmp 0x1963d7
movq 0x1f0(%rsp), %rax
movzwl 0x4(%rax), %eax
addl $0x1, %eax
movw %ax, %cx
movq 0x1f0(%rsp), %rax
movw %cx, 0x4(%rax)
movq 0x208(%rsp), %rax
movq 0x110(%rax), %rcx
movq 0x208(%rsp), %rax
movq (%rax), %rax
movq %rcx, 0x28(%rax)
movq 0x208(%rsp), %rax
movq (%rax), %rax
movq (%rax), %rcx
andq $-0x40001, %rcx         # imm = 0xFFFBFFFF
movq %rcx, (%rax)
jmp 0x1963d7
jmp 0x1963d9
movq 0x1f0(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rax
movzbl (%rax), %eax
cmpl $0x1, %eax
jne 0x19651f
movq 0x208(%rsp), %rax
movq 0x8(%rax), %rax
movzbl (%rax), %eax
cmpl $0x1c, %eax
jne 0x19651f
movq 0x208(%rsp), %rax
movq 0x8(%rax), %rax
movq (%rax), %rax
andq $0x20000000, %rax       # imm = 0x20000000
cmpq $0x0, %rax
je 0x19651f
movq 0x208(%rsp), %rax
movq 0x8(%rax), %rax
cmpq $0x0, 0x8(%rax)
je 0x19651f
movq $0x0, 0x188(%rsp)
movq 0x208(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rax
movq %rax, 0x190(%rsp)
movq 0x190(%rsp), %rax
cmpq $0x0, 0x18(%rax)
je 0x19648e
movq 0x190(%rsp), %rax
movq 0x18(%rax), %rax
movq 0x8(%rax), %rax
movq %rax, 0x188(%rsp)
movq 0x190(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x190(%rsp)
movq 0x1f0(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rax
movq %rax, 0x198(%rsp)
movq 0x198(%rsp), %rax
movzbl (%rax), %eax
cmpl $0x1, %eax
jne 0x19651d
movq 0x198(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x10(%rax), %rax
movq %rax, 0x180(%rsp)
movq 0x208(%rsp), %rdi
movq 0x180(%rsp), %rsi
movq 0x190(%rsp), %rdx
movq 0x188(%rsp), %rcx
callq 0x15d170
movq 0x198(%rsp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x198(%rsp)
jmp 0x1964ba
jmp 0x19651f
movq 0x208(%rsp), %rax
movq (%rax), %rax
movq %rax, 0x210(%rsp)
movq 0x210(%rsp), %rax
addq $0x218, %rsp            # imm = 0x218
retq
nopw %cs:(%rax,%rax)