// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_img.c
// Function: bcore_img_signal_handler
vd_t bcore_img_signal_handler( const bcore_signal_s* o )
{
    switch( bcore_signal_s_handle_type( o, typeof( "bcore_img" ) ) )
    {
        case TYPEOF_init1:
        {
            BCORE_REGISTER_OBJECT( bcore_img_u2_s );
        }
        break;

        case TYPEOF_selftest:
        {
            selftest();
        }
        break;

        default: break;
    }

    return NULL;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movabsq $-0x2fb2ca72fc2f0826, %rsi # imm = 0xD04D358D03D0F7DA
callq 0xe9c93
movabsq $0x7ee758bbfced33e3, %rcx # imm = 0x7EE758BBFCED33E3
cmpq %rcx, %rax
je 0x1359f9
movabsq $0x6a72ce8f8250efc6, %rcx # imm = 0x6A72CE8F8250EFC6
cmpq %rcx, %rax
jne 0x135bfb
leaq 0x227(%rip), %rsi       # 0x135c0c
movabsq $0x7e104f76f874d1b6, %rdi # imm = 0x7E104F76F874D1B6
callq 0xcf6c4
jmp 0x135bfb
movabsq $0x400000000000000, %r12 # imm = 0x400000000000000
leaq 0x733c6(%rip), %rax     # 0x1a8dd0
movq (%rax), %rsi
leaq 0x38(%rsp), %rdi
movq %rdi, 0x10(%rsp)
callq 0xe0431
movq 0x10(%rsp), %rbx
callq 0x134f1a
movabsq $0x7e104f76f874d1b6, %r15 # imm = 0x7E104F76F874D1B6
movq %rbx, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0xe0582
movq %rax, %rbp
callq 0x134f1a
movq %rbx, 0x20(%rsp)
movq %rbx, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0xe0582
movq %rax, 0x18(%rsp)
movl $0x80, %esi
movl $0x100, %edx            # imm = 0x100
movq %rbp, %rdi
callq 0x13514f
movq %r12, %rdx
xorl %r8d, %r8d
movabsq $-0x59225ce9298deaed, %r15 # imm = 0xA6DDA316D6721513
movq $0x0, 0x8(%rsp)
xorl %eax, %eax
movq %rax, 0x28(%rsp)
shlq $0x3a, %rax
sarq $0x2f, %rax
andl $0xff0000, %eax         # imm = 0xFF0000
movq %rax, 0x30(%rsp)
xorl %ebx, %ebx
xorl %r12d, %r12d
movq 0x8(%rbp), %rdi
cmpq %r15, %rdi
jne 0x135ad6
movq 0x8(%rsp), %rax
addq %rbx, %rax
sarq $0x3f, %rax
movq %rbx, %rcx
sarq $0x37, %rcx
andl $0xff00, %ecx           # imm = 0xFF00
orl 0x30(%rsp), %ecx
movzbl %al, %r13d
orl %ecx, %r13d
jmp 0x135b20
movq %r8, %r14
callq 0xe0cbc
testq %rax, %rax
leaq 0x1dc07(%rip), %rcx     # 0x1536ef
cmoveq %rcx, %rax
xorl %r13d, %r13d
leaq 0x24443(%rip), %rdi     # 0x159f39
leaq 0x24415(%rip), %rsi     # 0x159f12
movl $0x58, %edx
leaq 0x24417(%rip), %rcx     # 0x159f20
movq %rax, %r8
xorl %eax, %eax
callq 0xc825d
movq %r14, %r8
movabsq $0x400000000000000, %rdx # imm = 0x400000000000000
movq 0x20(%rbp), %rax
imulq %r8, %rax
addq 0x28(%rbp), %rax
movl %r13d, (%rax,%r12,4)
incq %r12
addq %rdx, %rbx
cmpq $0x100, %r12            # imm = 0x100
jne 0x135aa7
movq 0x28(%rsp), %rax
incq %rax
addq %rdx, 0x8(%rsp)
addq $0x4, %r8
cmpq $0x80, %rax
jne 0x135a8b
xorl %eax, %eax
callq 0xea932
movabsq $-0x741f65139500cd47, %rsi # imm = 0x8BE09AEC6AFF32B9
movq 0x20(%rsp), %rbx
movq %rbx, %rdi
movq %rax, %rdx
callq 0xe0582
movq %rax, %r12
movq %rbp, %rdi
movq %rax, %rsi
callq 0x135255
movq 0x8(%r12), %rdi
movq 0x10(%r12), %rsi
callq 0xeddb7
movq %rbx, %rdi
movq %rax, %rsi
callq 0xe081c
movq 0x18(%rsp), %rbx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x1354e8
movq %rbp, %rdi
movq %rbx, %rsi
callq 0xfe9cd
testl %eax, %eax
je 0x135bf1
leaq 0x2a78(%rip), %rdi      # 0x138647
leaq 0x243e0(%rip), %rsi     # 0x159fb6
leaq 0x20fd5(%rip), %rdx     # 0x156bb2
leaq 0x243f5(%rip), %rcx     # 0x159fd9
movl $0xa1, %r8d
xorl %eax, %eax
callq 0xc8053
leaq 0x10(%rsp), %rdi
callq 0xe0b11
xorl %eax, %eax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq