// File: /workspace/github_c_makefile_star2_O1/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
subq $0x28, %rsp
cmpb $0x1, 0xc8(%rdi)
jne 0x285fe
movq %rdx, %r12
movq %rsi, %rbx
movq %rdi, %r15
leaq 0x12b4f1(%rip), %rsi    # 0x1536ee
movq %rdx, %rdi
xorl %eax, %eax
callq 0xee2a
movl $0x76, %eax
subq %rbx, %rax
testq %rax, %rax
movl $0x0, %ecx
cmovgq %rax, %rcx
leaq 0x111366(%rip), %rsi    # 0x139588
movq %r12, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0xee2a
movq 0x90(%r15), %rcx
leaq 0x11135b(%rip), %rsi    # 0x139598
movq %r12, %rdi
movq %rbx, 0x20(%rsp)
movq %rbx, %rdx
xorl %eax, %eax
callq 0xee2a
cmpq $0x0, 0x78(%r15)
je 0x28295
leaq 0x111353(%rip), %rsi    # 0x1395b0
movq %r12, %rdi
xorl %eax, %eax
callq 0xee2a
cmpq $0x0, 0x78(%r15)
je 0x28295
leaq 0x11a514(%rip), %r14    # 0x142789
xorl %ebx, %ebx
movq 0x70(%r15), %rax
movq (%rax,%rbx,8), %rdx
movq %r12, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq 0xee2a
incq %rbx
cmpq 0x78(%r15), %rbx
jb 0x28277
leaq 0x12b452(%rip), %rsi    # 0x1536ee
movq %r12, %rdi
xorl %eax, %eax
callq 0xee2a
cmpq $0x0, 0x58(%r15)
je 0x282d8
leaq 0x111306(%rip), %r14    # 0x1395ba
xorl %ebx, %ebx
movq 0x50(%r15), %rax
movq (%rax,%rbx,8), %rax
movq 0x8(%rax), %rdx
movq %r12, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq 0xee2a
incq %rbx
cmpq 0x58(%r15), %rbx
jb 0x282b6
testq %r15, %r15
movq %r12, 0x18(%rsp)
je 0x28418
cmpq $0x0, 0x10(%r15)
sete %sil
je 0x2841b
movabsq $0x320f5368e957d0a2, %rcx # imm = 0x320F5368E957D0A2
xorl %ebx, %ebx
movq 0x8(%r15), %rax
movq (%rax,%rbx,8), %rbp
movq (%rbp), %r12
movb $0x1, %r13b
cmpq %rcx, %r12
je 0x283f8
movl 0x177169(%rip), %eax    # 0x19f488
cltq
leaq (%rax,%rax,2), %rax
leaq 0x17715c(%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
movb %sil, 0xf(%rsp)
je 0x28382
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0x28382
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0x28382
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0x28410
movq (%rax,%rcx), %r14
movq 0x18(%rsp), %r13
testq %r14, %r14
jne 0x283b7
movabsq $0x5d91f496b6479859, %rdi # imm = 0x5D91F496B6479859
movq %r12, %rsi
callq 0xf3f85
movq %rax, %r14
leaq 0x1770dc(%rip), %rdi    # 0x19f488
movq %r12, %rsi
movq %rax, %rdx
callq 0x12128c
movq %rbp, %rdi
movq %r15, %rsi
movq 0x20(%rsp), %rdx
movq %r13, %rcx
callq *0x70(%r14)
testq %rax, %rax
sete %r13b
je 0x283e9
movq %rax, %r14
leaq 0x1809f4(%rip), %rax    # 0x1a8dd0
movq (%rax), %rdi
callq 0xe0b30
movq %r14, 0x10(%rsp)
movb 0xf(%rsp), %sil
movabsq $0x320f5368e957d0a2, %rcx # imm = 0x320F5368E957D0A2
testb %r13b, %r13b
je 0x2841b
incq %rbx
cmpq 0x10(%r15), %rbx
setae %sil
jb 0x28301
jmp 0x2841b
xorl %r14d, %r14d
jmp 0x28386
movb $0x1, %sil
testb $0x1, %sil
je 0x28603
movq %r15, %rdi
movq 0x20(%rsp), %rsi
movq 0x18(%rsp), %rdx
callq 0x27df8
movq %rax, %r14
testq %rax, %rax
movq 0x10(%rsp), %r12
je 0x28456
leaq 0x180985(%rip), %rax    # 0x1a8dd0
movq (%rax), %rdi
callq 0xe0b30
movq %r14, %r12
testq %r14, %r14
jne 0x28608
testq %r15, %r15
movq %r12, 0x10(%rsp)
je 0x2859b
cmpq $0x0, 0x10(%r15)
sete %cl
je 0x2859d
movabsq $0x320f5368e957d0a2, %rsi # imm = 0x320F5368E957D0A2
xorl %ebx, %ebx
movq 0x8(%r15), %rax
movq (%rax,%rbx,8), %rbp
movq (%rbp), %r12
movb $0x1, %r13b
cmpq %rsi, %r12
jne 0x2857c
movb %cl, 0xf(%rsp)
movl 0x176fdf(%rip), %eax    # 0x19f488
cltq
leaq (%rax,%rax,2), %rax
leaq 0x176fd2(%rip), %rdx    # 0x19f488
movq 0x20(%rdx,%rax,8), %rcx
movq 0x18(%rdx,%rax,8), %rdx
andq %rsi, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r12, %rdx
je 0x28507
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0x28507
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0x28507
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0x28593
movq (%rax,%rcx), %r14
movq 0x18(%rsp), %r13
testq %r14, %r14
jne 0x2853c
movabsq $0x5d91f496b6479859, %rdi # imm = 0x5D91F496B6479859
movq %r12, %rsi
callq 0xf3f85
movq %rax, %r14
leaq 0x176f57(%rip), %rdi    # 0x19f488
movq %r12, %rsi
movq %rax, %rdx
callq 0x12128c
movq %rbp, %rdi
movq %r15, %rsi
movq 0x20(%rsp), %rdx
movq %r13, %rcx
callq *0x70(%r14)
testq %rax, %rax
sete %r13b
je 0x2856e
movq %rax, %r14
leaq 0x18086f(%rip), %rax    # 0x1a8dd0
movq (%rax), %rdi
callq 0xe0b30
movq %r14, 0x10(%rsp)
movb 0xf(%rsp), %cl
movabsq $0x320f5368e957d0a2, %rsi # imm = 0x320F5368E957D0A2
testb %r13b, %r13b
je 0x2859d
incq %rbx
cmpq 0x10(%r15), %rbx
setae %cl
jb 0x28487
jmp 0x2859d
xorl %r14d, %r14d
jmp 0x2850b
movb $0x1, %cl
testb $0x1, %cl
je 0x28603
cmpq $0x0, 0x128(%r15)
je 0x285fe
xorl %r12d, %r12d
leaq 0x18081a(%rip), %rbx    # 0x1a8dd0
xorl %r13d, %r13d
movq 0x120(%r15), %rax
movq (%rax,%r13,8), %rdi
movq %r15, %rsi
movq 0x20(%rsp), %rdx
movq 0x18(%rsp), %rcx
callq 0x1bf6d
movq %rax, %r14
testq %rax, %rax
je 0x285eb
movq (%rbx), %rdi
callq 0xe0b30
movq %r14, 0x10(%rsp)
testq %r14, %r14
jne 0x28603
incq %r13
cmpq 0x128(%r15), %r13
jb 0x285b9
jmp 0x28608
xorl %r12d, %r12d
jmp 0x28608
movq 0x10(%rsp), %r12
movq %r12, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq