// File: /workspace/github_c_makefile_star2_O0/johsteffens[P]beth/lib/bcore/bcore_tbman.c
// Function: tbman_s_thread_test
static st_s* tbman_s_thread_test( void )
{
    st_s* log = st_s_create();

    bcore_thread_s th = bcore_thread_call( tbman_s_thread_func, NULL );

    {
        st_s* log_l = bcore_thread_join( th );
        st_s_push_fa( log, "single thread:\n#<st_s*>\n", log_l );
        st_s_discard( log_l );
    }

    bcore_thread_s th1 = bcore_thread_call( tbman_s_thread_func, NULL );
    bcore_thread_s th2 = bcore_thread_call( tbman_s_thread_func, NULL );
    bcore_thread_s th3 = bcore_thread_call( tbman_s_thread_func, NULL );
    bcore_thread_s th4 = bcore_thread_call( tbman_s_thread_func, NULL );


    {
        st_s* log_l = bcore_thread_join( th1 );
        st_s_push_fa( log, "thread1:\n#<st_s*>\n", log_l );
        st_s_discard( log_l );
    }

    {
        st_s* log_l = bcore_thread_join( th2 );
        st_s_push_fa( log, "thread2:\n#<st_s*>\n", log_l );
        st_s_discard( log_l );
    }

    {
        st_s* log_l = bcore_thread_join( th3 );
        st_s_push_fa( log, "thread3:\n#<st_s*>\n", log_l );
        st_s_discard( log_l );
    }

    {
        st_s* log_l = bcore_thread_join( th4 );
        st_s_push_fa( log, "thread4:\n#<st_s*>\n", log_l );
        st_s_discard( log_l );
    }

    return log;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movb $0x0, %al
callq 0xff2e0
movq %rax, -0x8(%rbp)
leaq -0x149d(%rip), %rdi     # 0x10abf0
xorl %eax, %eax
movl %eax, %esi
callq 0x110740
movq %rax, -0x18(%rbp)
movb %dl, -0x10(%rbp)
movq -0x18(%rbp), %rdi
movzbl -0x10(%rbp), %esi
callq 0x110780
movq %rax, -0x20(%rbp)
movq -0x8(%rbp), %rdi
movq -0x20(%rbp), %rdx
leaq 0x4bfb4(%rip), %rsi     # 0x158071
movb $0x0, %al
callq 0x100210
movq -0x20(%rbp), %rdi
callq 0xff600
leaq -0x14e4(%rip), %rdi     # 0x10abf0
xorl %eax, %eax
movl %eax, %esi
callq 0x110740
movq %rax, -0x30(%rbp)
movb %dl, -0x28(%rbp)
leaq -0x14fb(%rip), %rdi     # 0x10abf0
xorl %eax, %eax
movl %eax, %esi
callq 0x110740
movq %rax, -0x40(%rbp)
movb %dl, -0x38(%rbp)
leaq -0x1512(%rip), %rdi     # 0x10abf0
xorl %eax, %eax
movl %eax, %esi
callq 0x110740
movq %rax, -0x50(%rbp)
movb %dl, -0x48(%rbp)
leaq -0x1529(%rip), %rdi     # 0x10abf0
xorl %eax, %eax
movl %eax, %esi
callq 0x110740
movq %rax, -0x60(%rbp)
movb %dl, -0x58(%rbp)
movq -0x30(%rbp), %rdi
movzbl -0x28(%rbp), %esi
callq 0x110780
movq %rax, -0x68(%rbp)
movq -0x8(%rbp), %rdi
movq -0x68(%rbp), %rdx
leaq 0x4bf41(%rip), %rsi     # 0x15808a
movb $0x0, %al
callq 0x100210
movq -0x68(%rbp), %rdi
callq 0xff600
movq -0x40(%rbp), %rdi
movzbl -0x38(%rbp), %esi
callq 0x110780
movq %rax, -0x70(%rbp)
movq -0x8(%rbp), %rdi
movq -0x70(%rbp), %rdx
leaq 0x4bf24(%rip), %rsi     # 0x15809d
movb $0x0, %al
callq 0x100210
movq -0x70(%rbp), %rdi
callq 0xff600
movq -0x50(%rbp), %rdi
movzbl -0x48(%rbp), %esi
callq 0x110780
movq %rax, -0x78(%rbp)
movq -0x8(%rbp), %rdi
movq -0x78(%rbp), %rdx
leaq 0x4bf07(%rip), %rsi     # 0x1580b0
movb $0x0, %al
callq 0x100210
movq -0x78(%rbp), %rdi
callq 0xff600
movq -0x60(%rbp), %rdi
movzbl -0x58(%rbp), %esi
callq 0x110780
movq %rax, -0x80(%rbp)
movq -0x8(%rbp), %rdi
movq -0x80(%rbp), %rdx
leaq 0x4beea(%rip), %rsi     # 0x1580c3
movb $0x0, %al
callq 0x100210
movq -0x80(%rbp), %rdi
callq 0xff600
movq -0x8(%rbp), %rax
addq $0x80, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)