// File: /workspace/github_c_makefile_star2_O0/johsteffens[P]beth/xoico/src/xoico.xo.c
// Function: xoico_body_s_parse
er_t xoico_body_s_parse( xoico_body_s* o, const xoico_host* host, x_source* source )
{
    // xoico_body.x:376:1
    BLM_INIT_LEVEL(0);
    x_source_point_s_setup_from_source(&(o->source_point),source );
    
    bl_t force_inline = x_source_parse_bl(source," #?w'inline'" );
    bl_t force_export = x_source_parse_bl(source," #?w'export'" );
    
    if( x_source_parse_bl(source," #=?'='" ) )
    {
        s3_t index = x_source_get_index(source);
        if( x_source_parse_bl(source,"= #?'{'" ) )
        {
            BLM_RETURNV(er_t, x_source_parse_error_fa(source,"Explicit block assignment '=' is deprecated. Remove assignment operator.\n" ))
        }
        else // assignment can be used as completion in a single-statement body
        {
            x_source_set_index(source,index );
        }
    }
    
    BLM_TRY(xoico_body_s_parse_expression(o,host, source ))
    o->go_inline = force_inline ? true : force_export ? false : o->go_inline;
    
    xoico_compiler_s* compiler = xoico_host_a_compiler(host);
    o->global_name = xoico_host_a_entypeof(host,((st_s*)BLM_LEVEL_T_PUSH(0,st_s,st_s_create_fa("#<sc_t>_#<sc_t>", xoico_compiler_s_nameof(compiler,xoico_host_a_obj_type(host) ), xoico_compiler_s_nameof(compiler,o->name ) )))->sc );
    BLM_RETURNV(er_t, 0)
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
leaq 0x1a7382(%rip), %rax    # 0x1b2330
movq (%rax), %rax
movq %rax, -0x28(%rbp)
leaq -0x58(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x60(%rbp), %rdi
movq -0x28(%rbp), %rsi
callq 0xbfe80
movq -0x60(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
movq $0x0, 0x10(%rax)
movq -0x10(%rbp), %rdi
addq $0x28, %rdi
movq -0x20(%rbp), %rsi
callq 0x5560
movq -0x20(%rbp), %rdi
leaq 0x128931(%rip), %rsi    # 0x13392b
callq 0x6700
andb $0x1, %al
movb %al, -0x61(%rbp)
movq -0x20(%rbp), %rdi
leaq 0x128929(%rip), %rsi    # 0x133938
callq 0x6700
andb $0x1, %al
movb %al, -0x62(%rbp)
movq -0x20(%rbp), %rdi
leaq 0x128921(%rip), %rsi    # 0x133945
callq 0x6700
testb $0x1, %al
jne 0xb02f
jmp 0xb08d
movq -0x20(%rbp), %rdi
callq 0xae60
movq %rax, -0x70(%rbp)
movq -0x20(%rbp), %rdi
leaq 0x128906(%rip), %rsi    # 0x13394d
callq 0x6700
testb $0x1, %al
jne 0xb052
jmp 0xb07e
movq -0x20(%rbp), %rdi
leaq 0x1288f8(%rip), %rsi    # 0x133955
movb $0x0, %al
callq 0x4c80
movq %rax, -0x78(%rbp)
movq -0x60(%rbp), %rdi
callq 0xc0720
movq -0x78(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0xb1fa
movq -0x20(%rbp), %rdi
movq -0x70(%rbp), %rsi
callq 0xaf60
jmp 0xb08d
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x20(%rbp), %rdx
callq 0xab60
movq %rax, -0x80(%rbp)
cmpq $0x0, -0x80(%rbp)
je 0xb0cd
movq -0x80(%rbp), %rax
movq %rax, -0x88(%rbp)
movq -0x60(%rbp), %rdi
callq 0xc0720
movq -0x88(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0xb1fa
testb $0x1, -0x61(%rbp)
je 0xb0e0
movl $0x1, %eax
movl %eax, -0x9c(%rbp)
jmp 0xb10e
testb $0x1, -0x62(%rbp)
je 0xb0f0
xorl %eax, %eax
movl %eax, -0xa0(%rbp)
jmp 0xb102
movq -0x10(%rbp), %rax
movb 0x20(%rax), %al
andb $0x1, %al
movzbl %al, %eax
movl %eax, -0xa0(%rbp)
movl -0xa0(%rbp), %eax
movl %eax, -0x9c(%rbp)
movl -0x9c(%rbp), %eax
cmpl $0x0, %eax
setne %cl
movq -0x10(%rbp), %rax
andb $0x1, %cl
movb %cl, 0x20(%rax)
movq -0x18(%rbp), %rdi
callq 0x5170
movq %rax, -0x90(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq -0x90(%rbp), %rax
movq %rax, -0xc0(%rbp)
movq -0x18(%rbp), %rdi
callq 0x6b70
movq -0xc0(%rbp), %rdi
movq %rax, %rsi
callq 0x51d0
movq %rax, -0xb8(%rbp)
movq -0x90(%rbp), %rdi
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rsi
callq 0x51d0
movq -0xb8(%rbp), %rsi
movq %rax, %rdx
leaq 0x128f38(%rip), %rdi    # 0x1340d4
movb $0x0, %al
callq 0xff430
movq -0xb0(%rbp), %rdi
movq %rax, %rcx
xorl %eax, %eax
movl %eax, %esi
movabsq $-0x503db0e6e1c2e704, %rdx # imm = 0xAFC24F191E3D18FC
callq 0xc01a0
movq -0xa8(%rbp), %rdi
movq 0x8(%rax), %rsi
callq 0x9250
movq %rax, %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0x10(%rax)
movq $0x0, -0x98(%rbp)
movq -0x60(%rbp), %rdi
callq 0xc0720
movq -0x98(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0xc0, %rsp
popq %rbp
retq
nopw (%rax,%rax)