// File: /workspace/github_c_makefile_star2_O2/johsteffens[P]beth/xoico/src/xoico.xo.c
// Function: xoico_group_s_expand_definition
er_t xoico_group_s_expand_definition( const xoico_group_s* o, sz_t indent, x_sink* sink )
{
    // xoico_group.x:1010:1
    
    if( !o->expandable ) return  0;
    x_sink_push_fa(sink,"\n" );
    x_sink_push_fa(sink,"#rn{ }//#rn{-}\n", indent, sz_max( 0, 118 - indent ) );
    x_sink_push_fa(sink,"#rn{ }// group: #<sc_t>", indent, o->st_name.sc );
    if( o->explicit_embeddings.size > 0 )
    {
        x_sink_push_fa(sink,"; embeds:" );
        {const bcore_arr_st_s* __a=&(o->explicit_embeddings );if(__a)for(sz_t __i=0;__i<__a->size;__i++){st_s* st=__a->data[__i]; x_sink_push_fa(sink," #<st_s*>", st );}}
    }
    x_sink_push_fa(sink,"\n" );
    
    {const bcore_arr_st_s* __a=&(o->includes_in_definition );if(__a)for(sz_t __i=0;__i<__a->size;__i++){st_s* e=__a->data[__i]; x_sink_push_fa(sink,"##include #<sc_t>\n", e->sc );}}
    
    // non-features
    {const xoico_group_s* __a=o;if(__a)for(sz_t __i=0;__i<__a->size;__i++){xoico* e=__a->data[__i];if(e->_ != ((tp_t)(TYPEOF_xoico_feature_s)) ){ BLM_TRY(xoico_a_expand_definition(e,((const xoico_host*)(o)), indent, sink ))
    
    }}}BLM_TRY(xoico_group_s_expand_spect_definition(o,indent, sink ))
    
    // just-features
    {const xoico_group_s* __a=o;if(__a)for(sz_t __i=0;__i<__a->size;__i++){xoico* e=__a->data[__i];if(e->_ == ((tp_t)(TYPEOF_xoico_feature_s)) ){ BLM_TRY(xoico_a_expand_definition(e,((const xoico_host*)(o)), indent, sink ))
    
    }}}{const xoico_funcs_s* __a=&(o->funcs );if(__a)for(sz_t __i=0;__i<__a->size;__i++){xoico_func_s* func=__a->data[__i]; BLM_TRY(xoico_func_s_expand_definition(func,((const xoico_host*)(o)), indent, sink ))
    
    }}return  0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
cmpb $0x1, 0xc8(%rdi)
jne 0x16fe8
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
leaq 0xaf6e6(%rip), %rsi     # 0xc65cb
movq %rdx, %rdi
xorl %eax, %eax
callq 0xdd43
pushq $0x76
popq %rax
subq %r14, %rax
testq %rax, %rax
movl $0x0, %ecx
cmovgq %rax, %rcx
leaq 0x94680(%rip), %rsi     # 0xab588
movq %rbx, %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0xdd43
movq 0x90(%r15), %rcx
leaq 0x94675(%rip), %rsi     # 0xab598
movq %rbx, %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0xdd43
cmpq $0x0, 0x78(%r15)
je 0x16f72
leaq 0x94672(%rip), %rsi     # 0xab5b0
movq %rbx, %rdi
xorl %eax, %eax
callq 0xdd43
leaq 0x9dad2(%rip), %r12     # 0xb4a21
xorl %r13d, %r13d
cmpq 0x78(%r15), %r13
jae 0x16f72
movq 0x70(%r15), %rax
movq (%rax,%r13,8), %rdx
movq %rbx, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq 0xdd43
incq %r13
jmp 0x16f52
leaq 0xaf652(%rip), %rsi     # 0xc65cb
movq %rbx, %rdi
xorl %eax, %eax
callq 0xdd43
leaq 0x94630(%rip), %r12     # 0xab5ba
xorl %r13d, %r13d
cmpq 0x58(%r15), %r13
jae 0x16fb1
movq 0x50(%r15), %rax
movq (%rax,%r13,8), %rax
movq 0x8(%rax), %rdx
movq %rbx, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq 0xdd43
incq %r13
jmp 0x16f8d
movabsq $0x320f5368e957d0a2, %r13 # imm = 0x320F5368E957D0A2
xorl %ebp, %ebp
cmpq 0x10(%r15), %rbp
jae 0x16fed
movq 0x8(%r15), %rax
movq (%rax,%rbp,8), %rdi
cmpq %r13, (%rdi)
je 0x16fe3
movq %r15, %rsi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x17086
testq %rax, %rax
jne 0x17000
incq %rbp
jmp 0x16fbd
xorl %r12d, %r12d
jmp 0x17012
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x16cae
testq %rax, %rax
je 0x17024
movq %rax, %r12
leaq 0x100dc6(%rip), %rax    # 0x117dd0
movq (%rax), %rdi
callq 0x71b64
movq %r12, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %ebp, %ebp
cmpq 0x10(%r15), %rbp
jae 0x17051
movq 0x8(%r15), %rax
movq (%rax,%rbp,8), %rdi
cmpq %r13, (%rdi)
jne 0x1704c
movq %r15, %rsi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x17086
testq %rax, %rax
jne 0x17000
incq %rbp
jmp 0x17026
xorl %r12d, %r12d
xorl %r13d, %r13d
cmpq 0x128(%r15), %r13
jae 0x17012
movq 0x120(%r15), %rax
movq (%rax,%r13,8), %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x119c5
incq %r13
testq %rax, %rax
je 0x17057
jmp 0x17000