// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: opt_dotimes
static bool opt_dotimes(s7_scheme *sc, s7_pointer code, s7_pointer scc, bool safe_step)
                {
                    s7_int end;
                    if (safe_step)
                        set_safe_stepper(sc->args);
                    else set_safe_stepper(let_dox_slot1(sc->envir));

                    /* I think safe_step means the stepper is completely unproblematic */
                    if (is_null(cdr(code)))
                    {
                        s7_function func;

                        if (no_cell_opt(code)) return(false);
                        func = s7_optimize_nr(sc, code);
                        if (!func)
                        {
                            set_no_cell_opt(code);
                            return(false);
                        }
                        end = denominator(slot_value(sc->args));
                        if (safe_step)
                        {
                            s7_pointer stepper;
                            slot_set_value(sc->args, stepper = make_mutable_integer(sc, integer(slot_value(sc->args))));
                            if ((func == opt_float_any_nr) ||
                                    (func == opt_cell_any_nr))
                            {
                                opt_info *o;
                                o = sc->opts[0];
                                if (func == opt_float_any_nr)
                                {
                                    s7_double (*fd)(opt_info *o);
                                    fd = o->v[0].fd;
                                    if ((fd == opt_d_id_sf) && /* by far the most common case in clm: (outa i ...) etc */
                                            (is_slot(o->v[1].p)) &&
                                            (stepper == slot_value(o->v[1].p)))
                                    {
                                        opt_info *o1;
                                        s7_int end8;
                                        s7_d_id_t f0;
                                        f0 = o->v[3].d_id_f;
                                        o1 = sc->opts[1];
                                        fd = o1->v[0].fd;
                                        end8 = end - 8;
                                        while (integer(stepper) < end8)
                                            LOOP_8(sc->pc = 1; f0(integer(stepper), fd(o1)); integer(stepper)++);
                                        while (integer(stepper) < end)
                                        {
                                            sc->pc = 1;
                                            f0(integer(stepper), fd(o1));
                                            integer(stepper)++;
                                        }
                                    }
                                    else
                                    {
                                        for (; integer(stepper) < end; integer(stepper)++)
                                        {
                                            sc->pc = 0;
                                            fd(o);
                                        }
                                    }
                                }
                                else
                                {
                                    s7_pointer (*fp)(opt_info *o);
                                    fp = o->v[0].fp;
                                    /* an experiment -- altogether 100 times as fast! */
                                    if ((fp == opt_p_pip_ssc) &&                     /* or any opt without f? */
                                            (stepper == slot_value(o->v[2].p)) &&        /* i.e. index by do counter */
                                            (o->v[3].p_pip_f == string_set_unchecked) && /* or any similar setter? */
                                            (end <= string_length(slot_value(o->v[1].p))))
                                    {
                                        char *str;
                                        str = (char *)(string_value(slot_value(o->v[1].p) + integer(stepper)));
                                        local_memset((void *)str, character(o->v[4].p), end - integer(stepper));
                                        integer(stepper) = end;
                                    }
                                    else
                                    {
                                        int32_t first_pc = 0;
                                        if (fp == opt_if_bp)
                                            fp = opt_if_bp_nr;
                                        else
                                        {
                                            if (fp == opt_if_nbp_fs)
                                            {
                                                fp = opt_if_nbp_fs_nr;
                                                first_pc = 2;
                                            }
                                        }
                                        for (; integer(stepper) < end; integer(stepper)++)
                                        {
                                            sc->pc = first_pc;
                                            fp(o);
                                        }
                                    }
                                }
                            }
                            else
                            {
                                if (func == opt_int_any_nr)
                                {
                                    s7_int (*fi)(opt_info *o);
                                    opt_info *o;
                                    o = sc->opts[0];
                                    fi = o->v[0].fi;
                                    if ((fi == opt_i_7pii_ssc) &&
                                            (stepper == slot_value(o->v[2].p)) &&
                                            (o->v[3].i_7pii_f == int_vector_set_unchecked) &&
                                            (end <= vector_length(slot_value(o->v[1].p))))
                                    {
                                        s7_int val;
                                        s7_int *ex;
                                        ex = int_vector_ints(slot_value(o->v[1].p));
                                        val = o->v[4].i;
                                        if (val == 0)
                                        {
                                            memclr((void *)(ex + integer(stepper)), (end - integer(stepper)) * sizeof(s7_int)); /* memclr64 assumes multiple of 8 */
                                            integer(stepper) = end;
                                        }
                                        else
                                        {
                                            for (; integer(stepper) < end; integer(stepper)++)
                                                ex[integer(stepper)] = val;
                                        }
                                    }
                                    else
                                    {
                                        for (; integer(stepper) < end; integer(stepper)++)
                                        {
                                            sc->pc = 0;
                                            fi(o);
                                        }
                                        /* if fi = opt_i_i_s for example, -> o->v[2].i_i_f(integer(slot_value(o->v[1].p)))
                                         *   and o->v[2].i_i_f can be pulled out leaving a loop of sc->pc = 0; ov2(integer(slot_value(o->v[1].p)));
                                         */
                                    }
                                }
                                else
                                {
                                    for (; integer(stepper) < end; integer(stepper)++)
                                        func(sc, car(code));
                                }
                            }
                            clear_mutable_integer(stepper);
                        }
                        else
                        {
                            s7_int step;
                            s7_pointer step_slot, end_slot;
                            step_slot = let_dox_slot1(sc->envir);
                            end_slot = let_dox_slot2(sc->envir);

                            if (func == opt_cell_any_nr)
                            {
                                opt_info *o;
                                s7_pointer (*fp)(opt_info *o);
                                o = sc->opts[0];
                                fp = o->v[0].fp;

                                if (fp == opt_if_bp_ii_fc)
                                {                      /* can this call opt_if_bp_ii_fc directly and declare it inline? */
                                    opt_info *o1, *o2;
                                    s7_b_ii_t bif;
                                    s7_int i1;
                                    o1 = sc->opts[1];
                                    bif = o1->v[3].b_ii_f;
                                    i1 = o1->v[2].i;
                                    o2 = sc->opts[2];
                                    while (true)
                                    {
                                        sc->pc = 2;
                                        if (bif(o2->v[0].fi(o2), i1))
                                        {
                                            opt_info *o3;
                                            o3 = sc->opts[++sc->pc];
                                            o3->v[0].fp(o3);
                                        }
                                        step = integer(slot_value(step_slot)) + 1;
                                        slot_set_value(step_slot, make_integer(sc, step));
                                        if (step == integer(slot_value(end_slot))) break;
                                    }
                                }
                                else
                                {
                                    if (!opt_do_copy(sc, o, integer(slot_value(step_slot)), integer(slot_value(end_slot))))
                                    {
                                        while (true)
                                        {
                                            sc->pc = 0;
                                            fp(o);
                                            step = integer(slot_value(step_slot)) + 1;
                                            slot_set_value(step_slot, make_integer(sc, step));
                                            if (step == integer(slot_value(end_slot))) break;
                                        }
                                    }
                                }
                            }
                            else
                            {
                                while (true)
                                {
                                    func(sc, car(code));
                                    step = integer(slot_value(step_slot)) + 1;
                                    slot_set_value(step_slot, make_integer(sc, step));
                                    if (step == integer(slot_value(end_slot))) break;
                                }
                            }
                        }
                        sc->value = sc->T;
                        sc->code = cdadr(scc);
                        return(true);
                    }

                    if (setjmp(sc->opt_exit) == 0)
                    {
                        s7_pointer p;
                        s7_int body_len;

                        body_len = s7_list_length(sc, code);
                        sc->pc = 0;
                        reset_opts(sc);

                        if (!no_float_opt(code))
                        {
                            for (p = code; is_pair(p); p = cdr(p))
                                if (!float_optimize(sc, p))
                                    break;
                            if (is_pair(p))
                            {
                                pc_fallback(sc, 0);
                                set_no_float_opt(code);
                            }
                            else
                            {
                                int32_t i;
                                end = denominator(slot_value(sc->args));
                                if (safe_step)
                                {
                                    s7_pointer stepper;
                                    slot_set_value(sc->args, stepper = make_mutable_integer(sc, integer(slot_value(sc->args))));
                                    for (; integer(stepper) < end; integer(stepper)++)
                                    {
                                        sc->pc = 0;
                                        for (i = 0; i < body_len; i++)
                                        {
                                            sc->opts[sc->pc]->v[0].fd(sc->opts[sc->pc]);
                                            sc->pc++;
                                        }
                                    }
                                    clear_mutable_integer(stepper);
                                }
                                else
                                {
                                    s7_pointer step_slot, end_slot;
                                    step_slot = let_dox_slot1(sc->envir);
                                    end_slot = let_dox_slot2(sc->envir);
                                    while (true)
                                    {
                                        s7_int step;
                                        sc->pc = 0;
                                        for (i = 0; i < body_len; i++)
                                        {
                                            sc->opts[sc->pc]->v[0].fd(sc->opts[sc->pc]);
                                            sc->pc++;
                                        }

                                        step = integer(slot_value(step_slot)) + 1;
                                        slot_set_value(step_slot, make_integer(sc, step));
                                        if (step == integer(slot_value(end_slot))) break;
                                    }
                                }
                                sc->value = sc->T;
                                sc->code = cdadr(scc);
                                return(true);
                            }
                        }

                        /* not float opt */
                        for (p = code; is_pair(p); p = cdr(p))
                        {
                            opt_info *start;
                            start = sc->opts[sc->pc];
                            if (!cell_optimize(sc, p))
                                break;
                            if (start->v[0].fp == d_to_p)
                                start->v[0].fp = d_to_p_nr;
                        }

                        if (is_null(p))
                        {
                            int32_t i;
                            end = denominator(slot_value(sc->args));
                            if (safe_step)
                            {
                                s7_pointer stepper;
                                slot_set_value(sc->args, stepper = make_mutable_integer(sc, integer(slot_value(sc->args))));
                                for (; integer(stepper) < end; integer(stepper)++)
                                {
                                    sc->pc = 0;
                                    for (i = 0; i < body_len; i++)
                                    {
                                        opt_info *o;
                                        o = sc->opts[sc->pc];
                                        o->v[0].fp(o);
                                        sc->pc++;
                                    }
                                }
                                clear_mutable_integer(stepper);
                            }
                            else
                            {
                                s7_pointer step_slot, end_slot;
                                step_slot = let_dox_slot1(sc->envir);
                                end_slot = let_dox_slot2(sc->envir);
                                while (true)
                                {
                                    s7_int step;
                                    sc->pc = 0;
                                    for (i = 0; i < body_len; i++)
                                    {
                                        opt_info *o;
                                        o = sc->opts[sc->pc];
                                        o->v[0].fp(o);
                                        sc->pc++;
                                    }

                                    step = integer(slot_value(step_slot)) + 1;
                                    slot_set_value(step_slot, make_integer(sc, step));
                                    if (step == integer(slot_value(end_slot))) break;
                                }
                            }
                            sc->value = sc->T;
                            sc->code = cdadr(scc);
                            return(true);
                        }
                    }
                    /* (((i 0 (+ i 1))) ((= i 10) 'gad) (set! ctr (+ ctr 1)) (if (= i 1) (exit arg)))
                     * (((k j (+ k 1))) ((= k len2) obj) (set! (obj n) (seq2 k)) (set! n (+ n 1)))
                     */
                    return(false);
                }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %rbx
testl %ecx, %ecx
je 0xd6faa
leaq 0x10(%rbx), %rax
jmp 0xd6fb2
movq 0x8(%rbx), %rax
addq $0x20, %rax
movq (%rax), %rax
orq $0x8000000, (%rax)      # imm = 0x8000000
movl %ecx, %ebp
movq 0x10(%r12), %rax
cmpq 0x110(%rbx), %rax
je 0xd7040
leaq 0x2190(%rbx), %rdi
callq 0x8350
testl %eax, %eax
jne 0xd72c0
movq %r14, 0x10(%rsp)
movq %rbx, %rdi
movq %r12, %rsi
callq 0x39d0d
movq %rax, %r15
movq %rax, 0x8(%rsp)
movl $0x0, 0x2258(%rbx)
movq (%r12), %rcx
movl %ecx, %eax
btl $0x17, %ecx
jb 0xd7268
cmpb $0x1, %al
jne 0xd72c7
movq %r12, %r13
movq %rbx, %rdi
movq %r13, %rsi
callq 0x44f61
testb %al, %al
je 0xd7245
movq 0x10(%r13), %r13
cmpb $0x1, (%r13)
je 0xd701d
jmp 0xd72c7
testb $0x4, 0x3(%r12)
jne 0xd72c0
movq %rbx, %rdi
movq %r12, %rsi
movl $0x1, %edx
callq 0x4588d
testq %rax, %rax
je 0xd71a1
movq %rax, %r13
movq %r14, 0x10(%rsp)
movq %rax, %r15
testb %bpl, %bpl
je 0xd71ac
movq 0x10(%rbx), %rax
movq 0x10(%rax), %rax
movq 0x10(%rax), %r9
movq 0x8(%rax), %rbp
movq 0x90(%rbx), %rcx
movq %rcx, %rax
cmpq 0x98(%rbx), %rcx
movq %r9, (%rsp)
ja 0xd70b3
movq %rbx, %rdi
callq 0xa550
movq (%rsp), %r9
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %r14
movq $0x500000b, (%r14)      # imm = 0x500000B
movq %rbp, 0x8(%r14)
movq 0x10(%rbx), %rax
movq %r14, 0x10(%rax)
leaq -0x1a06e(%rip), %rax    # 0xbd06e
cmpq %rax, %r13
setne %cl
leaq -0x19fbe(%rip), %rdx    # 0xbd12b
cmpq %rdx, %r13
setne %dl
testb %dl, %cl
jne 0xd7500
movq 0x2260(%rbx), %r15
movq (%r15), %r12
cmpq %rax, %r13
je 0xd76bc
leaq -0x2e298(%rip), %rax    # 0xa8e79
cmpq %rax, %r12
jne 0xd713f
movq 0x10(%r15), %rax
cmpq 0x10(%rax), %r14
jne 0xd713f
leaq -0x2e3ff(%rip), %rax    # 0xa8d28
cmpq %rax, 0x18(%r15)
jne 0xd713f
movq 0x8(%r15), %rax
movq 0x10(%rax), %rax
cmpq 0x8(%rax), %r9
jle 0xd79ce
leaq -0x2acf1(%rip), %rdx    # 0xac455
leaq -0x2af81(%rip), %rcx    # 0xac1cc
xorl %eax, %eax
cmpq %rcx, %r12
leaq 0x11b1(%rip), %rsi      # 0xd830a
cmovneq %r12, %rsi
sete %cl
cmpq %rdx, %r12
leaq -0x2902b(%rip), %r12    # 0xae13f
cmovneq %rsi, %r12
cmpq %r9, 0x8(%r14)
jge 0xd776e
movl %eax, %ebp
movb %cl, %bpl
addl %ebp, %ebp
movl %ebp, 0x2258(%rbx)
movq %r15, %rdi
callq *%r12
movq 0x8(%r14), %rax
incq %rax
movq %rax, 0x8(%r14)
cmpq (%rsp), %rax
jl 0xd717f
jmp 0xd776e
orb $0x4, 0x3(%r12)
jmp 0xd72c0
movq 0x8(%rbx), %rax
movq 0x20(%rax), %r14
movq 0x28(%rax), %rbp
leaq -0x1a094(%rip), %rax    # 0xbd12b
cmpq %rax, %r13
je 0xd75fd
movq 0x8(%r12), %rsi
movq %rbx, %rdi
callq *%r15
movq 0x10(%r14), %rax
movq 0x8(%rax), %rax
leaq 0x1(%rax), %r13
cmpq $0x7ff, %r13            # imm = 0x7FF
ja 0xd71f6
leaq 0x6f761(%rip), %rcx     # 0x146950
movq 0x8(%rcx,%rax,8), %rax
jmp 0xd7232
movq 0x90(%rbx), %rcx
movq %rcx, %rax
cmpq 0x98(%rbx), %rcx
ja 0xd7218
movq %rbx, %rdi
callq 0xa550
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rax
movq $0xb, (%rax)
movq %r13, 0x8(%rax)
movq %rax, 0x10(%r14)
movq 0x10(%rbp), %rax
cmpq 0x8(%rax), %r13
jne 0xd71c8
jmp 0xd7773
cmpb $0x1, (%r13)
jne 0xd72c7
movl $0x0, 0x2258(%rbx)
movq (%r12), %rax
movl %eax, %ecx
orq $0x800000, %rax         # imm = 0x800000
movq %rax, (%r12)
movl %ecx, %eax
cmpb $0x1, %al
jne 0xd72b3
leaq -0x3399f(%rip), %r13    # 0xa38d4
movq %r12, %rax
movq %rax, %r12
movslq 0x2258(%rbx), %rax
movq 0x2260(%rbx,%rax,8), %r14
movq %rbx, %rdi
movq %r12, %rsi
callq 0xa2000
testb %al, %al
je 0xd72b3
cmpq %r13, (%r14)
jne 0xd72a6
leaq -0x2d8a1(%rip), %rax    # 0xa9a02
movq %rax, (%r14)
movq 0x10(%r12), %rax
cmpb $0x1, (%rax)
movq %rax, %r12
je 0xd7276
cmpq 0x110(%rbx), %r12
je 0xd7444
xorl %eax, %eax
jmp 0xd7794
testb %bpl, %bpl
je 0xd7382
movq 0x10(%rbx), %rax
movq 0x10(%rax), %rax
movq 0x10(%rax), %r12
movq 0x8(%rax), %rbp
movq 0x90(%rbx), %rcx
movq %rcx, %rax
cmpq 0x98(%rbx), %rcx
ja 0xd7302
movq %rbx, %rdi
callq 0xa550
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %r13
movq $0x500000b, (%r13)      # imm = 0x500000B
movq %rbp, 0x8(%r13)
movq 0x10(%rbx), %rax
movq %r13, 0x10(%rax)
cmpq %r12, 0x8(%r13)
jge 0xd74f6
movl $0x0, 0x2258(%rbx)
testq %r15, %r15
jle 0xd736d
xorl %ecx, %ecx
movq 0x8(%rsp), %rax
movq %rax, %r14
movslq %ecx, %rax
movq 0x2260(%rbx,%rax,8), %rdi
callq *(%rdi)
movl 0x2258(%rbx), %eax
incl %eax
movl %eax, 0x2258(%rbx)
movl %eax, %ecx
decq %r14
movq %r14, %rax
jne 0xd7345
movq 0x8(%r13), %rax
incq %rax
movq %rax, 0x8(%r13)
cmpq %r12, %rax
jl 0xd732f
jmp 0xd74f6
movq 0x8(%rbx), %rax
movq 0x20(%rax), %r12
movq 0x28(%rax), %r13
movl $0x0, 0x2258(%rbx)
testq %r15, %r15
jle 0xd73cc
xorl %ecx, %ecx
movq 0x8(%rsp), %rax
movq %rax, %r14
movslq %ecx, %rax
movq 0x2260(%rbx,%rax,8), %rdi
callq *(%rdi)
movl 0x2258(%rbx), %eax
incl %eax
movl %eax, 0x2258(%rbx)
movl %eax, %ecx
decq %r14
movq %r14, %rax
jne 0xd73a4
movq 0x10(%r12), %rax
movq 0x8(%rax), %rax
leaq 0x1(%rax), %rbp
cmpq $0x7ff, %rbp            # imm = 0x7FF
ja 0xd73f0
leaq 0x6f567(%rip), %rcx     # 0x146950
movq 0x8(%rcx,%rax,8), %rax
jmp 0xd742c
movq 0x90(%rbx), %rcx
movq %rcx, %rax
cmpq 0x98(%rbx), %rcx
ja 0xd7412
movq %rbx, %rdi
callq 0xa550
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rax
movq $0xb, (%rax)
movq %rbp, 0x8(%rax)
movq %rax, 0x10(%r12)
movq 0x10(%r13), %rax
cmpq 0x8(%rax), %rbp
jne 0xd738e
jmp 0xd7773
testb %bpl, %bpl
je 0xd753b
movq 0x10(%rbx), %rax
movq 0x10(%rax), %rax
movq 0x10(%rax), %r12
movq 0x8(%rax), %rbp
movq 0x90(%rbx), %rcx
movq %rcx, %rax
cmpq 0x98(%rbx), %rcx
ja 0xd747f
movq %rbx, %rdi
callq 0xa550
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %r13
movq $0x500000b, (%r13)      # imm = 0x500000B
movq %rbp, 0x8(%r13)
movq 0x10(%rbx), %rax
movq %r13, 0x10(%rax)
cmpq %r12, 0x8(%r13)
jge 0xd74f6
movl $0x0, 0x2258(%rbx)
testq %r15, %r15
jle 0xd74e6
xorl %ecx, %ecx
movq 0x8(%rsp), %rax
movq %rax, %r14
movslq %ecx, %rax
movq 0x2260(%rbx,%rax,8), %rdi
callq *(%rdi)
movl 0x2258(%rbx), %eax
incl %eax
movl %eax, 0x2258(%rbx)
movl %eax, %ecx
decq %r14
movq %r14, %rax
jne 0xd74be
movq 0x8(%r13), %rax
incq %rax
movq %rax, 0x8(%r13)
cmpq %r12, %rax
jl 0xd74a8
andb $-0x5, 0x3(%r13)
jmp 0xd7773
leaq -0x1a524(%rip), %rax    # 0xbcfe3
cmpq %rax, %r13
je 0xd7708
cmpq %r9, 0x8(%r14)
jge 0xd776e
movq 0x8(%r12), %rsi
movq %rbx, %rdi
callq *%r15
movq 0x8(%r14), %rax
incq %rax
movq %rax, 0x8(%r14)
cmpq (%rsp), %rax
jl 0xd751a
jmp 0xd776e
movq 0x8(%rbx), %rax
movq 0x20(%rax), %r12
movq 0x28(%rax), %r13
movl $0x0, 0x2258(%rbx)
testq %r15, %r15
jle 0xd7585
xorl %ecx, %ecx
movq 0x8(%rsp), %rax
movq %rax, %r14
movslq %ecx, %rax
movq 0x2260(%rbx,%rax,8), %rdi
callq *(%rdi)
movl 0x2258(%rbx), %eax
incl %eax
movl %eax, 0x2258(%rbx)
movl %eax, %ecx
decq %r14
movq %r14, %rax
jne 0xd755d
movq 0x10(%r12), %rax
movq 0x8(%rax), %rax
leaq 0x1(%rax), %rbp
cmpq $0x7ff, %rbp            # imm = 0x7FF
ja 0xd75a9
leaq 0x6f3ae(%rip), %rcx     # 0x146950
movq 0x8(%rcx,%rax,8), %rax
jmp 0xd75e5
movq 0x90(%rbx), %rcx
movq %rcx, %rax
cmpq 0x98(%rbx), %rcx
ja 0xd75cb
movq %rbx, %rdi
callq 0xa550
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rax
movq $0xb, (%rax)
movq %rbp, 0x8(%rax)
movq %rax, 0x10(%r12)
movq 0x10(%r13), %rax
cmpq 0x8(%rax), %rbp
jne 0xd7547
jmp 0xd7773
movq 0x2260(%rbx), %r15
movq (%r15), %r12
leaq -0x2b09d(%rip), %rax    # 0xac571
cmpq %rax, %r12
je 0xd77a3
movq 0x10(%r14), %rax
movq 0x8(%rax), %rdx
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rcx
movq %rbx, %rdi
movq %r15, %rsi
callq 0xd836b
testb %al, %al
jne 0xd7773
movl $0x0, 0x2258(%rbx)
movq %r15, %rdi
callq *%r12
movq 0x10(%r14), %rax
movq 0x8(%rax), %rax
leaq 0x1(%rax), %r13
cmpq $0x7ff, %r13            # imm = 0x7FF
ja 0xd766d
leaq 0x6f2ea(%rip), %rcx     # 0x146950
movq 0x8(%rcx,%rax,8), %rax
jmp 0xd76a9
movq 0x90(%rbx), %rcx
movq %rcx, %rax
cmpq 0x98(%rbx), %rcx
ja 0xd768f
movq %rbx, %rdi
callq 0xa550
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rax
movq $0xb, (%rax)
movq %r13, 0x8(%rax)
movq %rax, 0x10(%r14)
movq 0x10(%rbp), %rax
cmpq 0x8(%rax), %r13
jne 0xd763a
jmp 0xd7773
leaq -0x1b037(%rip), %rax    # 0xbc68c
cmpq %rax, %r12
jne 0xd76db
movq 0x8(%r15), %rax
cmpb $0x20, (%rax)
jne 0xd76db
cmpq 0x10(%rax), %r14
je 0xd786e
cmpq %r9, 0x8(%r14)
jge 0xd776e
movl $0x0, 0x2258(%rbx)
movq %r15, %rdi
callq *%r12
movq 0x8(%r14), %rax
incq %rax
movq %rax, 0x8(%r14)
cmpq (%rsp), %rax
jl 0xd76e5
jmp 0xd776e
movq 0x2260(%rbx), %r15
movq (%r15), %r12
leaq -0x35c65(%rip), %rax    # 0xa1ab4
cmpq %rax, %r12
jne 0xd7747
movq 0x10(%r15), %rax
cmpq 0x10(%rax), %r14
jne 0xd7747
leaq -0x35c92(%rip), %rax    # 0xa1a9d
cmpq %rax, 0x18(%r15)
jne 0xd7747
movq 0x8(%r15), %rax
movq 0x10(%rax), %rax
cmpq 0x8(%rax), %r9
jle 0xd7a24
cmpq %r9, 0x8(%r14)
jge 0xd776e
movl $0x0, 0x2258(%rbx)
movq %r15, %rdi
callq *%r12
movq 0x8(%r14), %rax
incq %rax
movq %rax, 0x8(%r14)
cmpq (%rsp), %rax
jl 0xd774d
andb $-0x5, 0x3(%r14)
movq 0x118(%rbx), %rax
movq %rax, 0x20(%rbx)
movq 0x10(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rax
movq 0x10(%rax), %rax
movq %rax, (%rbx)
movb $0x1, %al
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x2268(%rbx), %rax
movq 0x2270(%rbx), %r15
movq 0x10(%rax), %rcx
movq %rcx, 0x18(%rsp)
movq 0x18(%rax), %r13
movl $0x2, 0x2258(%rbx)
movq %r15, %rdi
callq *(%r15)
movq %rax, %rdi
movq 0x18(%rsp), %rsi
callq *%r13
testb %al, %al
je 0xd77f8
movslq 0x2258(%rbx), %rax
movl %eax, %ecx
incl %ecx
movl %ecx, 0x2258(%rbx)
movq 0x2268(%rbx,%rax,8), %rdi
callq *(%rdi)
movq 0x10(%r14), %rax
movq 0x8(%rax), %rax
leaq 0x1(%rax), %r12
cmpq $0x7ff, %r12            # imm = 0x7FF
ja 0xd781b
leaq 0x6f13c(%rip), %rcx     # 0x146950
movq 0x8(%rcx,%rax,8), %rax
jmp 0xd7857
movq 0x90(%rbx), %rcx
movq %rcx, %rax
cmpq 0x98(%rbx), %rcx
ja 0xd783d
movq %rbx, %rdi
callq 0xa550
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rax
movq $0xb, (%rax)
movq %r12, 0x8(%rax)
movq %rax, 0x10(%r14)
movq 0x10(%rbp), %rax
cmpq 0x8(%rax), %r12
jne 0xd77be
jmp 0xd7773
movq 0x18(%r15), %rbp
movq 0x2268(%rbx), %r15
movq (%r15), %r13
leaq -0x8(%r9), %rdx
movq 0x8(%r14), %rcx
movq %rcx, %rax
cmpq %rdx, %rcx
jge 0xd79c3
movq %rdx, 0x20(%rsp)
movl $0x1, %eax
movl %eax, 0x2258(%rbx)
movq 0x8(%r14), %r12
movq %r15, %rdi
callq *%r13
movq %r12, %rdi
callq *%rbp
incq 0x8(%r14)
movl $0x1, %eax
movl %eax, 0x2258(%rbx)
movq 0x8(%r14), %r12
movq %r15, %rdi
callq *%r13
movq %r12, %rdi
callq *%rbp
incq 0x8(%r14)
movl $0x1, %eax
movl %eax, 0x2258(%rbx)
movq 0x8(%r14), %r12
movq %r15, %rdi
callq *%r13
movq %r12, %rdi
callq *%rbp
incq 0x8(%r14)
movl $0x1, %eax
movl %eax, 0x2258(%rbx)
movq 0x8(%r14), %r12
movq %r15, %rdi
callq *%r13
movq %r12, %rdi
callq *%rbp
incq 0x8(%r14)
movl $0x1, %eax
movl %eax, 0x2258(%rbx)
movq 0x8(%r14), %r12
movq %r15, %rdi
callq *%r13
movq %r12, %rdi
callq *%rbp
incq 0x8(%r14)
movl $0x1, %eax
movl %eax, 0x2258(%rbx)
movq 0x8(%r14), %r12
movq %r15, %rdi
callq *%r13
movq %r12, %rdi
callq *%rbp
incq 0x8(%r14)
movl $0x1, %eax
movl %eax, 0x2258(%rbx)
movq 0x8(%r14), %r12
movq %r15, %rdi
callq *%r13
movq %r12, %rdi
callq *%rbp
incq 0x8(%r14)
movl $0x1, %eax
movl %eax, 0x2258(%rbx)
movq 0x8(%r14), %r12
movq %r15, %rdi
callq *%r13
movq %r12, %rdi
callq *%rbp
movq 0x20(%rsp), %rdx
movq 0x8(%r14), %rcx
incq %rcx
movq %rcx, 0x8(%r14)
movq %rcx, %rax
cmpq %rdx, %rcx
jl 0xd7895
jmp 0xd79c3
movl $0x1, 0x2258(%rbx)
movq 0x8(%r14), %r12
movq %r15, %rdi
callq *%r13
movq %r12, %rdi
callq *%rbp
movq 0x8(%r14), %rax
incq %rax
movq %rax, 0x8(%r14)
cmpq (%rsp), %rax
jl 0xd799f
jmp 0xd776e
movq 0x8(%r14), %rdx
leaq (%rdx,%rdx,2), %rcx
shlq $0x4, %rcx
movq 0x10(%rax,%rcx), %rsi
movq 0x20(%r15), %rax
movzbl 0x8(%rax), %eax
movq %r9, %rcx
subq %rdx, %rcx
cmpq $0x8, %rcx
jb 0xd7a5a
movq %rcx, %r8
shrq $0x3, %r8
movabsq $0x101010101010101, %rdx # imm = 0x101010101010101
imulq %rax, %rdx
movq %rsi, %rdi
movq %rdi, %rsi
movq %rdx, (%rdi)
addq $0x8, %rsi
movq %rsi, %rdi
decq %r8
jne 0xd7a0b
andl $0x7, %ecx
movl %ecx, %edx
jmp 0xd7a5d
movq 0x10(%rax), %rax
movq 0x20(%r15), %rcx
movq 0x8(%r14), %rsi
testq %rcx, %rcx
je 0xd7a79
cmpq %rsi, %r9
jle 0xd776e
movq %rcx, (%rax,%rsi,8)
movq 0x8(%r14), %rdx
incq %rdx
movq %rdx, 0x8(%r14)
movq %rdx, %rsi
cmpq %r9, %rdx
jl 0xd7a3e
jmp 0xd776e
movq %rcx, %rdx
movq %rsi, %rdi
testq %rdx, %rdx
je 0xd7a70
movl %eax, %esi
callq 0x8270
movq (%rsp), %r9
movq %r9, 0x8(%r14)
jmp 0xd776e
movq %r9, %rdx
subq %rsi, %rdx
shlq $0x3, %rdx
testq %rdx, %rdx
je 0xd7a70
leaq (%rax,%rsi,8), %rdi
xorl %esi, %esi
jmp 0xd7a67