// File: /workspace/github_c_makefile_star2_O2/johsteffens[P]beth/xoico/src/xoico.xo.c
// Function: xoico_feature_s_setup_functions
er_t xoico_feature_s_setup_functions( xoico_feature_s* o, const xoico_host* host )
{
    // xoico_feature.x:170:1
    BLM_INIT_LEVEL(0);
    xoico_compiler_s* compiler = xoico_host_a_compiler(host);
    sc_t sc_name = xoico_compiler_s_nameof(compiler,o->signature.name );
    sc_t sc_obj_type = xoico_compiler_s_nameof(compiler,xoico_host_a_obj_type(host) );
    sc_t sc_spect_name = ((st_s*)BLM_LEVEL_T_PUSH(0,st_s,xoico_host_a_create_spect_name(host)))->sc;
    
    st_s* st_ret_typespec = ((st_s*)BLM_LEVEL_T_PUSH(0,st_s,st_s_create()));
    
    bl_t has_ret = xoico_signature_s_returns_a_value(&(o->signature));
    BLM_TRY(xoico_signature_s_expand_ret_x(&(o->signature),host,((x_sink*)( st_ret_typespec ))))
    
    sc_t sc_ret_typespec = st_ret_typespec->sc;
    bl_t flag_const = o->signature.arg_o->typespec.access_class == TYPEOF_const;
    bl_t flag_discardable = o->signature.arg_o->typespec.access_class == TYPEOF_discardable;
    
    bl_t always_defined = ( o->strict || o->default_body || o->st_default_func_name.size > 0 );
    
    if( o->flag_a )
    {BLM_INIT_LEVEL(1);
        st_s* st = ((st_s*)BLM_LEVEL_T_PUSH(1,st_s,st_s_create()));
        st_s_push_fa(st,"#<sc_t> a_#<sc_t>( ", sc_ret_typespec, sc_name );
        st_s_push_fa(st,flag_const ? "c" : flag_discardable ? "d" : "m" );
        st_s_push_fa(st," @* o" );
        BLM_TRY(xoico_args_s_expand_x(&(o->signature.args),host, false,((x_sink*)( st ))))
        st_s_push_fa(st," ) { verbatim_C{" );
        st_s_push_fa(st,"const #<sc_t>* p = #<sc_t>_get_aware( o ); ", sc_spect_name, sc_spect_name );
        st_s_push_fa(st,"assert( p->#<sc_t> ); ", sc_name );
        if( has_ret ) st_s_push_fa(st,"return " );
        st_s_push_fa(st,"p->#<sc_t>( o", sc_name );
        BLM_TRY(xoico_args_s_expand_name(&(o->signature.args),host, false,((x_sink*)( st ))))
        st_s_push_fa(st," ); } };" );
    
        xoico_func_s* func = xoico_feature_s_push_func_from_sc(o,host, st->sc );
        func->declare_in_expand_forward = false;
    
        xoico_func_s* func_to_group = xoico_func_s_clone(func);
        xoico_body_s_attach( &(func_to_group->body ),  NULL);
        BLM_TRY(xoico_func_s_freeze_global_name(func_to_group,host )) // set global name before local name is changed
        func_to_group->name = o->signature.name;
        func_to_group->expandable = false;
        x_array_push_d(((x_array*)(&(o->funcs_return_to_group))),((x_inst*)(func_to_group )));
    BLM_DOWN();}
    
    if( o->flag_a )
    {BLM_INIT_LEVEL(1);
        st_s* st = ((st_s*)BLM_LEVEL_T_PUSH(1,st_s,st_s_create()));
        st_s_push_fa(st,"bl_t defines_#<sc_t>( c @* o ) ", sc_name );
        if( always_defined )
        {
            st_s_push_fa(st,"{ return true; };", sc_name );
        }
        else
        {
            st_s_push_fa(st,"{ verbatim_C { return #<sc_t>_get_aware( o )->#<sc_t> != NULL; } };", sc_spect_name, sc_name );
        }
    
        xoico_func_s* func = xoico_feature_s_push_func_from_sc(o,host, st->sc );
        func->declare_in_expand_forward = false;
    
        xoico_func_s* func_to_group = xoico_func_s_clone(func);
        xoico_body_s_attach( &(func_to_group->body ),  NULL);
        func_to_group->expandable = false;
        x_array_push_d(((x_array*)(&(o->funcs_return_to_group))),((x_inst*)(func_to_group )));
    BLM_DOWN();}
    
    if( o->flag_t )
    {BLM_INIT_LEVEL(1);
        /// new
        st_s* st = ((st_s*)BLM_LEVEL_T_PUSH(1,st_s,st_s_create()));
        st_s_push_fa(st,"#<sc_t> t_#<sc_t>( ", sc_ret_typespec, sc_name );
        st_s_push_fa(st,flag_const ? "c" : flag_discardable ? "d" : "m" );
        st_s_push_fa(st," #<sc_t>* o, tp_t t", sc_obj_type );
        BLM_TRY(xoico_args_s_expand_x(&(o->signature.args),host, false,((x_sink*)( st ))))
        st_s_push_fa(st," ) { verbatim_C{" );
        st_s_push_fa(st,"const #<sc_t>* p = #<sc_t>_get_typed( t ); ", sc_spect_name, sc_spect_name );
        st_s_push_fa(st,"assert( p->#<sc_t> ); ", sc_name );
        if( has_ret ) st_s_push_fa(st,"return " );
        st_s_push_fa(st,"p->#<sc_t>( o", sc_name );
        BLM_TRY(xoico_args_s_expand_name(&(o->signature.args),host, false,((x_sink*)( st ))))
        st_s_push_fa(st," ); } };" );
    
        xoico_func_s* func = xoico_feature_s_push_func_from_sc(o,host, st->sc );
        func->declare_in_expand_forward = false;
    
        xoico_func_s* func_to_group = xoico_func_s_clone(func);
        xoico_body_s_attach( &(func_to_group->body ),  NULL);
        func_to_group->expandable = false;
        x_array_push_d(((x_array*)(&(o->funcs_return_to_group))),((x_inst*)(func_to_group )));
    BLM_DOWN();}
    
    if( o->flag_t )
    {BLM_INIT_LEVEL(1);
        st_s* st = ((st_s*)BLM_LEVEL_T_PUSH(1,st_s,st_s_create()));
        st_s_push_fa(st,"bl_t t_defines_#<sc_t>( tp_t t ) ", sc_name );
        if( always_defined )
        {
            st_s_push_fa(st,"{ return true; };", sc_name );
        }
        else
        {
            st_s_push_fa(st,"{ verbatim_C{ return #<sc_t>_get_typed( t )->#<sc_t> != NULL; } };", sc_spect_name, sc_name );
        }
    
        xoico_func_s* func = xoico_feature_s_push_func_from_sc(o,host, st->sc );
        func->declare_in_expand_forward = false;
    
        xoico_func_s* func_to_group = xoico_func_s_clone(func);
        xoico_body_s_attach( &(func_to_group->body ),  NULL);
        func_to_group->expandable = false;
        x_array_push_d(((x_array*)(&(o->funcs_return_to_group))),((x_inst*)(func_to_group )));
    BLM_DOWN();}
    
    if( o->flag_p )
    {BLM_INIT_LEVEL(1);
        st_s* st = ((st_s*)BLM_LEVEL_T_PUSH(1,st_s,st_s_create()));
        st_s_push_fa(st,"#<sc_t> p_#<sc_t>( c #<sc_t>* p, ", sc_ret_typespec, sc_name, sc_spect_name );
        st_s_push_fa(st,flag_const ? "c" : flag_discardable ? "d" : "m" );
        st_s_push_fa(st," #<sc_t>* o", sc_obj_type );
        BLM_TRY(xoico_args_s_expand_x(&(o->signature.args),host, false,((x_sink*)( st ))))
        st_s_push_fa(st," ) { verbatim_C {" );
        st_s_push_fa(st,"assert( p->#<sc_t> ); ", sc_name );
        if( has_ret ) st_s_push_fa(st,"return " );
        st_s_push_fa(st,"p->#<sc_t>( o", sc_name );
        BLM_TRY(xoico_args_s_expand_name(&(o->signature.args),host, false,((x_sink*)( st ))))
        st_s_push_fa(st," ); } };" );
    
        xoico_func_s* func = xoico_feature_s_push_func_from_sc(o,host, st->sc );
        func->declare_in_expand_forward = false;
    BLM_DOWN();}
    
    if( o->flag_p )
    {BLM_INIT_LEVEL(1);
        st_s* st = ((st_s*)BLM_LEVEL_T_PUSH(1,st_s,st_s_create()));
        st_s_push_fa(st,"bl_t p_defines_#<sc_t>( c #<sc_t>* p ) ", sc_name, sc_spect_name );
        if( always_defined )
        {
            st_s_push_fa(st,"{ return true; };", sc_name );
        }
        else
        {
            st_s_push_fa(st,"{ verbatim_C{ return p->#<sc_t> != NULL; } };", sc_name );
        }
    
        xoico_func_s* func = xoico_feature_s_push_func_from_sc(o,host, st->sc );
        func->declare_in_expand_forward = false;
    BLM_DOWN();}
    
    if( o->flag_r )
    {BLM_INIT_LEVEL(1);
        st_s* st = ((st_s*)BLM_LEVEL_T_PUSH(1,st_s,st_s_create()));
        st_s_push_fa(st,"#<sc_t> r_#<sc_t>(", sc_ret_typespec, sc_name );
        st_s_push_fa(st," c sr_s* o" );
        BLM_TRY(xoico_args_s_expand_x(&(o->signature.args),host, false,((x_sink*)( st ))))
        st_s_push_fa(st," ) { verbatim_C {" );
        if( !flag_const ) st_s_push_fa(st,"ASSERT( !sr_s_is_const( o ) ); " );
        st_s_push_fa(st,"const #<sc_t>* p = (const #<sc_t>*)ch_spect_p( o->p, TYPEOF_#<sc_t> ); ",
            sc_spect_name,
            sc_spect_name,
            sc_spect_name
        );
    
        st_s_push_fa(st,"assert( p->#<sc_t> ); ", sc_name );
        if( has_ret ) st_s_push_fa(st,"return " );
        st_s_push_fa(st,"p->#<sc_t>( o->o", sc_name );
        BLM_TRY(xoico_args_s_expand_name(&(o->signature.args),host, false,((x_sink*)( st ))))
        st_s_push_fa(st," ); } };" );
    
        xoico_func_s* func = xoico_feature_s_push_func_from_sc(o,host, st->sc );
        func->declare_in_expand_forward = false;
    BLM_DOWN();}
    
    if( o->flag_r )
    {BLM_INIT_LEVEL(1);
        st_s* st = ((st_s*)BLM_LEVEL_T_PUSH(1,st_s,st_s_create()));
    
        st_s_push_fa(st,"bl_t r_defines_#<sc_t>( c sr_s* o ) ", sc_name );
        if( always_defined )
        {
            st_s_push_fa(st,"{ return true; };", sc_name );
        }
        else
        {
            st_s_push_fa(st,"{ verbatim_C{ return ( (#<sc_t>*)ch_spect_p( o->p, TYPEOF_#<sc_t> ) )->#<sc_t> != NULL; } };", sc_spect_name, sc_spect_name, sc_name );
        }
    
        xoico_func_s* func = xoico_feature_s_push_func_from_sc(o,host, st->sc );
        func->declare_in_expand_forward = false;
    BLM_DOWN();}
    
    if( o->st_default_func_name.size > 0 )
    {BLM_INIT_LEVEL(1);
        st_s* st = ((st_s*)BLM_LEVEL_T_PUSH(1,st_s,st_s_create()));
    
        if( o->signature.direct_return_arg )
        {
            st_s_push_fa(st,"#<sc_t>", xoico_compiler_s_nameof(compiler,o->signature.direct_return_arg->name ) );
        }
        else
        {
            st_s_push_fa(st,"#<sc_t>", sc_ret_typespec );
        }
    
        st_s_push_fa(st," #<sc_t>(", o->st_default_func_name.sc );
        st_s_push_fa(st,flag_const ? " c" : " m" );
        st_s_push_fa(st," #<sc_t>* o", sc_obj_type );
        BLM_TRY(xoico_args_s_expand_x(&(o->signature.args),host, false,((x_sink*)( st ))))
        st_s_push_fa(st," );" );
    
        xoico_func_s* func = xoico_feature_s_push_func_from_sc(o,host, st->sc );
        func->declare_in_expand_forward = false;
        if( o->default_body ) xoico_body_s_attach( &(func->body ),  ((xoico_body_s*)bcore_fork(o->default_body)));
    
        xoico_func_s* func_to_group = xoico_func_s_clone(func);
        xoico_body_s_attach( &(func_to_group->body ),  NULL);
        func_to_group->expandable = false;
        x_array_push_d(((x_array*)(&(o->funcs_return_to_group))),((x_inst*)(func_to_group )));
    BLM_DOWN();}
    
    BLM_RETURNV(er_t, 0)
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movabsq $-0x503db0e6e1c2e704, %r13 # imm = 0xAFC24F191E3D18FC
leaq 0x105ca8(%rip), %rax    # 0x117dd0
movq (%rax), %rsi
leaq 0x78(%rsp), %r12
movq %r12, %rdi
callq 0x717f5
andq $0x0, 0x10(%r12)
movq %r14, %rdi
callq 0xdab3
movq %rax, %rbp
leaq 0x8(%rbx), %r15
movq 0x10(%rbx), %rsi
movq %rax, %rdi
callq 0xdad8
movq %rax, 0x18(%rsp)
movq %r14, %rdi
callq 0xe8a0
movq %rbp, 0x40(%rsp)
movq %rbp, %rdi
movq %rax, %rsi
callq 0xdad8
movq %rax, 0x30(%rsp)
movq %r14, %rdi
callq 0x2d67b
movq %r14, %rdi
callq *0x38(%rax)
movq %r12, %rdi
xorl %esi, %esi
movq %r13, %rdx
movq %rax, %rcx
callq 0x71967
movq 0x8(%rax), %rax
movq %rax, 0x20(%rsp)
xorl %eax, %eax
callq 0x8eb65
movq %r12, %rdi
xorl %esi, %esi
movq %r13, %rdx
movq %rax, %rcx
callq 0x71967
movq %rax, %r12
movq %r15, %rdi
callq 0x12db3
movb %al, 0xf(%rsp)
movq %r15, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0xfa59
movq 0x58(%rbx), %rax
movb $0x1, 0xe(%rsp)
cmpb $0x0, 0x110(%rbx)
jne 0x121ff
cmpq $0x0, 0x108(%rbx)
jne 0x121ff
cmpq $0x0, 0xf8(%rbx)
setne 0xe(%rsp)
movq 0x8(%r12), %rbp
movq 0x30(%rax), %rax
movq %rax, 0x28(%rsp)
movb 0x113(%rbx), %al
leaq 0x48(%rsp), %r13
cmpb $0x1, %al
jne 0x123dd
movq %r13, 0x10(%rsp)
leaq 0x78(%rsp), %rsi
movq %r13, %rdi
callq 0x717f5
movq 0x10(%rsp), %r15
movq $0x1, 0x10(%r15)
xorl %eax, %eax
callq 0x8eb65
pushq $0x1
popq %rsi
movq %r15, %rdi
movabsq $-0x503db0e6e1c2e704, %rdx # imm = 0xAFC24F191E3D18FC
movq %rax, %rcx
callq 0x71967
movq %rax, %r12
leaq 0x98739(%rip), %rsi     # 0xaa9a1
movq %rax, %rdi
movq %rbp, %rdx
movq 0x18(%rsp), %r13
movq %r13, %rcx
xorl %eax, %eax
callq 0x8f4ef
movq 0x28(%rsp), %rdx
movabsq $-0x12e90733f18038df, %rax # imm = 0xED16F8CC0E7FC721
cmpq %rax, %rdx
leaq 0x9cf0e(%rip), %rax     # 0xaf1a4
leaq 0x98a7d(%rip), %rcx     # 0xaad1a
cmoveq %rax, %rcx
movabsq $0x65c9718e19e3df34, %rax # imm = 0x65C9718E19E3DF34
cmpq %rax, %rdx
leaq 0x98a62(%rip), %rsi     # 0xaad17
cmovneq %rcx, %rsi
movq %r12, %rdi
xorl %eax, %eax
callq 0x8f4ef
leaq 0x986eb(%rip), %rsi     # 0xaa9b5
movq %r12, %rdi
xorl %eax, %eax
callq 0x8f4ef
leaq 0x60(%rbx), %r15
movq %r15, %rdi
movq %r14, %rsi
xorl %edx, %edx
movq %r12, %rcx
callq 0xf7c9
leaq 0x986cc(%rip), %rsi     # 0xaa9bb
movq %r12, %rdi
xorl %eax, %eax
callq 0x8f4ef
leaq 0x986cc(%rip), %rsi     # 0xaa9cc
movq %r12, %rdi
movq 0x20(%rsp), %rcx
movq %rcx, %rdx
xorl %eax, %eax
callq 0x8f4ef
leaq 0x986df(%rip), %rsi     # 0xaa9f8
movq %r12, %rdi
movq %r13, %rdx
xorl %eax, %eax
callq 0x8f4ef
cmpb $0x0, 0xf(%rsp)
je 0x1233e
leaq 0x986db(%rip), %rsi     # 0xaaa0f
movq %r12, %rdi
xorl %eax, %eax
callq 0x8f4ef
leaq 0x986d2(%rip), %rsi     # 0xaaa17
xorl %r13d, %r13d
movq %r12, %rdi
movq 0x18(%rsp), %rdx
xorl %eax, %eax
callq 0x8f4ef
movq %r15, %rdi
movq %r14, %rsi
xorl %edx, %edx
movq %r12, %rcx
callq 0xf831
leaq 0x986b7(%rip), %rsi     # 0xaaa25
movq %r12, %rdi
xorl %eax, %eax
callq 0x8f4ef
movq 0x8(%r12), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x12d9a
movb %r13b, 0x2a(%rax)
movq %rax, %rdi
callq 0x10edc
movq %rax, %r15
leaq 0x38(%rax), %rdi
xorl %esi, %esi
callq 0x12dd6
movq %r15, %rdi
movq %r14, %rsi
callq 0x11003
movq 0x10(%rbx), %rax
movq %rax, 0x8(%r15)
movb %r13b, 0x28(%r15)
leaq 0xc0(%rbx), %rdi
movq %r15, %rsi
callq 0xf6dd
leaq 0x10(%rsp), %rdi
callq 0x71b48
movb 0x113(%rbx), %al
leaq 0x48(%rsp), %r13
testb $0x1, %al
je 0x124be
movq %r13, 0x10(%rsp)
leaq 0x78(%rsp), %rsi
movq %r13, %rdi
callq 0x717f5
movq 0x10(%rsp), %r15
movq $0x1, 0x10(%r15)
xorl %eax, %eax
callq 0x8eb65
pushq $0x1
popq %rsi
movq %r15, %rdi
movabsq $-0x503db0e6e1c2e704, %rdx # imm = 0xAFC24F191E3D18FC
movq %rax, %rcx
callq 0x71967
movq %rax, %r15
leaq 0x98601(%rip), %rsi     # 0xaaa2e
movq %rax, %rdi
movq 0x18(%rsp), %r12
movq %r12, %rdx
xorl %eax, %eax
callq 0x8f4ef
cmpb $0x0, 0xe(%rsp)
je 0x1245c
leaq 0x98601(%rip), %rsi     # 0xaaa4e
movq %r15, %rdi
movq %r12, %rdx
xorl %eax, %eax
callq 0x8f4ef
jmp 0x12475
leaq 0x985fd(%rip), %rsi     # 0xaaa60
movq %r15, %rdi
movq 0x20(%rsp), %rdx
movq %r12, %rcx
xorl %eax, %eax
callq 0x8f4ef
movq 0x8(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x12d9a
xorl %r12d, %r12d
movb %r12b, 0x2a(%rax)
movq %rax, %rdi
callq 0x10edc
movq %rax, %r15
leaq 0x38(%rax), %rdi
xorl %esi, %esi
callq 0x12dd6
movb %r12b, 0x28(%r15)
leaq 0xc0(%rbx), %rdi
movq %r15, %rsi
callq 0xf6dd
leaq 0x10(%rsp), %rdi
callq 0x71b48
movb 0x112(%rbx), %al
cmpb $0x1, %al
jne 0x12688
movq %r13, 0x10(%rsp)
leaq 0x78(%rsp), %rsi
movq %r13, %rdi
callq 0x717f5
movq 0x10(%rsp), %r15
movq $0x1, 0x10(%r15)
xorl %eax, %eax
callq 0x8eb65
pushq $0x1
popq %rsi
movq %r15, %rdi
movabsq $-0x503db0e6e1c2e704, %rdx # imm = 0xAFC24F191E3D18FC
movq %rax, %rcx
callq 0x71967
movq %rax, %r12
leaq 0x98590(%rip), %rsi     # 0xaaaa4
movq %rax, %rdi
movq %rbp, 0x38(%rsp)
movq %rbp, %rdx
movq 0x18(%rsp), %rbp
movq %rbp, %rcx
xorl %eax, %eax
callq 0x8f4ef
movq 0x28(%rsp), %rdx
movabsq $-0x12e90733f18038df, %rax # imm = 0xED16F8CC0E7FC721
cmpq %rax, %rdx
leaq 0x9cc5d(%rip), %rax     # 0xaf1a4
leaq 0x987cc(%rip), %rcx     # 0xaad1a
cmoveq %rax, %rcx
movq %rdx, %rax
movabsq $0x65c9718e19e3df34, %rdx # imm = 0x65C9718E19E3DF34
cmpq %rdx, %rax
leaq 0x987ae(%rip), %rsi     # 0xaad17
cmovneq %rcx, %rsi
movq %r12, %rdi
xorl %eax, %eax
callq 0x8f4ef
leaq 0x9853a(%rip), %rsi     # 0xaaab8
movq %r12, %rdi
movq 0x30(%rsp), %rdx
xorl %eax, %eax
callq 0x8f4ef
leaq 0x60(%rbx), %r15
movq %r15, %rdi
movq %r14, %rsi
xorl %edx, %edx
movq %r12, %rcx
callq 0xf7c9
leaq 0x98413(%rip), %rsi     # 0xaa9bb
movq %r12, %rdi
xorl %eax, %eax
callq 0x8f4ef
leaq 0x98513(%rip), %rsi     # 0xaaacc
movq %r12, %rdi
movq 0x20(%rsp), %rcx
movq %rcx, %rdx
xorl %eax, %eax
callq 0x8f4ef
leaq 0x98426(%rip), %rsi     # 0xaa9f8
movq %r12, %rdi
movq %rbp, %rdx
xorl %eax, %eax
callq 0x8f4ef
cmpb $0x0, 0xf(%rsp)
je 0x125f7
leaq 0x98422(%rip), %rsi     # 0xaaa0f
movq %r12, %rdi
xorl %eax, %eax
callq 0x8f4ef
leaq 0x98419(%rip), %rsi     # 0xaaa17
xorl %r13d, %r13d
movq %r12, %rdi
movq 0x18(%rsp), %rdx
xorl %eax, %eax
callq 0x8f4ef
movq %r15, %rdi
movq %r14, %rsi
xorl %edx, %edx
movq %r12, %rcx
callq 0xf831
leaq 0x983fe(%rip), %rsi     # 0xaaa25
movq %r12, %rdi
xorl %eax, %eax
callq 0x8f4ef
movq 0x8(%r12), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x12d9a
movb %r13b, 0x2a(%rax)
movq %rax, %rdi
callq 0x10edc
movq %rax, %r15
leaq 0x38(%rax), %rdi
xorl %esi, %esi
callq 0x12dd6
movb %r13b, 0x28(%r15)
leaq 0xc0(%rbx), %rdi
movq %r15, %rsi
callq 0xf6dd
leaq 0x10(%rsp), %rdi
callq 0x71b48
movb 0x112(%rbx), %al
movq 0x38(%rsp), %rbp
leaq 0x48(%rsp), %r13
testb $0x1, %al
je 0x12765
movq %r13, 0x10(%rsp)
leaq 0x78(%rsp), %rsi
movq %r13, %rdi
callq 0x717f5
movq $0x1, 0x58(%rsp)
xorl %eax, %eax
callq 0x8eb65
pushq $0x1
popq %rsi
movq %r13, %rdi
movabsq $-0x503db0e6e1c2e704, %rdx # imm = 0xAFC24F191E3D18FC
movq %rax, %rcx
callq 0x71967
movq %rax, %r15
leaq 0x98424(%rip), %rsi     # 0xaaaf8
movq %rax, %rdi
movq 0x18(%rsp), %r12
movq %r12, %rdx
xorl %eax, %eax
callq 0x8f4ef
cmpb $0x0, 0xe(%rsp)
je 0x12703
leaq 0x9835a(%rip), %rsi     # 0xaaa4e
movq %r15, %rdi
movq %r12, %rdx
xorl %eax, %eax
callq 0x8f4ef
jmp 0x1271c
leaq 0x98410(%rip), %rsi     # 0xaab1a
movq %r15, %rdi
movq 0x20(%rsp), %rdx
movq %r12, %rcx
xorl %eax, %eax
callq 0x8f4ef
movq 0x8(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x12d9a
xorl %r12d, %r12d
movb %r12b, 0x2a(%rax)
movq %rax, %rdi
callq 0x10edc
movq %rax, %r15
leaq 0x38(%rax), %rdi
xorl %esi, %esi
callq 0x12dd6
movb %r12b, 0x28(%r15)
leaq 0xc0(%rbx), %rdi
movq %r15, %rsi
callq 0xf6dd
leaq 0x10(%rsp), %rdi
callq 0x71b48
movb 0x111(%rbx), %al
cmpb $0x1, %al
jne 0x128de
movq %r13, 0x10(%rsp)
leaq 0x78(%rsp), %rsi
movq %r13, %rdi
callq 0x717f5
movq $0x1, 0x58(%rsp)
xorl %eax, %eax
callq 0x8eb65
pushq $0x1
popq %rsi
movq %r13, %rdi
movabsq $-0x503db0e6e1c2e704, %rdx # imm = 0xAFC24F191E3D18FC
movq %rax, %rcx
callq 0x71967
movq %rax, %r12
leaq 0x983a6(%rip), %rsi     # 0xaab5d
movq %rax, %rdi
movq %rbp, %rdx
movq 0x18(%rsp), %r13
movq %r13, %rcx
movq 0x20(%rsp), %r8
xorl %eax, %eax
callq 0x8f4ef
movq 0x28(%rsp), %rdx
movabsq $-0x12e90733f18038df, %rax # imm = 0xED16F8CC0E7FC721
cmpq %rax, %rdx
leaq 0x9c9ba(%rip), %rax     # 0xaf1a4
leaq 0x98529(%rip), %rcx     # 0xaad1a
cmoveq %rax, %rcx
movabsq $0x65c9718e19e3df34, %rax # imm = 0x65C9718E19E3DF34
cmpq %rax, %rdx
leaq 0x9850e(%rip), %rsi     # 0xaad17
cmovneq %rcx, %rsi
movq %r12, %rdi
xorl %eax, %eax
callq 0x8f4ef
leaq 0x98361(%rip), %rsi     # 0xaab7f
movq %r12, %rdi
movq 0x30(%rsp), %rdx
xorl %eax, %eax
callq 0x8f4ef
leaq 0x60(%rbx), %r15
movq %r15, %rdi
movq %r14, %rsi
xorl %edx, %edx
movq %r12, %rcx
callq 0xf7c9
leaq 0x98343(%rip), %rsi     # 0xaab8b
movq %r12, %rdi
xorl %eax, %eax
callq 0x8f4ef
leaq 0x9819f(%rip), %rsi     # 0xaa9f8
movq %r12, %rdi
movq %r13, %rdx
xorl %eax, %eax
callq 0x8f4ef
cmpb $0x0, 0xf(%rsp)
je 0x1287e
leaq 0x9819b(%rip), %rsi     # 0xaaa0f
movq %r12, %rdi
xorl %eax, %eax
callq 0x8f4ef
leaq 0x98192(%rip), %rsi     # 0xaaa17
movq %r12, %rdi
movq 0x18(%rsp), %rdx
xorl %eax, %eax
callq 0x8f4ef
movq %r15, %rdi
movq %r14, %rsi
xorl %edx, %edx
movq %r12, %rcx
callq 0xf831
leaq 0x9817a(%rip), %rsi     # 0xaaa25
movq %r12, %rdi
xorl %eax, %eax
callq 0x8f4ef
movq 0x8(%r12), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x12d9a
movb $0x0, 0x2a(%rax)
leaq 0x10(%rsp), %rdi
callq 0x71b48
movb 0x111(%rbx), %al
leaq 0x48(%rsp), %r13
testb $0x1, %al
je 0x12989
leaq 0x10(%rsp), %r15
movq %r13, (%r15)
leaq 0x78(%rsp), %rsi
movq %r13, %rdi
callq 0x717f5
movq $0x1, 0x58(%rsp)
xorl %eax, %eax
callq 0x8eb65
pushq $0x1
popq %rsi
movq %r13, %rdi
movabsq $-0x503db0e6e1c2e704, %rdx # imm = 0xAFC24F191E3D18FC
movq %rax, %rcx
callq 0x71967
movq %rax, %r12
leaq 0x98270(%rip), %rsi     # 0xaab9d
movq %rax, %rdi
movq 0x18(%rsp), %r13
movq %r13, %rdx
movq 0x20(%rsp), %rcx
xorl %eax, %eax
callq 0x8f4ef
leaq 0x98103(%rip), %rax     # 0xaaa4e
leaq 0x98273(%rip), %rsi     # 0xaabc5
cmpb $0x0, 0xe(%rsp)
cmovneq %rax, %rsi
movq %r12, %rdi
movq %r13, %rdx
leaq 0x48(%rsp), %r13
xorl %eax, %eax
callq 0x8f4ef
movq 0x8(%r12), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x12d9a
movb $0x0, 0x2a(%rax)
movq %r15, %rdi
callq 0x71b48
movb 0x114(%rbx), %al
cmpb $0x1, %al
jne 0x12aea
movq %r13, 0x10(%rsp)
leaq 0x78(%rsp), %rsi
movq %r13, %rdi
callq 0x717f5
movq $0x1, 0x58(%rsp)
xorl %eax, %eax
callq 0x8eb65
pushq $0x1
popq %rsi
movq %r13, %rdi
movabsq $-0x503db0e6e1c2e704, %rdx # imm = 0xAFC24F191E3D18FC
movq %rax, %rcx
callq 0x71967
movq %rax, %r12
leaq 0x98218(%rip), %rsi     # 0xaabf3
movq %rax, %rdi
movq %rbp, %rdx
movq 0x18(%rsp), %rcx
xorl %eax, %eax
callq 0x8f4ef
leaq 0x98212(%rip), %rsi     # 0xaac06
movq %r12, %rdi
xorl %eax, %eax
callq 0x8f4ef
leaq 0x60(%rbx), %r15
movq %r15, %rdi
movq %r14, %rsi
xorl %edx, %edx
movq %r12, %rcx
callq 0xf7c9
leaq 0x98172(%rip), %rsi     # 0xaab8b
movq %r12, %rdi
xorl %eax, %eax
callq 0x8f4ef
movabsq $0x65c9718e19e3df34, %rax # imm = 0x65C9718E19E3DF34
cmpq %rax, 0x28(%rsp)
je 0x12a45
leaq 0x981d6(%rip), %rsi     # 0xaac11
movq %r12, %rdi
xorl %eax, %eax
callq 0x8f4ef
leaq 0x981e5(%rip), %rsi     # 0xaac31
movq %r12, %rdi
movq 0x20(%rsp), %rcx
movq %rcx, %rdx
movq %rcx, %r8
xorl %eax, %eax
callq 0x8f4ef
leaq 0x97f90(%rip), %rsi     # 0xaa9f8
movq %r12, %rdi
movq 0x18(%rsp), %rdx
xorl %eax, %eax
callq 0x8f4ef
cmpb $0x0, 0xf(%rsp)
je 0x12a8f
leaq 0x97f8a(%rip), %rsi     # 0xaaa0f
movq %r12, %rdi
xorl %eax, %eax
callq 0x8f4ef
leaq 0x981e3(%rip), %rsi     # 0xaac79
movq %r12, %rdi
movq 0x18(%rsp), %rdx
xorl %eax, %eax
callq 0x8f4ef
movq %r15, %rdi
movq %r14, %rsi
xorl %edx, %edx
movq %r12, %rcx
callq 0xf831
leaq 0x97f69(%rip), %rsi     # 0xaaa25
movq %r12, %rdi
xorl %eax, %eax
callq 0x8f4ef
movq 0x8(%r12), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x12d9a
movb $0x0, 0x2a(%rax)
leaq 0x10(%rsp), %rdi
callq 0x71b48
movb 0x114(%rbx), %al
testb $0x1, %al
je 0x12b9e
movq %r13, 0x10(%rsp)
leaq 0x78(%rsp), %rsi
movq %r13, %rdi
callq 0x717f5
movq $0x1, 0x58(%rsp)
xorl %eax, %eax
callq 0x8eb65
pushq $0x1
popq %rsi
movq %r13, %rdi
movabsq $-0x503db0e6e1c2e704, %rdx # imm = 0xAFC24F191E3D18FC
movq %rax, %rcx
callq 0x71967
movq %rax, %r15
leaq 0x98154(%rip), %rsi     # 0xaac8a
movq %rax, %rdi
movq 0x18(%rsp), %r12
movq %r12, %rdx
xorl %eax, %eax
callq 0x8f4ef
cmpb $0x0, 0xe(%rsp)
je 0x12b65
leaq 0x97ef8(%rip), %rsi     # 0xaaa4e
movq %r15, %rdi
movq %r12, %rdx
xorl %eax, %eax
callq 0x8f4ef
jmp 0x12b81
leaq 0x98143(%rip), %rsi     # 0xaacaf
movq %r15, %rdi
movq 0x20(%rsp), %rcx
movq %rcx, %rdx
movq %r12, %r8
xorl %eax, %eax
callq 0x8f4ef
movq 0x8(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x12d9a
movb $0x0, 0x2a(%rax)
leaq 0x10(%rsp), %rdi
callq 0x71b48
cmpq $0x0, 0xf8(%rbx)
je 0x12d11
movq %r13, 0x10(%rsp)
leaq 0x78(%rsp), %rsi
movq %r13, %rdi
callq 0x717f5
movq $0x1, 0x58(%rsp)
xorl %eax, %eax
callq 0x8eb65
pushq $0x1
popq %rsi
movq %r13, %rdi
movabsq $-0x503db0e6e1c2e704, %rdx # imm = 0xAFC24F191E3D18FC
movq %rax, %rcx
callq 0x71967
movq %rax, %r15
movq 0x80(%rbx), %rax
testq %rax, %rax
je 0x12c12
movq 0x50(%rax), %rsi
movq 0x40(%rsp), %rdi
callq 0xdad8
leaq 0xafeff(%rip), %rsi     # 0xc2b09
movq %r15, %rdi
movq %rax, %rdx
jmp 0x12c1f
leaq 0xafef0(%rip), %rsi     # 0xc2b09
movq %r15, %rdi
movq %rbp, %rdx
xorl %eax, %eax
callq 0x8f4ef
movq 0xf0(%rbx), %rdx
leaq 0x980d8(%rip), %rsi     # 0xaad0c
movq %r15, %rdi
xorl %eax, %eax
callq 0x8f4ef
movabsq $0x65c9718e19e3df34, %rax # imm = 0x65C9718E19E3DF34
cmpq %rax, 0x28(%rsp)
leaq 0x980c2(%rip), %rax     # 0xaad16
leaq 0x980be(%rip), %rsi     # 0xaad19
cmoveq %rax, %rsi
movq %r15, %rdi
xorl %eax, %eax
callq 0x8f4ef
leaq 0x97f0f(%rip), %rsi     # 0xaab7f
movq %r15, %rdi
movq 0x30(%rsp), %rdx
xorl %eax, %eax
callq 0x8f4ef
leaq 0x60(%rbx), %rdi
movq %r14, %rsi
xorl %edx, %edx
movq %r15, %rcx
callq 0xf7c9
leaq 0xae898(%rip), %rsi     # 0xc152f
movq %r15, %rdi
xorl %eax, %eax
callq 0x8f4ef
movq 0x8(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x12d9a
movq %rax, %r14
movb $0x0, 0x2a(%rax)
movq 0x108(%rbx), %rdi
testq %rdi, %rdi
je 0x12cda
movq %r14, %r15
addq $0x38, %r15
callq 0x6026d
movq %r15, %rdi
movq %rax, %rsi
callq 0x12dd6
movq %r14, %rdi
callq 0x10edc
movq %rax, %r14
leaq 0x38(%rax), %rdi
xorl %esi, %esi
callq 0x12dd6
movb $0x0, 0x28(%r14)
addq $0xc0, %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0xf6dd
leaq 0x10(%rsp), %rdi
callq 0x71b48
leaq 0x78(%rsp), %rdi
callq 0x71b64
xorl %eax, %eax
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq