// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/xoico/src/xoico.xo.c
// Function: xoico_group_s_expand_spect_declaration
er_t xoico_group_s_expand_spect_declaration( const xoico_group_s* o, sz_t indent, x_sink* sink )
{
    // xoico_group.x:908:1
    
    if( !o->expandable ) return  0;
    if( o->short_spect_name )
    {
        x_sink_push_fa(sink," \\\n#rn{ }BCORE_DECLARE_SPECT( #<sc_t> )", indent, o->st_name.sc );
    }
    else
    {
        x_sink_push_fa(sink," \\\n#rn{ }XOILA_DECLARE_SPECT( #<sc_t> )", indent, o->st_name.sc );
    }
    
    x_sink_push_fa(sink," \\\n#rn{ }{", indent );
    x_sink_push_fa(sink," \\\n#rn{ }    bcore_spect_header_s header;", 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_declaration(e,((const xoico_host*)(o)), indent + 4, sink ))
    }}x_sink_push_fa(sink," \\\n#rn{ }};", indent );
    
    x_sink_push_fa(sink," \\\n#rn{ }"
        "BCORE_DECLARE_VIRTUAL_AWARE_OBJECT( #<sc_t> )",
        indent,
        o->st_name.sc
    );
    
    return  0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
cmpb $0x1, 0xc8(%rdi)
jne 0x26223
movq %rdx, %r13
movq %rsi, %rbx
movq %rdi, %r15
movq 0x90(%rdi), %rcx
leaq 0x1083fe(%rip), %rax    # 0x12e4c0
leaq 0x10841f(%rip), %rsi    # 0x12e4e8
cmpb $0x0, 0xd8(%rdi)
cmovneq %rax, %rsi
movq %rdx, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0xed3f
leaq 0x108428(%rip), %rsi    # 0x12e510
movq %r13, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0xed3f
leaq 0x10841f(%rip), %rsi    # 0x12e51b
movq %r13, %rdi
movq %rbx, 0x8(%rsp)
movq %rbx, %rdx
xorl %eax, %eax
callq 0xed3f
cmpq $0x0, 0x10(%r15)
je 0x261eb
movq 0x8(%rsp), %rax
addq $0x4, %rax
movq %rax, 0x10(%rsp)
xorl %r14d, %r14d
movq 0x8(%r15), %rax
movq (%rax,%r14,8), %rbp
movq (%rbp), %rbx
movl 0x16c34c(%rip), %eax    # 0x192488
cltq
leaq (%rax,%rax,2), %rax
leaq 0x16c33f(%rip), %rdx    # 0x192488
movq 0x20(%rdx,%rax,8), %rcx
movq 0x18(%rdx,%rax,8), %rdx
andq %rbx, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %rbx, %rdx
je 0x26196
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbx, %rdx
je 0x26196
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbx, %rdx
je 0x26196
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbx, %rdx
jne 0x2619f
movq (%rax,%rcx), %r12
testq %r12, %r12
jne 0x261c6
movabsq $0x5d91f496b6479859, %rdi # imm = 0x5D91F496B6479859
movq %rbx, %rsi
callq 0xe9bc5
movq %rax, %r12
leaq 0x16c2cd(%rip), %rdi    # 0x192488
movq %rbx, %rsi
movq %rax, %rdx
callq 0x115fac
movq %rbp, %rdi
movq %r15, %rsi
movq 0x10(%rsp), %rdx
movq %r13, %rcx
callq *0x50(%r12)
testq %rax, %rax
jne 0x26227
incq %r14
cmpq 0x10(%r15), %r14
jb 0x2612a
leaq 0x108353(%rip), %rsi    # 0x12e545
xorl %ebx, %ebx
movq %r13, %rdi
movq 0x8(%rsp), %r14
movq %r14, %rdx
xorl %eax, %eax
callq 0xed3f
movq 0x90(%r15), %rcx
leaq 0x10833d(%rip), %rsi    # 0x12e551
movq %r13, %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0xed3f
jmp 0x26239
xorl %ebx, %ebx
jmp 0x26239
movq %rax, %rbx
leaq 0x175b9f(%rip), %rax    # 0x19bdd0
movq (%rax), %rdi
callq 0xd6d2c
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq