// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: optimize_func_three_args
static opt_t optimize_func_three_args(s7_scheme *sc, s7_pointer expr, s7_pointer func, int32_t hop, int32_t pairs, int32_t symbols, int32_t quotes, int32_t bad_pairs, s7_pointer e)
                {
                    s7_pointer arg1, arg2, arg3;
#if OPTIMIZE_PRINT
                    fprintf(stderr, "%s: %s, func: %s, hop: %d, pairs: %d, symbols: %d, quotes: %d, bad: %d\n", __func__, DISPLAY_80(expr), DISPLAY(func), hop, pairs, symbols, quotes, bad_pairs);
#endif

                    if ((quotes > 0) &&
                            (direct_memq(sc->quote_symbol, e)))
                        return(OPT_OOPS);

                    arg1 = cadr(expr);
                    arg2 = caddr(expr);
                    arg3 = cadddr(expr);

                    if (((is_symbol(arg1)) &&
                                (!arg_findable(sc, arg1, e))) ||
                            ((is_symbol(arg2)) &&
                             (!arg_findable(sc, arg2, e))) ||
                            ((is_symbol(arg3)) &&
                             (!arg_findable(sc, arg3, e))))
                    {
                        /* wrap bad args */
                        if ((is_fxable(sc, arg1)) &&
                                (is_fxable(sc, arg2)) &&
                                (is_fxable(sc, arg3)) &&
                                (s7_is_aritable(sc, func, 3)))
                        {
                            annotate_args(sc, cdr(expr), e);
                            set_opt3_arglen(expr, small_int(3));
                            if (is_c_function(func))
                            {
                                set_safe_optimize_op(expr, hop + ((is_safe_procedure(func)) ? OP_SAFE_C_AAA : OP_C_FX));
                                set_c_function(expr, func);
                                return(OPT_T);
                            }
                            if ((is_closure(func)) &&
                                    (closure_arity_to_int(sc, func) == 3) &&
                                    (!arglist_has_rest(sc, closure_args(func))))
                            {
                                set_unsafely_optimized(expr);
                                set_optimize_op(expr, hop + ((is_safe_closure(func)) ? OP_SAFE_CLOSURE_FX : OP_CLOSURE_FX));
                                set_opt1_lambda(expr, func);
                                return(OPT_F);
                            }
                            if ((is_closure_star(func)) &&
                                    (lambda_has_simple_defaults(closure_body(func))) &&
                                    (closure_star_arity_to_int(sc, func) != 0) &&
                                    (closure_star_arity_to_int(sc, func) != 1))
                            {
                                set_unsafely_optimized(expr);
                                set_optimize_op(expr, ((is_safe_closure(func)) ? OP_SAFE_CLOSURE_STAR_FX : OP_CLOSURE_STAR_FX));
                                set_opt1_lambda(expr, func);
                            }
                        }
                        return(OPT_F);
                    }
                    /* end of bad symbol wrappers */

                    if ((bad_pairs == quotes) &&
                            (is_constant_symbol(sc, car(expr))))
                        hop = 1;

                    if ((is_c_function(func) &&
                                (c_function_required_args(func) <= 3) &&
                                (c_function_all_args(func) >= 3)) ||
                            ((is_c_function_star(func)) &&
                             (c_function_all_args(func) == 3) &&
                             (!is_pair(arg1)) && (!is_symbol(arg1)) &&
                             (!is_pair(arg2)) && (!is_symbol(arg2))))
                    {
                        if ((hop == 0) && (symbol_id(car(expr)) == 0))
                            hop = 1;

                        if ((is_safe_procedure(func)) ||
                                ((is_maybe_safe(func)) && (unsafe_is_safe(sc, arg3, e))))
                        {
                            if (pairs == 0)
                            {
                                set_optimized(expr);
                                if (symbols == 0)
                                    set_optimize_op(expr, hop + OP_SAFE_C_D);
                                else
                                {
                                    if (symbols == 3)
                                    {
                                        set_optimize_op(expr, hop + OP_SAFE_C_SSS);
                                        set_opt1_sym(cdr(expr), arg2);
                                        set_opt2_sym(cdr(expr), arg3);
                                    }
                                    else
                                    {
                                        if (symbols == 2)
                                        {
                                            if (!is_normal_symbol(arg1))
                                            {
                                                set_optimize_op(expr, hop + OP_SAFE_C_CSS);
                                                set_opt1_sym(cdr(expr), arg2);
                                                set_opt2_sym(cdr(expr), arg3);
                                            }
                                            else
                                            {
                                                if (!is_normal_symbol(arg3))
                                                {
                                                    set_opt2_con(cdr(expr), arg3);
                                                    set_opt1_sym(cdr(expr), arg2);
                                                    set_optimize_op(expr, hop + OP_SAFE_C_SSC);
                                                }
                                                else
                                                {
                                                    set_opt1_con(cdr(expr), arg2);
                                                    set_opt2_sym(cdr(expr), arg3);
                                                    set_optimize_op(expr, hop + OP_SAFE_C_SCS);
                                                }
                                            }
                                        }
                                        else
                                        {
                                            if (is_normal_symbol(arg1))
                                            {
                                                set_opt1_con(cdr(expr), arg2);
                                                set_opt2_con(cdr(expr), arg3);
                                                set_optimize_op(expr, hop + OP_SAFE_C_SCC);
                                            }
                                            else
                                            {
                                                if (is_normal_symbol(arg2))
                                                {
                                                    set_opt1_sym(cdr(expr), arg2);
                                                    set_opt2_con(cdr(expr), arg3);
                                                    set_opt3_any(cdr(expr), arg1);
                                                    set_optimize_op(expr, hop + OP_SAFE_C_CSC);
                                                }
                                                else
                                                {
                                                    set_opt1_sym(cdr(expr), arg3);
                                                    set_opt2_con(cdr(expr), arg2);
                                                    set_opt3_any(cdr(expr), arg1);
                                                    set_optimize_op(expr, hop + OP_SAFE_C_CCS);
                                                }
                                            }}}}
                                choose_c_function(sc, expr, func, 3);
                                return(OPT_T);
                            }

                            /* pairs != 0 */

                            if (fx_count(sc, expr) == 3)
                            {
                                set_optimized(expr);
                                if (quotes == 1)
                                {
                                    if ((symbols == 2) &&
                                            (is_normal_symbol(arg1)) &&
                                            (is_normal_symbol(arg3)))
                                    {
                                        set_opt1_con(cdr(expr), cadr(arg2));        /* fx_c_scs uses opt1_con */
                                        set_opt2_sym(cdr(expr), arg3);
                                        set_optimize_op(expr, hop + OP_SAFE_C_SCS); /* used to be SQS */
                                        choose_c_function(sc, expr, func, 3);
                                        return(OPT_T);
                                    }
                                    if (symbols == 1)
                                    {
                                        if ((is_normal_symbol(arg3)) &&
                                                (is_proper_quote(sc, arg2)) &&
                                                (is_safe_c_s(arg1)))
                                        {
                                            set_safe_optimize_op(expr, hop + OP_SAFE_C_opSq_CS);
                                            set_opt1_con(cdr(expr), cadr(arg2)); /* opt1_con is T_Pos (unchecked) */
                                            set_opt2_sym(cdr(expr), arg3);
                                            set_opt3_sym(cdr(expr), cadr(arg1));
                                            choose_c_function(sc, expr, func, 3);
                                            return(OPT_T);
                                        }
                                        if ((is_normal_symbol(arg2)) &&
                                                (is_proper_quote(sc, arg1)) &&
                                                (!is_pair(arg3)))
                                        {
                                            set_opt1_sym(cdr(expr), arg2);
                                            set_opt2_con(cdr(expr), arg3);
                                            set_opt3_any(cdr(expr), cadr(arg1));
                                            set_optimize_op(expr, hop + OP_SAFE_C_CSC);
                                            choose_c_function(sc, expr, func, 3);
                                            return(OPT_T);
                                        }
                                    }
                                }
                                annotate_args(sc, cdr(expr), e);
                                set_opt3_arglen(expr, small_int(3));
                                set_optimize_op(expr, hop + OP_SAFE_C_AAA);

                                if (pairs == 1)
                                {
                                    if ((symbols == 0) && (is_pair(arg2)))
                                        set_optimize_op(expr, hop + OP_SAFE_C_CAC);
                                    else
                                    {
                                        if ((symbols == 1) && (is_pair(arg3)))
                                            set_optimize_op(expr, hop + ((is_normal_symbol(arg2)) ? OP_SAFE_C_CSA : OP_SAFE_C_SCA));
                                        else
                                        {
                                            if ((symbols == 2) && (is_normal_symbol(arg1)))
                                            {
                                                if (is_normal_symbol(arg2))
                                                {
                                                    if ((hop == 1) && (s7_p_ppp_function(func)))
                                                    {
                                                        set_optimize_op(expr, OP_SSA_DIRECT);
                                                        set_direct_opt(expr);
                                                        set_opt2_direct(cdr(expr), (s7_pointer)(s7_p_ppp_function(func)));
                                                    }
                                                    else set_optimize_op(expr, hop + OP_SAFE_C_SSA);
                                                }
                                                else set_optimize_op(expr, hop + OP_SAFE_C_SAS);
                                            }
                                        }
                                    }
                                }
                                choose_c_function(sc, expr, func, 3);
                                return(OPT_T);
                            }
                            else
                            {
                                if ((is_normal_symbol(arg1)) && (is_normal_symbol(arg2)))
                                {
                                    set_opt3_pair(expr, arg3);
                                    set_unsafe_optimize_op(expr, hop + OP_SAFE_C_SSP);
                                    choose_c_function(sc, expr, func, 3);
                                    return(OPT_F);
                                }
                            }
                            return(set_safe_c_fp(sc, func, expr, e, 3, hop + OP_SAFE_C_FP));
                        }
                        else /* func is not safe */
                        {
                            if (fx_count(sc, expr) == 3)
                            {
                                set_optimized(expr);
                                if ((symbols == 2) &&
                                        (pairs == 0) &&
                                        (is_normal_symbol(arg1)) &&
                                        (is_normal_symbol(arg3)))
                                    set_optimize_op(expr, hop + OP_C_SCS);
                                else
                                {
                                    annotate_args(sc, cdr(expr), e);
                                    set_opt3_arglen(expr, small_int(3));
                                    set_optimize_op(expr, hop + OP_C_FX);
                                }
                                choose_c_function(sc, expr, func, 3);
                                set_unsafe(expr);
                                return(OPT_F);
                            }

                            /* (define (hi) (catch #t (lambda () 1) (lambda args 2)))
                             *   first arg list must be (), second a symbol
                             */
                            if (c_function_call(func) == g_catch)
                            {
                                if (((bad_pairs == 2) && (!is_pair(arg1))) ||
                                        ((bad_pairs == 3) && (car(arg1) == sc->quote_symbol)))
                                {
                                    s7_pointer body_lambda, error_lambda;
                                    body_lambda = arg2;
                                    error_lambda = arg3;

                                    if ((is_pair(body_lambda)) &&
                                            (is_lambda(sc, car(body_lambda))) &&
                                            (is_pair(error_lambda)) &&
                                            (is_lambda(sc, car(error_lambda))) &&
                                            (is_null(cadr(body_lambda))) &&
                                            (is_not_null(cddr(body_lambda))) &&
                                            (((is_symbol(cadr(error_lambda))) &&              /* (lambda args ... */
                                            (!is_probably_constant(cadr(error_lambda)))) ||
                                              ((is_pair(cadr(error_lambda))) &&                /* (lambda (type info) ... */
                                              (is_pair(cdadr(error_lambda))) &&
                                              (is_null(cddadr(error_lambda))) &&
                                              (!is_probably_constant(caadr(error_lambda))) && /* (lambda (pi ...) ...) */
                                              (!is_probably_constant(cadadr(error_lambda))))) &&
                                              (is_not_null(cddr(error_lambda))))
                                             {
                                             s7_pointer error_result;
                                             error_result = caddr(error_lambda);
                                             set_unsafely_optimized(expr);
                                             if ((arg1 == sc->T) &&
                                                     (is_null(cdddr(error_lambda))) &&
                                                     ((!is_symbol(error_result)) ||                  /* (lambda args #f) */
                                                      ((is_pair(cadr(error_lambda))) &&
                                                       (error_result == caadr(error_lambda)))) &&    /* (lambda (type info) type) */
                                                     ((!is_pair(error_result)) ||
                                                      (car(error_result) == sc->quote_symbol) ||     /* (lambda args 'a) */
                                                      ((car(error_result) == sc->car_symbol) &&
                                                       (cadr(error_result) == cadr(error_lambda))))) /* (lambda args (car args) -> error-type */
                                                       {
                                                       set_optimize_op(expr, hop + OP_C_CATCH_ALL);
                                                       set_c_function(expr, func);
                                                       set_opt2_con(expr, error_result);
                                                       set_opt1_pair(cdr(expr), cddr(body_lambda));
                                                       if (is_null(cdddr(body_lambda)))
                                                       {
                                                       if (is_fxable(sc, caddr(body_lambda)))
                                                       {
                                                       set_optimize_op(expr, hop + OP_C_CATCH_ALL_FX);
                                                       set_c_call(cddr(body_lambda), fx_choose(sc, cddr(body_lambda), sc->envir, let_symbol_is_safe));
                                                       }
                                                       else
                                                       {
                                                       set_opt1_pair(cdr(expr), caddr(body_lambda));
                                                       set_optimize_op(expr, hop + OP_C_CATCH_ALL_P);
                                                       /* fn got no hits */
                                                       }
                                                       }
                                                       }
                                             else
                                             {
                                                 set_optimize_op(expr, hop + OP_C_CATCH); /* mainly c_catch_p, but this is not a common case */
                                                 choose_c_function(sc, expr, func, 3);
                                             }
                                             return(OPT_F);
                                             }
                                }
                            }
                            return(set_safe_c_fp(sc, func, expr, e, 3, hop + OP_SAFE_C_FP)); /* safe == unsafe here */
                        }
                        return((is_optimized(expr)) ? OPT_T : OPT_F);
                    }

                    /* not c func */
                    if (is_closure(func))
                    {
                        int32_t arit;

                        arit = closure_arity_to_int(sc, func);
                        if (arit != 3)
                        {
                            if ((arit == -1) &&
                                    (is_symbol(closure_args(func))))
                                return(optimize_func_dotted_args(sc, expr, func, hop, 3, e));
                            return(OPT_F);
                        }
                        if (is_immutable(func)) hop = 1;

                        if (symbols == 3)
                        {
                            set_opt1_lambda(expr, func);
                            set_opt3_arglen(expr, small_int(3));
                            set_unsafe_optimize_op(expr, hop + ((is_safe_closure(func)) ? OP_SAFE_CLOSURE_3S : ((is_null(cdr(closure_body(func)))) ? OP_CLOSURE_3S_P : OP_CLOSURE_3S)));
                            return(OPT_F);
                        }

#if OPTIMIZE_PRINT
                        fprintf(stderr, "  closure fx_count: %d, safe: %d\n", fx_count(sc, expr), is_safe_closure(func));
#endif

                        if (fx_count(sc, expr) == 3)
                        {
                            if (is_safe_closure(func))
                                set_optimize_op(expr, hop + ((is_normal_symbol(arg1) ? OP_SAFE_CLOSURE_SAA : OP_SAFE_CLOSURE_FX)));
                            else set_optimize_op(expr, hop + OP_CLOSURE_FX);
                            set_unsafely_optimized(expr);
                            annotate_args(sc, cdr(expr), e);
                            set_opt1_lambda(expr, func);
                            set_opt3_arglen(expr, small_int(3));
                            return(OPT_F);
                        }
                        if (is_safe_closure(func))
                            return(set_safe_closure_fp(sc, func, expr, e, 3, hop + OP_SAFE_CLOSURE_FP));
                        /* unsafe_closure_fp got few hits and made no difference */
                        return(OPT_F);
                    }

                    if (is_closure_star(func))
                    {
                        if ((!lambda_has_simple_defaults(closure_body(func))) ||
                                (closure_star_arity_to_int(sc, func) == 0) ||
                                (closure_star_arity_to_int(sc, func) == 1))
                            return(OPT_F);
                        if (fx_count(sc, expr) == 3)
                        {
                            if (is_immutable(func)) hop = 1;
                            set_unsafe_optimize_op(expr, hop + ((is_safe_closure(func) ? OP_SAFE_CLOSURE_STAR_FX : OP_CLOSURE_STAR_FX)));
                            annotate_args(sc, cdr(expr), e);
                            set_opt1_lambda(expr, func);
                            set_opt3_arglen(expr, small_int(3));
                            return(OPT_F);
                        }
                    }

                    if ((is_c_function_star(func)) &&
                            (fx_count(sc, expr) == 3))
                    {
                        set_safe_optimize_op(expr, hop + OP_SAFE_C_FUNCTION_STAR_FX);
                        annotate_args(sc, cdr(expr), e);
                        set_opt3_arglen(expr, small_int(3));
                        set_c_function(expr, func);
                        return(OPT_T);
                    }

                    if (bad_pairs > quotes) return(OPT_F);
                    return((is_optimized(expr)) ? OPT_T : OPT_F);
                }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq 0x80(%rsp), %r13
cmpl $0x0, 0x70(%rsp)
jle 0xdec40
cmpb $0x1, (%r13)
jne 0xdec40
movq 0x17b0(%rdi), %rax
movq %r13, %r10
cmpq %rax, 0x8(%r10)
je 0xdeee8
movq 0x10(%r10), %r10
cmpb $0x1, (%r10)
je 0xdec2c
movl %r8d, 0x34(%rsp)
movq %rcx, 0x10(%rsp)
movl %r9d, 0x30(%rsp)
movq %rdx, 0x8(%rsp)
movq %rsi, 0x20(%rsp)
movq 0x10(%rsi), %rax
movq 0x8(%rax), %r14
movq 0x10(%rax), %rax
movq 0x8(%rax), %r12
movq 0x10(%rax), %rax
movq 0x8(%rax), %rbp
movzbl (%r14), %ebx
cmpl $0xa, %ebx
movq %rbp, 0x18(%rsp)
jne 0xdec98
movq %r14, %rsi
movq %r13, %rdx
movq %rdi, %r15
callq 0xe08a8
movq %r15, %rdi
testb %al, %al
je 0xded8d
movzbl (%r12), %r15d
cmpl $0xa, %r15d
jne 0xdecc7
movq %r12, %rsi
movq %r13, %rdx
movq %r13, %rbp
movq %rdi, %r13
callq 0xe08a8
movq %r13, %rdi
movq %rbp, %r13
movq 0x18(%rsp), %rbp
testb %al, %al
je 0xded8d
cmpb $0xa, (%rbp)
jne 0xdecf2
movq %rbp, %rsi
movq %r13, %rdx
movq %r12, %rbp
movq %r13, %r12
movq %rdi, %r13
callq 0xe08a8
movq %r13, %rdi
movq %r12, %r13
movq %rbp, %r12
testb %al, %al
je 0xded8d
movl 0x78(%rsp), %r10d
movl 0x70(%rsp), %ebp
cmpl %ebp, %r10d
jne 0xdee59
movq 0x20(%rsp), %rax
movq 0x8(%rax), %rax
movq (%rax), %rcx
btl $0x18, %ecx
movq 0x8(%rsp), %rsi
jb 0xded7e
movabsq $0x1000001000000, %rdx  # imm = 0x1000001000000
addq $-0x1000000, %rdx       # imm = 0xFF000000
testq %rdx, %rcx
je 0xdee5e
movq 0x8(%rdi), %rdx
movq 0x18(%rdx), %r9
movq 0x20(%rax), %r8
movl $0x18, %ecx
cmpq %r8, %r9
je 0xded63
jle 0xded5a
movq 0x10(%rdx), %rdx
movq 0x18(%rdx), %r9
cmpq %r9, %r8
jl 0xded4d
cmpq %r8, %r9
jne 0xdf340
movq (%rax,%rcx), %r8
cmpb $0x20, (%r8)
jne 0xdee5e
movq (%r8), %rax
btl $0x18, %eax
jae 0xdee5e
movl $0x1, %eax
movq %rax, 0x10(%rsp)
jmp 0xdee5e
movq %r14, %rsi
movq %rdi, %rbp
callq 0xcd0e8
xorl %ebx, %ebx
testb %al, %al
je 0xdf5a3
movq %rbp, %rdi
movq %r12, %rsi
callq 0xcd0e8
testb %al, %al
je 0xdf5a3
movq %rbp, %rdi
movq 0x18(%rsp), %rsi
callq 0xcd0e8
testb %al, %al
movq 0x20(%rsp), %r14
je 0xdf5a3
movl $0x3, %edx
movq %rbp, %rdi
movq 0x8(%rsp), %r15
movq %r15, %rsi
callq 0x3f86f
testb %al, %al
je 0xdf5a3
movq 0x10(%r14), %rsi
movq %r13, %rdx
movq %rbp, %r13
movq %rbp, %rdi
callq 0xd151a
movq 0x67b63(%rip), %rax     # 0x146968
movq 0x10(%r14), %rcx
movq %rax, 0x28(%rcx)
movq 0x10(%r14), %rax
andq $-0x40001, (%rax)       # imm = 0xFFFBFFFF
movb (%r15), %al
cmpb $0x30, %al
jb 0xdf203
orb $0x8, 0x1(%r14)
movq 0x10(%rsp), %rcx
leal 0x74(%rcx), %eax
addl $0x12a, %ecx            # imm = 0x12A
btl $0x15, (%r15)
cmovbl %eax, %ecx
movw %cx, 0x4(%r14)
movq %r15, 0x18(%r14)
movq 0x10(%r15), %rax
movq %rax, 0x20(%r14)
orb $0x4, 0x6(%r14)
jmp 0xdf586
movq 0x8(%rsp), %rsi
movzbl (%rsi), %eax
cmpl $0x30, %eax
jb 0xdee9e
cmpq $0x3, 0x18(%rsi)
jg 0xdf58d
cmpq $0x2, 0x28(%rsi)
jle 0xdf58d
movq %r12, 0x28(%rsp)
cmpl $0x0, 0x10(%rsp)
je 0xdf005
movl $0x1, %ebp
movb $0x1, %r12b
movq 0x20(%rsp), %r15
jmp 0xdf01d
cmpl $0x28, %eax
je 0xdefb7
cmpl $0x29, %eax
je 0xdeef2
cmpl $0x2f, %eax
jne 0xdf512
cmpq $0x3, 0x28(%rsi)
jne 0xdf516
cmpl $0x1, %ebx
je 0xdf516
cmpl $0xa, %ebx
je 0xdf516
cmpl $0x1, %r15d
je 0xdf516
cmpl $0xa, %r15d
je 0xdf516
jmp 0xdee7c
movl $0x2, %ebx
jmp 0xdf5a3
movq 0x10(%rsi), %rax
xorl %ebx, %ebx
testb $0x4, 0x1(%rax)
je 0xdf5a3
movl %r10d, %r12d
movq %r13, %r15
movq 0x8(%rsi), %rdx
movq %rdi, %r13
callq 0x9a1d8
movq 0x8(%rsp), %rsi
cmpl $0x0, 0x28(%rsi)
je 0xdf5a3
movq 0x8(%rsi), %rdx
movq %r13, %rdi
callq 0x9a1d8
movq 0x8(%rsp), %rax
cmpl $0x1, 0x28(%rax)
je 0xdf5a3
movq %r13, %rdi
movq 0x20(%rsp), %r14
movq %r14, %rsi
callq 0xe067a
cmpl $0x3, %eax
jne 0xdf502
movq 0x8(%rsp), %r12
btl $0x18, (%r12)
movl $0x1, %eax
cmovael 0x10(%rsp), %eax
orq $0x800800, (%r14)       # imm = 0x800800
leal 0x120(%rax), %ecx
addl $0x11a, %eax            # imm = 0x11A
btl $0xc, (%r12)
cmovbl %ecx, %eax
movw %ax, 0x4(%r14)
movq 0x10(%r14), %rsi
movq %r13, %rdi
movq %r15, %rdx
callq 0xd151a
movq %r12, 0x18(%r14)
movq 0x679c2(%rip), %rax     # 0x146968
movq 0x10(%r14), %rcx
movq %rax, 0x28(%rcx)
movq 0x10(%r14), %rax
jmp 0xdf716
movq %rdi, %rbp
callq 0xccf45
xorl %ebx, %ebx
cmpl $0x3, %eax
je 0xdf2c0
cmpl $-0x1, %eax
jne 0xdf5a3
movq 0x8(%rsp), %rdx
movq 0x8(%rdx), %rax
cmpb $0xa, (%rax)
jne 0xdf5a3
movq %rbp, %rdi
movq 0x20(%rsp), %rsi
movq 0x10(%rsp), %rcx
movl $0x3, %r8d
movq %r13, %r9
callq 0xe11b1
jmp 0xdf5a3
movq 0x20(%rsp), %r15
movq 0x8(%r15), %rax
xorl %r12d, %r12d
cmpq $0x0, 0x20(%rax)
sete %r12b
movl %r12d, %ebp
movl 0x34(%rsp), %ebx
movq (%rsi), %rax
btl $0x15, %eax
jb 0xdf05d
btl $0x1b, %eax
jae 0xdf120
movq 0x18(%rsp), %rsi
movq %r13, %rdx
movq %rdi, %rbx
callq 0xe15f5
movl 0x78(%rsp), %r10d
movq %rbx, %rdi
movl 0x34(%rsp), %ebx
movq 0x8(%rsp), %rsi
testb %al, %al
je 0xdf120
testl %ebx, %ebx
je 0xdf36d
movq %rdi, 0x10(%rsp)
movq %r15, %rsi
callq 0xe067a
cmpl $0x3, %eax
jne 0xdf39d
orb $0x8, 0x1(%r15)
cmpl $0x1, 0x70(%rsp)
movq 0x10(%rsp), %rdi
jne 0xdfa45
movl 0x30(%rsp), %eax
cmpl $0x1, %eax
je 0xdf722
cmpl $0x2, %eax
jne 0xdfa45
cmpb $0xa, (%r14)
jne 0xdfa45
testb $-0x80, 0x6(%r14)
jne 0xdfa45
movq 0x18(%rsp), %rax
cmpb $0xa, (%rax)
jne 0xdfa45
movq 0x18(%rsp), %rax
testb $-0x80, 0x6(%rax)
jne 0xdfa45
movq 0x28(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rax
movq 0x10(%r15), %rcx
movq %rax, 0x18(%rcx)
movq 0x10(%r15), %rax
movq 0x18(%rsp), %rcx
movq %rcx, 0x20(%rax)
orl $0x10, %ebp
movw %bp, 0x4(%r15)
movq 0x8(%rsp), %r14
movq 0x8(%r14), %rax
movl $0x1, %ebx
movq %r14, %rsi
movl $0x3, %edx
movq %r15, %rcx
jmp 0xdfb6a
movl %r10d, %r12d
movq %rdi, 0x10(%rsp)
movq %r15, %rsi
callq 0xe067a
cmpl $0x3, %eax
jne 0xdf449
orb $0x8, 0x1(%r15)
movl 0x30(%rsp), %eax
xorl $0x2, %eax
orl %eax, %ebx
jne 0xdf16f
cmpb $0xa, (%r14)
jne 0xdf16f
testb $-0x80, 0x6(%r14)
jne 0xdf16f
movq 0x18(%rsp), %rax
cmpb $0xa, (%rax)
jne 0xdf16f
movw $0x14a, %ax             # imm = 0x14A
movq 0x18(%rsp), %rcx
testb $-0x80, 0x6(%rcx)
je 0xdf19e
movq 0x10(%r15), %rsi
movq 0x10(%rsp), %rdi
movq %r13, %rdx
callq 0xd151a
movq 0x677e1(%rip), %rax     # 0x146968
movq 0x10(%r15), %rcx
movq %rax, 0x28(%rcx)
movq 0x10(%r15), %rax
andq $-0x40001, (%rax)       # imm = 0xFFFBFFFF
movw $0x12a, %ax             # imm = 0x12A
movzwl %ax, %eax
orl %ebp, %eax
movw %ax, 0x4(%r15)
movq 0x8(%rsp), %rbx
movq 0x8(%rbx), %rax
movq 0x10(%rsp), %r12
movq %r12, %rdi
movq %rbx, %rsi
movl $0x3, %edx
movq %r15, %rcx
movl $0x1, %r8d
callq *0x48(%rax)
movq %rax, 0x18(%r15)
movq 0x8(%rbx), %rax
movq %r12, %rdi
movq %rbx, %rsi
movl $0x3, %edx
movq %r15, %rcx
movl $0x1, %r8d
callq *0x48(%rax)
movq 0x10(%rax), %rax
movq %rax, 0x20(%r15)
orb $0x4, 0x6(%r15)
orb $-0x80, 0x2(%r15)
jmp 0xdf490
cmpb $0x28, %al
jne 0xdf24b
movq %r13, %rdi
movq %r15, %rsi
callq 0xccf45
movq 0x8(%rsp), %r15
cmpl $0x3, %eax
jne 0xdf248
movq 0x8(%r15), %rax
cmpb $0x1, (%rax)
jne 0xdf23b
movq 0x1890(%r13), %rcx
cmpq %rcx, 0x8(%rax)
je 0xdf248
movq 0x10(%rax), %rax
cmpb $0x1, (%rax)
je 0xdf22c
cmpq 0x110(%r13), %rax
je 0xdf966
movb (%r15), %al
cmpb $0x29, %al
jne 0xdf5a3
movq 0x10(%r15), %rax
testb $0x4, 0x1(%rax)
je 0xdf5a3
movq 0x8(%r15), %rdx
movq %r13, %rdi
movq %r15, %rsi
callq 0x9a1d8
movq 0x8(%rsp), %rsi
cmpl $0x0, 0x28(%rsi)
je 0xdf5a3
movq 0x8(%rsi), %rdx
movq %r13, %rdi
callq 0x9a1d8
movq 0x8(%rsp), %rdx
cmpl $0x1, 0x28(%rdx)
je 0xdf5a3
orq $0x800800, (%r14)       # imm = 0x800800
btl $0xc, (%rdx)
movl $0x11a, %eax            # imm = 0x11A
movl $0x120, %ecx            # imm = 0x120
cmovael %eax, %ecx
movw %cx, 0x4(%r14)
movq %rdx, 0x18(%r14)
jmp 0xdf5a3
movq 0x8(%rsp), %rsi
movq (%rsi), %r15
btl $0x18, %r15d
movl $0x1, %r13d
cmovael 0x10(%rsp), %r13d
cmpl $0x3, 0x30(%rsp)
jne 0xdf497
movq 0x20(%rsp), %rdx
movq %rsi, 0x18(%rdx)
movq 0x67674(%rip), %rax     # 0x146968
movq 0x10(%rdx), %rcx
movq %rax, 0x28(%rcx)
movq 0x10(%rdx), %rax
andq $-0x40001, (%rax)       # imm = 0xFFFBFFFF
orq $0x800800, (%rdx)       # imm = 0x800800
movl $0x114, %eax            # imm = 0x114
testb $0x10, 0x1(%rsi)
jne 0xdf334
movq 0x10(%rsi), %rax
movq 0x10(%rax), %rax
xorl %ecx, %ecx
cmpq 0x110(%rbp), %rax
sete %cl
leal 0xf2(,%rcx,2), %eax
addl %r13d, %eax
movw %ax, 0x4(%rdx)
jmp 0xdf5a3
movl $0x10, %ecx
cmpb $0x1c, (%rdx)
jne 0xded63
movq 0x8(%rdx), %r8
testq %r8, %r8
je 0xdf367
cmpq %rax, 0x8(%r8)
je 0xded67
movq 0x18(%r8), %r8
jmp 0xdf352
movq 0x10(%rdx), %rdx
jmp 0xdf345
orb $0x8, 0x1(%r15)
movl 0x30(%rsp), %eax
cmpl $0x3, %eax
je 0xdf614
cmpl $0x2, %eax
movq 0x28(%rsp), %rcx
je 0xdf5d7
testl %eax, %eax
jne 0xdf627
orl $0x2, %ebp
jmp 0xdfb51
cmpb $0xa, (%r14)
jne 0xdf46c
testb $-0x80, 0x6(%r14)
jne 0xdf46c
movq 0x28(%rsp), %rax
cmpb $0xa, (%rax)
jne 0xdf46c
movq 0x28(%rsp), %rax
testb $-0x80, 0x6(%rax)
jne 0xdf46c
movq 0x18(%rsp), %rax
movq %rax, 0x28(%r15)
movq $-0x840801, %rax        # imm = 0xFF7BF7FF
andq (%r15), %rax
orq $0x800800, %rax         # imm = 0x800800
movq %rax, (%r15)
orl $0x160, %ebp            # imm = 0x160
movw %bp, 0x4(%r15)
movq 0x8(%rsp), %rbx
movq 0x8(%rbx), %rax
movq 0x10(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
movl $0x3, %edx
movq %r15, %rcx
movl $0x1, %r8d
callq *0x48(%rax)
movq %rax, 0x18(%r15)
movq 0x8(%rbx), %rax
movq %r14, %rdi
movq %rbx, %rsi
movl $0x3, %edx
movq %r15, %rcx
movl $0x1, %r8d
callq *0x48(%rax)
movq 0x10(%rax), %rax
movq %rax, 0x20(%r15)
orb $0x4, 0x6(%r15)
jmp 0xdf490
leaq -0x6105f(%rip), %rax    # 0x7e3f1
movq 0x8(%rsp), %rsi
cmpq %rax, 0x10(%rsi)
movq 0x10(%rsp), %rdi
je 0xdf5b4
orl $0x162, %ebp            # imm = 0x162
jmp 0xdf47c
orl $0x162, %ebp            # imm = 0x162
movq 0x10(%rsp), %rdi
movq 0x8(%rsp), %rsi
movq %r15, %rdx
movq %r13, %rcx
movl $0x3, %r8d
movq %rbp, %r9
callq 0xe5828
xorl %ebx, %ebx
jmp 0xdf5a3
movq %rbp, %rdi
movq 0x20(%rsp), %rsi
callq 0xe067a
cmpl $0x3, %eax
jne 0xdf4c8
btl $0xc, %r15d
jb 0xdf6b6
addl $0x108, %r13d           # imm = 0x108
movl %r13d, %eax
movq 0x20(%rsp), %r15
jmp 0xdf6da
btl $0xc, %r15d
jae 0xdf5a3
addl $0x128, %r13d           # imm = 0x128
movq %rbp, %rdi
movq 0x8(%rsp), %rsi
movq 0x20(%rsp), %rdx
movq 0x80(%rsp), %rcx
movl $0x3, %r8d
movq %r13, %r9
callq 0xe1532
jmp 0xdf5a3
movq 0x8(%rsp), %rax
movb (%rax), %al
movq %r13, %rdi
movq %r15, %r13
movl %r12d, %r10d
cmpb $0x2f, %al
jne 0xdf58d
movq 0x20(%rsp), %rsi
movq %rdi, %rbx
movl %r10d, %r14d
callq 0xe067a
movl %r14d, %r10d
movq 0x8(%rsp), %rcx
cmpl $0x3, %eax
jne 0xdf58d
movq %rbx, %rdi
movq 0x20(%rsp), %rbx
orb $0x8, 0x1(%rbx)
movq 0x10(%rsp), %rax
addl $0x9a, %eax
movw %ax, 0x4(%rbx)
movq 0x10(%rbx), %rsi
movq %r13, %rdx
movq %rcx, %r14
callq 0xd151a
movq 0x67405(%rip), %rax     # 0x146968
movq 0x10(%rbx), %rcx
movq %rax, 0x28(%rcx)
movq 0x10(%rbx), %rax
andq $-0x40001, (%rax)       # imm = 0xFFFBFFFF
movq %r14, 0x18(%rbx)
movq 0x10(%r14), %rax
movq %rax, 0x20(%rbx)
orb $0x4, 0x6(%rbx)
movl $0x1, %ebx
jmp 0xdf5a3
xorl %ebx, %ebx
cmpl %ebp, %r10d
jg 0xdf5a3
xorl %ebx, %ebx
movq 0x20(%rsp), %rax
cmpw $0x801, (%rax)          # imm = 0x801
sete %bl
movl %ebx, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpl $0x3, %r12d
je 0xdf7e0
cmpl $0x2, %r12d
jne 0xdf464
cmpb $0x1, (%r14)
je 0xdf464
jmp 0xdf7f1
cmpb $0xa, (%r14)
jne 0xdf651
testb $-0x80, 0x6(%r14)
jne 0xdf651
movq 0x18(%rsp), %rdx
cmpb $0xa, (%rdx)
jne 0xdfb39
testb $-0x80, 0x6(%rdx)
movq 0x10(%r15), %rax
jne 0xdfb3d
movq %rcx, 0x18(%rax)
movq 0x10(%r15), %rax
movq %rdx, 0x20(%rax)
orl $0x10, %ebp
jmp 0xdfb51
orl $0xe, %ebp
movw %bp, 0x4(%r15)
movq 0x10(%r15), %rax
movq 0x28(%rsp), %rcx
jmp 0xdf65d
cmpb $0xa, (%r14)
jne 0xdf673
testb $-0x80, 0x6(%r14)
jne 0xdf673
movq 0x10(%r15), %rax
movq %rcx, 0x18(%rax)
movq 0x10(%r15), %rax
movq 0x18(%rsp), %rcx
movq %rcx, 0x20(%rax)
orl $0x16, %ebp
jmp 0xdfb51
orl $0x14, %ebp
movw %bp, 0x4(%r15)
movq 0x10(%r15), %rax
movq %rcx, 0x18(%rax)
movq 0x10(%r15), %rax
movq 0x18(%rsp), %rcx
movq %rcx, 0x20(%rax)
jmp 0xdfb56
cmpb $0xa, (%rcx)
jne 0xdf994
testb $-0x80, 0x6(%rcx)
movq 0x10(%r15), %rax
jne 0xdf998
movq %rcx, 0x18(%rax)
movq 0x10(%r15), %rax
movq 0x18(%rsp), %rcx
movq %rcx, 0x20(%rax)
movq 0x10(%r15), %rax
movq %r14, 0x28(%rax)
movq 0x10(%r15), %rax
andq $-0x40001, (%rax)       # imm = 0xFFFBFFFF
orl $0x18, %ebp
jmp 0xdfb51
movl $0x112, %eax            # imm = 0x112
cmpb $0xa, (%r14)
movq 0x20(%rsp), %r15
jne 0xdf6d7
movb 0x6(%r14), %al
shrb $0x7, %al
movzbl %al, %eax
leal 0x110(,%rax,2), %eax
addl %r13d, %eax
movw %ax, 0x4(%r15)
orq $0x800800, (%r15)       # imm = 0x800800
movq 0x10(%r15), %rsi
movq %rbp, %rdi
movq 0x80(%rsp), %rdx
callq 0xd151a
movq 0x8(%rsp), %rax
movq %rax, 0x18(%r15)
movq 0x6725e(%rip), %rax     # 0x146968
movq 0x10(%r15), %rcx
movq %rax, 0x28(%rcx)
movq 0x10(%r15), %rax
andq $-0x40001, (%rax)       # imm = 0xFFFBFFFF
jmp 0xdf5a3
movq 0x18(%rsp), %rcx
movb (%rcx), %al
cmpb $0xa, %al
jne 0xdf9c4
testb $-0x80, 0x6(%rcx)
movq 0x28(%rsp), %rcx
movb (%rcx), %cl
jne 0xdf9cb
cmpb $0x1, %cl
jne 0xdf9cb
movq 0x28(%rsp), %rax
movq 0x8(%rax), %rax
cmpq 0x17b0(%rdi), %rax
jne 0xdfa45
movq 0x28(%rsp), %rax
movq 0x10(%rax), %rax
cmpb $0x1, (%rax)
jne 0xdfa45
movq 0x10(%rax), %rax
cmpq 0x110(%rdi), %rax
jne 0xdfa45
movzwl 0x4(%r14), %eax
andl $-0x2, %eax
cmpw $0x4, %ax
jne 0xdfa45
orl $0x6a, %ebp
movw %bp, 0x4(%r15)
movq 0x28(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rax
movq 0x10(%r15), %rcx
movq %rax, 0x18(%rcx)
movq 0x10(%r15), %rax
movq 0x18(%rsp), %rcx
movq %rcx, 0x20(%rax)
movq 0x10(%r14), %rax
movq 0x8(%rax), %rax
movq 0x10(%r15), %rcx
movq %rax, 0x28(%rcx)
movq 0x10(%r15), %rax
andq $-0x40001, (%rax)       # imm = 0xFFFBFFFF
jmp 0xdf102
movq 0x8(%r14), %rax
cmpq 0x17b0(%rdi), %rax
jne 0xdf464
movq 0x28(%rsp), %rax
cmpb $0x1, (%rax)
jne 0xdf464
movq 0x28(%rsp), %rax
movq 0x8(%rax), %rax
cmpq %rax, 0x1798(%rdi)
jne 0xdf464
cmpq $0x0, 0x20(%rax)
jne 0xdf464
movq 0x18(%rsp), %rcx
cmpb $0x1, (%rcx)
jne 0xdf464
movq 0x18(%rsp), %rcx
movq 0x8(%rcx), %rcx
cmpq %rcx, %rax
jne 0xdf464
cmpq $0x0, 0x20(%rcx)
jne 0xdf464
movq 0x28(%rsp), %rax
movq 0x10(%rax), %rcx
movq 0x8(%rcx), %rax
cmpq 0x110(%rdi), %rax
jne 0xdf464
cmpq %rax, 0x10(%rcx)
je 0xdf464
movq %rbp, %r12
movq 0x18(%rsp), %rcx
movq 0x10(%rcx), %rcx
movq 0x8(%rcx), %rdx
movzbl (%rdx), %esi
cmpl $0x1, %esi
je 0xdfc3e
cmpl $0xa, %esi
movq 0x20(%rsp), %r15
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdi
movq %r12, %rbp
jne 0xdf464
testl $0x1000001, 0x3(%rdx)   # imm = 0x1000001
jne 0xdf464
movq 0x10(%rcx), %rcx
cmpq %rax, %rcx
je 0xdf464
movq 0x8(%rcx), %rax
movq (%r15), %rcx
movq %rcx, %rdx
orq $0x800800, %rdx         # imm = 0x800800
movq %rdx, (%r15)
cmpq 0x118(%rdi), %r14
jne 0xdf900
movq 0x18(%rsp), %rdx
movq 0x10(%rdx), %rdx
movq 0x10(%rdx), %rsi
movq 0x10(%rsi), %rsi
movq 0x10(%rsp), %rdi
cmpq 0x110(%rdi), %rsi
je 0xdfc95
orl $0x130, %r12d           # imm = 0x130
movq 0x20(%rsp), %rbx
movw %r12w, 0x4(%rbx)
movq 0x8(%rsp), %r14
movq 0x8(%r14), %rax
movq 0x10(%rsp), %r12
movq %r12, %rdi
movq %r14, %rsi
movl $0x3, %edx
movq %rbx, %rcx
movl $0x1, %r8d
callq *0x48(%rax)
movq %rax, 0x18(%rbx)
movq 0x8(%r14), %rax
movq %r12, %rdi
movq %r14, %rsi
movl $0x3, %edx
movq %rbx, %rcx
movl $0x1, %r8d
callq *0x48(%rax)
movq 0x10(%rax), %rax
movq %rax, 0x20(%rbx)
orb $0x4, 0x6(%rbx)
jmp 0xdf490
orq $0x800800, (%r14)       # imm = 0x800800
movq 0x10(%rsp), %rcx
leal 0x112(%rcx), %eax
addl $0x108, %ecx            # imm = 0x108
btl $0xc, (%r15)
cmovbl %eax, %ecx
movw %cx, 0x4(%r14)
movq %r15, 0x18(%r14)
jmp 0xdf5a3
movq 0x10(%r15), %rax
movq 0x18(%rsp), %rdx
movq %rdx, 0x18(%rax)
movq 0x10(%r15), %rax
movq %rcx, 0x20(%rax)
movq 0x10(%r15), %rax
movq %r14, 0x28(%rax)
movq 0x10(%r15), %rax
andq $-0x40001, (%rax)       # imm = 0xFFFBFFFF
orl $0x1a, %ebp
jmp 0xdfb51
movq 0x28(%rsp), %rcx
movb (%rcx), %cl
cmpb $0xa, %cl
jne 0xdfa45
movq 0x28(%rsp), %rcx
testb $-0x80, 0x6(%rcx)
jne 0xdfa45
cmpb $0x1, (%r14)
jne 0xdfa45
movq 0x8(%r14), %rcx
cmpq 0x17b0(%rdi), %rcx
jne 0xdfa45
movq 0x10(%r14), %rcx
cmpb $0x1, (%rcx)
jne 0xdfa45
cmpb $0x1, %al
je 0xdfa45
movq 0x110(%rdi), %rax
cmpq %rax, 0x10(%rcx)
jne 0xdfa45
movq 0x10(%r15), %rax
movq 0x28(%rsp), %rcx
movq %rcx, 0x18(%rax)
movq 0x10(%r15), %rax
movq 0x18(%rsp), %rcx
movq %rcx, 0x20(%rax)
movq 0x10(%r14), %rax
movq 0x8(%rax), %rax
movq 0x10(%r15), %rcx
movq %rax, 0x28(%rcx)
movq 0x10(%r15), %rax
andq $-0x40001, (%rax)       # imm = 0xFFFBFFFF
orl $0x18, %ebp
jmp 0xdf0fd
movq 0x10(%r15), %rsi
movq %r13, %rdx
callq 0xd151a
movq 0x66f10(%rip), %rax     # 0x146968
movq 0x10(%r15), %rcx
movq %rax, 0x28(%rcx)
movq 0x10(%r15), %rax
andq $-0x40001, (%rax)       # imm = 0xFFFBFFFF
leal 0x74(%rbp), %eax
movw %ax, 0x4(%r15)
cmpl $0x1, %ebx
movq 0x8(%rsp), %rsi
jne 0xdfbcc
movl 0x30(%rsp), %eax
cmpl $0x2, %eax
je 0xdfae6
cmpl $0x1, %eax
je 0xdfab2
testl %eax, %eax
jne 0xdfbcc
movq 0x28(%rsp), %rax
cmpb $0x1, (%rax)
jne 0xdfbcc
movzwl %bp, %eax
orl $0x84, %eax
jmp 0xdfbc7
movq 0x18(%rsp), %rax
cmpb $0x1, (%rax)
jne 0xdfbcc
movl $0x82, %eax
movq 0x28(%rsp), %rcx
cmpb $0xa, (%rcx)
jne 0xdfadf
movb 0x6(%rcx), %al
shrb $0x7, %al
movzbl %al, %eax
leal 0x80(,%rax,2), %eax
orl %ebp, %eax
jmp 0xdfbc7
cmpb $0xa, (%r14)
jne 0xdfbcc
testb $-0x80, 0x6(%r14)
jne 0xdfbcc
movq 0x28(%rsp), %rax
cmpb $0xa, (%rax)
jne 0xdfb75
testb $-0x80, 0x6(%rax)
jne 0xdfb75
testb %r12b, %r12b
je 0xdfbc1
cmpb $0x30, (%rsi)
jb 0xdfbc1
movq 0x8(%rsi), %rax
movq 0x20(%rax), %rax
testq %rax, %rax
je 0xdfbc1
cmpl $0x2e, (%rax)
je 0xdfb7d
movq 0x10(%rax), %rax
jmp 0xdfb25
movq 0x10(%r15), %rax
movq 0x18(%rsp), %rdx
movq %rdx, 0x20(%rax)
movq 0x10(%r15), %rax
movq %rcx, 0x18(%rax)
orl $0x12, %ebp
movw %bp, 0x4(%r15)
movq 0x8(%rsi), %rax
movl $0x1, %ebx
movl $0x3, %edx
movq %r15, %rcx
movq %rsi, %r14
movl $0x1, %r8d
movq %rdi, %r12
jmp 0xdfbee
movzwl %bp, %eax
orl $0x7e, %eax
jmp 0xdfbc7
cmpq $0x0, 0x8(%rax)
je 0xdfbc1
movw $0x18d, 0x4(%r15)       # imm = 0x18D
orb $0x8, 0x3(%r15)
cmpb $0x30, (%rsi)
jb 0xdfc22
movq 0x8(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x20(%rax), %rcx
testq %rcx, %rcx
je 0xdfc22
xorl %eax, %eax
cmpl $0x2e, (%rcx)
je 0xdfc38
movq 0x10(%rcx), %rcx
testq %rcx, %rcx
jne 0xdfbad
jmp 0xdfc24
movzwl %bp, %eax
orl $0x7c, %eax
movw %ax, 0x4(%r15)
movq 0x8(%rsi), %rax
movl $0x1, %ebx
movq 0x10(%rsp), %r12
movq %r12, %rdi
movl $0x3, %edx
movq %r15, %rcx
movq %rsi, %r14
movl $0x1, %r8d
callq *0x48(%rax)
movq %rax, 0x18(%r15)
movq 0x8(%r14), %rax
movq %r12, %rdi
movq %r14, %rsi
movl $0x3, %edx
movq %r15, %rcx
movl $0x1, %r8d
callq *0x48(%rax)
movq 0x10(%rax), %rax
movq %rax, 0x20(%r15)
orb $0x4, 0x6(%r15)
jmp 0xdf5a3
xorl %eax, %eax
movq 0x20(%rsp), %r15
movq 0x10(%r15), %rcx
movq %rax, 0x20(%rcx)
movq 0x8(%rsp), %rsi
jmp 0xdfbcc
movq 0x8(%rcx), %rax
jmp 0xdfc24
movq 0x10(%rdx), %r8
cmpb $0x1, (%r8)
movq 0x20(%rsp), %r15
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdi
movq %r12, %rbp
jne 0xdf464
cmpq %rax, 0x10(%r8)
jne 0xdf464
movq 0x8(%rdx), %rdx
testl $0x1000001, 0x3(%rdx)   # imm = 0x1000001
jne 0xdf464
movabsq $0x1000001000000, %rdx  # imm = 0x1000001000000
movq 0x8(%r8), %r8
testq %rdx, (%r8)
jne 0xdf464
jmp 0xdf8b3
movzbl (%rax), %esi
cmpl $0x1, %esi
je 0xdfcbb
cmpl $0xa, %esi
jne 0xdfcf1
movq 0x8(%rdx), %rdx
cmpb $0x1, (%rdx)
jne 0xdf900
cmpq 0x8(%rdx), %rax
jne 0xdf900
jmp 0xdfcf1
movq 0x8(%rax), %rsi
movq 0x10(%rsp), %rdi
cmpq 0x17b0(%rdi), %rsi
je 0xdfcf1
movq 0x10(%rsp), %rdi
cmpq 0xd20(%rdi), %rsi
jne 0xdf900
movq 0x10(%rax), %rsi
movq 0x8(%rsi), %rsi
cmpq 0x8(%rdx), %rsi
jne 0xdf900
shrq $0x30, %rcx
leal 0x132(%r12), %edx
movq 0x20(%rsp), %rsi
movw %dx, 0x4(%rsi)
movq 0x8(%rsp), %rdx
movq %rdx, 0x18(%rsi)
orl $0x4, %ecx
movw %cx, 0x6(%rsi)
movq %rax, 0x20(%rsi)
movq 0x28(%rsp), %rdx
movq 0x10(%rdx), %rax
movq 0x10(%rax), %rax
movq 0x10(%rsi), %rcx
movq %rax, 0x18(%rcx)
movq 0x10(%rdx), %rax
movq 0x10(%rax), %rax
movq 0x10(%rax), %rcx
xorl %ebx, %ebx
movq 0x10(%rsp), %rdx
cmpq 0x110(%rdx), %rcx
jne 0xdf5a3
movq 0x8(%rax), %r14
movq 0x10(%rsp), %rdi
movq %r14, %rsi
callq 0xcd0e8
testb %al, %al
je 0xdfdb6
movzwl %r12w, %eax
orl $0x136, %eax            # imm = 0x136
movq 0x20(%rsp), %rcx
movw %ax, 0x4(%rcx)
movq 0x28(%rsp), %r14
movq 0x10(%r14), %rax
movq 0x10(%rax), %rsi
movq 0x10(%rsp), %rdi
movq 0x8(%rdi), %rdx
leaq -0x2ec3e(%rip), %rcx    # 0xb1155
callq 0xaf535
movq 0x10(%r14), %rcx
movq 0x10(%rcx), %rcx
movq %rax, 0x20(%rcx)
movq 0x10(%r14), %rax
movq 0x10(%rax), %rax
orw $0x4, 0x6(%rax)
jmp 0xdf5a3
movq 0x20(%rsp), %rcx
movq 0x10(%rcx), %rax
movq %r14, 0x18(%rax)
movzwl %r12w, %eax
orl $0x134, %eax            # imm = 0x134
movw %ax, 0x4(%rcx)
jmp 0xdf5a3