// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/xoico/src/xoico.xo.c
// Function: xoico_che_s_trans_level0_block
er_t xoico_che_s_trans_level0_block( xoico_che_s* o, bl_t exit_after_first_statement, x_source* source, xoico_che_result* result_out )
{
    // xoico_che.x:2045:1
    BLM_INIT_LEVEL(0);
    xoico_che_result_arr_s* result = ((xoico_che_result_arr_s*)BLM_LEVEL_T_PUSH(0,xoico_che_result_arr_s,xoico_che_result_arr_s_create()));
    
    s3_t source_index = x_source_get_index(source);
    
    while( !x_source_parse_bl(source,"#=?'}'" ) && !x_source_eos(source) )
    {
        BLM_TRY(xoico_che_s_trans_statement(o,source,((xoico_che_result*)( result ))))
    
        if( exit_after_first_statement )
        {
            if( x_source_parse_bl(source,"#?';'" ) ) BLM_TRY(xoico_che_result_arr_s_push_sc(result,";" ))
            break;
        }
    
        s3_t index = x_source_get_index(source);
        if( index == source_index && !x_source_eos(source) )
        {
            BLM_RETURNV(er_t, x_source_parse_error_fa(source,"Internal error: Statement translator did not progress." ))
        }
        source_index = index;
    }
    
    if( xoico_che_s_stack_block_get_top_unit(o)->use_blm )
    {
        xoico_che_result_block_s* result_block = ((xoico_che_result_block_s*)BLM_LEVEL_T_PUSH(0,xoico_che_result_block_s,xoico_che_result_block_s__(xoico_che_result_block_s_create(),o->block_level, true )));
    
        xoico_che_result_block_s_push_result_d(result_block,((xoico_che_result*)(xoico_che_result_blm_init_s__(xoico_che_result_blm_init_s_create(),o->block_level ) )));
        xoico_che_result_block_s_push_result_d(result_block,((xoico_che_result*)(((xoico_che_result_arr_s*)bcore_fork(result)) )));
    
        if( !xoico_che_s_returns_a_value(o) )
        {
            xoico_che_result_block_s_push_result_d(result_block,((xoico_che_result*)(xoico_che_result_blm_down_s_create() )));
        }
    
        xoico_che_result_a_push_result_d(result_out,((xoico_che_result*)(((xoico_che_result_block_s*)bcore_fork(result_block)) )));
    }
    else
    {
        xoico_che_result_a_push_result_d(result_out,((xoico_che_result*)(((xoico_che_result_arr_s*)bcore_fork(result)) )));
    }
    
    BLM_RETURNV(er_t, 0)
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rcx, 0x28(%rsp)
movq %rdx, %r12
movl %esi, 0x24(%rsp)
movq %rdi, %r15
leaq 0x166101(%rip), %rax    # 0x1a8dd0
movq (%rax), %rsi
leaq 0x38(%rsp), %rbx
movq %rbx, %rdi
callq 0xe0431
movq $0x0, 0x10(%rbx)
callq 0x4c277
movabsq $-0x7850996cdf80346a, %rdx # imm = 0x87AF6693207FCB96
movq %rbx, %rdi
xorl %esi, %esi
movq %rax, %rcx
callq 0xe0676
movq %rax, 0x10(%rsp)
movq (%r12), %rbx
leaq 0x166fb5(%rip), %r13    # 0x1a9cc8
movl (%r13), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r13,%rax,8), %rcx
movq 0x18(%r13,%rax,8), %rdx
andq %rbx, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %rbx, %rdx
je 0x42d6e
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbx, %rdx
je 0x42d6e
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbx, %rdx
je 0x42d6e
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbx, %rdx
jne 0x43335
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0x42d9e
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %rbx, %rsi
callq 0xf3f85
movq %rax, %r14
leaq 0x166f35(%rip), %rdi    # 0x1a9cc8
movq %rbx, %rsi
movq %rax, %rdx
callq 0x12128c
movq %r14, %rdi
movq %r12, %rsi
callq 0x10aa5d
movq %rax, 0x18(%rsp)
movq %r15, 0x30(%rsp)
movq (%r12), %rbp
movl (%r13), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r13,%rax,8), %rcx
movq 0x18(%r13,%rax,8), %rdx
andq %rbp, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %rbp, %rdx
je 0x42e12
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbp, %rdx
je 0x42e12
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbp, %rdx
je 0x42e12
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbp, %rdx
jne 0x430d5
movq (%rax,%rcx), %rbx
testq %rbx, %rbx
jne 0x42e3e
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %rbp, %rsi
callq 0xf3f85
movq %rax, %rbx
movq %r13, %rdi
movq %rbp, %rsi
movq %rax, %rdx
callq 0x12128c
movq %rbx, %rdi
movq %r12, %rsi
leaq 0x100f3c(%rip), %rdx    # 0x143d87
callq 0x10aa16
testb %al, %al
jne 0x431a1
movq (%r12), %rbp
movl (%r13), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r13,%rax,8), %rcx
movq 0x18(%r13,%rax,8), %rdx
andq %rbp, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %rbp, %rdx
je 0x42eb7
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbp, %rdx
je 0x42eb7
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbp, %rdx
je 0x42eb7
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbp, %rdx
jne 0x430dc
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0x42ee3
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %rbp, %rsi
callq 0xf3f85
movq %rax, %r14
movq %r13, %rdi
movq %rbp, %rsi
movq %rax, %rdx
callq 0x12128c
cmpq $0x0, 0x40(%r14)
jne 0x42ef9
movq %r14, %rdi
leaq 0x10201d(%rip), %rsi    # 0x144f11
callq 0xf592c
movq %r12, %rdi
callq *0x40(%r14)
testb %al, %al
jne 0x431a1
movq %r15, %rdi
movq %r12, %rsi
movq 0x10(%rsp), %rdx
callq 0x417e9
movq %rax, %rbx
testq %rax, %rax
je 0x42f2f
leaq 0x38(%rsp), %rdi
callq 0xe0b30
movq %rbx, 0x8(%rsp)
testq %rbx, %rbx
jne 0x43321
movq (%r12), %rbp
movl (%r13), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r13,%rax,8), %rcx
movq 0x18(%r13,%rax,8), %rdx
andq %rbp, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
cmpb $0x0, 0x24(%rsp)
jne 0x430f2
movl $0x8, %ecx
cmpq %rbp, %rdx
je 0x42fa2
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbp, %rdx
je 0x42fa2
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbp, %rdx
je 0x42fa2
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbp, %rdx
jne 0x430e4
movq (%rax,%rcx), %rbx
testq %rbx, %rbx
jne 0x42fce
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %rbp, %rsi
callq 0xf3f85
movq %rax, %rbx
movq %r13, %rdi
movq %rbp, %rsi
movq %rax, %rdx
callq 0x12128c
movq %rbx, %rdi
movq %r12, %rsi
callq 0x10aa5d
movq %rax, %rbp
movb $0x1, %r15b
cmpq 0x18(%rsp), %rax
jne 0x430bd
movq (%r12), %r14
movl (%r13), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r13,%rax,8), %rcx
movq 0x18(%r13,%rax,8), %rdx
andq %r14, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r14, %rdx
je 0x43049
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r14, %rdx
je 0x43049
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r14, %rdx
je 0x43049
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r14, %rdx
jne 0x430eb
movq (%rax,%rcx), %rbx
testq %rbx, %rbx
jne 0x43075
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r14, %rsi
callq 0xf3f85
movq %rax, %rbx
movq %r13, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x12128c
cmpq $0x0, 0x40(%rbx)
jne 0x4308b
movq %rbx, %rdi
leaq 0x101e8b(%rip), %rsi    # 0x144f11
callq 0xf592c
movq %r12, %rdi
callq *0x40(%rbx)
testb %al, %al
jne 0x430bd
xorl %r15d, %r15d
movq %r12, %rdi
leaq 0xf8f03(%rip), %rsi     # 0x13bfa5
xorl %eax, %eax
callq 0xddb2
movq %rax, 0x8(%rsp)
leaq 0x38(%rsp), %rdi
callq 0xe0b30
movq 0x18(%rsp), %rbp
movq %rbp, 0x18(%rsp)
testb %r15b, %r15b
movq 0x30(%rsp), %r15
jne 0x42db3
jmp 0x43321
xorl %ebx, %ebx
jmp 0x42e16
xorl %r14d, %r14d
jmp 0x42ebb
xorl %ebx, %ebx
jmp 0x42fa6
xorl %ebx, %ebx
jmp 0x4304d
movl $0x8, %ecx
cmpq %rbp, %rdx
je 0x4312a
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbp, %rdx
je 0x4312a
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbp, %rdx
je 0x4312a
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbp, %rdx
jne 0x43342
movq (%rax,%rcx), %rbx
testq %rbx, %rbx
jne 0x4315a
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %rbp, %rsi
callq 0xf3f85
movq %rax, %rbx
leaq 0x166b79(%rip), %rdi    # 0x1a9cc8
movq %rbp, %rsi
movq %rax, %rdx
callq 0x12128c
leaq 0xf5fdc(%rip), %rdx     # 0x13913d
movq %rbx, %rdi
movq %r12, %rsi
callq 0x10aa16
testb %al, %al
je 0x431a1
leaq 0xf9751(%rip), %rsi     # 0x13c8c8
movq 0x10(%rsp), %rdi
callq 0x3fe52
movq %rax, %rbx
testq %rax, %rax
je 0x43198
leaq 0x38(%rsp), %rdi
callq 0xe0b30
movq %rbx, 0x8(%rsp)
testq %rbx, %rbx
jne 0x43321
movq 0x98(%r15), %rax
movq 0xa0(%r15), %rcx
movq -0x8(%rax,%rcx,8), %rax
cmpb $0x1, 0x10(%rax)
jne 0x4325d
callq 0x4c900
movq 0x28(%r15), %rcx
movq %rcx, 0x8(%rax)
movb $0x1, 0x10(%rax)
leaq 0x38(%rsp), %rdi
movabsq $0x1b3ecce6627048a0, %rdx # imm = 0x1B3ECCE6627048A0
xorl %esi, %esi
movq %rax, %rcx
callq 0xe0676
movq %rax, %rbx
callq 0x4ced4
movq 0x28(%r15), %rcx
movq %rcx, 0x8(%rax)
movq %rbx, %rdi
movq %rax, %rsi
callq 0x42670
movq 0x10(%rsp), %rdi
callq 0xc8348
movq %rbx, %rdi
movq %rax, %rsi
callq 0x42670
movq 0x20(%r15), %rax
movq 0x28(%rax), %rcx
movabsq $0x3173c900e37ae1df, %rdx # imm = 0x3173C900E37AE1DF
cmpq %rdx, %rcx
movq 0x28(%rsp), %r12
je 0x43239
testq %rcx, %rcx
jne 0x43250
cmpq $0x0, 0x40(%rax)
jne 0x43250
callq 0x4d34b
movq %rbx, %rdi
movq %rax, %rsi
callq 0x42670
movq %rbx, %rdi
callq 0xc8348
movq %rax, %rbx
jmp 0x4326f
movq 0x10(%rsp), %rdi
callq 0xc8348
movq %rax, %rbx
movq 0x28(%rsp), %r12
movq (%r12), %r14
leaq 0x15f236(%rip), %rax    # 0x1a24b0
movl 0x15f230(%rip), %ecx    # 0x1a24b0
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x20(%rax,%rcx,8), %rdx
movq 0x18(%rax,%rcx,8), %rcx
andq %r14, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %r14, %rdx
je 0x432d4
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r14, %rdx
je 0x432d4
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r14, %rdx
je 0x432d4
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r14, %rdx
jne 0x4333d
movq (%rax,%rcx), %r15
testq %r15, %r15
jne 0x43304
movabsq $-0x3dfc7e0a250a30dc, %rdi # imm = 0xC20381F5DAF5CF24
movq %r14, %rsi
callq 0xf3f85
movq %rax, %r15
leaq 0x15f1b7(%rip), %rdi    # 0x1a24b0
movq %r14, %rsi
movq %rax, %rdx
callq 0x12128c
movq %r12, %rdi
movq %rbx, %rsi
callq *0x38(%r15)
leaq 0x38(%rsp), %rdi
callq 0xe0b30
movq $0x0, 0x8(%rsp)
movq 0x8(%rsp), %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %r14d, %r14d
jmp 0x42d72
xorl %r15d, %r15d
jmp 0x432d8
xorl %ebx, %ebx
jmp 0x4312e