// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/xoico/src/xoico.xo.c
// Function: xoico_target_s_expand_c
er_t xoico_target_s_expand_c( const xoico_target_s* o, sz_t indent, x_sink* sink, tp_t* body_signature )
{
    // xoico_target.x:362:1
    BLM_INIT_LEVEL(0);
    st_s sink_buf;BLM_T_INIT_SPUSH(st_s, &sink_buf);;
    tp_t body_hash = bcore_tp_init();
    
    BLM_TRY(xoico_target_s_expand_update_time(o,indent, sink ))
    
    BLM_TRY(xoico_target_s_expand_heading(o,indent,((x_sink*)(&( sink_buf )))))
    
    st_s_push_fa(&(sink_buf),"\n" );
    st_s_push_fa(&(sink_buf),"#rn{ }##include \"#<sc_t>.h\"\n", indent, o->include_path.sc );
    st_s_push_fa(&(sink_buf),"#rn{ }##include \"bcore_spect.h\"\n", indent );
    st_s_push_fa(&(sink_buf),"#rn{ }##include \"bcore_spect_inst.h\"\n", indent );
    st_s_push_fa(&(sink_buf),"#rn{ }##include \"bcore_sr.h\"\n", indent );
    st_s_push_fa(&(sink_buf),"#rn{ }##include \"bcore_const_manager.h\"\n", indent );
    st_s_push_fa(&(sink_buf),"\n" );
    
    body_hash = bcore_tp_fold_sc( body_hash, sink_buf.sc );
    x_sink_push_data(sink,( vc_t )sink_buf.sc, sink_buf.size );
    st_s_clear(&(sink_buf));
    
    x_sink_push_fa(sink,"#rn{ }// To force a rebuild of this target by xoico, reset the hash key value below to 0.\n", indent );
    x_sink_push_fa(sink,"#rn{ }// HKEYOF_#<sc_t> 0x#pl16'0'{#X<tp_t>}ull\n", indent, o->name.sc, xoico_target_s_get_hash(o) );
    
    /// definition section
    {const xoico_target_s* __a=o ;if(__a)for(sz_t __i=0;__i<__a->size;__i++){xoico_source_s* e=__a->data[__i]; BLM_TRY(xoico_source_s_expand_definition(e,((const xoico_host*)(o)), indent,((x_sink*)(&( sink_buf )))))
    
    /// signal section
    }}st_s_push_fa(&(sink_buf),"\n" );
    st_s_push_fa(&(sink_buf),"#rn{ }/*#rn{*}*/\n", indent, sz_max( 0, 116 - indent ) );
    st_s_push_fa(&(sink_buf),"\n" );
    
    /// prototypes of signal handlers this target depends on
    {const bcore_arr_sz_s* __a=&(o->dependencies );if(__a)for(sz_t __i=0;__i<__a->size;__i++){sz_t target_idx=__a->data[__i];
    {
        const xoico_target_s* target = o->compiler->data[ target_idx ];
        if( target->signal_handler_name.size > 0 )
        {
            st_s_push_fa(&(sink_buf),"#rn{ }vd_t #<sc_t>( const bcore_signal_s* o );\n", indent, target->signal_handler_name.sc );
        }
    }
    
    }}st_s_push_fa(&(sink_buf),"\n" );
    st_s_push_fa(&(sink_buf),"#rn{ }vd_t #<sc_t>_#<sc_t>_signal_handler( const bcore_signal_s* o )\n", indent, o->name.sc, o->ext.sc );
    st_s_push_fa(&(sink_buf),"#rn{ }{\n", indent );
    st_s_push_fa(&(sink_buf),"#rn{ }    switch( bcore_signal_s_handle_type( o, typeof( \"#<sc_t>_#<sc_t>\" ) ) )\n", indent, o->name.sc, o->ext.sc );
    st_s_push_fa(&(sink_buf),"#rn{ }    {\n", indent );
    
    st_s_push_fa(&(sink_buf),"#rn{ }        case TYPEOF_init1:\n", indent );
    st_s_push_fa(&(sink_buf),"#rn{ }        {\n", indent );
    BLM_TRY(xoico_target_s_expand_init1(o,indent + 12,((x_sink*)(&( sink_buf )))))
    {const xoico_target_s* __a=o ;if(__a)for(sz_t __i=0;__i<__a->size;__i++){xoico_source_s* e=__a->data[__i]; BLM_TRY(xoico_source_s_expand_init1(e,((const xoico_host*)(o)), indent + 12,((x_sink*)(&( sink_buf )))))
    }}st_s_push_fa(&(sink_buf),"#rn{ }        }\n", indent );
    st_s_push_fa(&(sink_buf),"#rn{ }        break;\n", indent );
    
    st_s_push_fa(&(sink_buf),"#rn{ }        case TYPEOF_down1:\n", indent );
    st_s_push_fa(&(sink_buf),"#rn{ }        {\n", indent );
    BLM_TRY(xoico_target_s_expand_init1(o,indent + 12,((x_sink*)(&( sink_buf )))))
    {const xoico_target_s* __a=o ;if(__a)for(sz_t __i=0;__i<__a->size;__i++){xoico_source_s* e=__a->data[__i]; BLM_TRY(xoico_source_s_expand_down1(e,((const xoico_host*)(o)), indent + 12,((x_sink*)(&( sink_buf )))))
    }}st_s_push_fa(&(sink_buf),"#rn{ }        }\n", indent );
    st_s_push_fa(&(sink_buf),"#rn{ }        break;\n", indent );
    
    if( o->dependencies.size > 0 )
    {
        st_s_push_fa(&(sink_buf),"#rn{ }        case TYPEOF_push_dependencies:\n", indent );
        st_s_push_fa(&(sink_buf),"#rn{ }        {\n", indent );
        st_s_push_fa(&(sink_buf),"#rn{ }            ASSERT( o->object && ( *( aware_t* )o->object ) == TYPEOF_bcore_arr_fp_s );\n", indent );
        st_s_push_fa(&(sink_buf),"#rn{ }            bcore_arr_fp_s* arr_fp = o->object;\n", indent );
        {const bcore_arr_sz_s* __a=&(o->dependencies );if(__a)for(sz_t __i=0;__i<__a->size;__i++){sz_t target_idx=__a->data[__i];
        {
            const xoico_target_s* target = o->compiler->data[ target_idx ];
            if( target->signal_handler_name.size > 0 )
            {
                st_s_push_fa(&(sink_buf),"#rn{ }            bcore_arr_fp_s_push( arr_fp, ( fp_t )#<sc_t> );\n", indent, target->signal_handler_name.sc );
            }
        }
        }}st_s_push_fa(&(sink_buf),"#rn{ }        }\n", indent );
        st_s_push_fa(&(sink_buf),"#rn{ }        break;\n", indent );
    }
    
    st_s_push_fa(&(sink_buf),"#rn{ }        default: break;\n", indent );
    st_s_push_fa(&(sink_buf),"#rn{ }    }\n", indent );
    st_s_push_fa(&(sink_buf),"#rn{ }    return NULL;\n", indent );
    st_s_push_fa(&(sink_buf),"#rn{ }}\n", indent );
    
    if( o->define_signal_handler )
    {
        st_s_push_fa(&(sink_buf),"#rn{ }BETH_SIGNAL_DEFINE( #<sc_t> )\n", indent, o->name.sc );
    }
    
    if( o->main_function )
    {
        bl_t c_style = ( o->main_function->signature->args.size == 2 );
    
        st_s_push_fa(&(sink_buf),"\n" );
        st_s_push_fa(&(sink_buf),"#rn{ }int main( int argc, char** argv )\n", indent );
        st_s_push_fa(&(sink_buf),"#rn{ }{\n", indent );
        st_s_push_fa(&(sink_buf),"#rn{ }    BETH_USE( #<sc_t> );\n", indent, o->name.sc );
    
        if( c_style )
        {
            st_s_push_fa(&(sink_buf),"#rn{ }    int retv = #<sc_t>( argc, argv );\n", indent, xoico_compiler_s_nameof(o->compiler,o->main_function->global_name ) );
        }
        else
        {
            st_s_push_fa(&(sink_buf),"#rn{ }    bcore_arr_st_s* args = bcore_arr_st_s_create();\n", indent );
            st_s_push_fa(&(sink_buf),"#rn{ }    for( sz_t i = 0; i < argc; i++ ) bcore_arr_st_s_push_sc( args, argv[ i ] );\n", indent );
            st_s_push_fa(&(sink_buf),"#rn{ }    int retv = #<sc_t>( args );\n", indent, xoico_compiler_s_nameof(o->compiler,o->main_function->global_name ) );
            st_s_push_fa(&(sink_buf),"#rn{ }    bcore_arr_st_s_discard( args );\n", indent );
        }
    
        st_s_push_fa(&(sink_buf),"#rn{ }    BETH_CLOSEV( 0 );\n", indent );
        st_s_push_fa(&(sink_buf),"#rn{ }    return retv;\n", indent );
        st_s_push_fa(&(sink_buf),"#rn{ }}\n", indent );
    }
    
    body_hash = bcore_tp_fold_sc( body_hash, sink_buf.sc );
    x_sink_push_data(sink,( vc_t )sink_buf.sc, sink_buf.size );
    st_s_clear(&(sink_buf));
    
    x_sink_push_fa(sink,"// XOICO_BODY_SIGNATURE 0x#pl16'0'{#X<tp_t>}\n", body_hash );
    if( body_signature ) (*(body_signature)) = body_hash;
    
    BLM_RETURNV(er_t, 0)
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rcx, %r15
movq %rdx, %r14
movq %rsi, %rbp
movq %rdi, %r12
leaq 0x16d609(%rip), %rax    # 0x19bdd0
movq (%rax), %rsi
leaq 0x38(%rsp), %rbx
movq %rbx, %rdi
callq 0xd6675
movq $0x0, 0x10(%rbx)
leaq 0x8(%rsp), %r13
movq %r13, %rdi
callq 0x109030
movabsq $-0x503db0e6e1c2e704, %rsi # imm = 0xAFC24F191E3D18FC
movq %rbx, %rdi
movq %r13, %rdx
callq 0xd68d9
movq %r14, 0x28(%rsp)
movq %r14, %rdx
callq 0x2e00d
movq %r12, %rdi
movq %r13, %rdx
callq 0x2e0a0
leaq 0x119ef4(%rip), %rbx    # 0x148714
movq %r13, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq 0x10a8a5
movq 0x60(%r12), %rcx
leaq 0x100ea1(%rip), %rsi    # 0x12f6da
movq %r13, %rdi
movq %rbp, %rdx
xorl %eax, %eax
callq 0x10a8a5
leaq 0x100f53(%rip), %rsi    # 0x12f7a0
movq %r13, %rdi
movq %rbp, %rdx
xorl %eax, %eax
callq 0x10a8a5
leaq 0x100f60(%rip), %rsi    # 0x12f7c1
movq %r13, %rdi
movq %rbp, %rdx
xorl %eax, %eax
callq 0x10a8a5
leaq 0x100f72(%rip), %rsi    # 0x12f7e7
movq %r13, %rdi
movq %rbp, %rdx
xorl %eax, %eax
callq 0x10a8a5
leaq 0x100f7c(%rip), %rsi    # 0x12f805
movq %r13, %rdi
movq %rbp, (%rsp)
movq %rbp, %rdx
xorl %eax, %eax
callq 0x10a8a5
movq %r13, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq 0x10a8a5
movq 0x8(%r13), %r13
testq %r13, %r13
je 0x2e8e8
movabsq $-0x340d631b7bdddcdb, %rsi # imm = 0xCBF29CE484222325
movb (%r13), %dl
testb %dl, %dl
je 0x2e8f4
movabsq $0x100000001b3, %rax    # imm = 0x100000001B3
leaq 0x1(%r13), %rcx
movzbl %dl, %ebp
xorq %rsi, %rbp
imulq %rax, %rbp
movb (%rcx), %dl
incq %rcx
movq %rbp, %rsi
testb %dl, %dl
jne 0x2e8d0
jmp 0x2e8f7
movabsq $-0x509c42b379fe4821, %rbp # imm = 0xAF63BD4C8601B7DF
jmp 0x2e8f7
movq %rsi, %rbp
movq 0x18(%rsp), %rdx
movq 0x28(%rsp), %rax
movq (%rax), %rbx
leaq 0x16e1a5(%rip), %rsi    # 0x19cab0
movl (%rsi), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%rsi,%rax,8), %rcx
movq 0x18(%rsi,%rax,8), %rsi
andq %rbx, %rsi
shlq $0x4, %rsi
leaq (%rcx,%rsi), %rax
movq (%rcx,%rsi), %rsi
movl $0x8, %ecx
cmpq %rbx, %rsi
movq %r15, 0x30(%rsp)
je 0x2e965
movq 0x10(%rax), %rsi
movl $0x18, %ecx
cmpq %rbx, %rsi
je 0x2e965
movq 0x20(%rax), %rsi
movl $0x28, %ecx
cmpq %rbx, %rsi
je 0x2e965
movq 0x30(%rax), %rsi
movl $0x38, %ecx
cmpq %rbx, %rsi
jne 0x2e96e
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0x2e99b
movabsq $0x5ea8cabb93ff3b7e, %rdi # imm = 0x5EA8CABB93FF3B7E
movq %rbx, %rsi
movq %rdx, %r15
callq 0xe9bc5
movq %rax, %r14
leaq 0x16e123(%rip), %rdi    # 0x19cab0
movq %rbx, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r15, %rdx
movq 0x10(%r14), %rax
testq %rax, %rax
jne 0x2e9bd
leaq 0x10b78b(%rip), %rsi    # 0x13a136
movq %r14, %rdi
movq %rdx, %rbx
callq 0xeb49c
movq %rbx, %rdx
movq 0x10(%r14), %rax
movq 0x28(%rsp), %r14
movq %r14, %rdi
movq %r13, %rsi
callq *%rax
leaq 0x8(%rsp), %rdi
callq 0x10a41a
leaq 0x100e53(%rip), %rsi    # 0x12f82e
movq %r14, %rdi
movq (%rsp), %r13
movq %r13, %rdx
xorl %eax, %eax
callq 0xed3f
movq 0x10(%r12), %rbx
movq %r12, %rdi
callq 0x2d834
leaq 0x100e89(%rip), %rsi    # 0x12f889
movq %r14, %rdi
movq %r13, %rdx
movq %rbx, %rcx
movq %rax, %r8
xorl %eax, %eax
callq 0xed3f
cmpq $0x0, 0xa0(%r12)
je 0x2ea54
xorl %r13d, %r13d
leaq 0x8(%rsp), %r14
movq 0x98(%r12), %rax
movq (%rax,%r13,8), %rdi
movq (%rsp), %rdx
movq %r14, %rcx
callq 0x2c0d4
testq %rax, %rax
jne 0x2eed3
incq %r13
cmpq 0xa0(%r12), %r13
jb 0x2ea26
leaq 0x119cb9(%rip), %rbx    # 0x148714
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq 0x10a8a5
movl $0x74, %eax
movq (%rsp), %rdx
subq %rdx, %rax
testq %rax, %rax
movl $0x0, %ecx
cmovgq %rax, %rcx
leaq 0x10075f(%rip), %rsi    # 0x12f1eb
movq %r14, %rdi
xorl %eax, %eax
callq 0x10a8a5
movq %r14, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq 0x10a8a5
movq 0xe8(%r12), %rax
testq %rax, %rax
je 0x2eb0d
leaq 0x100e03(%rip), %rbx    # 0x12f8ba
leaq 0x8(%rsp), %r13
xorl %r14d, %r14d
movq 0xe0(%r12), %rcx
movq 0x138(%r12), %rdx
movq (%rcx,%r14,8), %rcx
movq 0x8(%rdx), %rdx
movq (%rdx,%rcx,8), %rcx
cmpq $0x0, 0xc0(%rcx)
je 0x2eb05
movq 0xb8(%rcx), %rcx
movq %r13, %rdi
movq %rbx, %rsi
movq (%rsp), %rdx
xorl %eax, %eax
callq 0x10a8a5
movq 0xe8(%r12), %rax
incq %r14
cmpq %rax, %r14
jb 0x2eabf
leaq 0x119c00(%rip), %rsi    # 0x148714
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
xorl %eax, %eax
callq 0x10a8a5
movq 0x10(%r12), %rcx
movq 0x30(%r12), %r8
leaq 0x100db6(%rip), %rsi    # 0x12f8ea
movq %rbx, %rdi
movq (%rsp), %r14
movq %r14, %rdx
xorl %eax, %eax
callq 0x10a8a5
leaq 0xff2c3(%rip), %rsi     # 0x12de0f
movq %rbx, %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0x10a8a5
movq 0x10(%r12), %rcx
movq 0x30(%r12), %r8
leaq 0x100dc6(%rip), %rsi    # 0x12f930
movq %rbx, %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0x10a8a5
leaq 0xff2b1(%rip), %rsi     # 0x12de2f
movq %rbx, %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0x10a8a5
leaq 0x100df0(%rip), %rsi    # 0x12f982
movq %rbx, %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0x10a8a5
leaq 0x100dfe(%rip), %rsi    # 0x12f9a4
movq %rbx, %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0x10a8a5
leaq 0xc(%r14), %r13
cmpq $0x0, 0xa0(%r12)
je 0x2ebf7
xorl %r15d, %r15d
leaq 0x8(%rsp), %r14
movq 0x98(%r12), %rax
movq (%rax,%r15,8), %rdi
movq %r13, %rdx
movq %r14, %rcx
callq 0x2c6ae
testq %rax, %rax
jne 0x2eed3
incq %r15
cmpq 0xa0(%r12), %r15
jb 0x2ebca
leaq 0x100db7(%rip), %rsi    # 0x12f9b5
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
movq (%rsp), %r15
movq %r15, %rdx
xorl %eax, %eax
callq 0x10a8a5
leaq 0x100dab(%rip), %rsi    # 0x12f9c6
movq %rbx, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x10a8a5
leaq 0x100dad(%rip), %rsi    # 0x12f9dc
movq %rbx, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x10a8a5
leaq 0x100d61(%rip), %rsi    # 0x12f9a4
movq %rbx, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x10a8a5
cmpq $0x0, 0xa0(%r12)
je 0x2ec87
xorl %r14d, %r14d
leaq 0x8(%rsp), %rbx
movq 0x98(%r12), %rax
movq (%rax,%r14,8), %rdi
movq %r13, %rdx
movq %rbx, %rcx
callq 0x2c77d
incq %r14
cmpq 0xa0(%r12), %r14
jb 0x2ec63
leaq 0x100d27(%rip), %rsi    # 0x12f9b5
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x10a8a5
leaq 0x100d1f(%rip), %rsi    # 0x12f9c6
movq %rbx, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x10a8a5
cmpq $0x0, 0xe8(%r12)
je 0x2edae
leaq 0x100d34(%rip), %rsi    # 0x12f9fe
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x10a8a5
leaq 0x100cc1(%rip), %rsi    # 0x12f9a4
movq %rbx, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x10a8a5
leaq 0x100d35(%rip), %rsi    # 0x12fa2c
movq %rbx, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x10a8a5
leaq 0x100d80(%rip), %rsi    # 0x12fa8b
movq %rbx, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x10a8a5
movq 0xe8(%r12), %rax
testq %rax, %rax
je 0x2ed81
leaq 0x100d96(%rip), %rbx    # 0x12fac2
leaq 0x8(%rsp), %r13
xorl %r14d, %r14d
movq 0xe0(%r12), %rcx
movq 0x138(%r12), %rdx
movq (%rcx,%r14,8), %rcx
movq 0x8(%rdx), %rdx
movq (%rdx,%rcx,8), %rcx
cmpq $0x0, 0xc0(%rcx)
je 0x2ed79
movq 0xb8(%rcx), %rcx
movq %r13, %rdi
movq %rbx, %rsi
movq %r15, %rdx
xorl %eax, %eax
callq 0x10a8a5
movq 0xe8(%r12), %rax
incq %r14
cmpq %rax, %r14
jb 0x2ed34
leaq 0x100c2d(%rip), %rsi    # 0x12f9b5
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x10a8a5
leaq 0x100c25(%rip), %rsi    # 0x12f9c6
movq %rbx, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x10a8a5
leaq 0x100d50(%rip), %rsi    # 0x12fb05
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x10a8a5
leaq 0xff11d(%rip), %rsi     # 0x12deeb
movq %rbx, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x10a8a5
leaq 0x100d42(%rip), %rsi    # 0x12fb24
movq %rbx, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x10a8a5
leaq 0xff118(%rip), %rsi     # 0x12df0e
movq %rbx, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x10a8a5
cmpb $0x1, 0xd0(%r12)
jne 0x2ee29
movq 0x10(%r12), %rcx
leaq 0x100d22(%rip), %rsi    # 0x12fb3c
leaq 0x8(%rsp), %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x10a8a5
movq 0x140(%r12), %rax
testq %rax, %rax
je 0x2ef8d
movq 0x40(%rax), %rax
movq 0x68(%rax), %r14
leaq 0x1198cb(%rip), %rsi    # 0x148714
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
xorl %eax, %eax
callq 0x10a8a5
leaq 0x100d02(%rip), %rsi    # 0x12fb61
movq %rbx, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x10a8a5
leaq 0xfef9c(%rip), %rsi     # 0x12de0f
movq %rbx, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x10a8a5
movq 0x10(%r12), %rcx
leaq 0x100cfe(%rip), %rsi    # 0x12fb8a
movq %rbx, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x10a8a5
cmpq $0x2, %r14
jne 0x2eedb
movq 0x138(%r12), %rdi
movq 0x140(%r12), %rax
movq 0x10(%rax), %rsi
callq 0xe3d7
leaq 0x100ceb(%rip), %rsi    # 0x12fbaa
leaq 0x8(%rsp), %rdi
movq %r15, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x10a8a5
jmp 0x2ef4c
movq %rax, %rbx
jmp 0x2f0ca
leaq 0x100cf5(%rip), %rsi    # 0x12fbd7
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x10a8a5
leaq 0x100d17(%rip), %rsi    # 0x12fc12
movq %rbx, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x10a8a5
movq 0x138(%r12), %rdi
movq 0x140(%r12), %rax
movq 0x10(%rax), %rsi
callq 0xe3d7
leaq 0x100d41(%rip), %rsi    # 0x12fc69
movq %rbx, %rdi
movq %r15, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x10a8a5
leaq 0x100d51(%rip), %rsi    # 0x12fc90
movq %rbx, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x10a8a5
leaq 0x100d68(%rip), %rsi    # 0x12fcbb
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x10a8a5
leaq 0x100d6c(%rip), %rsi    # 0x12fcd8
movq %rbx, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x10a8a5
leaq 0xfef8e(%rip), %rsi     # 0x12df0e
movq %rbx, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x10a8a5
movq 0x10(%rsp), %r15
testq %r15, %r15
je 0x2efc5
movb (%r15), %dl
testb %dl, %dl
je 0x2efd3
movabsq $0x100000001b3, %rax    # imm = 0x100000001B3
leaq 0x1(%r15), %rcx
movzbl %dl, %r12d
xorq %rbp, %r12
imulq %rax, %r12
movb (%rcx), %dl
incq %rcx
movq %r12, %rbp
testb %dl, %dl
jne 0x2efac
jmp 0x2efd6
movabsq $0x100000001b3, %rax    # imm = 0x100000001B3
imulq %rax, %rbp
movq %rbp, %r12
movq 0x18(%rsp), %r13
movq 0x28(%rsp), %rax
movq (%rax), %rbx
leaq 0x16dac6(%rip), %rdx    # 0x19cab0
movl (%rdx), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%rdx,%rax,8), %rcx
movq 0x18(%rdx,%rax,8), %rdx
andq %rbx, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %rbx, %rdx
je 0x2f03f
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbx, %rdx
je 0x2f03f
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbx, %rdx
je 0x2f03f
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbx, %rdx
jne 0x2f048
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0x2f06f
movabsq $0x5ea8cabb93ff3b7e, %rdi # imm = 0x5EA8CABB93FF3B7E
movq %rbx, %rsi
callq 0xe9bc5
movq %rax, %r14
leaq 0x16da4c(%rip), %rdi    # 0x19cab0
movq %rbx, %rsi
movq %rax, %rdx
callq 0x115fac
movq 0x10(%r14), %rax
testq %rax, %rax
jne 0x2f08b
leaq 0x10b0b7(%rip), %rsi    # 0x13a136
movq %r14, %rdi
callq 0xeb49c
movq 0x10(%r14), %rax
movq 0x28(%rsp), %r14
movq %r14, %rdi
movq %r15, %rsi
movq %r13, %rdx
callq *%rax
leaq 0x8(%rsp), %rdi
callq 0x10a41a
leaq 0x1006c6(%rip), %rsi    # 0x12f772
xorl %ebx, %ebx
movq %r14, %rdi
movq %r12, %rdx
xorl %eax, %eax
callq 0xed3f
movq 0x30(%rsp), %rax
testq %rax, %rax
je 0x2f0ca
movq %r12, (%rax)
xorl %ebx, %ebx
leaq 0x38(%rsp), %rdi
callq 0xd6d2c
movq %rbx, %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq