// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/xoico/src/xoico.xo.c
// Function: xoico_feature_s_expand_init1
er_t xoico_feature_s_expand_init1( const xoico_feature_s* o, const xoico_host* host, sz_t indent, x_sink* sink )
{
    // xoico_feature.x:476:1
    
    if( !o->expandable ) return  0;
    xoico_compiler_s* compiler = xoico_host_a_compiler(host);
    sc_t sc_global_name = xoico_compiler_s_nameof(compiler,o->signature.global_name );
    
    x_sink_push_fa(sink,"#rn{ }BCORE_REGISTER_FEATURE( #<sc_t> );\n", indent, sc_global_name );
    if( o->st_default_func_name.size > 0 )
    {
        x_sink_push_fa(sink,"#rn{ }BCORE_REGISTER_FFUNC( #<sc_t>, #<sc_t>_#<sc_t> );\n",
            indent,
            sc_global_name,
            xoico_compiler_s_nameof(compiler,xoico_host_a_obj_type(host) ),
            o->st_default_func_name.sc
        );
    }
    return  0;
}

// Assembly:
cmpb $0x1, 0x115(%rdi)
jne 0x1f0c6
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r12
movq %rdi, %r15
movq %rcx, 0x8(%rsp)
movq %rdx, 0x10(%rsp)
movq (%rsi), %rbx
leaq 0x180786(%rip), %rdx    # 0x19f6a0
movl 0x180780(%rip), %eax    # 0x19f6a0
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%rdx,%rax,8), %rcx
movq 0x18(%rdx,%rax,8), %rdx
andq %rbx, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %rbx, %rdx
je 0x1ef77
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbx, %rdx
je 0x1ef77
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbx, %rdx
je 0x1ef77
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbx, %rdx
jne 0x1f0c9
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0x1efa7
movabsq $-0x1e682f89ce03d7c8, %rdi # imm = 0xE197D07631FC2838
movq %rbx, %rsi
callq 0xf3f85
movq %rax, %r14
leaq 0x180704(%rip), %rdi    # 0x19f6a0
movq %rbx, %rsi
movq %rax, %rdx
callq 0x12128c
movq %r12, %rdi
callq *0x20(%r14)
movq %rax, %rbp
movq 0x20(%r15), %rsi
movq %rax, %rdi
callq 0xe39f
movq %rax, %r13
leaq 0x119dc8(%rip), %rsi    # 0x138d8f
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0xee2a
cmpq $0x0, 0xf8(%r15)
je 0x1f0b8
movq (%r12), %rbx
movl 0x1806ad(%rip), %eax    # 0x19f6a0
cltq
leaq (%rax,%rax,2), %rax
leaq 0x1806a0(%rip), %rdx    # 0x19f6a0
movq 0x20(%rdx,%rax,8), %rcx
movq 0x18(%rdx,%rax,8), %rdx
andq %rbx, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %rbx, %rdx
je 0x1f051
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbx, %rdx
je 0x1f051
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbx, %rdx
je 0x1f051
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbx, %rdx
jne 0x1f0d1
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0x1f081
movabsq $-0x1e682f89ce03d7c8, %rdi # imm = 0xE197D07631FC2838
movq %rbx, %rsi
callq 0xf3f85
movq %rax, %r14
leaq 0x18062a(%rip), %rdi    # 0x19f6a0
movq %rbx, %rsi
movq %rax, %rdx
callq 0x12128c
movq %r12, %rdi
callq *0x30(%r14)
movq %rbp, %rdi
movq %rax, %rsi
callq 0xe39f
movq 0xf0(%r15), %r9
leaq 0x119d18(%rip), %rsi    # 0x138db9
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rdx
movq %r13, %rcx
movq %rax, %r8
xorl %eax, %eax
callq 0xee2a
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
xorl %eax, %eax
retq
xorl %r14d, %r14d
jmp 0x1ef7b
xorl %r14d, %r14d
jmp 0x1f055