// File: /workspace/github_c_makefile_star2_O1/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 $0x28, %rsp
cmpb $0x1, 0xc8(%rdi)
jne 0x27723
movq %rdx, %rbp
movq %rsi, %rbx
movq %rdi, %r15
movq 0x90(%rdi), %rcx
leaq 0x111ef5(%rip), %rax    # 0x1394c0
leaq 0x111f16(%rip), %rsi    # 0x1394e8
cmpb $0x0, 0xd8(%rdi)
cmovneq %rax, %rsi
movq %rdx, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0xee2a
leaq 0x111f1f(%rip), %rsi    # 0x139510
movq %rbp, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0xee2a
leaq 0x111f16(%rip), %rsi    # 0x13951b
movq %rbp, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0xee2a
testq %r15, %r15
movq %rbx, 0x10(%rsp)
je 0x27728
cmpq $0x0, 0x10(%r15)
setne %al
je 0x2772c
leaq 0x4(%rbx), %rcx
movq %rcx, 0x20(%rsp)
xorl %r14d, %r14d
movl %eax, 0xc(%rsp)
movq 0x8(%r15), %rax
movq (%rax,%r14,8), %rbx
movq (%rbx), %r12
movl 0x177e39(%rip), %eax    # 0x19f488
cltq
leaq (%rax,%rax,2), %rax
leaq 0x177e2c(%rip), %rdx    # 0x19f488
movq 0x20(%rdx,%rax,8), %rcx
movq 0x18(%rdx,%rax,8), %rdx
andq %r12, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r12, %rdx
je 0x276a9
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0x276a9
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0x276a9
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0x2771e
movq (%rax,%rcx), %r13
testq %r13, %r13
jne 0x276d9
movabsq $0x5d91f496b6479859, %rdi # imm = 0x5D91F496B6479859
movq %r12, %rsi
callq 0xf3f85
movq %rax, %r13
leaq 0x177dba(%rip), %rdi    # 0x19f488
movq %r12, %rsi
movq %rax, %rdx
callq 0x12128c
movq %rbx, %rdi
movq %r15, %rsi
movq 0x20(%rsp), %rdx
movq %rbp, %rcx
callq *0x50(%r13)
movq %rax, %rbx
testq %rax, %rax
je 0x27707
leaq 0x1816d6(%rip), %rax    # 0x1a8dd0
movq (%rax), %rdi
callq 0xe0b30
movq %rbx, 0x18(%rsp)
testq %rbx, %rbx
jne 0x2772e
incq %r14
cmpq 0x10(%r15), %r14
setb %al
jb 0x2763a
jmp 0x27732
xorl %r13d, %r13d
jmp 0x276ad
xorl %r14d, %r14d
jmp 0x27772
xorl %eax, %eax
jmp 0x27732
jmp 0x27732
movl 0xc(%rsp), %eax
testb $0x1, %al
movq 0x18(%rsp), %r14
jne 0x27772
leaq 0x111e03(%rip), %rsi    # 0x139545
xorl %r14d, %r14d
movq %rbp, %rdi
movq 0x10(%rsp), %rbx
movq %rbx, %rdx
xorl %eax, %eax
callq 0xee2a
movq 0x90(%r15), %rcx
leaq 0x111dec(%rip), %rsi    # 0x139551
movq %rbp, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0xee2a
movq %r14, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq