// File: /workspace/github_c_makefile_star2_O3/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 $0x58, %rsp
movabsq $-0x2fb2ca72fc2f0826, %rsi # imm = 0xD04D358D03D0F7DA
callq 0xdfce3
movabsq $0x7ee758bbfced33e3, %rcx # imm = 0x7EE758BBFCED33E3
cmpq %rcx, %rax
je 0x12a4aa
movabsq $0x6a72ce8f8250efc6, %rcx # imm = 0x6A72CE8F8250EFC6
cmpq %rcx, %rax
jne 0x12a6a2
leaq 0x21d(%rip), %rsi       # 0x12a6b3
movabsq $0x7e104f76f874d1b6, %rdi # imm = 0x7E104F76F874D1B6
callq 0xc5545
jmp 0x12a6a2
movabsq $0x400000000000000, %r12 # imm = 0x400000000000000
leaq 0x71915(%rip), %rax     # 0x19bdd0
movq (%rax), %rsi
leaq 0x28(%rsp), %r14
movq %r14, 0x20(%rsp)
movq %r14, %rdi
callq 0xd6675
callq 0x1299f7
movabsq $0x7e104f76f874d1b6, %r15 # imm = 0x7E104F76F874D1B6
movq %r14, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0xd67bd
movq %rax, %r13
callq 0x1299f7
movq %r14, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0xd67bd
movq %rax, 0x8(%rsp)
movl $0x80, %esi
movl $0x100, %edx            # imm = 0x100
movq %r13, %rdi
callq 0x129c1e
movq %r12, %rdx
xorl %r8d, %r8d
movabsq $-0x59225ce9298deaed, %r14 # imm = 0xA6DDA316D6721513
movq $0x0, (%rsp)
xorl %eax, %eax
movq %rax, 0x10(%rsp)
shlq $0x3a, %rax
sarq $0x2f, %rax
andl $0xff0000, %eax         # imm = 0xFF0000
movq %rax, 0x18(%rsp)
xorl %ebp, %ebp
xorl %r15d, %r15d
movq 0x8(%r13), %rdi
cmpq %r14, %rdi
jne 0x12a57e
movq (%rsp), %rax
addq %rbp, %rax
sarq $0x3f, %rax
movq %rbp, %rcx
sarq $0x37, %rcx
andl $0xff00, %ecx           # imm = 0xFF00
orl 0x18(%rsp), %ecx
movzbl %al, %r12d
orl %ecx, %r12d
jmp 0x12a5c8
movq %r8, %rbx
callq 0xd6ec4
testq %rax, %rax
leaq 0x1e185(%rip), %rcx     # 0x148715
cmoveq %rcx, %rax
xorl %r12d, %r12d
leaq 0x249fb(%rip), %rdi     # 0x14ef99
leaq 0x249cd(%rip), %rsi     # 0x14ef72
movl $0x58, %edx
leaq 0x249cf(%rip), %rcx     # 0x14ef80
movq %rax, %r8
xorl %eax, %eax
callq 0xbe6f9
movq %rbx, %r8
movabsq $0x400000000000000, %rdx # imm = 0x400000000000000
movq 0x20(%r13), %rax
imulq %r8, %rax
addq 0x28(%r13), %rax
movl %r12d, (%rax,%r15,4)
incq %r15
addq %rdx, %rbp
cmpq $0x100, %r15            # imm = 0x100
jne 0x12a550
movq 0x10(%rsp), %rax
incq %rax
addq %rdx, (%rsp)
addq $0x4, %r8
cmpq $0x80, %rax
jne 0x12a534
xorl %eax, %eax
callq 0xe08f2
leaq 0x28(%rsp), %r15
movabsq $-0x741f65139500cd47, %rsi # imm = 0x8BE09AEC6AFF32B9
movq %r15, %rdi
movq %rax, %rdx
callq 0xd67bd
movq %rax, %r12
movq %r13, %rdi
movq %rax, %rsi
callq 0x129d19
movq 0x8(%r12), %rdi
movq 0x10(%r12), %rsi
callq 0xe3c69
movq %r15, %rdi
movq %rax, %rsi
callq 0xd6a3c
movq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x129fb0
movq %r13, %rdi
movq %r14, %rsi
callq 0xf431d
testl %eax, %eax
je 0x12a698
leaq 0x2fd1(%rip), %rdi      # 0x12d647
leaq 0x24999(%rip), %rsi     # 0x14f016
leaq 0x21556(%rip), %rdx     # 0x14bbda
leaq 0x249ae(%rip), %rcx     # 0x14f039
movl $0xa1, %r8d
xorl %eax, %eax
callq 0xbe4ef
leaq 0x20(%rsp), %rdi
callq 0xd6d0d
xorl %eax, %eax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq