// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/xoico/src/xoico.xo.c
// Function: xoico_embedded_data_s_expand_definition
er_t xoico_embedded_data_s_expand_definition( const xoico_embedded_data_s* o, const xoico_host* host, sz_t indent, x_sink* sink )
{
    // xoico_embedded_data.x:83:5
    
    if( o->embed_method == TYPEOF_as_string || o->embed_method == TYPEOF_as_string_without_comments )
    {
        x_sink_push_fa(sink,"#rn{ }st_s* #<sc_t>( void )\n", indent, xoico_host_a_nameof(host,o->function_name ) );
        x_sink_push_fa(sink,"#rn{ }{\n"                            , indent );
    
        x_sink_push_fa(sink,"#rn{ }    sc_t sc[] =\n", indent );
        x_sink_push_fa(sink,"#rn{ }    {\n" , indent );
        x_sink_push_fa(sink,"#rn{ }        \"" , indent );
    
        sz_t lines = 0;
    
        for(sz_t i = 0; i < o->arr->size; i++ )
        {
            u0_t c = o->arr->data[ i ];
            switch( c )
            {
                case '\\': x_sink_push_sc(sink,"\\\\" ); break;
                case '"' : x_sink_push_sc(sink,"\\\"" ); break;
                case '\n':
                {
                    if( i + 1 < o->arr->size )
                    {
                        x_sink_push_fa(sink,"\\n\",\n" );
                        x_sink_push_fa(sink,"#rn{ }        \"" , indent );
                        lines++;
                    }
                }
                break;
    
                default: x_sink_push_char(sink,c );  break;
            }
        }
        x_sink_push_fa(sink,"\\n\"\n" );
        x_sink_push_fa(sink,"#rn{ }    };\n", indent );
        lines++;
    
        x_sink_push_fa(sink,"#rn{ }    st_s* st = st_s_create();\n", indent );
        x_sink_push_fa(sink,"#rn{ }    for( sz_t i = 0; i < #<sz_t>; i++ )\n", indent, lines );
        x_sink_push_fa(sink,"#rn{ }    {\n", indent );
        x_sink_push_fa(sink,"#rn{ }        st_s_push_sc( st, sc[ i ] );\n", indent );
        x_sink_push_fa(sink,"#rn{ }    }\n", indent );
        x_sink_push_fa(sink,"#rn{ }    return st;\n", indent );
        x_sink_push_fa(sink,"#rn{ }}\n", indent );
    }
    
    return  0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %r14
movq %rdx, (%rsp)
movq %rsi, %r12
movq %rdi, 0x8(%rsp)
movq 0x18(%rdi), %rax
movabsq $0x29f0bb6cbdaf87e3, %rcx # imm = 0x29F0BB6CBDAF87E3
cmpq %rcx, %rax
je 0x2063f
movabsq $-0x4513c06eae19ddf9, %rcx # imm = 0xBAEC3F9151E62207
cmpq %rcx, %rax
jne 0x20aa9
movq 0x8(%rsp), %rax
movq 0x20(%rax), %rbx
movq (%r12), %rbp
leaq 0x17f04d(%rip), %rax    # 0x19f6a0
movl 0x17f047(%rip), %ecx    # 0x19f6a0
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x20(%rax,%rcx,8), %rdx
movq 0x18(%rax,%rcx,8), %rcx
andq %rbp, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %rbp, %rdx
je 0x206b1
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbp, %rdx
je 0x206b1
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbp, %rdx
je 0x206b1
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbp, %rdx
jne 0x20aba
movq (%rax,%rcx), %r13
testq %r13, %r13
jne 0x206e1
movabsq $-0x1e682f89ce03d7c8, %rdi # imm = 0xE197D07631FC2838
movq %rbp, %rsi
callq 0xf3f85
movq %rax, %r13
leaq 0x17efca(%rip), %rdi    # 0x19f6a0
movq %rbp, %rsi
movq %rax, %rdx
callq 0x12128c
movq %r12, %rdi
movq %rbx, %rsi
callq *0x48(%r13)
leaq 0x118700(%rip), %rsi    # 0x138df2
movq %r14, %rdi
movq (%rsp), %rbx
movq %rbx, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0xee2a
leaq 0x118702(%rip), %rsi    # 0x138e0f
movq %r14, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0xee2a
leaq 0x1186f7(%rip), %rsi    # 0x138e18
movq %r14, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0xee2a
leaq 0x1186fa(%rip), %rsi    # 0x138e2f
movq %r14, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0xee2a
leaq 0x1186f3(%rip), %rsi    # 0x138e3c
movq %r14, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0xee2a
movq 0x8(%rsp), %rax
movq 0x10(%rax), %rcx
movq 0x10(%rcx), %rax
testq %rax, %rax
je 0x209eb
leaq 0x18933d(%rip), %rbp    # 0x1a9ab0
movq $0x0, 0x10(%rsp)
xorl %ebx, %ebx
movq 0x8(%rcx), %rcx
movzbl (%rcx,%rbx), %r15d
cmpl $0xa, %r15d
je 0x208e0
cmpl $0x22, %r15d
je 0x20840
cmpl $0x5c, %r15d
jne 0x2091d
movq (%r14), %r13
movl (%rbp), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%rbp,%rax,8), %rcx
movq 0x18(%rbp,%rax,8), %rdx
andq %r13, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r13, %rdx
je 0x20802
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r13, %rdx
je 0x20802
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r13, %rdx
je 0x20802
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r13, %rdx
jne 0x209d4
movq (%rax,%rcx), %r12
testq %r12, %r12
jne 0x2082e
movabsq $0x5ea8cabb93ff3b7e, %rdi # imm = 0x5EA8CABB93FF3B7E
movq %r13, %rsi
callq 0xf3f85
movq %rax, %r12
movq %rbp, %rdi
movq %r13, %rsi
movq %rax, %rdx
callq 0x12128c
movq %r12, %rdi
movq %r14, %rsi
leaq 0x118611(%rip), %rdx    # 0x138e4c
jmp 0x208d6
movq (%r14), %r13
movl (%rbp), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%rbp,%rax,8), %rcx
movq 0x18(%rbp,%rax,8), %rdx
andq %r13, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r13, %rdx
je 0x2089d
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r13, %rdx
je 0x2089d
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r13, %rdx
je 0x2089d
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r13, %rdx
jne 0x209cc
movq (%rax,%rcx), %r12
testq %r12, %r12
jne 0x208c9
movabsq $0x5ea8cabb93ff3b7e, %rdi # imm = 0x5EA8CABB93FF3B7E
movq %r13, %rsi
callq 0xf3f85
movq %rax, %r12
movq %rbp, %rdi
movq %r13, %rsi
movq %rax, %rdx
callq 0x12128c
movq %r12, %rdi
movq %r14, %rsi
leaq 0x118579(%rip), %rdx    # 0x138e4f
callq 0x10908b
jmp 0x209b1
leaq 0x1(%rbx), %rcx
cmpq %rax, %rcx
jae 0x209b1
movq %r14, %rdi
leaq 0x11855b(%rip), %rsi    # 0x138e52
xorl %eax, %eax
callq 0xee2a
movq %r14, %rdi
leaq 0x118534(%rip), %rsi    # 0x138e3c
movq (%rsp), %rdx
xorl %eax, %eax
callq 0xee2a
incq 0x10(%rsp)
jmp 0x209b1
movq (%r14), %r13
movl (%rbp), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%rbp,%rax,8), %rcx
movq 0x18(%rbp,%rax,8), %rdx
andq %r13, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r13, %rdx
je 0x20976
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r13, %rdx
je 0x20976
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r13, %rdx
je 0x20976
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r13, %rdx
jne 0x209dc
movq (%rax,%rcx), %r12
testq %r12, %r12
jne 0x209a2
movabsq $0x5ea8cabb93ff3b7e, %rdi # imm = 0x5EA8CABB93FF3B7E
movq %r13, %rsi
callq 0xf3f85
movq %rax, %r12
movq %rbp, %rdi
movq %r13, %rsi
movq %rax, %rdx
callq 0x12128c
movsbl %r15b, %edx
movq %r12, %rdi
movq %r14, %rsi
callq 0x109065
incq %rbx
movq 0x8(%rsp), %rax
movq 0x10(%rax), %rcx
movq 0x10(%rcx), %rax
cmpq %rax, %rbx
jb 0x2077e
jmp 0x209e1
xorl %r12d, %r12d
jmp 0x208a1
xorl %r12d, %r12d
jmp 0x20806
xorl %r12d, %r12d
jmp 0x2097a
movq 0x10(%rsp), %r15
incq %r15
jmp 0x209f1
movl $0x1, %r15d
leaq 0x118460(%rip), %rsi    # 0x138e58
movq %r14, %rdi
xorl %eax, %eax
callq 0xee2a
leaq 0x118454(%rip), %rsi    # 0x138e5d
movq %r14, %rdi
movq (%rsp), %rbx
movq %rbx, %rdx
xorl %eax, %eax
callq 0xee2a
leaq 0x11844a(%rip), %rsi    # 0x138e6b
movq %r14, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0xee2a
leaq 0x11845b(%rip), %rsi    # 0x138e90
movq %r14, %rdi
movq %rbx, %rdx
movq %r15, %rcx
xorl %eax, %eax
callq 0xee2a
leaq 0x1183e3(%rip), %rsi    # 0x138e2f
movq %r14, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0xee2a
leaq 0x11845f(%rip), %rsi    # 0x138ebf
movq %r14, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0xee2a
leaq 0x118477(%rip), %rsi    # 0x138eeb
movq %r14, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0xee2a
leaq 0x118470(%rip), %rsi    # 0x138ef8
movq %r14, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0xee2a
leaq 0x118472(%rip), %rsi    # 0x138f0e
movq %r14, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0xee2a
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %r13d, %r13d
jmp 0x206b5