// File: /workspace/github_c_makefile_star2_O2/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 $0x78, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0xf2ae9(%rip), %rax     # 0x117dd0
movq (%rax), %rsi
leaq 0x48(%rsp), %r12
movq %r12, %rdi
callq 0x717f5
andq $0x0, 0x10(%r12)
movq %rbx, %rdi
callq 0x1d028
leaq 0x8967a(%rip), %rsi     # 0xae986
movq %r15, %rdi
xorl %eax, %eax
callq 0xd600
testq %rax, %rax
jne 0x254fb
movabsq $-0x641110359430e9c5, %r13 # imm = 0x9BEEEFCA6BCF163B
callq 0xe090
leaq 0x48(%rsp), %rdi
xorl %esi, %esi
movq %r13, %rdx
movq %rax, %rcx
callq 0x71967
movq %rax, %r12
pushq $0x1
popq %rcx
movq %rbx, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x1ed8f
testq %rax, %rax
jne 0x254fb
leaq 0x908c0(%rip), %rsi     # 0xb5c24
movq %r15, %rdi
callq 0xe5ff
testb %al, %al
je 0x254ea
movq %r12, 0x10(%rsp)
pushq $0x1
popq %rdx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x1d5df
movq %rax, %r12
leaq 0x89600(%rip), %rsi     # 0xae991
movq %r15, %rdi
xorl %eax, %eax
callq 0xd600
testq %rax, %rax
jne 0x254fb
movq %r12, 0x38(%rsp)
callq 0xe090
leaq 0x48(%rsp), %r12
movq %r12, %rdi
xorl %esi, %esi
movq %r13, %rdx
movq %rax, %rcx
callq 0x71967
movq %rax, %rbp
callq 0x2637f
movq %r12, %rdi
xorl %esi, %esi
movabsq $-0x7850996cdf80346a, %rdx # imm = 0x87AF6693207FCB96
movq %rax, %rcx
callq 0x71967
movq %rax, %r12
movq %rbx, %rdi
movq %r15, %rsi
movq %rax, %rdx
movq %rbp, 0x20(%rsp)
movq %rbp, %rcx
callq 0x1fc8a
testq %rax, %rax
jne 0x254fb
movq %r12, 0x40(%rsp)
movq 0x20(%rsp), %rbp
cmpq $0x0, 0x8(%rbp)
je 0x2551a
callq 0x1c0df
leaq 0x48(%rsp), %rdi
movabsq $0x2b083548d3276fd7, %rdx # imm = 0x2B083548D3276FD7
xorl %esi, %esi
movq %rax, %rcx
callq 0x71967
movq %rax, %r12
movq 0x18(%rbx), %rdi
movq 0x8(%rbp), %rsi
movq %rax, %rdx
callq 0x1cc0a
testb %al, %al
je 0x25523
addq $0x10, %r12
movq %r12, 0x8(%rsp)
callq 0xe090
leaq 0x48(%rsp), %rbp
movq %rbp, %rdi
xorl %esi, %esi
movq %r13, %rdx
movq %rax, %rcx
callq 0x71967
movq %rax, %r12
leaq 0x89561(%rip), %rdi     # 0xae9e0
callq 0x26176
movq %rbp, %rdi
xorl %esi, %esi
movq %rax, %rdx
callq 0x71a90
movq %rax, 0x30(%rsp)
leaq 0x89552(%rip), %rsi     # 0xae9ef
movq %r15, %rdi
callq 0xe5ff
testb %al, %al
movq %r12, 0x18(%rsp)
je 0x2552c
leaq 0x886de(%rip), %rsi     # 0xadb93
movq %r15, %rdi
xorl %eax, %eax
callq 0xd600
testq %rax, %rax
movq 0x10(%rsp), %r12
jne 0x254fb
movq %rbx, %rdi
movq %r15, %rsi
movq 0x30(%rsp), %rdx
movq 0x8(%rsp), %rcx
movq 0x18(%rsp), %r8
callq 0x1f555
testq %rax, %rax
jne 0x254fb
jmp 0x2553e
leaq 0x8892b(%rip), %rsi     # 0xade1c
movq %r15, %rdi
xorl %eax, %eax
callq 0xd7c4
movq %rax, %rbp
leaq 0x48(%rsp), %rdi
callq 0x71b64
movq %rbp, %rax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x89475(%rip), %rsi     # 0xae996
jmp 0x254f1
leaq 0x8948c(%rip), %rsi     # 0xae9b6
jmp 0x254f1
movq %r12, %rdi
movq 0x8(%rsp), %rsi
callq 0xe075
movq 0x10(%rsp), %r12
movabsq $-0x59040ffc58933ff2, %rax # imm = 0xA6FBF003A76CC00E
cmpq %rax, 0x8(%r12)
jne 0x2555d
movq 0x18(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x8(%r12)
movq 0x20(%rsp), %rdi
callq 0xe0b1
movq $0x0, 0x8(%rsp)
leaq 0x48(%rsp), %rdi
xorl %esi, %esi
movq %r13, %rdx
movq %rax, %rcx
callq 0x71967
movq %r12, %rbp
movq %rax, %r12
movq $0x1, 0x20(%rax)
movabsq $0x65c9718e19e3df34, %rax # imm = 0x65C9718E19E3DF34
movq %rax, 0x10(%r12)
callq 0xe090
leaq 0x48(%rsp), %rdi
xorl %esi, %esi
movq %r13, %rdx
movq %rax, %rcx
callq 0x71967
movq %rax, %r13
movabsq $-0x3f1363e6d8155aed, %rax # imm = 0xC0EC9C1927EAA513
movq %rax, 0x8(%r13)
movq %rbx, %rdi
movq %rbp, %rsi
movq 0x38(%rsp), %rdx
callq 0x1d18f
leaq 0xb0(%rbx), %rbp
leaq 0x89413(%rip), %rsi     # 0xae9f8
movq %rbp, %rdi
callq 0x6f48c
movq %rbx, %rdi
movq %r12, 0x28(%rsp)
movq %r12, %rsi
movq %rax, %rdx
callq 0x1d18f
leaq 0x893f5(%rip), %rsi     # 0xae9fc
movq %rbp, %rdi
callq 0x6f48c
movq %rbx, %rdi
movq %r13, %rsi
movq %rax, %rdx
callq 0x1d18f
leaq 0x850ec(%rip), %rsi     # 0xaa710
movq %r15, %rdi
callq 0xe5ff
testb %al, %al
movabsq $-0x7850996cdf80346a, %r13 # imm = 0x87AF6693207FCB96
je 0x2568c
leaq 0x85a08(%rip), %rsi     # 0xab049
movq %r15, %rdi
xorl %eax, %eax
callq 0xd600
testq %rax, %rax
jne 0x254fb
callq 0x2637f
leaq 0x48(%rsp), %rdi
xorl %esi, %esi
movq %r13, %rdx
movq %rax, %rcx
callq 0x71967
movq %rax, %r12
movq %rbx, %rdi
movq %r15, %rsi
movq %rax, %rdx
xorl %ecx, %ecx
callq 0x1fc8a
testq %rax, %rax
jne 0x254fb
movq %r12, 0x8(%rsp)
leaq 0xa3853(%rip), %rsi     # 0xc8ee6
movq %r15, %rdi
xorl %eax, %eax
callq 0xd600
testq %rax, %rax
jne 0x254fb
callq 0x2637f
leaq 0x48(%rsp), %rdi
xorl %esi, %esi
movq %r13, %rdx
movq %rax, %rcx
callq 0x71967
movq %rax, %r13
movq %rbx, %rdi
callq 0x1d028
movq 0x98(%rbx), %rax
movq 0xa0(%rbx), %rcx
movq -0x8(%rax,%rcx,8), %rax
movb $0x1, 0x11(%rax)
leaq 0x84ee6(%rip), %rsi     # 0xaa5cc
movq %r15, %rdi
callq 0xe5ff
movq %rbx, %rdi
movq %r15, %rsi
movq %r13, %rdx
xorl %ecx, %ecx
testb %al, %al
je 0x25704
callq 0x210fb
jmp 0x25709
callq 0x21d77
testq %rax, %rax
jne 0x254fb
movq %rbx, %rdi
callq 0x1d070
leaq 0x9bce7(%rip), %rsi     # 0xc1408
movq %r14, %rdi
xorl %eax, %eax
callq 0x1edfd
testq %rax, %rax
jne 0x254fb
callq 0x265ec
movq %rax, %r12
movq 0x28(%rbx), %rax
movq %rax, 0x8(%r12)
movq %r14, %rdi
movq %r12, %rsi
callq 0x1de41
movq %rbx, %rdi
movq 0x28(%rsp), %rsi
movq %r14, %rdx
callq 0x1d30a
testq %rax, %rax
jne 0x254fb
leaq 0x89290(%rip), %rsi     # 0xaea00
movq %r14, %rdi
xorl %eax, %eax
callq 0x1edfd
testq %rax, %rax
jne 0x254fb
movq %rbx, %rdi
movq %r15, %rsi
movq 0x20(%rsp), %rdx
movq 0x28(%rsp), %rcx
movq 0x40(%rsp), %r8
movq %r14, %r9
callq 0x1e44c
testq %rax, %rax
jne 0x254fb
leaq 0x89118(%rip), %rsi     # 0xae8c8
movq %r14, %rdi
xorl %eax, %eax
callq 0x1edfd
testq %rax, %rax
jne 0x254fb
leaq 0x8923c(%rip), %rsi     # 0xaea06
movq %r14, %rdi
xorl %eax, %eax
callq 0x1edfd
testq %rax, %rax
jne 0x254fb
movq %rbx, %rdi
movq 0x10(%rsp), %rsi
movq %r14, %rdx
callq 0x1d30a
testq %rax, %rax
jne 0x254fb
movq %rbx, %rdi
movq 0x38(%rsp), %rsi
callq 0x1cf9d
leaq 0x89228(%rip), %rsi     # 0xaea32
movq %r14, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x1edfd
testq %rax, %rax
jne 0x254fb
movq %rbx, %rdi
movq %r15, %rsi
movq 0x18(%rsp), %rdx
movq 0x10(%rsp), %rcx
movq 0x30(%rsp), %r8
movq %r14, %r9
callq 0x1e44c
testq %rax, %rax
jne 0x254fb
leaq 0x8907b(%rip), %rsi     # 0xae8c8
movq %r14, %rdi
xorl %eax, %eax
callq 0x1edfd
testq %rax, %rax
jne 0x254fb
cmpq $0x0, 0x8(%rsp)
je 0x258da
leaq 0x891cd(%rip), %rsi     # 0xaea3c
movq %r14, %rdi
callq 0x1d59d
testq %rax, %rax
jne 0x254fb
movq 0x8(%rsp), %rdi
callq 0x6026d
movq %r14, %rdi
movq %rax, %rsi
callq 0x1de41
leaq 0x89193(%rip), %rsi     # 0xaea2f
movq %r14, %rdi
callq 0x1d59d
testq %rax, %rax
jne 0x254fb
movq %r13, %rdi
callq 0x6026d
movq %r14, %rdi
movq %rax, %rsi
callq 0x1de41
leaq 0x9bbcb(%rip), %rsi     # 0xc1492
movq %r14, %rdi
callq 0x1d59d
testq %rax, %rax
jne 0x254fb
jmp 0x258ed
movq %r13, %rdi
callq 0x6026d
movq %r14, %rdi
movq %rax, %rsi
callq 0x1de41
leaq 0x9bb9e(%rip), %rsi     # 0xc1492
movq %r14, %rdi
xorl %eax, %eax
callq 0x1edfd
testq %rax, %rax
jne 0x254fb
callq 0x26666
movq 0x98(%rbx), %rcx
movq 0xa0(%rbx), %rdx
movq -0x8(%rcx,%rdx,8), %rcx
cmpb $0x0, 0x10(%rcx)
jne 0x2592f
xorl %ecx, %ecx
movb %cl, 0x10(%r12)
movb %cl, 0x8(%rax)
movq %r14, %rdi
movq %rax, %rsi
callq 0x1de41
leaq 0x9bb51(%rip), %rsi     # 0xc1492
movq %r14, %rdi
xorl %eax, %eax
callq 0x1edfd
testq %rax, %rax
jne 0x254fb
movq %rbx, %rdi
callq 0x1d070
xorl %ebp, %ebp
jmp 0x254fe