// File: /workspace/github_c_makefile_star2_O0/johsteffens[P]beth/xoico/src/xoico.xo.c
// Function: xoico_group_s_parse_embed
er_t xoico_group_s_parse_embed( xoico_group_s* o, const xoico_host* host, x_source* source, tp_t embed_method )
{
    // xoico_group.x:843:1
    
    if( embed_method == TYPEOF_as_string )
    {BLM_INIT_LEVEL(1);
        xoico_embedded_data_s* embedded_data = ((xoico_embedded_data_s*)BLM_LEVEL_T_PUSH(1,xoico_embedded_data_s,xoico_embedded_data_s_create()));
    
        embedded_data->group = o;
        embedded_data->embed_method = embed_method;
    
        const st_s* full_function_name = st_s_copy_fa(((st_s*)BLM_LEVEL_T_PUSH(1,st_s,st_s_create())),"#<sc_t>_as_string", o->st_name.sc );
    
        embedded_data->function_name = xoico_host_a_entypeof(host,full_function_name->sc );
        embedded_data->embed_method = embed_method;
        BLM_TRY(xoico_embedded_data_s_parse(embedded_data,((const xoico_host*)(o)), source ))
    
        xoico_group_s_push_item_d(o,((xoico*)(((xoico_embedded_data_s*)bcore_fork(embedded_data)) )));
    
        BLM_TRY(xoico_group_s_push_func_from_sc(o,st_s_copy_fa(((st_s*)BLM_LEVEL_T_PUSH(1,st_s,st_s_create())),"d st_s* as_string();" )->sc ))
    BLM_DOWN();}
    else
    {
        BLM_TRY(GERR_fa("Invalid embed_method." ))
    }
    return  0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movabsq $-0x4513c06eae19ddf9, %rax # imm = 0xBAEC3F9151E62207
cmpq %rax, -0x28(%rbp)
jne 0x15c47
leaq 0x19c8da(%rip), %rax    # 0x1b2330
movq (%rax), %rax
movq %rax, -0x30(%rbp)
leaq -0x60(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x68(%rbp), %rdi
movq -0x30(%rbp), %rsi
callq 0xbfe80
movq -0x68(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
movq $0x1, 0x10(%rax)
movq -0x30(%rbp), %rax
movq %rax, -0xb8(%rbp)
callq 0xfb50
movq -0xb8(%rbp), %rdi
movq %rax, %rcx
movl $0x1, %esi
movabsq $0x1fa0648e172ff75b, %rdx # imm = 0x1FA0648E172FF75B
callq 0xc01a0
movq %rax, -0x70(%rbp)
movq -0x10(%rbp), %rcx
movq -0x70(%rbp), %rax
movq %rcx, 0x8(%rax)
movq -0x28(%rbp), %rcx
movq -0x70(%rbp), %rax
movq %rcx, 0x18(%rax)
movq -0x30(%rbp), %rax
movq %rax, -0xb0(%rbp)
movb $0x0, %al
callq 0xff2e0
movq -0xb0(%rbp), %rdi
movq %rax, %rcx
movl $0x1, %esi
movabsq $-0x503db0e6e1c2e704, %rdx # imm = 0xAFC24F191E3D18FC
callq 0xc01a0
movq %rax, %rdi
movq -0x10(%rbp), %rax
movq 0x90(%rax), %rdx
leaq 0x11ec04(%rip), %rsi    # 0x134719
movb $0x0, %al
callq 0xfec20
movq %rax, -0x78(%rbp)
movq -0x18(%rbp), %rdi
movq -0x78(%rbp), %rax
movq 0x8(%rax), %rsi
callq 0x9250
movq %rax, %rcx
movq -0x70(%rbp), %rax
movq %rcx, 0x20(%rax)
movq -0x28(%rbp), %rcx
movq -0x70(%rbp), %rax
movq %rcx, 0x18(%rax)
movq -0x70(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x20(%rbp), %rdx
callq 0xfbe0
movq %rax, -0x80(%rbp)
cmpq $0x0, -0x80(%rbp)
je 0x15b88
movq -0x80(%rbp), %rax
movq %rax, -0x88(%rbp)
movq -0x68(%rbp), %rdi
callq 0xc0720
movq -0x88(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x15cad
movq -0x10(%rbp), %rax
movq %rax, -0xd0(%rbp)
movq -0x70(%rbp), %rdi
callq 0x9d3d0
movq -0xd0(%rbp), %rdi
movq %rax, %rsi
callq 0x11270
movq -0x10(%rbp), %rax
movq %rax, -0xc0(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0xc8(%rbp)
movb $0x0, %al
callq 0xff2e0
movq -0xc8(%rbp), %rdi
movq %rax, %rcx
movl $0x1, %esi
movabsq $-0x503db0e6e1c2e704, %rdx # imm = 0xAFC24F191E3D18FC
callq 0xc01a0
movq %rax, %rdi
leaq 0x11eb3b(%rip), %rsi    # 0x13472b
movb $0x0, %al
callq 0xfec20
movq -0xc0(%rbp), %rdi
movq 0x8(%rax), %rsi
callq 0x115d0
movq %rax, -0x90(%rbp)
cmpq $0x0, -0x90(%rbp)
je 0x15c3c
movq -0x90(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0x68(%rbp), %rdi
callq 0xc0720
movq -0x98(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x15cad
leaq -0x68(%rbp), %rdi
callq 0xc06e0
jmp 0x15ca5
leaq 0x11eaf2(%rip), %rdi    # 0x134740
leaq 0x11d993(%rip), %rsi    # 0x1335e8
movl $0xd5a, %edx            # imm = 0xD5A
leaq 0x11eaf9(%rip), %rcx    # 0x13475a
movb $0x0, %al
callq 0x9e2c0
movq %rax, -0xa0(%rbp)
cmpq $0x0, -0xa0(%rbp)
je 0x15ca3
movq -0xa0(%rbp), %rax
movq %rax, -0xa8(%rbp)
leaq 0x19c6a2(%rip), %rax    # 0x1b2330
movq (%rax), %rdi
callq 0xc0720
movq -0xa8(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x15cad
jmp 0x15ca5
movq $0x0, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0xd0, %rsp
popq %rbp
retq
nopw (%rax,%rax)