// File: /workspace/github_c_makefile_star2_O2/johsteffens[P]beth/lib/bcore/bcore_spect_via.c
// Function: bcore_spect_via_create_zoo
sr_s bcore_spect_via_create_zoo( uz_t size )
{
    bcore_life_s* l = bcore_life_s_create();
                      bcore_flect_type_parse_sc( "vectors = aware { st_s => [ 2 ] data1; u3_t [ 3 ] data2; }" );
    tp_t t_animal   = bcore_flect_type_parse_sc( "animal = aware { st_s => st_type; tp_t => tp_type; f3_t weight; st_s => [] features; vectors vdata; }" );
    tp_t t_compound = bcore_flect_type_parse_sc( "compound = aware { u3_t id; uz_t area; animal => [] animals; }" );
    tp_t t_zoo      = bcore_flect_type_parse_sc( "zoo = aware { st_s => name; typed => [] compounds; }" );

    sr_s ret = bcore_inst_t_create_sr( t_zoo );
    sr_s zoo = sr_cw( ret );

    bcore_via_x_nset_sc( zoo, typeof( "name" ), "Mesamurial" );
    sr_s compounds = bcore_life_s_push_sr( l, bcore_via_x_nget( zoo, typeof( "compounds" ) ) );
    {
        sr_s compound = sr_cl( bcore_inst_t_create_sr( t_compound ), l );
        bcore_via_x_nset_u3( compound, typeof( "id" ), 254 );
        bcore_via_x_nset_uz( compound, typeof( "area" ), 1000 );
        sr_s animals = bcore_life_s_push_sr( l, bcore_via_x_nget( compound, typeof( "animals" ) ) );
        {
            sr_s bird = sr_cl( bcore_inst_t_create_sr( t_animal ), l );
            bcore_via_x_nset_sc( bird, typeof( "st_type" ), "Owl" );
            bcore_via_x_nset_tp( bird, typeof( "tp_type" ), bentypeof( "Owl" ) );  // name enrolled
            bcore_via_x_nset_f3( bird, typeof( "weight" ), 2.5 );
            sr_s features = sr_cl( bcore_via_x_nget( bird, typeof( "features" ) ), l );
            {
                bcore_array_x_push_sc( features, "Night active" );
                bcore_array_x_push_sc( features, "Can fly" );
            }
            bcore_array_x_push( animals, bird );
        }
        {
            sr_s bird = sr_cl( bcore_inst_t_create_sr( t_animal ), l );
            bcore_via_x_nset_sc( bird, typeof( "st_type" ), "Pidgin" );
            bcore_via_x_nset_tp( bird, typeof( "tp_type" ), btypeof( "Pidgin" ) ); // name not enrolled
            bcore_via_x_nset_f3( bird, typeof( "weight" ), 0.5 );
            sr_s features = sr_cl( bcore_via_x_nget( bird, typeof( "features" ) ), l );
            {
                bcore_array_x_push_sc( features, "Day active" );
                bcore_array_x_push_sc( features, "Can fly" );
            }
            bcore_array_x_push( animals, bird );
        }
        bcore_array_x_push( compounds, compound );
        bcore_array_x_push( compounds, sr_null() );
        bcore_array_x_push( compounds, compound );
        bcore_array_x_push( compounds, sr_null() );
        bcore_array_x_push( compounds, sr_null() );
        for( uz_t i = 5; i < size; i++ ) bcore_array_x_push( compounds, compound );
    }
    bcore_life_s_discard( l );

    return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1d8, %rsp            # imm = 0x1D8
movq %rsi, %r14
movq %rdi, %r12
xorl %eax, %eax
callq 0x717ac
movq %rax, %r15
leaq 0x3e309(%rip), %rdi     # 0xc9815
callq 0x65033
leaq 0x3e338(%rip), %rdi     # 0xc9850
callq 0x65033
movq %rax, 0x50(%rsp)
leaq 0x3e38d(%rip), %rdi     # 0xc98b6
callq 0x65033
movq %rax, %rbx
leaq 0x3e3bd(%rip), %rdi     # 0xc98f5
callq 0x65033
movq %r12, %rdi
movq %rax, %rsi
callq 0x8a424
movups (%r12), %xmm0
movaps %xmm0, 0x30(%rsp)
movq %r12, 0x58(%rsp)
movq 0x10(%r12), %rax
andq $-0x3, %rax
movq %rax, 0x40(%rsp)
leaq 0x3967f(%rip), %rdi     # 0xc4beb
callq 0x8bb9f
movq 0x40(%rsp), %rcx
movq %rcx, 0x10(%rsp)
movaps 0x30(%rsp), %xmm0
movups %xmm0, (%rsp)
leaq 0x3e39f(%rip), %rsi     # 0xc992a
movq %rax, %rdi
callq 0x8bb48
leaq 0x3e39b(%rip), %rdi     # 0xc9935
callq 0x8bb9f
movq 0x40(%rsp), %rcx
movq %rcx, 0x10(%rsp)
movaps 0x30(%rsp), %xmm0
movups %xmm0, (%rsp)
leaq 0x1c0(%rsp), %r12
movq %r12, %rdi
movq %rax, %rsi
callq 0x8bbd7
movq 0x10(%r12), %rax
movq %rax, 0x10(%rsp)
movups (%r12), %xmm0
movups %xmm0, (%rsp)
leaq 0xd0(%rsp), %rdi
movq %r15, %rsi
callq 0x719e2
leaq 0x1a8(%rsp), %r13
movq %r13, %rdi
movq %rbx, %rsi
callq 0x8a424
movq 0x10(%r13), %rax
movq %rax, 0x10(%rsp)
movups (%r13), %xmm0
movups %xmm0, (%rsp)
leaq 0xb8(%rsp), %rbx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x8ced9
leaq 0x405fe(%rip), %rdi     # 0xcbc25
callq 0x8bb9f
movq 0x10(%rbx), %rcx
movq %rcx, 0x10(%rsp)
movups (%rbx), %xmm0
movups %xmm0, (%rsp)
movl $0xfe, %esi
movq %rax, %rdi
callq 0x8bc42
leaq 0x3e2ef(%rip), %rdi     # 0xc993f
callq 0x8bb9f
movq 0x10(%rbx), %rcx
movq %rcx, 0x10(%rsp)
movups (%rbx), %xmm0
movups %xmm0, (%rsp)
movl $0x3e8, %esi            # imm = 0x3E8
movq %rax, %rdi
callq 0x8bc99
leaq 0x3e2cb(%rip), %rdi     # 0xc9944
callq 0x8bb9f
movq 0x10(%rbx), %rcx
movq %rcx, 0x10(%rsp)
movups (%rbx), %xmm0
movups %xmm0, (%rsp)
leaq 0x190(%rsp), %rbx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x8bbd7
movq 0x10(%rbx), %rax
movq %rax, 0x10(%rsp)
movups (%rbx), %xmm0
movups %xmm0, (%rsp)
leaq 0xe8(%rsp), %rdi
movq %r15, %rsi
callq 0x719e2
leaq 0x178(%rsp), %rbp
movq %rbp, %rdi
movq 0x50(%rsp), %r13
movq %r13, %rsi
callq 0x8a424
movq 0x10(%rbp), %rax
movq %rax, 0x10(%rsp)
movups (%rbp), %xmm0
movups %xmm0, (%rsp)
leaq 0x118(%rsp), %rbp
movq %rbp, %rdi
movq %r15, %rsi
callq 0x8ced9
leaq 0x3e248(%rip), %rdi     # 0xc994c
callq 0x8bb9f
movq 0x10(%rbp), %rcx
movq %rcx, 0x10(%rsp)
movups (%rbp), %xmm0
movups %xmm0, (%rsp)
leaq 0x3e233(%rip), %rbx     # 0xc9954
movq %rax, %rdi
movq %rbx, %rsi
callq 0x8bb48
leaq 0x3e225(%rip), %rdi     # 0xc9958
callq 0x8bb9f
movq %rax, %r12
movq %rbx, %rdi
callq 0x7227a
movq 0x10(%rbp), %rcx
movq %rcx, 0x10(%rsp)
movups (%rbp), %xmm0
movups %xmm0, (%rsp)
movq %r12, %rdi
movq %rax, %rsi
callq 0x8bcf0
leaq 0x3e1fa(%rip), %rdi     # 0xc9960
callq 0x8bb9f
movq 0x10(%rbp), %rcx
movq %rcx, 0x10(%rsp)
movups (%rbp), %xmm0
movups %xmm0, (%rsp)
movsd 0x3de94(%rip), %xmm0    # 0xc9618
movq %rax, %rdi
callq 0x8bd47
leaq 0x24806(%rip), %rdi     # 0xaff99
callq 0x8bb9f
movq 0x10(%rbp), %rcx
movq %rcx, 0x10(%rsp)
movups (%rbp), %xmm0
movups %xmm0, (%rsp)
leaq 0x160(%rsp), %rbx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x8bbd7
movq 0x10(%rbx), %rax
movq %rax, 0x10(%rsp)
movups (%rbx), %xmm0
movups %xmm0, (%rsp)
leaq 0x100(%rsp), %rbx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x8ced9
movq 0x10(%rbx), %rax
movq %rax, 0x10(%rsp)
movups (%rbx), %xmm0
movups %xmm0, (%rsp)
leaq 0x3e171(%rip), %rdi     # 0xc9967
callq 0x8bda5
movq 0x10(%rbx), %rax
movq %rax, 0x10(%rsp)
movups (%rbx), %xmm0
movups %xmm0, (%rsp)
leaq 0x3e162(%rip), %rdi     # 0xc9974
callq 0x8bda5
movq 0x10(%rbp), %rax
movq %rax, 0x28(%rsp)
movups (%rbp), %xmm0
movups %xmm0, 0x18(%rsp)
leaq 0xe8(%rsp), %rcx
movq 0x10(%rcx), %rax
movq %rax, 0x10(%rsp)
movups (%rcx), %xmm0
movups %xmm0, (%rsp)
callq 0x8bdf9
leaq 0x148(%rsp), %rbx
movq %rbx, %rdi
movq %r13, %rsi
callq 0x8a424
movq 0x10(%rbx), %rax
movq %rax, 0x10(%rsp)
movups (%rbx), %xmm0
movups %xmm0, (%rsp)
leaq 0x118(%rsp), %rbp
movq %rbp, %rdi
movq %r15, %rsi
callq 0x8ced9
leaq 0x3e0c9(%rip), %rdi     # 0xc994c
callq 0x8bb9f
movq 0x10(%rbp), %rcx
movq %rcx, 0x10(%rsp)
movups (%rbp), %xmm0
movups %xmm0, (%rsp)
leaq 0x3e0dc(%rip), %rbx     # 0xc997c
movq %rax, %rdi
movq %rbx, %rsi
callq 0x8bb48
leaq 0x3e0a6(%rip), %rdi     # 0xc9958
callq 0x8bb9f
movq %rax, %r12
movq %rbx, %rdi
callq 0x8bb9f
movq 0x10(%rbp), %rcx
movq %rcx, 0x10(%rsp)
movups (%rbp), %xmm0
movups %xmm0, (%rsp)
movq %r12, %rdi
movq %rax, %rsi
callq 0x8bcf0
leaq 0x3e07b(%rip), %rdi     # 0xc9960
callq 0x8bb9f
movq 0x10(%rbp), %rcx
movq %rcx, 0x10(%rsp)
movups (%rbp), %xmm0
movups %xmm0, (%rsp)
movsd 0x3dd1d(%rip), %xmm0    # 0xc9620
movq %rax, %rdi
callq 0x8bd47
leaq 0x24687(%rip), %rdi     # 0xaff99
callq 0x8bb9f
movq 0x10(%rbp), %rcx
movq %rcx, 0x10(%rsp)
movups (%rbp), %xmm0
movups %xmm0, (%rsp)
leaq 0x130(%rsp), %rbx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x8bbd7
movq 0x10(%rbx), %rax
movq %rax, 0x10(%rsp)
movups (%rbx), %xmm0
movups %xmm0, (%rsp)
leaq 0x100(%rsp), %rbx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x8ced9
movq 0x10(%rbx), %rax
movq %rax, 0x10(%rsp)
movups (%rbx), %xmm0
movups %xmm0, (%rsp)
leaq 0x3e00e(%rip), %rdi     # 0xc9983
callq 0x8bda5
movq 0x10(%rbx), %rax
movq %rax, 0x10(%rsp)
movups (%rbx), %xmm0
movups %xmm0, (%rsp)
leaq 0x3dfe3(%rip), %rdi     # 0xc9974
callq 0x8bda5
movq 0x10(%rbp), %rax
movq %rax, 0x28(%rsp)
movups (%rbp), %xmm0
movups %xmm0, 0x18(%rsp)
leaq 0xe8(%rsp), %rcx
movq 0x10(%rcx), %rax
movq %rax, 0x10(%rsp)
movups (%rcx), %xmm0
movups %xmm0, (%rsp)
callq 0x8bdf9
leaq 0xb8(%rsp), %rcx
movq 0x10(%rcx), %rax
movq %rax, 0x28(%rsp)
movups (%rcx), %xmm0
movq %rcx, %r12
movups %xmm0, 0x18(%rsp)
leaq 0xd0(%rsp), %rbx
movq 0x10(%rbx), %rax
movq %rax, 0x10(%rsp)
movups (%rbx), %xmm0
movups %xmm0, (%rsp)
callq 0x8bdf9
xorps %xmm0, %xmm0
movaps %xmm0, 0xa0(%rsp)
andq $0x0, 0xb0(%rsp)
movq 0xb0(%rsp), %rax
movq %rax, 0x28(%rsp)
movaps 0xa0(%rsp), %xmm0
movups %xmm0, 0x18(%rsp)
movq 0x10(%rbx), %rax
movq %rax, 0x10(%rsp)
movups (%rbx), %xmm0
movups %xmm0, (%rsp)
callq 0x8bdf9
movq 0x10(%r12), %rax
movq %rax, 0x28(%rsp)
movups (%r12), %xmm0
movups %xmm0, 0x18(%rsp)
movq 0x10(%rbx), %rax
movq %rax, 0x10(%rsp)
movups (%rbx), %xmm0
movups %xmm0, (%rsp)
callq 0x8bdf9
xorps %xmm0, %xmm0
movaps %xmm0, 0x80(%rsp)
andq $0x0, 0x90(%rsp)
movq 0x90(%rsp), %rax
movq %rax, 0x28(%rsp)
movaps 0x80(%rsp), %xmm0
movups %xmm0, 0x18(%rsp)
movq 0x10(%rbx), %rax
movq %rax, 0x10(%rsp)
movups (%rbx), %xmm0
movups %xmm0, (%rsp)
callq 0x8bdf9
xorps %xmm0, %xmm0
movaps %xmm0, 0x60(%rsp)
andq $0x0, 0x70(%rsp)
movq 0x70(%rsp), %rax
movq %rax, 0x28(%rsp)
movaps 0x60(%rsp), %xmm0
movups %xmm0, 0x18(%rsp)
movq 0x10(%rbx), %rax
movq %rax, 0x10(%rsp)
movups (%rbx), %xmm0
movups %xmm0, (%rsp)
callq 0x8bdf9
pushq $0x5
popq %rbx
cmpq %r14, %rbx
jae 0x8bb29
movq 0xc8(%rsp), %rax
movq %rax, 0x28(%rsp)
movups 0xb8(%rsp), %xmm0
movups %xmm0, 0x18(%rsp)
movq 0xe0(%rsp), %rax
movq %rax, 0x10(%rsp)
movups 0xd0(%rsp), %xmm0
movups %xmm0, (%rsp)
callq 0x8bdf9
incq %rbx
jmp 0x8bae7
movq %r15, %rdi
callq 0x717c7
movq 0x58(%rsp), %rax
addq $0x1d8, %rsp            # imm = 0x1D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq