// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/xoico/src/xoico.xo.c
// Function: xoico_group_s_expand_init1
er_t xoico_group_s_expand_init1( const xoico_group_s* o, sz_t indent, x_sink* sink )
{
    // xoico_group.x:1040:1
    
    if( !o->expandable ) return  0;
    x_sink_push_fa(sink,"\n" );
    x_sink_push_fa(sink,"#rn{ }// group: #<sc_t>\n", indent, o->st_name.sc );
    {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_init1(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_init1(func,((const xoico_host*)(o)), indent, sink ))
    
    }}if( o->short_spect_name )
    {
        x_sink_push_fa(sink,"#rn{ }BCORE_REGISTER_SPECT( #<sc_t> );\n", indent, o->st_name.sc );
    }
    else
    {
        x_sink_push_fa(sink,"#rn{ }XOILA_REGISTER_SPECT( #<sc_t> );\n", indent, o->st_name.sc );
    }
    
    if( o->is_retrievable )
    {
        x_sink_push_fa(sink,"#rn{ }{\n", indent );
        x_sink_push_fa(sink,"#rn{ }   bcore_arr_tp_s* arr = bcore_arr_tp_s_create();\n", indent );
        {const bcore_arr_tp_s* __a=o->retrievable_stamps ;if(__a)for(sz_t __i=0;__i<__a->size;__i++){tp_t type=__a->data[__i];
        {
            x_sink_push_fa(sink,"#rn{ }   bcore_arr_tp_s_push( arr, TYPEOF_#<sc_t> );\n", indent, xoico_compiler_s_nameof(o->compiler,type ) );
        }
        }}x_sink_push_fa(sink,"#rn{ }   bcore_xoila_set_arr_traitline_stamps_d( TYPEOF_#<sc_t>, arr );\n", indent, xoico_compiler_s_nameof(o->compiler,o->tp_name ) );
        x_sink_push_fa(sink,"#rn{ }}\n", indent );
    }
    
    
    if( o->defines_group_signal_init1 )
    {
        x_sink_push_fa(sink,"#rn{ }#<sc_t>_group_signal_init1();\n", indent, o->st_name.sc );
    }
    
    return  0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
cmpb $0x1, 0xc8(%rdi)
jne 0x2711d
movq %rdx, %r14
movq %rsi, %rbp
movq %rdi, %r15
leaq 0x121844(%rip), %rsi    # 0x148714
movq %rdx, %rdi
xorl %eax, %eax
callq 0xed3f
movq 0x90(%r15), %rcx
leaq 0x107830(%rip), %rsi    # 0x12e718
movq %r14, %rdi
movq %rbp, %rdx
xorl %eax, %eax
callq 0xed3f
cmpq $0x0, 0x10(%r15)
je 0x26fd3
xorl %ebx, %ebx
movq %r14, (%rsp)
movq %rbp, %r14
movq 0x8(%r15), %rax
movq (%rax,%rbx,8), %rbp
movq (%rbp), %r13
movl 0x16b56d(%rip), %eax    # 0x192488
cltq
leaq (%rax,%rax,2), %rax
leaq 0x16b560(%rip), %rdx    # 0x192488
movq 0x20(%rdx,%rax,8), %rcx
movq 0x18(%rdx,%rax,8), %rdx
andq %r13, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r13, %rdx
je 0x26f75
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r13, %rdx
je 0x26f75
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r13, %rdx
je 0x26f75
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r13, %rdx
jne 0x26f7e
movq (%rax,%rcx), %r12
testq %r12, %r12
jne 0x26fa5
movabsq $0x5d91f496b6479859, %rdi # imm = 0x5D91F496B6479859
movq %r13, %rsi
callq 0xe9bc5
movq %rax, %r12
leaq 0x16b4ee(%rip), %rdi    # 0x192488
movq %r13, %rsi
movq %rax, %rdx
callq 0x115fac
movq %rbp, %rdi
movq %r15, %rsi
movq %r14, %rbp
movq %r14, %rdx
movq (%rsp), %r14
movq %r14, %rcx
callq *0x78(%r12)
testq %rax, %rax
jne 0x27132
incq %rbx
cmpq 0x10(%r15), %rbx
jb 0x26f06
cmpq $0x0, 0x128(%r15)
je 0x27004
xorl %ebx, %ebx
movq 0x120(%r15), %rax
movq (%rax,%rbx,8), %rdi
movq %r15, %rsi
movq %rbp, %rdx
movq %r14, %rcx
callq 0x1b9a8
incq %rbx
cmpq 0x128(%r15), %rbx
jb 0x26fdf
movq 0x90(%r15), %rcx
leaq 0x10771f(%rip), %rax    # 0x12e731
leaq 0x107740(%rip), %rsi    # 0x12e759
cmpb $0x0, 0xd8(%r15)
cmovneq %rax, %rsi
movq %r14, %rdi
movq %rbp, %rdx
xorl %eax, %eax
callq 0xed3f
cmpb $0x1, 0xca(%r15)
jne 0x270f3
leaq 0x106dc8(%rip), %rsi    # 0x12de0f
movq %r14, %rdi
movq %rbp, %rdx
xorl %eax, %eax
callq 0xed3f
leaq 0x107726(%rip), %rsi    # 0x12e781
movq %r14, %rdi
movq %rbp, %rdx
xorl %eax, %eax
callq 0xed3f
movq 0xd0(%r15), %rbx
testq %rbx, %rbx
je 0x270b5
cmpq $0x0, 0x10(%rbx)
je 0x270b5
leaq 0x107738(%rip), %r12    # 0x12e7ba
xorl %r13d, %r13d
movq 0x8(%rbx), %rax
movq (%rax,%r13,8), %rsi
movq 0x140(%r15), %rdi
callq 0xe3d7
movq %r14, %rdi
movq %r12, %rsi
movq %rbp, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0xed3f
incq %r13
cmpq 0x10(%rbx), %r13
jb 0x27085
movq 0xa8(%r15), %rsi
movq 0x140(%r15), %rdi
callq 0xe3d7
leaq 0x107721(%rip), %rsi    # 0x12e7f0
movq %r14, %rdi
movq %rbp, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0xed3f
leaq 0x106e28(%rip), %rsi    # 0x12df0e
movq %r14, %rdi
movq %rbp, %rdx
xorl %eax, %eax
callq 0xed3f
cmpb $0x1, 0xd9(%r15)
jne 0x2711d
movq 0x90(%r15), %rcx
leaq 0x10772e(%rip), %rsi    # 0x12e839
xorl %r13d, %r13d
movq %r14, %rdi
movq %rbp, %rdx
xorl %eax, %eax
callq 0xed3f
jmp 0x27120
xorl %r13d, %r13d
movq %r13, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r13
leaq 0x174c94(%rip), %rax    # 0x19bdd0
movq (%rax), %rdi
callq 0xd6d2c
jmp 0x27120