// File: /workspace/github_c_makefile_star2_O2/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 || embed_method == TYPEOF_as_string_without_comments )
    {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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rcx, %r12
movq %rsi, %rbp
movq %rdi, %rbx
movabsq $0x29f0bb6cbdaf87e3, %rax # imm = 0x29F0BB6CBDAF87E3
cmpq %rax, %rcx
je 0x16467
movabsq $-0x4513c06eae19ddf9, %rax # imm = 0xBAEC3F9151E62207
cmpq %rax, %r12
jne 0x16573
leaq 0x101962(%rip), %rax    # 0x117dd0
movq (%rax), %rsi
leaq 0x18(%rsp), %r14
movq %r14, 0x10(%rsp)
movq %r14, %rdi
movq %rdx, 0x8(%rsp)
callq 0x717f5
movq $0x1, 0x10(%r14)
callq 0x13385
pushq $0x1
popq %r15
movabsq $0x1fa0648e172ff75b, %rdx # imm = 0x1FA0648E172FF75B
movq %r14, %rdi
movq %r15, %rsi
movq %rax, %rcx
callq 0x71967
movq %rax, %r13
movq %rbx, 0x8(%rax)
movq %r12, 0x18(%rax)
xorl %eax, %eax
callq 0x8eb65
movabsq $-0x503db0e6e1c2e704, %rdx # imm = 0xAFC24F191E3D18FC
movq %r14, %rdi
movq %r15, %rsi
movq %rdx, %r15
movq %rax, %rcx
callq 0x71967
movq 0x90(%rbx), %rdx
leaq 0x94ed8(%rip), %rsi     # 0xab3c4
movq %rax, %rdi
xorl %eax, %eax
callq 0x8e7af
movq 0x8(%rax), %rsi
movq %rbp, %rdi
callq 0xfbe8
movq %rax, 0x20(%r13)
movq %r12, 0x18(%r13)
movq %r13, %rdi
movq 0x8(%rsp), %rdx
callq 0x133c0
movq %r13, %rdi
callq 0x6026d
movq %rbx, %rdi
movq %rax, %rsi
callq 0xf6dd
xorl %eax, %eax
callq 0x8eb65
movq %r14, %rdi
pushq $0x1
popq %rsi
movq %r15, %rdx
movq %rax, %rcx
callq 0x71967
leaq 0x94e8d(%rip), %rsi     # 0xab3d6
movq %rax, %rdi
xorl %eax, %eax
callq 0x8e7af
movq 0x8(%rax), %rsi
movq %rbx, %rdi
callq 0x14163
testq %rax, %rax
je 0x165b2
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x71b64
jmp 0x165be
leaq 0x94e71(%rip), %rdi     # 0xab3eb
leaq 0x93d0f(%rip), %rsi     # 0xaa290
leaq 0x94e7d(%rip), %rcx     # 0xab405
xorl %ebx, %ebx
movl $0xd97, %edx            # imm = 0xD97
xorl %eax, %eax
callq 0x6078d
testq %rax, %rax
je 0x165be
movq %rax, %r14
leaq 0x10182b(%rip), %rax    # 0x117dd0
movq (%rax), %rdi
callq 0x71b64
movq %r14, %rbx
jmp 0x165be
leaq 0x10(%rsp), %rdi
callq 0x71b48
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq