// File: /workspace/github_c_makefile_star2_O0/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:1032: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
movq %rsp, %rbp
subq $0xb0, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x10(%rbp), %rax
testb $0x1, 0xc8(%rax)
jne 0x174f1
movq $0x0, -0x8(%rbp)
jmp 0x1781d
movq -0x20(%rbp), %rdi
leaq 0x13b525(%rip), %rsi    # 0x152a21
movb $0x0, %al
callq 0x56e0
movq -0x20(%rbp), %rdi
movq -0x18(%rbp), %rdx
movq -0x10(%rbp), %rax
movq 0x90(%rax), %rcx
leaq 0x11d4cb(%rip), %rsi    # 0x1349e8
movb $0x0, %al
callq 0x56e0
movq -0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
cmpq $0x0, -0x28(%rbp)
je 0x175b7
movq $0x0, -0x30(%rbp)
movq -0x30(%rbp), %rax
movq -0x28(%rbp), %rcx
cmpq 0x10(%rcx), %rax
jae 0x175b5
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rax
movq -0x30(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x18(%rbp), %rdx
movq -0x20(%rbp), %rcx
callq 0x17830
movq %rax, -0x40(%rbp)
cmpq $0x0, -0x40(%rbp)
je 0x175a5
movq -0x40(%rbp), %rax
movq %rax, -0x48(%rbp)
leaq 0x19ada0(%rip), %rax    # 0x1b2330
movq (%rax), %rdi
callq 0xc0720
movq -0x48(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x1781d
jmp 0x175a7
movq -0x30(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x30(%rbp)
jmp 0x1753f
jmp 0x175b7
movq -0x10(%rbp), %rax
addq $0x118, %rax            # imm = 0x118
movq %rax, -0x50(%rbp)
cmpq $0x0, -0x50(%rbp)
je 0x17650
movq $0x0, -0x58(%rbp)
movq -0x58(%rbp), %rax
movq -0x50(%rbp), %rcx
cmpq 0x10(%rcx), %rax
jae 0x1764e
movq -0x50(%rbp), %rax
movq 0x8(%rax), %rax
movq -0x58(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x60(%rbp)
movq -0x60(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x18(%rbp), %rdx
movq -0x20(%rbp), %rcx
callq 0xccd0
movq %rax, -0x68(%rbp)
cmpq $0x0, -0x68(%rbp)
je 0x1763e
movq -0x68(%rbp), %rax
movq %rax, -0x70(%rbp)
leaq 0x19ad07(%rip), %rax    # 0x1b2330
movq (%rax), %rdi
callq 0xc0720
movq -0x70(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x1781d
jmp 0x17640
movq -0x58(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x58(%rbp)
jmp 0x175d8
jmp 0x17650
movq -0x10(%rbp), %rax
testb $0x1, 0xd8(%rax)
je 0x17680
movq -0x20(%rbp), %rdi
movq -0x18(%rbp), %rdx
movq -0x10(%rbp), %rax
movq 0x90(%rax), %rcx
leaq 0x11d38a(%rip), %rsi    # 0x134a01
movb $0x0, %al
callq 0x56e0
jmp 0x176a1
movq -0x20(%rbp), %rdi
movq -0x18(%rbp), %rdx
movq -0x10(%rbp), %rax
movq 0x90(%rax), %rcx
leaq 0x11d38f(%rip), %rsi    # 0x134a29
movb $0x0, %al
callq 0x56e0
movq -0x10(%rbp), %rax
testb $0x1, 0xca(%rax)
je 0x177e7
movq -0x20(%rbp), %rdi
movq -0x18(%rbp), %rdx
leaq 0x11caa3(%rip), %rsi    # 0x134164
movb $0x0, %al
callq 0x56e0
movq -0x20(%rbp), %rdi
movq -0x18(%rbp), %rdx
leaq 0x11d37a(%rip), %rsi    # 0x134a51
movb $0x0, %al
callq 0x56e0
movq -0x10(%rbp), %rax
movq 0xd0(%rax), %rax
movq %rax, -0x78(%rbp)
cmpq $0x0, -0x78(%rbp)
je 0x17781
movq $0x0, -0x80(%rbp)
movq -0x80(%rbp), %rax
movq -0x78(%rbp), %rcx
cmpq 0x10(%rcx), %rax
jae 0x1777f
movq -0x78(%rbp), %rax
movq 0x8(%rax), %rax
movq -0x80(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x88(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x10(%rbp), %rax
movq 0x140(%rax), %rdi
movq -0x88(%rbp), %rsi
callq 0x51d0
movq -0x98(%rbp), %rdi
movq -0x90(%rbp), %rdx
movq %rax, %rcx
leaq 0x11d320(%rip), %rsi    # 0x134a8a
movb $0x0, %al
callq 0x56e0
movq -0x80(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x80(%rbp)
jmp 0x17700
jmp 0x17781
movq -0x20(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0xa0(%rbp)
movq -0x10(%rbp), %rax
movq 0x140(%rax), %rdi
movq -0x10(%rbp), %rax
movq 0xa8(%rax), %rsi
callq 0x51d0
movq -0xa8(%rbp), %rdi
movq -0xa0(%rbp), %rdx
movq %rax, %rcx
leaq 0x11d2f6(%rip), %rsi    # 0x134ac0
movb $0x0, %al
callq 0x56e0
movq -0x20(%rbp), %rdi
movq -0x18(%rbp), %rdx
leaq 0x11ca83(%rip), %rsi    # 0x134263
movb $0x0, %al
callq 0x56e0
movq -0x10(%rbp), %rax
testb $0x1, 0xd9(%rax)
je 0x17815
movq -0x20(%rbp), %rdi
movq -0x18(%rbp), %rdx
movq -0x10(%rbp), %rax
movq 0x90(%rax), %rcx
leaq 0x11d2fb(%rip), %rsi    # 0x134b09
movb $0x0, %al
callq 0x56e0
movq $0x0, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0xb0, %rsp
popq %rbp
retq
nopw (%rax,%rax)