// File: /workspace/github_c_makefile_star2_O3/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 0x136194(%rip), %rax    # 0x19bdd0
movq (%rax), %rsi
leaq 0xd8(%rsp), %r12
movq %r12, 0x38(%rsp)
movq %r12, %rdi
callq 0xd6675
movq $0x0, 0x10(%r12)
leaq 0x108(%rsp), %r14
movq %r14, %rdi
callq 0x56a1d
movabsq $-0x74dceedd59a2bd6f, %rsi # imm = 0x8B231122A65D4291
movq %r12, %rdi
movq %r14, %rdx
callq 0xd68d9
movq 0x10(%r15), %rdi
callq 0xe4688
movq %r12, %rdi
xorl %esi, %esi
movq %rax, %rdx
callq 0xd6b17
movq %r14, %rdi
movq %rax, %rsi
callq 0x56f5e
movq (%rbx), %rdx
leaq 0x90(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rcx
callq 0x57639
movq (%r15), %rax
movq %rax, 0x8(%rsp)
testq %rax, %rax
je 0x65d01
leaq 0xa8(%rsp), %rbx
movq %rbx, 0x18(%rsp)
leaq 0xd8(%rsp), %rsi
movq %rbx, %rdi
callq 0xd6675
movq $0x1, 0x10(%rbx)
movq 0x98(%rsp), %rax
testq %rax, %rax
je 0x65d17
movq 0x8(%rax), %r15
jmp 0x65d1a
leaq 0xd1add(%rip), %rsi     # 0x1377e5
movq %r13, %rdi
xorl %eax, %eax
callq 0xfe6d6
jmp 0x661be
xorl %r15d, %r15d
leaq 0x1373d7(%rip), %r12    # 0x19d0f8
movl (%r12), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r12,%rax,8), %rcx
movq 0x18(%r12,%rax,8), %rdx
andq %r15, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r15, %rdx
je 0x65d78
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r15, %rdx
je 0x65d78
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r15, %rdx
je 0x65d78
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r15, %rdx
jne 0x65d81
movq (%rax,%rcx), %rbx
testq %rbx, %rbx
jne 0x65da8
movabsq $0x541d0401d4dcff33, %rdi # imm = 0x541D0401D4DCFF33
movq %r15, %rsi
callq 0xe9bc5
movq %rax, %rbx
leaq 0x13735b(%rip), %rdi    # 0x19d0f8
movq %r15, %rsi
movq %rax, %rdx
callq 0x115fac
movq 0x20(%rbx), %r14
leaq 0x70(%rsp), %rbx
movq %rbx, %rdi
callq 0xb9951
leaq 0xa8(%rsp), %rdi
movabsq $-0x3a338903c1418376, %rsi # imm = 0xC5CC76FC3EBE7C8A
movq %rbx, %rdx
callq 0xd68d9
movq %r14, (%rsp)
testq %r14, %r14
jle 0x6619c
movl $0x8, %ebp
xorl %ebx, %ebx
movq %r13, 0x20(%rsp)
movl (%r12), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r12,%rax,8), %rcx
movq 0x18(%r12,%rax,8), %rdx
andq %r15, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r15, %rdx
je 0x65e43
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r15, %rdx
je 0x65e43
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r15, %rdx
je 0x65e43
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r15, %rdx
jne 0x65e4c
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0x65e6f
movabsq $0x541d0401d4dcff33, %rdi # imm = 0x541D0401D4DCFF33
movq %r15, %rsi
callq 0xe9bc5
movq %rax, %r14
movq %r12, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x115fac
movq 0x20(%r14), %r9
cmpq %rbx, %r9
ja 0x65e9c
leaq 0xd929d(%rip), %rdi     # 0x13f11c
leaq 0xd92b2(%rip), %rsi     # 0x13f138
movl $0x4e, %edx
leaq 0xd92ba(%rip), %rcx     # 0x13f14c
movq %rbx, %r8
xorl %eax, %eax
callq 0xbe592
movq 0x30(%r14), %rax
movq %rbp, 0x30(%rsp)
movq (%rax,%rbp), %rbp
movl (%r12), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r12,%rax,8), %rcx
movq 0x18(%r12,%rax,8), %rdx
andq %r15, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r15, %rdx
je 0x65f00
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r15, %rdx
je 0x65f00
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r15, %rdx
je 0x65f00
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r15, %rdx
jne 0x65f09
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0x65f2c
movabsq $0x541d0401d4dcff33, %rdi # imm = 0x541D0401D4DCFF33
movq %r15, %rsi
callq 0xe9bc5
movq %rax, %r14
movq %r12, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r14, %rdi
movq 0x8(%rsp), %rsi
movq %rbp, %rdx
callq 0x1030c0
movq %rax, %r12
movq %rbp, %rdi
callq 0xd6ec4
leaq 0x70(%rsp), %r14
movq %r14, %rdi
leaq 0xded1f(%rip), %rsi     # 0x144c75
movq %rax, %rdx
xorl %eax, %eax
callq 0xb9ed3
movq %r12, %rdi
callq 0xd6ec4
movq %r14, %rdi
leaq 0xdd76e(%rip), %rsi     # 0x1436e0
movq %rax, %rdx
xorl %eax, %eax
callq 0xb9ed3
movq %r14, %rdi
callq 0xb9d8b
movq %rax, %r14
movabsq $-0x3f1363e6d8155aee, %rax # imm = 0xC0EC9C1927EAA512
cmpq %rax, %r12
movq %rbp, 0x28(%rsp)
jg 0x65fdf
movabsq $-0x5fc2af85f419929c, %rax # imm = 0xA03D507A0BE66D64
cmpq %rax, %r12
jle 0x66023
movabsq $-0x58737885f0577327, %rax # imm = 0xA78C877A0FA88CD9
cmpq %rax, %r12
jg 0x6607b
movabsq $-0x5fc2af85f419929b, %rax # imm = 0xA03D507A0BE66D65
cmpq %rax, %r12
je 0x660b8
movabsq $-0x5aa4411ac4e2880e, %rax # imm = 0xA55BBEE53B1D77F2
jmp 0x660af
movabsq $0x585a3b17ca3de1ff, %rax # imm = 0x585A3B17CA3DE1FF
cmpq %rax, %r12
jle 0x66051
movabsq $0x69849117d3eb7d61, %rax # imm = 0x69849117D3EB7D61
cmpq %rax, %r12
jg 0x66096
movabsq $0x585a3b17ca3de200, %rax # imm = 0x585A3B17CA3DE200
cmpq %rax, %r12
je 0x660b8
movabsq $0x62367a17d02b474d, %rax # imm = 0x62367A17D02B474D
jmp 0x660af
movabsq $-0x73f6ae1ad309fd45, %rax # imm = 0x8C0951E52CF602BB
cmpq %rax, %r12
je 0x660b8
movabsq $-0x6bce971ace902370, %rax # imm = 0x943168E5316FDC90
cmpq %rax, %r12
je 0x660b8
movabsq $-0x6119581ac7eacd63, %rax # imm = 0x9EE6A7E53815329D
jmp 0x660af
movabsq $-0x3f1363e6d8155aed, %rax # imm = 0xC0EC9C1927EAA513
cmpq %rax, %r12
je 0x660b8
movabsq $-0x3ac242643d9c35a8, %rax # imm = 0xC53DBD9BC263CA58
cmpq %rax, %r12
je 0x660b8
movabsq $0x510c2417c67dabeb, %rax # imm = 0x510C2417C67DABEB
jmp 0x660af
movabsq $-0x58737885f0577326, %rax # imm = 0xA78C877A0FA88CDA
cmpq %rax, %r12
je 0x660b8
movabsq $-0x4882601bdca6aefb, %rax # imm = 0xB77D9FE423595105
jmp 0x660af
movabsq $0x6d07f9ef5b68e8a2, %rax # imm = 0x6D07F9EF5B68E8A2
cmpq %rax, %r12
je 0x660b8
movabsq $0x69849117d3eb7d62, %rax # imm = 0x69849117D3EB7D62
cmpq %rax, %r12
jne 0x6617f
movq 0x18(%rsp), %rsi
leaq 0x128(%rsp), %rdi
movq %rdi, 0x10(%rsp)
callq 0xd6675
movq 0x10(%rsp), %r13
movq $0x13, 0x10(%r13)
movq %r15, %rbp
leaq 0x40(%rsp), %r15
movq %r15, %rdi
callq 0x107c9f
movq %r13, %rdi
movabsq $0x79b76918ff0af12a, %rsi # imm = 0x79B76918FF0AF12A
movq %r15, %rdx
movq %rbp, %r15
callq 0xd68d9
leaq 0x58(%rsp), %rdi
movq 0x8(%rsp), %rsi
movq %rbp, %rdx
movq 0x28(%rsp), %rcx
callq 0x584a7
movq 0x68(%rsp), %rax
testb $0x2, %al
jne 0x6612d
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 0x66170
movq %r14, %rdi
leaq 0xcad69(%rip), %rsi     # 0x130ebc
callq 0x10a6fa
movq 0x40(%rsp), %rsi
movq %r12, %rdi
callq 0x10a16e
movq %r14, %rdi
movq %rax, %rsi
callq 0x10a641
leaq 0x10(%rsp), %rdi
callq 0xd6d0d
movq 0x20(%rsp), %r13
incq %rbx
movq 0x30(%rsp), %rbp
addq $0x38, %rbp
cmpq %rbx, (%rsp)
leaq 0x136f62(%rip), %r12    # 0x19d0f8
jne 0x65dec
leaq 0x70(%rsp), %rdi
movq (%rsp), %rsi
movq $-0x1, %rdx
movq %r13, %rcx
callq 0xba1f2
leaq 0x18(%rsp), %rdi
callq 0xd6d0d
leaq 0x38(%rsp), %rdi
callq 0xd6d0d
addq $0x158, %rsp            # imm = 0x158
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq