// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/xoico/src/xoico.xo.c
// Function: xoico_group_s_expand_declaration
er_t xoico_group_s_expand_declaration( const xoico_group_s* o, sz_t indent, x_sink* sink )
{
    // xoico_group.x:938:1
    BLM_INIT_LEVEL(0);
    if( !o->expandable ) BLM_RETURNV(er_t, 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_declaration );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 );}}
    
    x_sink_push_fa(sink,"\n" );
    x_sink_push_fa(sink,"#rn{ }##define TYPEOF_#<sc_t> 0x#pl16'0'{#X<tp_t>}ull\n", indent, o->st_name.sc, btypeof( o->st_name.sc ) );
    
    st_s* st_spect_name = ((st_s*)BLM_LEVEL_T_PUSH(0,st_s,xoico_group_s_create_spect_name( o )));
    sc_t sc_spect_name = st_spect_name->sc;
    
    x_sink_push_fa(sink,"#rn{ }##define TYPEOF_#<sc_t> 0x#pl16'0'{#X<tp_t>}ull\n", indent, sc_spect_name, btypeof( sc_spect_name ) );
    
    {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_declaration(e,((const xoico_host*)(o)), indent, sink ))
    }}x_sink_push_fa(sink,"#rn{ }##define BETH_EXPAND_GROUP_#<sc_t>", indent, o->st_name.sc );
    
    BLM_TRY(xoico_group_s_expand_forward(o,indent + 2, sink ))
    
    {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_indef_typedef(e,((const xoico_host*)(o)), indent, sink ))
    }}BLM_TRY(xoico_group_s_expand_spect_declaration(o,indent + 2, sink ))
    
    {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_indef_declaration(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_declaration(func,((const xoico_host*)(o)), indent + 2, sink ))
    }}x_sink_push_fa(sink,"\n" );
    
    BLM_RETURNV(er_t, 0)
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdx, %rbp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x175b67(%rip), %rax    # 0x19bdd0
movq (%rax), %rsi
leaq 0x18(%rsp), %r15
movq %r15, %rdi
callq 0xd6675
movq $0x0, 0x10(%r15)
cmpb $0x1, 0xc8(%r14)
jne 0x26484
leaq 0x12247e(%rip), %rsi    # 0x148714
movq %rbp, %rdi
xorl %eax, %eax
callq 0xed3f
movl $0x76, %eax
subq %rbx, %rax
testq %rax, %rax
movl $0x0, %ecx
cmovgq %rax, %rcx
leaq 0x1082cd(%rip), %rsi    # 0x12e588
movq %rbp, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0xed3f
movq 0x90(%r14), %rcx
leaq 0x1082c2(%rip), %rsi    # 0x12e598
movq %rbp, %rdi
movq %rbx, (%rsp)
movq %rbx, %rdx
xorl %eax, %eax
callq 0xed3f
cmpq $0x0, 0x78(%r14)
je 0x2632d
leaq 0x1082bb(%rip), %rsi    # 0x12e5b0
movq %rbp, %rdi
xorl %eax, %eax
callq 0xed3f
cmpq $0x0, 0x78(%r14)
je 0x2632d
leaq 0x1112f4(%rip), %r15    # 0x137601
xorl %ebx, %ebx
movq 0x70(%r14), %rax
movq (%rax,%rbx,8), %rdx
movq %rbp, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0xed3f
incq %rbx
cmpq 0x78(%r14), %rbx
jb 0x2630f
leaq 0x1223e0(%rip), %rsi    # 0x148714
movq %rbp, %rdi
xorl %eax, %eax
callq 0xed3f
cmpq $0x0, 0x38(%r14)
je 0x26370
leaq 0x10826e(%rip), %r12    # 0x12e5ba
xorl %ebx, %ebx
movq 0x30(%r14), %rax
movq (%rax,%rbx,8), %rax
movq 0x8(%rax), %rdx
movq %rbp, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq 0xed3f
incq %rbx
cmpq 0x38(%r14), %rbx
jb 0x2634e
movabsq $-0x340d631b7bdddcdb, %r12 # imm = 0xCBF29CE484222325
movabsq $-0x509c42b379fe4821, %r13 # imm = 0xAF63BD4C8601B7DF
leaq 0x122389(%rip), %rsi    # 0x148714
movq %rbp, %rdi
xorl %eax, %eax
callq 0xed3f
movq 0x90(%r14), %rcx
movq %r13, %r8
testq %rcx, %rcx
movq (%rsp), %rbx
je 0x263d9
movb (%rcx), %al
movq %r12, %r8
testb %al, %al
je 0x263d9
movabsq $0x100000001b3, %rdx    # imm = 0x100000001B3
leaq 0x1(%rcx), %rsi
movq %r12, %rdi
movzbl %al, %r8d
xorq %rdi, %r8
imulq %rdx, %r8
movb (%rsi), %al
incq %rsi
movq %r8, %rdi
testb %al, %al
jne 0x263c2
leaq 0x106cc9(%rip), %rsi    # 0x12d0a9
movq %rbp, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0xed3f
movq 0x90(%r14), %rsi
leaq 0x107b3d(%rip), %rax    # 0x12df38
leaq 0x107b40(%rip), %rdi    # 0x12df42
cmpb $0x0, 0xd8(%r14)
cmovneq %rax, %rdi
xorl %eax, %eax
callq 0x109dca
leaq 0x18(%rsp), %rdi
movabsq $-0x503db0e6e1c2e704, %rdx # imm = 0xAFC24F191E3D18FC
xorl %esi, %esi
movq %rax, %rcx
callq 0xd68a8
movq 0x8(%rax), %rcx
testq %rcx, %rcx
je 0x2648f
movb (%rcx), %sil
testb %sil, %sil
je 0x2648c
movabsq $0x100000001b3, %rax    # imm = 0x100000001B3
leaq 0x1(%rcx), %rdx
movzbl %sil, %esi
xorq %rsi, %r12
imulq %rax, %r12
movb (%rdx), %sil
incq %rdx
testb %sil, %sil
jne 0x2644d
leaq 0x106c3f(%rip), %rsi    # 0x12d0a9
movq %rbp, %rdi
movq %rbx, %rdx
movq %r12, %r8
xorl %eax, %eax
callq 0xed3f
testq %r14, %r14
jne 0x264a6
jmp 0x2657c
xorl %r12d, %r12d
jmp 0x266a4
movq %r12, %r13
leaq 0x106c13(%rip), %rsi    # 0x12d0a9
movq %rbp, %rdi
movq %rbx, %rdx
movq %r13, %r8
xorl %eax, %eax
callq 0xed3f
cmpq $0x0, 0x10(%r14)
je 0x2657c
xorl %ebx, %ebx
movq %rbp, %r13
movq 0x8(%r14), %rax
movq (%rax,%rbx,8), %rbp
movq (%rbp), %r12
movl 0x16bfc0(%rip), %eax    # 0x192488
cltq
leaq (%rax,%rax,2), %rax
leaq 0x16bfb3(%rip), %rdx    # 0x192488
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 0x26522
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0x26522
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0x26522
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0x2652b
movq (%rax,%rcx), %r15
testq %r15, %r15
jne 0x26552
movabsq $0x5d91f496b6479859, %rdi # imm = 0x5D91F496B6479859
movq %r12, %rsi
callq 0xe9bc5
movq %rax, %r15
leaq 0x16bf41(%rip), %rdi    # 0x192488
movq %r12, %rsi
movq %rax, %rdx
callq 0x115fac
movq %rbp, %rdi
movq %r14, %rsi
movq (%rsp), %rdx
movq %r13, %rbp
movq %r13, %rcx
callq *0x60(%r15)
testq %rax, %rax
jne 0x266a1
incq %rbx
cmpq 0x10(%r14), %rbx
jb 0x264b3
movq 0x90(%r14), %rcx
leaq 0x108043(%rip), %rsi    # 0x12e5cd
movq %rbp, %rdi
movq (%rsp), %rbx
movq %rbx, %rdx
xorl %eax, %eax
callq 0xed3f
addq $0x2, %rbx
movq %r14, %rdi
movq %rbx, %rsi
movq %rbp, %rdx
callq 0x25f1d
testq %rax, %rax
jne 0x266a1
movq %rbx, 0x10(%rsp)
movq %rbp, 0x8(%rsp)
cmpq $0x0, 0x10(%r14)
je 0x2668a
xorl %ebx, %ebx
leaq 0x16beb4(%rip), %rbp    # 0x192488
movq 0x8(%r14), %rax
movq (%rax,%rbx,8), %r13
movq (%r13), %r12
movl 0x16bea2(%rip), %eax    # 0x192488
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%rbp,%rax,8), %rcx
movq 0x18(%rbp,%rax,8), %rdx
andq %r12, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r12, %rdx
je 0x26639
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0x26639
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0x26639
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0x26642
movq (%rax,%rcx), %r15
testq %r15, %r15
jne 0x26665
movabsq $0x5d91f496b6479859, %rdi # imm = 0x5D91F496B6479859
movq %r12, %rsi
callq 0xe9bc5
movq %rax, %r15
movq %rbp, %rdi
movq %r12, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r13, %rdi
movq %r14, %rsi
movq (%rsp), %rdx
movq 0x8(%rsp), %rcx
callq *0x48(%r15)
testq %rax, %rax
jne 0x266a1
incq %rbx
cmpq 0x10(%r14), %rbx
jb 0x265d4
movq %r14, %rdi
movq 0x10(%rsp), %rsi
movq 0x8(%rsp), %rdx
callq 0x26090
testq %rax, %rax
je 0x266c0
movq %rax, %r12
leaq 0x18(%rsp), %rdi
callq 0xd6d2c
movq %r12, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpq $0x0, 0x10(%r14)
je 0x2678e
xorl %ebx, %ebx
leaq 0x16bdb4(%rip), %rbp    # 0x192488
movq 0x8(%r14), %rax
movq (%rax,%rbx,8), %r13
movq (%r13), %r12
movl 0x16bda2(%rip), %eax    # 0x192488
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%rbp,%rax,8), %rcx
movq 0x18(%rbp,%rax,8), %rdx
andq %r12, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r12, %rdx
je 0x26739
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0x26739
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0x26739
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0x26742
movq (%rax,%rcx), %r15
testq %r15, %r15
jne 0x26765
movabsq $0x5d91f496b6479859, %rdi # imm = 0x5D91F496B6479859
movq %r12, %rsi
callq 0xe9bc5
movq %rax, %r15
movq %rbp, %rdi
movq %r12, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r13, %rdi
movq %r14, %rsi
movq (%rsp), %rdx
movq 0x8(%rsp), %rcx
callq *0x68(%r15)
testq %rax, %rax
jne 0x266a1
incq %rbx
cmpq 0x10(%r14), %rbx
jb 0x266d4
cmpq $0x0, 0x128(%r14)
movq 0x8(%rsp), %r15
movq 0x10(%rsp), %r13
je 0x267d2
xorl %ebx, %ebx
movq 0x120(%r14), %rax
movq (%rax,%rbx,8), %rdi
movq %r14, %rsi
movq %r13, %rdx
movq %r15, %rcx
callq 0x1b5f4
testq %rax, %rax
jne 0x266a1
incq %rbx
cmpq 0x128(%r14), %rbx
jb 0x267a4
leaq 0x121f3b(%rip), %rsi    # 0x148714
xorl %r12d, %r12d
movq %r15, %rdi
xorl %eax, %eax
callq 0xed3f
jmp 0x266a4