// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore.xo.c
// Function: bcore_shell_op_default_ls_s_run
BCORE_DEFINE_OBJECT_INST_P_NASC_END( bcore_shell_op_default_ls_s )

void bcore_shell_op_default_ls_s_run( bcore_shell_op_default_ls_s* o, bcore_shell* obj, const bcore_main_frame_s* main_frame, x_source* source, bcore_sink* sink, bcore_shell_control_s* control )
{
    // bcore_shell.h:479:9
    BLM_INIT_LEVEL(0);
    x_stamp_path_s path;BLM_T_INIT_SPUSH(x_stamp_path_s, &path);x_stamp_path_s_parse(&(path),((x_source*)BLM_LEVEL_A_PUSH(0,x_source_create_from_sc(o->path.sc ))) );
    sr_s sr = x_stamp_path_s_get_sr_in(&(path),((const x_inst*)(obj )));
    
    if( sr.o )
    {BLM_INIT_LEVEL(1);
        tp_t t = sr_s_type(&( sr ));
        const x_stamp* v =((const x_stamp*)( sr.o));
        sz_t size = x_stamp_t_size(t );
        bcore_arr_st_s table;BLM_T_INIT_SPUSH(bcore_arr_st_s, &table);;
        for(sz_t i = 0; i < size; i++ )
        {
            tp_t name = x_stamp_t_name(t, i );
            tp_t type = x_stamp_t_type( v,t, name );
            bcore_arr_st_s_push_fa(&(table),"#<sc_t>", bnameof( name ) );
            bcore_arr_st_s_push_fa(&(table),": #<sc_t>", bnameof( type ) );
            st_s* st = bcore_arr_st_s_push(&(table));
    
            switch( type )
            {
                case ((tp_t)(TYPEOF_u0_t)): case ((tp_t)(TYPEOF_u1_t)): case ((tp_t)(TYPEOF_u2_t)): case ((tp_t)(TYPEOF_u3_t)):
                case ((tp_t)(TYPEOF_s0_t)): case ((tp_t)(TYPEOF_s1_t)): case ((tp_t)(TYPEOF_s2_t)): case ((tp_t)(TYPEOF_s3_t)):
                case ((tp_t)(TYPEOF_bl_t)): case ((tp_t)(TYPEOF_uz_t)): case ((tp_t)(TYPEOF_sz_t)): case ((tp_t)(TYPEOF_tp_t)):
                case ((tp_t)(TYPEOF_f2_t)): case ((tp_t)(TYPEOF_f3_t)):
                {BLM_INIT_LEVEL(19);
                    sr_s sr;BLM_T_INIT_SPUSH(sr_s, &sr);;
                    sr = x_stamp_t_c_get_sr( v,t, name );
                    if( sr.o )
                    {
                        st_s_push_sc(st,": " );
                        st_s_push_st_d(st,st_s_create_typed(type, sr.o ) );
                    }
                BLM_DOWN();}
                break;
    
                default: break;
            }
        }
        bcore_arr_st_s_table_to_sink(&(table),size, -1, sink );
    BLM_DOWN();}
    else
    {
        bcore_sink_a_push_fa(sink,"Path not found.\n" );
    }
    BLM_DOWN();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x158, %rsp            # imm = 0x158
movq %r8, %r13
movq %rsi, %rbx
movq %rdi, %r15
leaq 0x13cf9b(%rip), %rax    # 0x1a8dd0
movq (%rax), %rsi
leaq 0x128(%rsp), %rdi
movq %rdi, 0x10(%rsp)
callq 0xe0431
movq 0x10(%rsp), %r12
movq $0x0, 0x10(%r12)
leaq 0xa8(%rsp), %r14
movq %r14, %rdi
callq 0x5c2c8
movabsq $-0x74dceedd59a2bd6f, %rsi # imm = 0x8B231122A65D4291
movq %r12, %rdi
movq %r14, %rdx
callq 0xe06ab
movq 0x10(%r15), %rdi
callq 0xee802
movq %r12, %rdi
xorl %esi, %esi
movq %rax, %rdx
callq 0xe0900
movq %r14, %rdi
movq %rax, %rsi
callq 0x5c826
movq (%rbx), %rdx
leaq 0x90(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rcx
callq 0x5cf36
movq (%r15), %r12
testq %r12, %r12
je 0x6bef6
movq 0x10(%rsp), %rsi
leaq 0xf8(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0xe0431
movq 0x8(%rsp), %rbx
movq $0x1, 0x10(%rbx)
movq 0x98(%rsp), %rax
testq %rax, %rax
je 0x6bf0c
movq 0x8(%rax), %rsi
jmp 0x6bf0e
leaq 0xd6a70(%rip), %rsi     # 0x14296d
movq %r13, %rdi
xorl %eax, %eax
callq 0x109273
jmp 0x6c3f3
xorl %esi, %esi
leaq 0x13e1e3(%rip), %rdx    # 0x1aa0f8
movl (%rdx), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%rdx,%rax,8), %rcx
movq 0x18(%rdx,%rax,8), %rdx
andq %rsi, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %rsi, %rdx
je 0x6bf6e
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rsi, %rdx
je 0x6bf6e
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rsi, %rdx
je 0x6bf6e
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rsi, %rdx
jne 0x6c40f
movq (%rax,%rcx), %r14
movq %rsi, (%rsp)
testq %r14, %r14
jne 0x6bfa6
movabsq $0x541d0401d4dcff33, %rdi # imm = 0x541D0401D4DCFF33
movq (%rsp), %r15
movq %r15, %rsi
callq 0xf3f85
movq %rax, %r14
leaq 0x13e15d(%rip), %rdi    # 0x1aa0f8
movq %r15, %rsi
movq %rax, %rdx
callq 0x12128c
movq 0x20(%r14), %r15
leaq 0x70(%rsp), %r14
movq %r14, %rdi
callq 0xc340f
movabsq $-0x3a338903c1418376, %rsi # imm = 0xC5CC76FC3EBE7C8A
movq %rbx, %rdi
movq %r14, %rdx
callq 0xe06ab
movq %r15, 0x18(%rsp)
testq %r15, %r15
jle 0x6c3d0
movl $0x8, %r15d
xorl %ebx, %ebx
movq %r13, 0x28(%rsp)
leaq 0x13e10a(%rip), %rdx    # 0x1aa0f8
movl (%rdx), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%rdx,%rax,8), %rcx
movq 0x18(%rdx,%rax,8), %rdx
movq (%rsp), %rsi
andq %rsi, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %rsi, %rdx
je 0x6c04b
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rsi, %rdx
je 0x6c04b
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rsi, %rdx
je 0x6c04b
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rsi, %rdx
jne 0x6c3c0
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0x6c081
movabsq $0x541d0401d4dcff33, %rdi # imm = 0x541D0401D4DCFF33
movq (%rsp), %rsi
callq 0xf3f85
movq %rax, %r14
leaq 0x13e087(%rip), %rdi    # 0x1aa0f8
movq (%rsp), %rsi
movq %rax, %rdx
callq 0x12128c
movq (%rsp), %rsi
movq 0x20(%r14), %r9
cmpq %rbx, %r9
ja 0x6c0b2
leaq 0xde213(%rip), %rdi     # 0x14a2a4
leaq 0xde228(%rip), %rsi     # 0x14a2c0
movl $0x4e, %edx
leaq 0xde230(%rip), %rcx     # 0x14a2d4
movq %rbx, %r8
xorl %eax, %eax
callq 0xc80f6
movq (%rsp), %rsi
movq 0x30(%r14), %rax
movq (%rax,%r15), %rbp
leaq 0x13e037(%rip), %rdx    # 0x1aa0f8
movl (%rdx), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%rdx,%rax,8), %rcx
movq 0x18(%rdx,%rax,8), %rdx
andq %rsi, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %rsi, %rdx
je 0x6c11a
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rsi, %rdx
je 0x6c11a
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rsi, %rdx
je 0x6c11a
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rsi, %rdx
jne 0x6c3c8
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0x6c14e
movabsq $0x541d0401d4dcff33, %rdi # imm = 0x541D0401D4DCFF33
movq (%rsp), %r13
movq %r13, %rsi
callq 0xf3f85
movq %rax, %r14
leaq 0x13dfb5(%rip), %rdi    # 0x1aa0f8
movq %r13, %rsi
movq %rax, %rdx
callq 0x12128c
movq %r14, %rdi
movq %r12, %rsi
movq %rbp, %rdx
callq 0x10dd1d
movq %rax, %r13
movq %rbp, %rdi
callq 0xe0cbc
leaq 0x70(%rsp), %r14
movq %r14, %rdi
leaq 0xe3aee(%rip), %rsi     # 0x14fc64
movq %rax, %rdx
xorl %eax, %eax
callq 0xc3998
movq %r13, %rdi
callq 0xe0cbc
movq %r14, %rdi
leaq 0xe250e(%rip), %rsi     # 0x14e6a0
movq %rax, %rdx
xorl %eax, %eax
callq 0xc3998
movq %r14, %rdi
callq 0xc385b
movq %rax, 0x30(%rsp)
movabsq $-0x3f1363e6d8155aee, %rax # imm = 0xC0EC9C1927EAA512
cmpq %rax, %r13
movq %rbp, 0x38(%rsp)
jg 0x6c201
movabsq $-0x5fc2af85f419929c, %rax # imm = 0xA03D507A0BE66D64
cmpq %rax, %r13
jle 0x6c245
movabsq $-0x58737885f0577327, %rax # imm = 0xA78C877A0FA88CD9
cmpq %rax, %r13
jg 0x6c29d
movabsq $-0x5fc2af85f419929b, %rax # imm = 0xA03D507A0BE66D65
cmpq %rax, %r13
je 0x6c2da
movabsq $-0x5aa4411ac4e2880e, %rax # imm = 0xA55BBEE53B1D77F2
jmp 0x6c2d1
movabsq $0x585a3b17ca3de1ff, %rax # imm = 0x585A3B17CA3DE1FF
cmpq %rax, %r13
jle 0x6c273
movabsq $0x69849117d3eb7d61, %rax # imm = 0x69849117D3EB7D61
cmpq %rax, %r13
jg 0x6c2b8
movabsq $0x585a3b17ca3de200, %rax # imm = 0x585A3B17CA3DE200
cmpq %rax, %r13
je 0x6c2da
movabsq $0x62367a17d02b474d, %rax # imm = 0x62367A17D02B474D
jmp 0x6c2d1
movabsq $-0x73f6ae1ad309fd45, %rax # imm = 0x8C0951E52CF602BB
cmpq %rax, %r13
je 0x6c2da
movabsq $-0x6bce971ace902370, %rax # imm = 0x943168E5316FDC90
cmpq %rax, %r13
je 0x6c2da
movabsq $-0x6119581ac7eacd63, %rax # imm = 0x9EE6A7E53815329D
jmp 0x6c2d1
movabsq $-0x3f1363e6d8155aed, %rax # imm = 0xC0EC9C1927EAA513
cmpq %rax, %r13
je 0x6c2da
movabsq $-0x3ac242643d9c35a8, %rax # imm = 0xC53DBD9BC263CA58
cmpq %rax, %r13
je 0x6c2da
movabsq $0x510c2417c67dabeb, %rax # imm = 0x510C2417C67DABEB
jmp 0x6c2d1
movabsq $-0x58737885f0577326, %rax # imm = 0xA78C877A0FA88CDA
cmpq %rax, %r13
je 0x6c2da
movabsq $-0x4882601bdca6aefb, %rax # imm = 0xB77D9FE423595105
jmp 0x6c2d1
movabsq $0x6d07f9ef5b68e8a2, %rax # imm = 0x6D07F9EF5B68E8A2
cmpq %rax, %r13
je 0x6c2da
movabsq $0x69849117d3eb7d62, %rax # imm = 0x69849117D3EB7D62
cmpq %rax, %r13
jne 0x6c3a7
movq %r15, %rbp
movq 0x8(%rsp), %rsi
leaq 0xc8(%rsp), %rdi
movq %rdi, 0x20(%rsp)
callq 0xe0431
movq %r12, %r14
movq 0x20(%rsp), %r12
movq $0x13, 0x10(%r12)
leaq 0x40(%rsp), %r15
movq %r15, %rdi
callq 0x112ba5
movq %r12, %rdi
movq %r14, %r12
movabsq $0x79b76918ff0af12a, %rsi # imm = 0x79B76918FF0AF12A
movq %r15, %rdx
callq 0xe06ab
leaq 0x58(%rsp), %rdi
movq %r14, %rsi
movq (%rsp), %rdx
movq 0x38(%rsp), %rcx
callq 0x5df81
movq 0x68(%rsp), %rax
testb $0x2, %al
jne 0x6c352
orq $0x1, %rax
movq %rax, 0x68(%rsp)
movq 0x68(%rsp), %rax
movq %rax, 0x50(%rsp)
movups 0x58(%rsp), %xmm0
movaps %xmm0, 0x40(%rsp)
cmpq $0x0, 0x40(%rsp)
je 0x6c39a
movq 0x30(%rsp), %r14
movq %r14, %rdi
leaq 0xcfb3f(%rip), %rsi     # 0x13bebc
callq 0x115620
movq 0x40(%rsp), %rsi
movq %r13, %rdi
callq 0x1150a7
movq %r14, %rdi
movq %rax, %rsi
callq 0x11556c
leaq 0x20(%rsp), %rdi
callq 0xe0b11
movq %rbp, %r15
incq %rbx
addq $0x38, %r15
cmpq %rbx, 0x18(%rsp)
movq 0x28(%rsp), %r13
jne 0x6bfe7
jmp 0x6c3d0
xorl %r14d, %r14d
jmp 0x6c04f
xorl %r14d, %r14d
jmp 0x6c11e
leaq 0x70(%rsp), %rdi
movq 0x18(%rsp), %rsi
movq $-0x1, %rdx
movq %r13, %rcx
callq 0xc3caf
leaq 0x8(%rsp), %rdi
callq 0xe0b11
leaq 0x10(%rsp), %rdi
callq 0xe0b11
addq $0x158, %rsp            # imm = 0x158
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %r14d, %r14d
jmp 0x6bf72