// File: /workspace/github_c_makefile_star2_O1/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
movl %ecx, %r12d
movq %rdx, 0x28(%rsp)
movq %rsi, %r13
movq 0x80(%rsp), %rdx
movl 0x70(%rsp), %ebp
testl %ebp, %ebp
jle 0xe75a8
cmpb $0x1, (%rdx)
sete %al
jne 0xe759a
movq 0x17b0(%rdi), %rcx
cmpq %rcx, 0x8(%rdx)
je 0xe759a
movq %rdx, %rsi
movq 0x10(%rsi), %rsi
cmpb $0x1, (%rsi)
sete %al
jne 0xe759a
cmpq %rcx, 0x8(%rsi)
jne 0xe7588
movl $0x2, %r14d
testb %al, %al
jne 0xe8512
movl %r8d, 0x34(%rsp)
movl %r9d, 0x1c(%rsp)
movq %rdi, (%rsp)
movq 0x10(%r13), %rax
movq 0x8(%rax), %rbx
movq 0x10(%rax), %rax
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rax
movq 0x8(%rax), %rax
movq %rax, 0x8(%rsp)
movzbl (%rbx), %r14d
cmpl $0xa, %r14d
movq %rsi, 0x10(%rsp)
jne 0xe7603
movq (%rsp), %rdi
movq %rbx, %rsi
callq 0xe9196
movq 0x10(%rsp), %rsi
movq 0x80(%rsp), %rdx
testb %al, %al
je 0xe771b
movzbl (%rsi), %r15d
cmpl $0xa, %r15d
jne 0xe762b
movq (%rsp), %rdi
callq 0xe9196
movq 0x10(%rsp), %rsi
movq 0x80(%rsp), %rdx
testb %al, %al
je 0xe771b
movq 0x8(%rsp), %rax
cmpb $0xa, (%rax)
jne 0xe7658
movq (%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0xe9196
movq 0x10(%rsp), %rsi
movq 0x80(%rsp), %rdx
testb %al, %al
je 0xe771b
movl 0x78(%rsp), %r11d
cmpl %ebp, %r11d
movq %r13, 0x20(%rsp)
jne 0xe77e8
movq 0x8(%r13), %rax
movl $0x1, %r13d
testb $0x1, 0x3(%rax)
jne 0xe77eb
testb $0x1, 0x6(%rax)
je 0xe77e8
movq (%rsp), %rcx
movq 0x8(%rcx), %r9
movq 0x18(%r9), %rdi
movq 0x20(%rax), %r8
movl $0x18, %ecx
cmpq %r8, %rdi
je 0xe76f9
jle 0xe76b2
movq 0x10(%r9), %r9
movq 0x18(%r9), %rdi
cmpq %rdi, %r8
jl 0xe76a5
cmpq %r8, %rdi
je 0xe76f9
movl $0x10, %ecx
cmpb $0x1c, (%r9)
jne 0xe76f9
movq 0x8(%r9), %rdi
testq %rdi, %rdi
sete %r8b
je 0xe76e1
cmpq %rax, 0x8(%rdi)
je 0xe76db
movq 0x18(%rdi), %rdi
jmp 0xe76c6
xorl %r8d, %r8d
movq %rdi, %r10
testb %r8b, %r8b
je 0xe8188
movq 0x10(%r9), %r9
cmpb $0x1c, (%r9)
je 0xe76c2
movq 0x10(%rsp), %rsi
movq (%rax,%rcx), %r10
cmpb $0x20, (%r10)
jne 0xe77e8
testb $0x1, 0x3(%r10)
movl $0x1, %r13d
cmovel %r12d, %r13d
jmp 0xe77eb
movq (%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq 0xd5a05
xorl %r14d, %r14d
testb %al, %al
je 0xe8512
movq %r15, %rdi
movq 0x10(%rsp), %rsi
callq 0xd5a05
testb %al, %al
je 0xe8512
movq %r15, %rdi
movq 0x8(%rsp), %rsi
callq 0xd5a05
testb %al, %al
je 0xe8512
movl $0x3, %edx
movq %r15, %rdi
movq 0x28(%rsp), %rbx
movq %rbx, %rsi
callq 0x41fac
testb %al, %al
je 0xe8512
movq 0x10(%r13), %rsi
movq %r15, %rdi
movq 0x80(%rsp), %rdx
callq 0xd9cf3
movq 0x671d1(%rip), %rax     # 0x14e968
movq 0x10(%r13), %rcx
movq %rax, 0x28(%rcx)
movq 0x10(%r13), %rax
andq $-0x40001, (%rax)       # imm = 0xFFFBFFFF
movb (%rbx), %al
cmpb $0x30, %al
jb 0xe7cbe
orb $0x8, 0x1(%r13)
leal 0x74(%r12), %eax
addl $0x12a, %r12d           # imm = 0x12A
btl $0x15, (%rbx)
cmovbl %eax, %r12d
movw %r12w, 0x4(%r13)
movq %rbx, 0x18(%r13)
movq 0x10(%rbx), %rax
movq %rax, 0x20(%r13)
orb $0x4, 0x6(%r13)
jmp 0xe7a04
movl %r12d, %r13d
movq 0x28(%rsp), %r12
movzbl (%r12), %eax
cmpl $0x30, %eax
jb 0xe7826
cmpq $0x3, 0x18(%r12)
jg 0xe7826
cmpq $0x2, 0x28(%r12)
jle 0xe7826
testl %r13d, %r13d
je 0xe7aab
movl $0x1, %r13d
movb $0x1, %r14b
movq 0x20(%rsp), %r15
jmp 0xe7ac3
cmpl $0x28, %eax
je 0xe786b
cmpl $0x29, %eax
je 0xe78c3
cmpl $0x2f, %eax
jne 0xe798d
cmpq $0x3, 0x28(%r12)
jne 0xe785d
cmpl $0x1, %r14d
je 0xe785d
cmpl $0xa, %r14d
je 0xe785d
cmpl $0x1, %r15d
je 0xe785d
cmpl $0xa, %r15d
jne 0xe780a
cmpl $0x29, %eax
je 0xe78c3
cmpl $0x28, %eax
jne 0xe798d
movq (%rsp), %r15
movq %r15, %rdi
movq %r12, %rsi
callq 0xd584c
xorl %r14d, %r14d
cmpl $0x3, %eax
je 0xe7a31
cmpl $-0x1, %eax
jne 0xe8512
movq 0x8(%r12), %rax
cmpb $0xa, (%rax)
jne 0xe8512
movq %r15, %rdi
movq 0x20(%rsp), %rsi
movq %r12, %rdx
movl %r13d, %ecx
movl $0x3, %r8d
movq 0x80(%rsp), %r9
callq 0xe9aaa
jmp 0xe8512
movq 0x10(%r12), %rax
xorl %r14d, %r14d
testb $0x4, 0x1(%rax)
je 0xe8512
movl %r11d, %r15d
movq 0x8(%r12), %rdx
movq (%rsp), %rbx
movq %rbx, %rdi
movq %r12, %rsi
callq 0xa0ae3
cmpl $0x0, 0x28(%r12)
je 0xe8512
movq 0x8(%r12), %rdx
movq %rbx, %rdi
movq %r12, %rsi
callq 0xa0ae3
cmpl $0x1, 0x28(%r12)
je 0xe8512
movq %rbx, %rdi
movq 0x20(%rsp), %rsi
callq 0xe8f6a
cmpl $0x3, %eax
movq 0x80(%rsp), %rdx
movl %r15d, %r11d
jne 0xe798d
btl $0x18, (%r12)
movl $0x1, %eax
cmovael %r13d, %eax
movq 0x20(%rsp), %rbx
orq $0x800800, (%rbx)       # imm = 0x800800
leal 0x120(%rax), %ecx
addl $0x11a, %eax            # imm = 0x11A
btl $0xc, (%r12)
cmovbl %ecx, %eax
movw %ax, 0x4(%rbx)
movq 0x10(%rbx), %rsi
movq (%rsp), %rdi
callq 0xd9cf3
movq %r12, 0x18(%rbx)
movq 0x66fec(%rip), %rax     # 0x14e968
movq 0x10(%rbx), %rcx
movq %rax, 0x28(%rcx)
movq 0x10(%rbx), %rax
jmp 0xe7f36
cmpb $0x2f, (%r12)
movq (%rsp), %r14
jne 0xe7a0f
movq %r14, %rdi
movq 0x20(%rsp), %rsi
movl %r11d, %ebx
callq 0xe8f6a
movl %ebx, %r11d
movq 0x80(%rsp), %rdx
cmpl $0x3, %eax
jne 0xe7a0f
movq 0x20(%rsp), %rbx
orb $0x8, 0x1(%rbx)
addl $0x9a, %r13d
movw %r13w, 0x4(%rbx)
movq 0x10(%rbx), %rsi
movq %r14, %rdi
callq 0xd9cf3
movq 0x66f88(%rip), %rax     # 0x14e968
movq 0x10(%rbx), %rcx
movq %rax, 0x28(%rcx)
movq 0x10(%rbx), %rax
andq $-0x40001, (%rax)       # imm = 0xFFFBFFFF
movq %r12, 0x18(%rbx)
movq 0x10(%r12), %rax
movq %rax, 0x20(%rbx)
orb $0x4, 0x6(%rbx)
movl $0x1, %r14d
jmp 0xe8512
xorl %r14d, %r14d
cmpl %ebp, %r11d
movq 0x20(%rsp), %rax
jg 0xe8512
xorl %r14d, %r14d
cmpw $0x801, (%rax)          # imm = 0x801
sete %r14b
jmp 0xe8512
testb $0x1, 0x3(%r12)
movq %r12, %rbp
movl $0x1, %r12d
cmovel %r13d, %r12d
cmpl $0x3, 0x1c(%rsp)
jne 0xe7c80
movq 0x20(%rsp), %rdx
movq %rbp, 0x18(%rdx)
movq 0x66f09(%rip), %rax     # 0x14e968
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(%rbp)
jne 0xe7a9f
movq 0x10(%rbp), %rax
movq 0x10(%rax), %rax
xorl %ecx, %ecx
cmpq 0x110(%r15), %rax
sete %cl
leal 0xf2(,%rcx,2), %eax
addl %r12d, %eax
movw %ax, 0x4(%rdx)
jmp 0xe8512
movq 0x20(%rsp), %r15
movq 0x8(%r15), %rax
xorl %r14d, %r14d
cmpq $0x0, 0x20(%rax)
sete %r14b
movl %r14d, %r13d
movq (%r12), %rax
btl $0x15, %eax
jb 0xe7af7
btl $0x1b, %eax
jae 0xe7b9d
movq (%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0xe9ee1
movl 0x78(%rsp), %r11d
movq 0x10(%rsp), %rsi
testb %al, %al
je 0xe7b9d
cmpl $0x0, 0x34(%rsp)
je 0xe7d7a
movq (%rsp), %rdi
movq %r15, %rsi
callq 0xe8f6a
cmpl $0x3, %eax
jne 0xe7da6
movl $0x800, %eax            # imm = 0x800
orl (%r15), %eax
movw %ax, (%r15)
cmpl $0x1, %ebp
movq 0x80(%rsp), %r8
movl 0x1c(%rsp), %edx
jne 0xe8362
cmpl $0x1, %edx
je 0xe822b
cmpl $0x2, %edx
jne 0xe8362
cmpb $0xa, (%rbx)
jne 0xe8222
testb $-0x80, 0x6(%rbx)
jne 0xe8222
movq 0x8(%rsp), %rcx
cmpb $0xa, (%rcx)
jne 0xe8222
movq 0x8(%rsp), %rcx
testb $-0x80, 0x6(%rcx)
jne 0xe8222
movq 0x10(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rax
movq 0x10(%r15), %rcx
movq %rax, 0x18(%rcx)
movq 0x10(%r15), %rax
movq 0x8(%rsp), %rcx
jmp 0xe814c
movl %r11d, %ebp
movq (%rsp), %rdi
movq %r15, %rsi
callq 0xe8f6a
cmpl $0x3, %eax
jne 0xe7e55
orb $0x8, 0x1(%r15)
movl 0x1c(%rsp), %eax
xorl $0x2, %eax
orl %eax, 0x34(%rsp)
movq 0x80(%rsp), %rdx
jne 0xe7bf3
cmpb $0xa, (%rbx)
jne 0xe7bf3
testb $-0x80, 0x6(%rbx)
jne 0xe7bf3
movq 0x8(%rsp), %rax
cmpb $0xa, (%rax)
jne 0xe7bf3
movw $0x14a, %ax             # imm = 0x14A
movq 0x8(%rsp), %rcx
testb $-0x80, 0x6(%rcx)
je 0xe7c1e
movq 0x10(%r15), %rsi
movq (%rsp), %rdi
callq 0xd9cf3
movq 0x66d61(%rip), %rax     # 0x14e968
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 %r13d, %eax
movw %ax, 0x4(%r15)
movq 0x8(%r12), %rax
movq (%rsp), %rbx
movq %rbx, %rdi
movq %r12, %rsi
movl $0x3, %edx
movq %r15, %rcx
movl $0x1, %r8d
callq *0x48(%rax)
movq %rax, 0x18(%r15)
movq 0x8(%r12), %rax
movq %rbx, %rdi
movq %r12, %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 0xe7ea4
movq %r15, %rdi
movq 0x20(%rsp), %r15
movq %r15, %rsi
callq 0xe8f6a
movzwl (%rbp), %ecx
cmpl $0x3, %eax
jne 0xe7eac
btl $0xc, %ecx
movq 0x80(%rsp), %rdx
jb 0xe7ee4
addl $0x108, %r12d           # imm = 0x108
movl %r12d, %eax
jmp 0xe7f01
cmpb $0x28, %al
jne 0xe7d05
movq %r15, %rdi
movq 0x28(%rsp), %rsi
callq 0xd584c
cmpl $0x3, %eax
jne 0xe7d05
movq 0x28(%rsp), %rax
movq 0x8(%rax), %rax
cmpb $0x1, (%rax)
jne 0xe7cf8
movq 0x1890(%r15), %rcx
cmpq %rcx, 0x8(%rax)
je 0xe7d05
movq 0x10(%rax), %rax
cmpb $0x1, (%rax)
je 0xe7ce9
cmpq 0x110(%r15), %rax
je 0xe83d2
movq 0x28(%rsp), %rbx
cmpb $0x29, (%rbx)
jne 0xe8512
movq 0x10(%rbx), %rax
testb $0x4, 0x1(%rax)
je 0xe8512
movq 0x8(%rbx), %rdx
movq %r15, %rdi
movq %rbx, %rsi
callq 0xa0ae3
cmpl $0x0, 0x28(%rbx)
je 0xe8512
movq 0x8(%rbx), %rdx
movq %r15, %rdi
movq %rbx, %rsi
callq 0xa0ae3
cmpl $0x1, 0x28(%rbx)
je 0xe8512
orq $0x800800, (%r13)       # imm = 0x800800
btl $0xc, (%rbx)
movl $0x11a, %eax            # imm = 0x11A
movl $0x120, %ecx            # imm = 0x120
cmovael %eax, %ecx
movw %cx, 0x4(%r13)
movq %rbx, 0x18(%r13)
jmp 0xe8512
orb $0x8, 0x1(%r15)
movl 0x1c(%rsp), %eax
cmpl $0x3, %eax
je 0xe8159
cmpl $0x2, %eax
je 0xe811d
testl %eax, %eax
jne 0xe815f
orl $0x2, %r13d
jmp 0xe84ac
cmpb $0xa, (%rbx)
movq 0x80(%rsp), %rcx
jne 0xe7e85
testb $-0x80, 0x6(%rbx)
jne 0xe7e85
movq 0x10(%rsp), %rax
cmpb $0xa, (%rax)
jne 0xe7e85
movq 0x10(%rsp), %rax
testb $-0x80, 0x6(%rax)
jne 0xe7e85
movq 0x8(%rsp), %rax
movq %rax, 0x28(%r15)
movq $-0x840801, %rax        # imm = 0xFF7BF7FF
andq (%r15), %rax
orq $0x800800, %rax         # imm = 0x800800
movq %rax, (%r15)
orl $0x160, %r13d           # imm = 0x160
movw %r13w, 0x4(%r15)
movq 0x8(%r12), %rax
movq (%rsp), %rbx
movq %rbx, %rdi
movq %r12, %rsi
movl $0x3, %edx
movq %r15, %rcx
movl $0x1, %r8d
callq *0x48(%rax)
movq %rax, 0x18(%r15)
movq 0x8(%r12), %rax
movq %rbx, %rdi
movq %r12, %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 0xe7ea4
leaq -0x637de(%rip), %rax    # 0x8467e
cmpq %rax, 0x10(%r12)
movq 0x80(%rsp), %r8
je 0xe7f42
orl $0x162, %r13d           # imm = 0x162
movq (%rsp), %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %r8, %rcx
jmp 0xe7e96
orl $0x162, %r13d           # imm = 0x162
movq (%rsp), %rdi
movq %r12, %rsi
movq %r15, %rdx
movl $0x3, %r8d
movq %r13, %r9
callq 0xee4da
xorl %r14d, %r14d
jmp 0xe8512
btl $0xc, %ecx
movq 0x80(%rsp), %rcx
jae 0xe8512
addl $0x128, %r12d           # imm = 0x128
movq (%rsp), %rdi
movq 0x28(%rsp), %rsi
movq %r15, %rdx
movl $0x3, %r8d
movq %r12, %r9
callq 0xe9e1e
jmp 0xe8512
movl $0x112, %eax            # imm = 0x112
cmpb $0xa, (%rbx)
jne 0xe7efe
movb 0x6(%rbx), %al
shrb $0x7, %al
movzbl %al, %eax
leal 0x110(,%rax,2), %eax
addl %r12d, %eax
movw %ax, 0x4(%r15)
orq $0x800800, (%r15)       # imm = 0x800800
movq 0x10(%r15), %rsi
movq (%rsp), %rdi
callq 0xd9cf3
movq 0x28(%rsp), %rax
movq %rax, 0x18(%r15)
movq 0x66a3e(%rip), %rax     # 0x14e968
movq 0x10(%r15), %rcx
movq %rax, 0x28(%rcx)
movq 0x10(%r15), %rax
andq $-0x40001, (%rax)       # imm = 0xFFFBFFFF
jmp 0xe8512
movl %ebp, %eax
cmpl $0x3, %ebp
je 0xe7f60
cmpl $0x2, %eax
jne 0xe7e6f
cmpb $0x1, (%rbx)
jne 0xe7f75
cmpl $0x3, %eax
jne 0xe7e6f
movq 0x8(%rbx), %rax
movq (%rsp), %rcx
cmpq 0x17b0(%rcx), %rax
jne 0xe7e6f
movq 0x10(%rsp), %rax
cmpb $0x1, (%rax)
jne 0xe7e6f
movq 0x10(%rsp), %rax
movq 0x8(%rax), %rcx
movq (%rsp), %rax
movq 0x1798(%rax), %rax
cmpq %rcx, %rax
jne 0xe7e6f
cmpq $0x0, 0x20(%rcx)
jne 0xe7e6f
movq 0x8(%rsp), %rcx
cmpb $0x1, (%rcx)
jne 0xe7e6f
movq 0x8(%rsp), %rcx
movq 0x8(%rcx), %rcx
cmpq %rcx, %rax
jne 0xe7e6f
cmpq $0x0, 0x20(%rcx)
jne 0xe7e6f
movq 0x10(%rsp), %rax
movq 0x10(%rax), %rcx
movq (%rsp), %rax
movq 0x110(%rax), %rax
cmpq %rax, 0x8(%rcx)
jne 0xe7e6f
cmpq %rax, 0x10(%rcx)
je 0xe7e6f
movq 0x8(%rsp), %rcx
movq 0x10(%rcx), %rcx
movq 0x8(%rcx), %rdx
movzbl (%rdx), %esi
cmpl $0x1, %esi
je 0xe802f
cmpl $0xa, %esi
jne 0xe7e6f
testl $0x1000001, 0x3(%rdx)   # imm = 0x1000001
je 0xe806e
cmpb $0x1, %sil
jne 0xe7e6f
movq 0x10(%rdx), %rsi
cmpb $0x1, (%rsi)
jne 0xe7e6f
cmpq %rax, 0x10(%rsi)
jne 0xe7e6f
movq 0x8(%rdx), %rdx
testl $0x1000001, 0x3(%rdx)   # imm = 0x1000001
jne 0xe7e6f
movabsq $0x1000001000000, %rdx  # imm = 0x1000001000000
movq 0x8(%rsi), %rsi
testq %rdx, (%rsi)
jne 0xe7e6f
movq 0x10(%rcx), %rcx
cmpq %rax, %rcx
je 0xe7e6f
movq 0x8(%rcx), %rax
movq %r15, %r12
orq $0x800800, (%r15)       # imm = 0x800800
movq (%rsp), %rcx
cmpq 0x118(%rcx), %rbx
jne 0xe80b8
movq 0x8(%rsp), %rcx
movq 0x10(%rcx), %rcx
movq 0x10(%rcx), %rdx
movq 0x10(%rdx), %rdx
movq (%rsp), %rsi
cmpq 0x110(%rsi), %rdx
je 0xe852d
orl $0x130, %r13d           # imm = 0x130
movw %r13w, 0x4(%r12)
movq 0x28(%rsp), %r14
movq 0x8(%r14), %rax
movq (%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
movl $0x3, %edx
movq %r12, %rcx
movl $0x1, %r8d
callq *0x48(%rax)
movq %rax, 0x18(%r12)
movq 0x8(%r14), %rax
movq %r15, %rdi
movq %r14, %rsi
movl $0x3, %edx
movq %r12, %rcx
movl $0x1, %r8d
callq *0x48(%rax)
movq 0x10(%rax), %rax
movq %rax, 0x20(%r12)
orb $0x4, 0x6(%r12)
jmp 0xe7ea4
cmpb $0xa, (%rbx)
jne 0xe8192
testb $-0x80, 0x6(%rbx)
jne 0xe8192
movq 0x8(%rsp), %rcx
cmpb $0xa, (%rcx)
jne 0xe8498
testb $-0x80, 0x6(%rcx)
jne 0xe8498
movq 0x10(%r15), %rax
movq %rsi, 0x18(%rax)
movq 0x10(%r15), %rax
movq %rcx, 0x20(%rax)
orl $0x10, %r13d
jmp 0xe84ac
orl $0xe, %r13d
jmp 0xe8196
cmpb $0xa, (%rbx)
jne 0xe81b5
testb $-0x80, 0x6(%rbx)
jne 0xe81b5
movq 0x10(%r15), %rax
movq %rsi, 0x18(%rax)
movq 0x10(%r15), %rax
movq 0x8(%rsp), %rcx
movq %rcx, 0x20(%rax)
orl $0x16, %r13d
jmp 0xe84ac
movq 0x10(%rsp), %rsi
jmp 0xe76fd
orl $0x14, %r13d
movw %r13w, 0x4(%r15)
movq 0x10(%r15), %rax
movq %rsi, 0x18(%rax)
movq 0x10(%r15), %rax
movq 0x8(%rsp), %rcx
movq %rcx, 0x20(%rax)
jmp 0xe84bf
cmpb $0xa, (%rsi)
jne 0xe81f1
testb $-0x80, 0x6(%rsi)
jne 0xe81f1
movq 0x10(%r15), %rax
movq %rsi, 0x18(%rax)
movq 0x10(%r15), %rax
movq 0x8(%rsp), %rcx
movq %rcx, 0x20(%rax)
movq 0x10(%r15), %rax
movq %rbx, 0x28(%rax)
movq 0x10(%r15), %rax
andq $-0x40001, (%rax)       # imm = 0xFFFBFFFF
orl $0x18, %r13d
jmp 0xe84ac
movq 0x10(%r15), %rax
movq 0x8(%rsp), %rcx
movq %rcx, 0x18(%rax)
movq 0x10(%r15), %rax
movq %rsi, 0x20(%rax)
movq 0x10(%r15), %rax
movq %rbx, 0x28(%rax)
movq 0x10(%r15), %rax
andq $-0x40001, (%rax)       # imm = 0xFFFBFFFF
orl $0x1a, %r13d
jmp 0xe84ac
cmpl $0x1, %edx
jne 0xe8362
movq 0x8(%rsp), %rcx
movb (%rcx), %cl
cmpb $0xa, %cl
jne 0xe82e9
movq 0x8(%rsp), %rdx
testb $-0x80, 0x6(%rdx)
jne 0xe82e9
movq 0x10(%rsp), %rdx
cmpb $0x1, (%rdx)
jne 0xe82e9
movq 0x10(%rsp), %rdx
movq 0x8(%rdx), %rdx
movq (%rsp), %rsi
cmpq 0x17b0(%rsi), %rdx
jne 0xe82e9
movq 0x10(%rsp), %rdx
movq 0x10(%rdx), %rdx
cmpb $0x1, (%rdx)
jne 0xe82e9
movq 0x10(%rdx), %rdx
movq (%rsp), %rsi
cmpq 0x110(%rsi), %rdx
jne 0xe82e9
movzwl 0x4(%rbx), %edx
andl $-0x2, %edx
cmpw $0x4, %dx
jne 0xe82e9
movw %ax, (%r15)
orl $0x6a, %r13d
movw %r13w, 0x4(%r15)
movq 0x10(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rax
movq 0x10(%r15), %rcx
movq %rax, 0x18(%rcx)
movq 0x10(%r15), %rax
movq 0x8(%rsp), %rcx
movq %rcx, 0x20(%rax)
movq 0x10(%rbx), %rax
movq 0x8(%rax), %rax
movq 0x10(%r15), %rcx
movq %rax, 0x28(%rcx)
movq 0x10(%r15), %rax
andq $-0x40001, (%rax)       # imm = 0xFFFBFFFF
jmp 0xe84bf
movq 0x10(%rsp), %rax
cmpb $0xa, (%rax)
jne 0xe8362
movq 0x10(%rsp), %rax
testb $-0x80, 0x6(%rax)
jne 0xe8362
cmpb $0x1, (%rbx)
jne 0xe8362
movq 0x8(%rbx), %rax
movq (%rsp), %rdx
cmpq 0x17b0(%rdx), %rax
jne 0xe8362
movq 0x10(%rbx), %rax
cmpb $0x1, (%rax)
jne 0xe8362
cmpb $0x1, %cl
je 0xe8362
movq (%rsp), %rcx
movq 0x110(%rcx), %rcx
cmpq %rcx, 0x10(%rax)
jne 0xe8362
movq 0x10(%r15), %rax
movq 0x10(%rsp), %rcx
movq %rcx, 0x18(%rax)
movq 0x10(%r15), %rax
movq 0x8(%rsp), %rcx
movq %rcx, 0x20(%rax)
movq 0x10(%rbx), %rax
movq 0x8(%rax), %rax
movq 0x10(%r15), %rcx
movq %rax, 0x28(%rcx)
jmp 0xe81dd
movq 0x10(%r15), %rsi
movq (%rsp), %rdi
movq %r8, %rdx
callq 0xd9cf3
movl 0x1c(%rsp), %edx
movq 0x665eb(%rip), %rax     # 0x14e968
movq 0x10(%r15), %rcx
movq %rax, 0x28(%rcx)
movq 0x10(%r15), %rax
andq $-0x40001, (%rax)       # imm = 0xFFFBFFFF
leal 0x74(%r13), %eax
movw %ax, 0x4(%r15)
cmpl $0x1, 0x34(%rsp)
jne 0xe84bf
cmpl $0x2, %edx
je 0xe8445
cmpl $0x1, %edx
je 0xe8412
testl %edx, %edx
jne 0xe84bf
movq 0x10(%rsp), %rax
cmpb $0x1, (%rax)
jne 0xe8404
movzwl %r13w, %eax
orl $0x84, %eax
jmp 0xe84ba
orq $0x800800, (%r13)       # imm = 0x800800
leal 0x112(%r12), %eax
addl $0x108, %r12d           # imm = 0x108
movq 0x28(%rsp), %rcx
btl $0xc, (%rcx)
cmovbl %eax, %r12d
movw %r12w, 0x4(%r13)
movq %rcx, 0x18(%r13)
jmp 0xe8512
cmpl $0x2, %edx
je 0xe8445
cmpl $0x1, %edx
jne 0xe84bf
movq 0x8(%rsp), %rax
cmpb $0x1, (%rax)
jne 0xe8440
movl $0x82, %eax
movq 0x10(%rsp), %rcx
cmpb $0xa, (%rcx)
jne 0xe843b
movb 0x6(%rcx), %al
shrb $0x7, %al
movzbl %al, %eax
leal 0x80(,%rax,2), %eax
orl %r13d, %eax
jmp 0xe84ba
cmpl $0x2, %edx
jne 0xe84bf
cmpb $0xa, (%rbx)
jne 0xe84bf
testb $-0x80, 0x6(%rbx)
jne 0xe84bf
movq 0x10(%rsp), %rax
cmpb $0xa, (%rax)
jne 0xe84b3
testb $-0x80, 0x6(%rax)
jne 0xe84b3
testb %r14b, %r14b
je 0xe8524
movq %r12, %rdi
callq 0xb65e8
testq %rax, %rax
je 0xe8524
movw $0x18d, 0x4(%r15)       # imm = 0x18D
orb $0x8, 0x3(%r15)
movq %r12, %rdi
callq 0xb65e8
movq 0x10(%r15), %rcx
movq %rax, 0x20(%rcx)
jmp 0xe84bf
movq 0x10(%r15), %rax
movq %rcx, 0x20(%rax)
movq 0x10(%r15), %rax
movq %rsi, 0x18(%rax)
orl $0x12, %r13d
movw %r13w, 0x4(%r15)
jmp 0xe84bf
movzwl %r13w, %eax
orl $0x7e, %eax
movw %ax, 0x4(%r15)
movq 0x8(%r12), %rax
movl $0x1, %r14d
movq (%rsp), %rbx
movq %rbx, %rdi
movq %r12, %rsi
movl $0x3, %edx
movq %r15, %rcx
movl $0x1, %r8d
callq *0x48(%rax)
movq %rax, 0x18(%r15)
movq 0x8(%r12), %rax
movq %rbx, %rdi
movq %r12, %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)
movl %r14d, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movzwl %r13w, %eax
orl $0x7c, %eax
jmp 0xe84ba
movzbl (%rax), %edx
cmpl $0x1, %edx
je 0xe8556
cmpl $0xa, %edx
jne 0xe858a
movq 0x8(%rcx), %rsi
cmpb $0x1, (%rsi)
jne 0xe80b8
cmpq 0x8(%rsi), %rax
jne 0xe80b8
cmpb $0x1, %dl
jne 0xe858a
movq 0x8(%rax), %rdx
movq (%rsp), %rsi
cmpq 0x17b0(%rsi), %rdx
je 0xe858a
movq (%rsp), %rsi
cmpq 0xd20(%rsi), %rdx
jne 0xe80b8
movq 0x10(%rax), %rdx
movq 0x8(%rdx), %rdx
cmpq 0x8(%rcx), %rdx
jne 0xe80b8
leal 0x132(%r13), %ecx
movw %cx, 0x4(%r12)
movq 0x28(%rsp), %rcx
movq %rcx, 0x18(%r12)
orb $0x4, 0x6(%r12)
movq %rax, 0x20(%r12)
movq 0x10(%rsp), %rsi
movq 0x10(%rsi), %rax
movq 0x10(%rax), %rax
movq 0x10(%r12), %rcx
movq %rax, 0x18(%rcx)
movq 0x10(%rsi), %rax
movq 0x10(%rax), %rax
movq 0x10(%rax), %rcx
xorl %r14d, %r14d
movq (%rsp), %rdx
cmpq 0x110(%rdx), %rcx
jne 0xe8512
movq 0x8(%rax), %rbx
movq (%rsp), %rdi
movq %rbx, %rsi
callq 0xd5a05
testb %al, %al
je 0xe8644
movzwl %r13w, %eax
orl $0x136, %eax            # imm = 0x136
movw %ax, 0x4(%r12)
movq 0x10(%rsp), %rbx
movq 0x10(%rbx), %rax
movq 0x10(%rax), %rsi
movq (%rsp), %rdi
movq 0x8(%rdi), %rdx
leaq -0x30499(%rip), %rcx    # 0xb8188
callq 0xb69b9
movq 0x10(%rbx), %rcx
movq 0x10(%rcx), %rcx
movq %rax, 0x20(%rcx)
movq 0x10(%rbx), %rax
movq 0x10(%rax), %rax
orw $0x4, 0x6(%rax)
jmp 0xe8512
movq 0x10(%r12), %rax
movq %rbx, 0x18(%rax)
movzwl %r13w, %eax
orl $0x134, %eax            # imm = 0x134
movw %ax, 0x4(%r12)
jmp 0xe8512