// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore.xo.c
// Function: bcore_shell_help_to_sink
void bcore_shell_help_to_sink( bcore_shell* o, const bcore_shell_control_s* control, bcore_sink* sink )
{
    // bcore_shell.h:326:1
    BLM_INIT_LEVEL(0);
    bcore_arr_tp_s op_groups;BLM_T_INIT_SPUSH(bcore_arr_tp_s, &op_groups);;
    bcore_shell_a_push_op_groups(o,&(op_groups ));
    
    {const bcore_arr_tp_s* __a=&(op_groups );if(__a)for(sz_t __i=0;__i<__a->size;__i++){tp_t tp_group=__a->data[__i];
    {BLM_INIT_LEVEL(4);
        bcore_sink_a_push_fa(sink,"#p80'*'{******** #<sc_t> }\n", bnameof( tp_group ) );
        bcore_arr_st_s table;BLM_T_INIT_SPUSH(bcore_arr_st_s, &table);;
        {const bcore_arr_tp_s* __a=x_group_get_arr_traitline_stamps(tp_group ) ;if(__a)for(sz_t __i=0;__i<__a->size;__i++){tp_t t=__a->data[__i];
        {BLM_INIT_LEVEL(8);
            bcore_shell_op* op =((bcore_shell_op*)( ((x_inst*)BLM_LEVEL_TV_PUSH(0,t ,x_inst_t_create(t )))));
            st_s key;BLM_T_INIT_SPUSH(st_s, &key);;
            bcore_shell_op_a_get_key(op,&(key ));
            st_s_replace_char_char(&(key),' ', ',' );
            st_s sign;BLM_T_INIT_SPUSH(st_s, &sign);;
            st_s_push_fa(&(sign),"#<sc_t> ", key.sc );
            bcore_shell_op_arg_signature_to_sink(op,((bcore_sink*)(&(sign ))));
            st_s info;BLM_T_INIT_SPUSH(st_s, &info);;
            bcore_shell_op_a_get_info(op,&(info ));
            bcore_arr_st_s_push_fa(&(table),"#<st_s*>", (&(sign)) );
            bcore_arr_st_s_push_fa(&(table),": #<st_s*>", (&(info)) );
        BLM_DOWN();}
        }}bcore_arr_st_s_table_to_sink(&(table),-1, 2, sink );
    BLM_DOWN();}
    
    }}if( x_hmap_tp_keys(((const x_hmap_tp*)(&(control->hmap_alias)))) > 0 )
    {BLM_INIT_LEVEL(1);
        bcore_sink_a_push_fa(sink,"#p80'*'{******** #<sc_t> }\n", "ALIAS" );
        bcore_arr_st_s table;BLM_T_INIT_SPUSH(bcore_arr_st_s, &table);;
        for(sz_t i = 0; i < x_hmap_tp_size(((const x_hmap_tp*)(&(control->hmap_alias)))); i++ )
        {
            tp_t key = x_hmap_tp_idx_key(((const x_hmap_tp*)(&(control->hmap_alias))),i );
            if( key )
            {
                const st_s* expression = ((const st_s*)(x_hmap_tp_c_idx_val(((const x_hmap_tp*)(&(control->hmap_alias))),i )));
                bcore_arr_st_s_push_fa(&(table),"#<st_s*>", bcore_hmap_name_s_get(&(control->hmap_name),key ) );
                bcore_arr_st_s_push_fa(&(table),": #<st_s*>", expression );
            }
        }
        bcore_arr_st_s_table_to_sink(&(table),-1, 2, sink );
    BLM_DOWN();}
    BLM_DOWN();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x168, %rsp            # imm = 0x168
movq %rdx, %r12
movq %rsi, (%rsp)
movq %rdi, %rbx
leaq 0x1399d9(%rip), %rax    # 0x19bdd0
movq (%rax), %rsi
leaq 0x138(%rsp), %r14
movq %r14, 0x10(%rsp)
movq %r14, %rdi
callq 0xd6675
movq $0x0, 0x10(%r14)
leaq 0x38(%rsp), %r15
movq %r15, %rdi
callq 0xb8e5d
movabsq $-0x79c1eb0a2e5b4c6b, %rsi # imm = 0x863E14F5D1A4B395
movq %r14, %rdi
movq %r15, %rdx
callq 0xd68d9
movq (%rbx), %r14
leaq 0x136d5d(%rip), %rax    # 0x1991a0
movl 0x136d57(%rip), %ecx    # 0x1991a0
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x20(%rax,%rcx,8), %rdx
movq 0x18(%rax,%rcx,8), %rcx
andq %r14, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %r14, %rdx
je 0x6249d
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r14, %rdx
je 0x6249d
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r14, %rdx
je 0x6249d
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r14, %rdx
jne 0x624a6
movq (%rax,%rcx), %r15
testq %r15, %r15
jne 0x624cd
movabsq $-0xe3c3103182b3769, %rdi # imm = 0xF1C3CEFCE7D4C897
movq %r14, %rsi
callq 0xe9bc5
movq %rax, %r15
leaq 0x136cde(%rip), %rdi    # 0x1991a0
movq %r14, %rsi
movq %rax, %rdx
callq 0x115fac
leaq 0x38(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq *0x20(%r15)
cmpq $0x0, 0x10(%r14)
movq %r12, 0x18(%rsp)
je 0x628ee
leaq 0x78(%rsp), %r13
xorl %ecx, %ecx
movq 0x40(%rsp), %rax
movq %rcx, 0x28(%rsp)
movq (%rax,%rcx,8), %rbx
movq 0x10(%rsp), %rsi
leaq 0x108(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0xd6675
movq 0x8(%rsp), %r14
movq $0x4, 0x10(%r14)
movq %rbx, %rdi
callq 0xd6ec4
movq %r12, %rdi
leaq 0xd50ad(%rip), %rsi     # 0x1375e4
movq %rax, %rdx
xorl %eax, %eax
callq 0xfe6d6
movq %r13, %rdi
callq 0xb9951
movq %r14, %rdi
movabsq $-0x3a338903c1418376, %rsi # imm = 0xC5CC76FC3EBE7C8A
movq %r13, %rdx
callq 0xd68d9
callq 0x11cbb0
movq %rax, %rdi
movq %rbx, %rsi
callq 0xcb753
testq %rax, %rax
je 0x628b5
movq (%rax), %rax
testq %rax, %rax
je 0x628b5
cmpq $0x0, 0x10(%rax)
je 0x628b5
xorl %ebp, %ebp
movq %rax, 0x30(%rsp)
movq 0x8(%rax), %rax
movq (%rax,%rbp,8), %r12
movq 0x8(%rsp), %rsi
leaq 0x98(%rsp), %rdi
movq %rdi, 0x20(%rsp)
callq 0xd6675
movq 0x20(%rsp), %r15
movq $0x8, 0x10(%r15)
movabsq $-0x3b1008a961ddaa8, %rdi # imm = 0xFC4EFF7569E22558
movq %r12, %rsi
callq 0x116fb0
testq %r12, %r12
je 0x62676
leaq 0x139e85(%rip), %rdx    # 0x19c468
movl (%rdx), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%rdx,%rax,8), %rcx
movq 0x18(%rdx,%rax,8), %rdx
andq %r12, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r12, %rdx
je 0x62638
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0x62638
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0x62638
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0x62641
movq (%rax,%rcx), %rbx
testq %rbx, %rbx
jne 0x62668
movabsq $0x782b96602f424981, %rdi # imm = 0x782B96602F424981
movq %r12, %rsi
callq 0xe9bc5
movq %rax, %rbx
leaq 0x139e0b(%rip), %rdi    # 0x19c468
movq %r12, %rsi
movq %rax, %rdx
callq 0x115fac
movq %rbx, %rdi
callq *0xa8(%rbx)
movq %rax, %rcx
jmp 0x62678
xorl %ecx, %ecx
movq %r15, %rdi
xorl %esi, %esi
movq %r12, %rdx
callq 0xd68a8
movq %rax, %r12
leaq 0x58(%rsp), %rbx
movq %rbx, %rdi
callq 0x109030
movq %r15, %rdi
movabsq $-0x503db0e6e1c2e704, %rsi # imm = 0xAFC24F191E3D18FC
movq %rbx, %rdx
callq 0xd68d9
movq (%r12), %rbx
movl 0x136d04(%rip), %eax    # 0x1993b8
cltq
leaq (%rax,%rax,2), %rax
leaq 0x136cf7(%rip), %rdx    # 0x1993b8
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 0x6270e
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbx, %rdx
je 0x6270e
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbx, %rdx
je 0x6270e
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbx, %rdx
jne 0x62717
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0x6273e
movabsq $0x5c8ac70a55050c9f, %rdi # imm = 0x5C8AC70A55050C9F
movq %rbx, %rsi
callq 0xe9bc5
movq %rax, %r14
leaq 0x136c85(%rip), %rdi    # 0x1993b8
movq %rbx, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r12, %rdi
leaq 0x58(%rsp), %rbx
movq %rbx, %rsi
callq *0x18(%r14)
movq %rbx, %rdi
movl $0x20, %esi
movl $0x2c, %edx
callq 0x10b233
leaq 0xe8(%rsp), %r14
movq %r14, %rdi
callq 0x109030
movq %r15, %rdi
movabsq $-0x503db0e6e1c2e704, %rbx # imm = 0xAFC24F191E3D18FC
movq %rbx, %rsi
movq %r14, %rdx
callq 0xd68d9
movq 0x60(%rsp), %rdx
movq %r14, %rdi
leaq 0xcacad(%rip), %rsi     # 0x12d443
xorl %eax, %eax
callq 0x10a8a5
movq %r12, %rdi
movq %r14, %rsi
callq 0x62b29
leaq 0xc8(%rsp), %r14
movq %r14, %rdi
callq 0x109030
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0xd68d9
movq (%r12), %rbx
movl 0x136be8(%rip), %eax    # 0x1993b8
cltq
leaq (%rax,%rax,2), %rax
leaq 0x136bdb(%rip), %rdx    # 0x1993b8
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 0x6282a
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbx, %rdx
je 0x6282a
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbx, %rdx
je 0x6282a
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbx, %rdx
jne 0x62833
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0x6285a
movabsq $0x5c8ac70a55050c9f, %rdi # imm = 0x5C8AC70A55050C9F
movq %rbx, %rsi
callq 0xe9bc5
movq %rax, %r14
leaq 0x136b69(%rip), %rdi    # 0x1993b8
movq %rbx, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r12, %rdi
leaq 0xc8(%rsp), %rbx
movq %rbx, %rsi
callq *0x28(%r14)
movq %r13, %rdi
leaq 0xd4d8c(%rip), %rsi     # 0x137602
leaq 0xe8(%rsp), %rdx
xorl %eax, %eax
callq 0xb9ed3
movq %r13, %rdi
leaq 0xd4d71(%rip), %rsi     # 0x137600
movq %rbx, %rdx
xorl %eax, %eax
callq 0xb9ed3
leaq 0x20(%rsp), %rdi
callq 0xd6d0d
incq %rbp
movq 0x30(%rsp), %rax
cmpq 0x10(%rax), %rbp
jb 0x62595
movl $0x2, %edx
movq %r13, %rdi
movq $-0x1, %rsi
movq 0x18(%rsp), %r12
movq %r12, %rcx
callq 0xba1f2
leaq 0x8(%rsp), %rdi
callq 0xd6d0d
movq 0x28(%rsp), %rcx
incq %rcx
cmpq 0x48(%rsp), %rcx
jb 0x624f3
movq (%rsp), %rax
leaq 0x50(%rax), %rbx
movq %rbx, %rdi
callq 0x9ef36
leaq 0x8(%rax), %rdi
callq 0xccae6
testq %rax, %rax
jle 0x62a44
movq 0x10(%rsp), %rsi
leaq 0x108(%rsp), %r14
movq %r14, 0x78(%rsp)
movq %r14, %rdi
callq 0xd6675
movq $0x1, 0x10(%r14)
leaq 0xd4cab(%rip), %rsi     # 0x1375e4
leaq 0xd4ccb(%rip), %rdx     # 0x13760b
movq %r12, %rdi
xorl %eax, %eax
callq 0xfe6d6
leaq 0x98(%rsp), %r15
movq %r15, %rdi
callq 0xb9951
movq %r14, %rdi
movabsq $-0x3a338903c1418376, %rsi # imm = 0xC5CC76FC3EBE7C8A
movq %r15, %rdx
callq 0xd68d9
movq %rbx, %rdi
callq 0x9ef36
leaq 0x8(%rax), %rdi
callq 0xccb0a
testq %rax, %rax
jle 0x62a1c
addq $0x20, (%rsp)
leaq 0x98(%rsp), %r15
leaq 0xd4c63(%rip), %r12     # 0x137600
xorl %r13d, %r13d
movq %rbx, %rdi
callq 0x9ef36
leaq 0x8(%rax), %rdi
movq %r13, %rsi
callq 0xccb0f
testq %rax, %rax
je 0x62a03
movq %rax, %rbp
movq %rbx, %rdi
callq 0x9ef36
leaq 0x8(%rax), %rdi
movq %r13, %rsi
callq 0xccb1c
movq %rax, %r14
movq (%rsp), %rdi
movq %rbp, %rsi
callq 0xd3da6
movq %r15, %rdi
leaq 0xd4c19(%rip), %rsi     # 0x137602
movq %rax, %rdx
xorl %eax, %eax
callq 0xb9ed3
movq %r15, %rdi
movq %r12, %rsi
movq %r14, %rdx
xorl %eax, %eax
callq 0xb9ed3
incq %r13
movq %rbx, %rdi
callq 0x9ef36
leaq 0x8(%rax), %rdi
callq 0xccb0a
cmpq %rax, %r13
jl 0x629a0
leaq 0x98(%rsp), %rdi
movl $0x2, %edx
movq $-0x1, %rsi
movq 0x18(%rsp), %rcx
callq 0xba1f2
leaq 0x78(%rsp), %rdi
callq 0xd6d0d
leaq 0x10(%rsp), %rdi
callq 0xd6d0d
addq $0x168, %rsp            # imm = 0x168
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq