// File: /workspace/github_c_makefile_star2_O0/johsteffens[P]beth/xoico/src/xoico.xo.c
// Function: xoico_group_s_expand_spect_definition
er_t xoico_group_s_expand_spect_definition( const xoico_group_s* o, sz_t indent, x_sink* sink )
{
    // xoico_group.x:979:1
    
    xoico_compiler_s* compiler = o->compiler;
    if( !o->expandable ) return  0;
    x_sink_push_fa(sink,"\n" );
    if( o->short_spect_name )
    {
        x_sink_push_fa(sink,"#rn{ }BCORE_DEFINE_SPECT( #<sc_t>, #<sc_t> )\n", indent, xoico_compiler_s_nameof(compiler,o->trait_name ), o->st_name.sc );
    }
    else
    {
        x_sink_push_fa(sink,"#rn{ }XOILA_DEFINE_SPECT( #<sc_t>, #<sc_t> )\n", indent, xoico_compiler_s_nameof(compiler,o->trait_name ), o->st_name.sc );
    }
    
    x_sink_push_fa(sink,"#rn{ }\"{\"\n", indent );
    x_sink_push_fa(sink,"#rn{ }    \"bcore_spect_header_s header;\"\n", indent );
    {const xoico_group_s* __a=o ;if(__a)for(sz_t __i=0;__i<__a->size;__i++){xoico* e=__a->data[__i]; BLM_TRY(xoico_a_expand_spect_definition(e,((const xoico_host*)(o)), indent + 4, sink ))
    }}x_sink_push_fa(sink,"#rn{ }\"}\";\n", indent );
    return  0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq 0x140(%rax), %rax
movq %rax, -0x28(%rbp)
movq -0x10(%rbp), %rax
testb $0x1, 0xc8(%rax)
jne 0x16e1d
movq $0x0, -0x8(%rbp)
jmp 0x16fac
movq -0x20(%rbp), %rdi
leaq 0x13bbf9(%rip), %rsi    # 0x152a21
movb $0x0, %al
callq 0x56e0
movq -0x10(%rbp), %rax
testb $0x1, 0xd8(%rax)
je 0x16e86
movq -0x20(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x28(%rbp), %rdi
movq -0x10(%rbp), %rax
movq 0xb0(%rax), %rsi
callq 0x51d0
movq -0x60(%rbp), %rdi
movq -0x58(%rbp), %rdx
movq %rax, %rcx
movq -0x10(%rbp), %rax
movq 0x90(%rax), %r8
leaq 0x11dace(%rip), %rsi    # 0x13494b
movb $0x0, %al
callq 0x56e0
jmp 0x16ece
movq -0x20(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x28(%rbp), %rdi
movq -0x10(%rbp), %rax
movq 0xb0(%rax), %rsi
callq 0x51d0
movq -0x70(%rbp), %rdi
movq -0x68(%rbp), %rdx
movq %rax, %rcx
movq -0x10(%rbp), %rax
movq 0x90(%rax), %r8
leaq 0x11dab2(%rip), %rsi    # 0x134979
movb $0x0, %al
callq 0x56e0
movq -0x20(%rbp), %rdi
movq -0x18(%rbp), %rdx
leaq 0x11daca(%rip), %rsi    # 0x1349a7
movb $0x0, %al
callq 0x56e0
movq -0x20(%rbp), %rdi
movq -0x18(%rbp), %rdx
leaq 0x11dabf(%rip), %rsi    # 0x1349b2
movb $0x0, %al
callq 0x56e0
movq -0x10(%rbp), %rax
movq %rax, -0x30(%rbp)
cmpq $0x0, -0x30(%rbp)
je 0x16f8e
movq $0x0, -0x38(%rbp)
movq -0x38(%rbp), %rax
movq -0x30(%rbp), %rcx
cmpq 0x10(%rcx), %rax
jae 0x16f8c
movq -0x30(%rbp), %rax
movq 0x8(%rax), %rax
movq -0x38(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x18(%rbp), %rdx
addq $0x4, %rdx
movq -0x20(%rbp), %rcx
callq 0x16fc0
movq %rax, -0x48(%rbp)
cmpq $0x0, -0x48(%rbp)
je 0x16f7c
movq -0x48(%rbp), %rax
movq %rax, -0x50(%rbp)
leaq 0x19b3c6(%rip), %rax    # 0x1b2330
movq (%rax), %rdi
callq 0xc0720
movq -0x50(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x16fac
jmp 0x16f7e
movq -0x38(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x38(%rbp)
jmp 0x16f15
jmp 0x16f8e
movq -0x20(%rbp), %rdi
movq -0x18(%rbp), %rdx
leaq 0x11da3f(%rip), %rsi    # 0x1349dc
movb $0x0, %al
callq 0x56e0
movq $0x0, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x70, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)