// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/xoico/src/xoico.xo.c
// Function: xoico_che_s_trans_control_foreach
er_t xoico_che_s_trans_control_foreach( xoico_che_s* o, x_source* source, xoico_che_result* result )
{
    // xoico_che_control.x:109:1
    BLM_INIT_LEVEL(0);
    xoico_che_s_inc_block(o);
    BLM_TRY(x_source_parse_fa(source,"foreach ( " ))
    
    xoico_typespec_s* typespec_var = ((xoico_typespec_s*)BLM_LEVEL_T_PUSH(0,xoico_typespec_s,xoico_typespec_s_create() ));
    BLM_TRY(xoico_che_s_take_typespec(o,source, typespec_var, true ))
    
    tp_t tp_var_name = 0;
    
    if( x_source_parse_bl(source,"#?(([0]>='A'&&[0]<='Z')||([0]>='a'&&[0]<='z')||[0]=='_')" ) )
    {
        tp_var_name = xoico_che_s_get_identifier(o,source, true );
    }
    else
    {
        BLM_RETURNV(er_t, x_source_parse_error_fa(source,"Variable name expected." ))
    }
    
    BLM_TRY(x_source_parse_fa(source," in " ))
    
    xoico_typespec_s* typespec_arr_expr = ((xoico_typespec_s*)BLM_LEVEL_T_PUSH(0,xoico_typespec_s,xoico_typespec_s_create()));
    xoico_che_result_arr_s* result_arr_expr = ((xoico_che_result_arr_s*)BLM_LEVEL_T_PUSH(0,xoico_che_result_arr_s,xoico_che_result_arr_s_create()));
    BLM_TRY(xoico_che_s_trans_expression(o,source,((xoico_che_result*)( result_arr_expr)), typespec_arr_expr ))
    
    if( !typespec_arr_expr->type )
    {
        BLM_RETURNV(er_t, x_source_parse_error_fa(source,"Array expression not tractable." ))
    }
    
    xoico_compiler_element_info_s* array_element_info = ((xoico_compiler_element_info_s*)BLM_LEVEL_T_PUSH(0,xoico_compiler_element_info_s,xoico_compiler_element_info_s_create()));
    
    if( !xoico_compiler_s_get_type_array_element_info(o->compiler,typespec_arr_expr->type, array_element_info ) )
    {
        BLM_RETURNV(er_t, x_source_parse_error_fa(source,"Expression does not evaluate to an array." ))
    }
    
    const xoico_typespec_s* typespec_array_element =&( array_element_info->type_info.typespec);
    xoico_typespec_s* typespec_access_element = ((xoico_typespec_s*)BLM_LEVEL_T_PUSH(0,xoico_typespec_s,xoico_typespec_s_create()));
    
    xoico_che_result* result_element_expr = ((xoico_che_result*)BLM_LEVEL_A_PUSH(0,xoico_che_result_create_from_sc("__a->data[__i]" )));
    
    /// sub-element
    if( x_source_parse_bl(source," #=?'..'" ) )
    {
        BLM_TRY(x_source_parse_fa(source,"." ))
        BLM_TRY(xoico_che_s_trans_typespec_expression(o,source, result_element_expr, typespec_array_element, typespec_access_element ))
    }
    else
    {
        xoico_typespec_s_copy(typespec_access_element,typespec_array_element );
    }
    
    if( typespec_var->type == ((tp_t)(TYPEOF_type_deduce)) ) typespec_var->type = typespec_access_element->type;
    
    xoico_che_result* condition_expr = NULL;
    
    xoico_typespec_s* typespec_arr = ((xoico_typespec_s*)BLM_LEVEL_T_PUSH(0,xoico_typespec_s,xoico_typespec_s_clone(typespec_arr_expr) ));
    typespec_arr->indirection = 1;
    typespec_arr->access_class = TYPEOF_const;
    
    xoico_typespec_s* typespec_idx = ((xoico_typespec_s*)BLM_LEVEL_T_PUSH(0,xoico_typespec_s,xoico_typespec_s_create() ));
    typespec_idx->type = ((tp_t)(TYPEOF_sz_t));
    
    xoico_che_s_push_typedecl(o,typespec_var, tp_var_name );
    xoico_che_s_push_typedecl(o,typespec_arr, xoico_che_s_entypeof(o,"__a" ) );
    xoico_che_s_push_typedecl(o,typespec_idx, xoico_che_s_entypeof(o,"__i" ) );
    
    /// condition
    if( x_source_parse_bl(source," #=?';'" ) )
    {
        BLM_TRY(x_source_parse_fa(source," ; " ))
        condition_expr =((xoico_che_result*)( ((xoico_che_result_arr_s*)BLM_LEVEL_T_PUSH(0,xoico_che_result_arr_s,xoico_che_result_arr_s_create()))));
        BLM_TRY(xoico_che_s_trans_expression(o,source, condition_expr, NULL ))
    }
    
    BLM_TRY(x_source_parse_fa(source," )" ))
    
    xoico_che_result_arr_s* result_statement = ((xoico_che_result_arr_s*)BLM_LEVEL_T_PUSH(0,xoico_che_result_arr_s,xoico_che_result_arr_s_create()));
    xoico_che_s_inc_block(o);
    xoico_che_s_stack_block_get_top_unit(o)->break_ledge = true;
    if( x_source_parse_bl(source,"#=?'{'" ) )
    {
        BLM_TRY(xoico_che_s_trans_block(o,source,((xoico_che_result*)( result_statement)), false ))
    }
    else
    {
        BLM_TRY(xoico_che_s_trans_statement_as_block(o,source,((xoico_che_result*)( result_statement)), false ))
    }
    xoico_che_s_dec_block(o);
    
    BLM_TRY(xoico_che_result_push_fa(result,"{" ))
    xoico_che_result_blm_init_s* blm_init = xoico_che_result_blm_init_s__(xoico_che_result_blm_init_s_create(),o->block_level );
    xoico_che_result_a_push_result_d(result,((xoico_che_result*)(blm_init )));
    
    BLM_TRY(xoico_che_s_push_typespec(o,typespec_arr, result ))
    
    BLM_TRY(xoico_che_result_push_fa(result," __a=" ))
    BLM_TRY(xoico_che_s_adapt_expression(o,source, typespec_arr_expr, typespec_arr,((const xoico_che_result*)( result_arr_expr)), result ))
    BLM_TRY(xoico_che_result_push_fa(result,";" ))
    
    BLM_TRY(xoico_che_result_push_fa(result,"if(__a)for(sz_t __i=0;__i<__a->size;__i++){" ))
    BLM_TRY(xoico_che_s_push_typespec(o,typespec_var, result ))
    BLM_TRY(xoico_che_result_push_fa(result," #<sc_t>=", xoico_che_s_nameof( o,tp_var_name ) ))
    
    BLM_TRY(xoico_che_s_adapt_expression(o,source, typespec_access_element, typespec_var, result_element_expr, result ))
    BLM_TRY(xoico_che_result_push_fa(result,";" ))
    
    if( condition_expr )
    {
        BLM_TRY(xoico_che_result_a_push_sc(result,"if(" ))
        xoico_che_result_a_push_result_d(result,((xoico_che_result*)bcore_fork(condition_expr)) );
        BLM_TRY(xoico_che_result_a_push_sc(result,"){" ))
        xoico_che_result_a_push_result_d(result,((xoico_che_result*)(((xoico_che_result_arr_s*)bcore_fork(result_statement)) )));
        BLM_TRY(xoico_che_result_a_push_sc(result,"}" ))
    }
    else
    {
        xoico_che_result_a_push_result_d(result,((xoico_che_result*)(((xoico_che_result_arr_s*)bcore_fork(result_statement)) )));
    }
    
    BLM_TRY(xoico_che_result_push_fa(result,"}" ))
    
    xoico_che_result_blm_down_s* blm_down = xoico_che_result_blm_down_s_create();
    
    if( !xoico_che_s_stack_block_get_top_unit(o)->use_blm )
    {
        xoico_che_result_blm_init_s_deactivate(blm_init);
        xoico_che_result_blm_down_s_deactivate(blm_down);
    }
    
    xoico_che_result_a_push_result_d(result,((xoico_che_result*)(blm_down )));
    BLM_TRY(xoico_che_result_push_fa(result,"}" ))
    xoico_che_s_dec_block(o);
    BLM_RETURNV(er_t, 0)
}

er_t xoico_che_s_trans_control_if( xoico_che_s* o, x_source* source, xoico_che_result* result )
{
    // xoico_che_control.x:248:1
    
    BLM_TRY(xoico_che_s_trans(o,source, "if", result ))
    BLM_TRY(xoico_che_s_trans_whitespace(o,source, result ))
    BLM_TRY(xoico_che_s_trans(o,source, "(", result ))
    BLM_TRY(xoico_che_s_trans_expression(o,source, result, NULL )) // def
    BLM_TRY(xoico_che_s_trans(o,source, ")", result ))
    BLM_TRY(xoico_che_s_trans_whitespace(o,source, result ))
    if( x_source_parse_bl(source,"#=?'{'" ) )
    {
        BLM_TRY(xoico_che_s_trans_block(o,source, result, false ))
    }
    else
    {
        BLM_TRY(xoico_che_s_trans_statement_as_block(o,source, result, false ))
    }
    return  0;
}

er_t xoico_che_s_trans_control_while( xoico_che_s* o, x_source* source, xoico_che_result* result )
{
    // xoico_che_control.x:269:1
    
    BLM_TRY(xoico_che_s_trans(o,source, "while", result ))
    BLM_TRY(xoico_che_s_trans_whitespace(o,source, result ))
    BLM_TRY(xoico_che_s_trans(o,source, "(", result ))
    BLM_TRY(xoico_che_s_trans_expression(o,source, result, NULL )) // def
    BLM_TRY(xoico_che_s_trans(o,source, ")", result ))
    BLM_TRY(xoico_che_s_trans_whitespace(o,source, result ))
    if( x_source_parse_bl(source,"#=?'{'" ) )
    {
        BLM_TRY(xoico_che_s_trans_block(o,source, result, true ))
    }
    else
    {
        BLM_TRY(xoico_che_s_trans_statement_as_block(o,source, result, true ))
    }
    return  0;
}

er_t xoico_che_s_trans_control_do( xoico_che_s* o, x_source* source, xoico_che_result* result )
{
    // xoico_che_control.x:290:1
    
    BLM_TRY(xoico_che_s_trans(o,source, "do", result ))
    BLM_TRY(xoico_che_s_trans_whitespace(o,source, result ))
    if( x_source_parse_bl(source,"#=?'{'" ) )
    {
        BLM_TRY(xoico_che_s_trans_block(o,source, result, true ))
    }
    else
    {
        BLM_TRY(xoico_che_s_trans_statement_as_block(o,source, result, true ))
    }
    BLM_TRY(xoico_che_s_trans(o,source, "while", result ))
    BLM_TRY(xoico_che_s_trans_whitespace(o,source, result ))
    BLM_TRY(xoico_che_s_trans(o,source, "(", result ))
    BLM_TRY(xoico_che_s_trans_expression(o,source, result, NULL )) // def
    BLM_TRY(xoico_che_s_trans(o,source, ")", result ))
    BLM_TRY(xoico_che_s_trans_whitespace(o,source, result ))
    BLM_TRY(xoico_che_s_trans(o,source, ";", result ))
    return  0;
}

er_t xoico_che_s_trans_control_else( xoico_che_s* o, x_source* source, xoico_che_result* result )
{
    // xoico_che_control.x:314:1
    
    BLM_TRY(xoico_che_s_trans(o,source, "else", result ))
    BLM_TRY(xoico_che_s_trans_whitespace(o,source, result ))
    if( x_source_parse_bl(source,"#=?'{'" ) )
    {
        BLM_TRY(xoico_che_s_trans_block(o,source, result, false ))
    }
    else
    {
        BLM_TRY(xoico_che_s_trans_statement_as_block(o,source, result, false ))
    }
    return  0;
}

er_t xoico_che_s_trans_control_switch( xoico_che_s* o, x_source* source, xoico_che_result* result )
{
    // xoico_che_control.x:331:1
    
    BLM_TRY(xoico_che_s_trans(o,source, "switch", result ))
    BLM_TRY(xoico_che_s_trans_whitespace(o,source, result ))
    BLM_TRY(xoico_che_s_trans(o,source, "(", result ))
    BLM_TRY(xoico_che_s_trans_expression(o,source, result, NULL )) // def
    BLM_TRY(xoico_che_s_trans(o,source, ")", result ))
    BLM_TRY(xoico_che_s_trans_whitespace(o,source, result ))
    BLM_TRY(xoico_che_s_trans_block(o,source, result, true ))
    return  0;
}

er_t xoico_che_s_trans_control_case( xoico_che_s* o, x_source* source, xoico_che_result* result )
{
    // xoico_che_control.x:345:1
    
    BLM_TRY(xoico_che_s_trans(o,source, "case", result ))
    BLM_TRY(xoico_che_s_trans_expression(o,source, result, NULL ))
    BLM_TRY(xoico_che_s_trans_whitespace(o,source, result ))
    BLM_TRY(xoico_che_s_trans(o,source, ":", result ))
    BLM_TRY(xoico_che_s_trans_whitespace(o,source, result ))
    BLM_TRY(xoico_che_s_trans_statement_as_block(o,source, result, false ))
    return  0;
}

er_t xoico_che_s_trans_control_default( xoico_che_s* o, x_source* source, xoico_che_result* result )
{
    // xoico_che_control.x:358:1
    
    BLM_TRY(xoico_che_s_trans(o,source, "default", result ))
    BLM_TRY(xoico_che_s_trans_whitespace(o,source, result ))
    BLM_TRY(xoico_che_s_trans(o,source, ":", result ))
    BLM_TRY(xoico_che_s_trans_whitespace(o,source, result ))
    BLM_TRY(xoico_che_s_trans_statement_as_block(o,source, result, false ))
    return  0;
}

er_t xoico_che_s_trans_control_break( xoico_che_s* o, x_source* source, xoico_che_result* result )
{
    // xoico_che_control.x:370:1
    
    BLM_TRY(x_source_parse_fa(source,"break ;" ))
    
    sz_t ledge_level = -1;
    bl_t use_blm = false;
    
    for(sz_t i = o->stack_block.adl.size - 1; i >= 0; i-- )
    {
        const xoico_che_stack_block_unit_s* unit = o->stack_block.adl.data[ i ];
        use_blm = use_blm || unit->use_blm;
        if( unit->break_ledge )
        {
            ledge_level = unit->level;
            break;
        }
    }
    
    if( ledge_level == -1 ) return  x_source_parse_error_fa(source,"'break' has no ledge." );
    
    xoico_che_result_a_push_result_d(result,((xoico_che_result*)(xoico_che_result_break_s__(xoico_che_result_break_s_create(),ledge_level ) )));
    
    return  0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdx, %r13
movq %rsi, %r12
movq %rdi, %rbx
leaq 0x15f43f(%rip), %rax    # 0x1a8dd0
movq (%rax), %rsi
leaq 0x10(%rsp), %r14
movq %r14, %rdi
callq 0xe0431
movq $0x0, 0x10(%r14)
movq %rbx, %rdi
callq 0x34297
leaq 0xf2fce(%rip), %rsi     # 0x13c986
movq %r12, %rdi
xorl %eax, %eax
callq 0xda10
movq %rax, %r15
testq %rax, %rax
je 0x499d6
leaq 0x10(%rsp), %rdi
callq 0xe0b30
jmp 0x49a29
movabsq $-0x641110359430e9c5, %rbp # imm = 0x9BEEEFCA6BCF163B
callq 0x10060
leaq 0x10(%rsp), %rdi
xorl %esi, %esi
movq %rbp, %rdx
movq %rax, %rcx
callq 0xe0676
movq %rbx, %rdi
movq %r12, %rsi
movq %rax, 0x40(%rsp)
movq %rax, %rdx
movl $0x1, %ecx
callq 0x3bd09
movq %rax, %r14
testq %rax, %rax
je 0x49a24
leaq 0x10(%rsp), %rdi
callq 0xe0b30
movq %r14, %r15
testq %r14, %r14
je 0x49a3e
movq %r15, %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r13, 0x8(%rsp)
movq (%r12), %r13
leaq 0x16027a(%rip), %rax    # 0x1a9cc8
movl (%rax), %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x20(%rax,%rcx,8), %rdx
movq 0x18(%rax,%rcx,8), %rcx
andq %r13, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %r13, %rdx
je 0x49aa8
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r13, %rdx
je 0x49aa8
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r13, %rdx
je 0x49aa8
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r13, %rdx
jne 0x49cd6
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0x49ad8
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r13, %rsi
callq 0xf3f85
movq %rax, %r14
leaq 0x1601fb(%rip), %rdi    # 0x1a9cc8
movq %r13, %rsi
movq %rax, %rdx
callq 0x12128c
leaq 0xf9ea1(%rip), %rdx     # 0x143980
movq %r14, %rdi
movq %r12, %rsi
callq 0x10aa16
testb %al, %al
je 0x49cbd
movq %rbx, %rdi
movq %r12, %rsi
movl $0x1, %edx
callq 0x34cab
movq %rax, %r13
leaq 0xf2e85(%rip), %rsi     # 0x13c991
movq %r12, %rdi
xorl %eax, %eax
callq 0xda10
movq %rax, %r14
testq %rax, %rax
je 0x49b2b
leaq 0x10(%rsp), %rdi
callq 0xe0b30
movq %r14, %r15
testq %r14, %r14
jne 0x49a29
movq %r13, 0x70(%rsp)
callq 0x10060
leaq 0x10(%rsp), %r14
movq %r14, %rdi
xorl %esi, %esi
movq %rbp, %rdx
movq %rax, %rcx
callq 0xe0676
movq %rax, %r13
callq 0x4c277
movq %r14, %rdi
xorl %esi, %esi
movabsq $-0x7850996cdf80346a, %rdx # imm = 0x87AF6693207FCB96
movq %rax, %rcx
callq 0xe0676
movq %rbx, %rdi
movq %r12, %rsi
movq %rax, 0x80(%rsp)
movq %rax, %rdx
movq %r13, 0x58(%rsp)
movq %r13, %rcx
callq 0x3dbae
movq %rax, %r14
testq %rax, %rax
je 0x49ba5
leaq 0x10(%rsp), %rdi
callq 0xe0b30
movq %r14, %r15
testq %r14, %r14
jne 0x49a29
movq 0x58(%rsp), %r14
cmpq $0x0, 0x8(%r14)
je 0x49cde
callq 0x325ab
leaq 0x10(%rsp), %rdi
movabsq $0x2b083548d3276fd7, %rdx # imm = 0x2B083548D3276FD7
xorl %esi, %esi
movq %rax, %rcx
callq 0xe0676
movq %rax, %r13
movq 0x18(%rbx), %rdi
movq 0x8(%r14), %rsi
movq %rax, %rdx
callq 0x3394f
testb %al, %al
je 0x49ce7
addq $0x10, %r13
callq 0x10060
leaq 0x10(%rsp), %rdi
xorl %esi, %esi
movq %rbp, %rdx
movq %rax, %rcx
callq 0xe0676
movq %rax, %r14
leaq 0xf2dc4(%rip), %rdi     # 0x13c9e0
callq 0x4b274
leaq 0x10(%rsp), %rdi
xorl %esi, %esi
movq %rax, %rdx
callq 0xe0900
movq %rax, 0x68(%rsp)
leaq 0xf2db3(%rip), %rsi     # 0x13c9ef
movq %r12, %rdi
callq 0x115a3
testb %al, %al
movq %r14, 0x50(%rsp)
je 0x49cf0
leaq 0xf1f3b(%rip), %rsi     # 0x13bb93
movq %r12, %rdi
xorl %eax, %eax
callq 0xda10
movq %rax, %r14
testq %rax, %rax
je 0x49c77
leaq 0x10(%rsp), %rdi
callq 0xe0b30
movq %r14, %r15
testq %r14, %r14
jne 0x49a29
movq %rbx, %rdi
movq %r12, %rsi
movq 0x68(%rsp), %rdx
movq %r13, %rcx
movq 0x50(%rsp), %r8
callq 0x3cec1
movq %rax, %r14
testq %rax, %rax
je 0x49cad
leaq 0x10(%rsp), %rdi
callq 0xe0b30
movq %r14, %r15
testq %r14, %r14
movq 0x50(%rsp), %r14
jne 0x49a29
jmp 0x49cfb
leaq 0xf2158(%rip), %rsi     # 0x13be1c
movq %r12, %rdi
xorl %eax, %eax
callq 0xddb2
movq %rax, %r15
jmp 0x499ca
xorl %r14d, %r14d
jmp 0x49aac
leaq 0xf2cb1(%rip), %rsi     # 0x13c996
jmp 0x49cc4
leaq 0xf2cc8(%rip), %rsi     # 0x13c9b6
jmp 0x49cc4
movq %r14, %rdi
movq %r13, %rsi
callq 0xff8e
movabsq $-0x59040ffc58933ff2, %rax # imm = 0xA6FBF003A76CC00E
movq 0x40(%rsp), %rcx
cmpq %rax, 0x8(%rcx)
jne 0x49d18
movq 0x8(%r14), %rax
movq %rax, 0x8(%rcx)
movq 0x58(%rsp), %rdi
callq 0x101d1
movq $0x0, 0x48(%rsp)
leaq 0x10(%rsp), %r14
movq %r14, %rdi
xorl %esi, %esi
movq %rbp, %rdx
movq %rax, %rcx
callq 0xe0676
movq %rax, %r13
movq $0x1, 0x20(%rax)
movabsq $0x65c9718e19e3df34, %rax # imm = 0x65C9718E19E3DF34
movq %rax, 0x10(%r13)
callq 0x10060
movq %r14, %rdi
xorl %esi, %esi
movq %rbp, %rdx
movq %rax, %rcx
callq 0xe0676
movq %rax, %rbp
movabsq $-0x3f1363e6d8155aed, %rax # imm = 0xC0EC9C1927EAA513
movq %rax, 0x8(%rbp)
movq %rbx, %rdi
movq 0x40(%rsp), %rsi
movq 0x70(%rsp), %rdx
callq 0x34595
leaq 0xb0(%rbx), %r14
leaq 0xf2c59(%rip), %rsi     # 0x13c9f8
movq %r14, %rdi
callq 0xddb52
movq %rbx, %rdi
movq %r13, 0x60(%rsp)
movq %r13, %rsi
movq %rax, %rdx
callq 0x34595
leaq 0xf2c3b(%rip), %rsi     # 0x13c9fc
movq %r14, %rdi
callq 0xddb52
movq %rbx, %rdi
movq %rbp, %rsi
movq %rax, %rdx
callq 0x34595
leaq 0xee932(%rip), %rsi     # 0x138710
movq %r12, %rdi
callq 0x115a3
testb %al, %al
je 0x49e75
leaq 0xef254(%rip), %rsi     # 0x139049
movq %r12, %rdi
xorl %eax, %eax
callq 0xda10
movq %rax, %r14
testq %rax, %rax
je 0x49e14
leaq 0x10(%rsp), %rdi
callq 0xe0b30
movq %r14, %r15
testq %r14, %r14
movq 0x8(%rsp), %r13
jne 0x49a29
callq 0x4c277
leaq 0x10(%rsp), %rdi
xorl %esi, %esi
movabsq $-0x7850996cdf80346a, %rdx # imm = 0x87AF6693207FCB96
movq %rax, %rcx
callq 0xe0676
movq %rbx, %rdi
movq %r12, %rsi
movq %rax, 0x48(%rsp)
movq %rax, %rdx
xorl %ecx, %ecx
callq 0x3dbae
movq %rax, %r14
testq %rax, %rax
je 0x49e6a
leaq 0x10(%rsp), %rdi
callq 0xe0b30
movq %r14, %r15
testq %r14, %r14
jne 0x49a29
jmp 0x49e7a
movq 0x8(%rsp), %r13
leaq 0x10c0bb(%rip), %rsi    # 0x155f3c
movq %r12, %rdi
xorl %eax, %eax
callq 0xda10
movq %rax, %r14
testq %rax, %rax
je 0x49ea0
leaq 0x10(%rsp), %rdi
callq 0xe0b30
movq %r14, %r15
testq %r14, %r14
jne 0x49a29
callq 0x4c277
leaq 0x10(%rsp), %rdi
xorl %esi, %esi
movabsq $-0x7850996cdf80346a, %rdx # imm = 0x87AF6693207FCB96
movq %rax, %rcx
callq 0xe0676
movq %rax, %rbp
movq %rbx, %rdi
callq 0x34297
movq 0x98(%rbx), %rax
movq 0xa0(%rbx), %rcx
movq -0x8(%rax,%rcx,8), %rax
movb $0x1, 0x11(%rax)
leaq 0xee6dc(%rip), %rsi     # 0x1385cc
movq %r12, %rdi
callq 0x115a3
movq %rbx, %rdi
movq %r12, %rsi
movq %rbp, %rdx
xorl %ecx, %ecx
testb %al, %al
je 0x49f0e
callq 0x40ca8
jmp 0x49f13
callq 0x42749
movq %rax, %r14
testq %rax, %rax
je 0x49f28
leaq 0x10(%rsp), %rdi
callq 0xe0b30
movq %r14, %r15
testq %r14, %r14
jne 0x49a29
movq %rbx, %rdi
callq 0x342fa
leaq 0x1046f8(%rip), %rsi    # 0x14e638
movq %r13, %rdi
xorl %eax, %eax
callq 0x3bd77
movq %rax, %r14
testq %rax, %rax
je 0x49f5f
leaq 0x10(%rsp), %rdi
callq 0xe0b30
movq %r14, %r15
testq %r14, %r14
jne 0x49a29
callq 0x4ced4
movq %rax, %rsi
movq 0x28(%rbx), %rax
movq %rax, 0x8(%rsi)
movq %r13, %rdi
movq %rsi, 0x78(%rsp)
callq 0x37d93
movq %rbx, %rdi
movq 0x60(%rsp), %rsi
movq %r13, %rdx
callq 0x34734
movq %rax, %r14
testq %rax, %rax
je 0x49faa
leaq 0x10(%rsp), %rdi
callq 0xe0b30
movq %r14, %r15
testq %r14, %r14
jne 0x49a29
leaq 0xf2a46(%rip), %rsi     # 0x13ca00
movq 0x8(%rsp), %rdi
xorl %eax, %eax
callq 0x3bd77
movq %rax, %r14
testq %rax, %rax
je 0x49fdb
leaq 0x10(%rsp), %rdi
callq 0xe0b30
movq %r14, %r15
testq %r14, %r14
jne 0x49a29
movq %rbx, %rdi
movq %r12, %rsi
movq 0x58(%rsp), %rdx
movq 0x60(%rsp), %rcx
movq 0x80(%rsp), %r8
movq 0x8(%rsp), %r9
callq 0x3a7f5
movq %rax, %r14
testq %rax, %rax
je 0x4a01b
leaq 0x10(%rsp), %rdi
callq 0xe0b30
movq %r14, %r15
testq %r14, %r14
jne 0x49a29
leaq 0xf289d(%rip), %rsi     # 0x13c8c8
movq 0x8(%rsp), %rdi
xorl %eax, %eax
callq 0x3bd77
movq %rax, %r14
testq %rax, %rax
je 0x4a04c
leaq 0x10(%rsp), %rdi
callq 0xe0b30
movq %r14, %r15
testq %r14, %r14
jne 0x49a29
leaq 0xf29aa(%rip), %rsi     # 0x13ca06
movq 0x8(%rsp), %rdi
xorl %eax, %eax
callq 0x3bd77
movq %rax, %r14
testq %rax, %rax
je 0x4a07d
leaq 0x10(%rsp), %rdi
callq 0xe0b30
movq %r14, %r15
testq %r14, %r14
jne 0x49a29
movq %rbx, %rdi
movq 0x40(%rsp), %rsi
movq 0x8(%rsp), %rdx
callq 0x34734
movq %rax, %r14
testq %rax, %rax
je 0x4a0ad
leaq 0x10(%rsp), %rdi
callq 0xe0b30
movq %r14, %r15
testq %r14, %r14
jne 0x49a29
movq %rbx, %rdi
movq 0x70(%rsp), %rsi
callq 0x3417e
leaq 0xf2968(%rip), %rsi     # 0x13ca32
movq 0x8(%rsp), %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x3bd77
movq %rax, %r14
testq %rax, %rax
je 0x4a0ee
leaq 0x10(%rsp), %rdi
callq 0xe0b30
movq %r14, %r15
testq %r14, %r14
jne 0x49a29
movq %rbx, %rdi
movq %r12, %rsi
movq 0x50(%rsp), %rdx
movq 0x40(%rsp), %rcx
movq 0x68(%rsp), %r8
movq 0x8(%rsp), %r9
callq 0x3a7f5
movq %rax, %r14
testq %rax, %rax
je 0x4a12b
leaq 0x10(%rsp), %rdi
callq 0xe0b30
movq %r14, %r15
testq %r14, %r14
jne 0x49a29
leaq 0xf278d(%rip), %rsi     # 0x13c8c8
movq 0x8(%rsp), %rdi
xorl %eax, %eax
callq 0x3bd77
movq %rax, %r14
testq %rax, %rax
je 0x4a15c
leaq 0x10(%rsp), %rdi
callq 0xe0b30
movq %r14, %r15
testq %r14, %r14
jne 0x49a29
cmpq $0x0, 0x48(%rsp)
je 0x4a233
leaq 0xf28c4(%rip), %rsi     # 0x13ca3c
movq 0x8(%rsp), %rdi
callq 0x34bcc
movq %rax, %r14
testq %rax, %rax
je 0x4a197
leaq 0x10(%rsp), %rdi
callq 0xe0b30
movq %r14, %r15
testq %r14, %r14
jne 0x49a29
movq 0x48(%rsp), %rdi
callq 0xc8348
movq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x37d93
leaq 0xf286e(%rip), %rsi     # 0x13ca2f
movq %r14, %rdi
callq 0x34bcc
movq %rax, %r14
testq %rax, %rax
je 0x4a1de
leaq 0x10(%rsp), %rdi
callq 0xe0b30
movq %r14, %r15
testq %r14, %r14
jne 0x49a29
movq %rbp, %rdi
callq 0xc8348
movq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x37d93
leaq 0x1044bc(%rip), %rsi    # 0x14e6c2
movq %r14, %rdi
callq 0x34bcc
movq %rax, %r14
testq %rax, %rax
je 0x4a223
leaq 0x10(%rsp), %rdi
callq 0xe0b30
movq %r14, %r15
testq %r14, %r14
movq 0x8(%rsp), %r14
jne 0x49a29
jmp 0x4a24b
movq %rbp, %rdi
callq 0xc8348
movq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x37d93
leaq 0x104470(%rip), %rsi    # 0x14e6c2
movq %r14, %rdi
xorl %eax, %eax
callq 0x3bd77
movq %rax, %r14
testq %rax, %rax
je 0x4a271
leaq 0x10(%rsp), %rdi
callq 0xe0b30
movq %r14, %r15
testq %r14, %r14
jne 0x49a29
callq 0x4d34b
movq 0x98(%rbx), %rcx
movq 0xa0(%rbx), %rdx
movq -0x8(%rcx,%rdx,8), %rcx
cmpb $0x0, 0x10(%rcx)
jne 0x4a2a5
xorl %ecx, %ecx
movq 0x78(%rsp), %rdx
movb %cl, 0x10(%rdx)
movb %cl, 0x8(%rax)
movq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x37d93
leaq 0x104406(%rip), %rsi    # 0x14e6c2
movq %r14, %rdi
xorl %eax, %eax
callq 0x3bd77
movq %rax, %r14
testq %rax, %rax
je 0x4a2db
leaq 0x10(%rsp), %rdi
callq 0xe0b30
movq %r14, %r15
testq %r14, %r14
jne 0x49a29
movq %rbx, %rdi
callq 0x342fa
xorl %r15d, %r15d
jmp 0x499ca