// File: /workspace/github_c_makefile_star2_O1/jflatow[P]jfdb/test/jfdb.c
// Function: main
int main(int argc, char **argv) {
  test_region_map_pos();
  test_region_map_neg();
  test_db(argc, argv);
  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movq %rsi, 0x28(%rsp)
movl %edi, 0x4(%rsp)
movl $0x28, %edi
callq 0x1150
movq %rax, %r14
movabsq $0x400000000, %r12      # imm = 0x400000000
testq %rax, %rax
je 0x1325
movq %r12, (%r14)
pxor %xmm0, %xmm0
movdqu %xmm0, 0x8(%r14)
movdqu %xmm0, 0x18(%r14)
movl (%r14), %r13d
movl $0x3, %ecx
subl %r13d, %ecx
leaq 0x1(%rcx), %rbx
movl %ecx, %edx
shrl $0x6, %edx
movq %rbx, %r15
shrq $0x6, %r15
movq $-0x1, %rax
shlq %cl, %rax
cmpq %r15, %rdx
jne 0x1363
notb %bl
movl %ebx, %ecx
shlq %cl, %rax
shrq %cl, %rax
leaq (%r14,%rdx,8), %rcx
addq $0x8, %rcx
jmp 0x13a9
orq %rax, 0x8(%r14,%rdx,8)
leaq 0x8(%r14), %rbp
leal 0x1(%rdx), %eax
cmpl %r15d, %eax
jae 0x1390
leaq (%r14,%rdx,8), %rdi
addq $0x10, %rdi
notq %rdx
addq %r15, %rdx
shlq $0x3, %rdx
movl $0xff, %esi
callq 0x10f0
notb %bl
movq $-0x1, %rax
movl %ebx, %ecx
shrq %cl, %rax
leaq (,%r15,8), %rcx
addq %rbp, %rcx
orq %rax, (%rcx)
movl $0xa, %ecx
subl %r13d, %ecx
leaq 0x1(%rcx), %r15
movl %ecx, %edx
shrl $0x6, %edx
movq %r15, %rbx
shrq $0x6, %rbx
movq $-0x1, %rax
shlq %cl, %rax
cmpq %rbx, %rdx
jne 0x13e9
notb %r15b
movl %r15d, %ecx
shlq %cl, %rax
shrq %cl, %rax
leaq (%r14,%rdx,8), %rcx
addq $0x8, %rcx
jmp 0x1430
orq %rax, 0x8(%r14,%rdx,8)
leaq 0x8(%r14), %rbp
leal 0x1(%rdx), %eax
cmpl %ebx, %eax
jae 0x1415
leaq (%r14,%rdx,8), %rdi
addq $0x10, %rdi
notq %rdx
addq %rbx, %rdx
shlq $0x3, %rdx
movl $0xff, %esi
callq 0x10f0
notb %r15b
movq $-0x1, %rax
movl %r15d, %ecx
shrq %cl, %rax
leaq (,%rbx,8), %rcx
addq %rbp, %rcx
orq %rax, (%rcx)
movl $0x3c, %ecx
subl %r13d, %ecx
leaq 0x27(%rcx), %r15
movl %ecx, %edx
shrl $0x6, %edx
movq %r15, %rbx
shrq $0x6, %rbx
movq $-0x1, %rax
shlq %cl, %rax
cmpq %rbx, %rdx
jne 0x1470
notb %r15b
movl %r15d, %ecx
shlq %cl, %rax
shrq %cl, %rax
leaq (%r14,%rdx,8), %rcx
addq $0x8, %rcx
jmp 0x14b7
orq %rax, 0x8(%r14,%rdx,8)
leaq 0x8(%r14), %rbp
leal 0x1(%rdx), %eax
cmpl %ebx, %eax
jae 0x149c
leaq (%r14,%rdx,8), %rdi
addq $0x10, %rdi
notq %rdx
addq %rbx, %rdx
shlq $0x3, %rdx
movl $0xff, %esi
callq 0x10f0
notb %r15b
movq $-0x1, %rax
movl %r15d, %ecx
shrq %cl, %rax
leaq (,%rbx,8), %rcx
addq %rbp, %rcx
orq %rax, (%rcx)
movl $0xb, %ecx
subl %r13d, %ecx
movq $-0x1, %rax
movq $-0x2, %rdx
shldq %cl, %rax, %rdx
shrl $0x6, %ecx
andq %rdx, 0x8(%r14,%rcx,8)
pxor %xmm0, %xmm0
movdqa %xmm0, 0x60(%rsp)
movdqa %xmm0, 0x50(%rsp)
movdqa %xmm0, 0x40(%rsp)
movdqa %xmm0, 0x30(%rsp)
cmpl $0x0, 0x4(%r14)
je 0x15ea
leaq 0x30(%rsp), %rsi
xorl %r9d, %r9d
leaq 0x38(%rsp), %rdi
xorl %r8d, %r8d
movq %rsi, %rdx
xorl %r11d, %r11d
movq 0x8(%r14,%r8,8), %r10
cmpq $-0x1, %r10
je 0x15d4
testq %r10, %r10
je 0x15d0
bsfq %r10, %rcx
cmpq $0x3f, %rcx
je 0x15d4
incl %ecx
movl %r8d, %r15d
shll $0x6, %r15d
movl %ecx, %r13d
testl %r13d, %r13d
je 0x15cd
addl %r11d, %r13d
shll $0x8, %r13d
addl $0xffffff00, %r13d      # imm = 0xFFFFFF00
cmpl 0x4(%rdx), %r13d
jbe 0x1595
movl %r13d, 0x4(%rdx)
addl (%r14), %r9d
movl %r9d, (%rdx)
movl $0x7, %eax
movq %rdi, %r9
movq %rsi, %r11
movl 0x4(%r9), %ebx
movq %r9, %rdx
cmpl 0x4(%r11), %ebx
jb 0x1589
movq %r11, %rdx
addq $0x8, %r9
movq %rdx, %r11
decq %rax
jne 0x1579
movq %r10, %rax
shrq %cl, %rax
notq %rax
bsfq %rax, %rax
addl %ecx, %eax
movq %r10, %r9
movl %eax, %ecx
shrq %cl, %r9
bsfq %r9, %r13
incl %r13d
xorl %r11d, %r11d
testq %r9, %r9
cmovel %r11d, %r13d
leal (%rax,%r15), %r9d
addl %r13d, %eax
movl %eax, %ecx
cmpl $0x40, %eax
jl 0x154b
jmp 0x15d4
subl %ecx, %r11d
addl $0x40, %r11d
incq %r8
movl 0x4(%r14), %eax
cmpq %rax, %r8
jb 0x1519
shll $0x8, %r11d
jmp 0x15f5
leaq 0x30(%rsp), %rdx
xorl %r11d, %r11d
xorl %r9d, %r9d
cmpl 0x4(%rdx), %r11d
jbe 0x1605
movl %r11d, 0x4(%rdx)
addl (%r14), %r9d
movl %r9d, (%rdx)
movq %r14, %rdi
callq 0x1030
leaq 0x59f0(%rip), %r14      # 0x7004
xorl %ebx, %ebx
movl 0x30(%rsp,%rbx,8), %esi
movl 0x34(%rsp,%rbx,8), %edx
movq %r14, %rdi
xorl %eax, %eax
callq 0x10c0
incq %rbx
cmpq $0x8, %rbx
jne 0x1616
movl $0x28, %edi
callq 0x1150
movq %rax, %r14
testq %rax, %rax
je 0x1656
movq %r12, (%r14)
pcmpeqd %xmm0, %xmm0
movdqu %xmm0, 0x8(%r14)
movdqu %xmm0, 0x18(%r14)
movl (%r14), %r12d
movl $0x3, %ecx
subl %r12d, %ecx
leaq 0x1(%rcx), %r15
movl %ecx, %edx
shrl $0x6, %edx
movq %r15, %r13
shrq $0x6, %r13
andb $0x3f, %cl
negb %cl
movq $-0x1, %rax
shrq %cl, %rax
cmpq %r13, %rdx
jne 0x169f
movq $-0x2, %rsi
movl %r15d, %ecx
shlq %cl, %rsi
orq %rsi, %rax
leaq (%r14,%rdx,8), %rcx
addq $0x8, %rcx
jmp 0x16da
andq %rax, 0x8(%r14,%rdx,8)
leaq 0x8(%r14), %rbx
leal 0x1(%rdx), %eax
cmpl %r13d, %eax
jae 0x16c9
leaq (%r14,%rdx,8), %rdi
addq $0x10, %rdi
notq %rdx
addq %r13, %rdx
shlq $0x3, %rdx
xorl %esi, %esi
callq 0x10f0
movq $-0x2, %rax
movl %r15d, %ecx
shlq %cl, %rax
leaq (%rbx,%r13,8), %rcx
andq %rax, (%rcx)
movl $0xa, %ecx
subl %r12d, %ecx
leaq 0x1(%rcx), %r15
movl %ecx, %edx
shrl $0x6, %edx
movq %r15, %r13
shrq $0x6, %r13
andb $0x3f, %cl
negb %cl
movq $-0x1, %rax
shrq %cl, %rax
cmpq %r13, %rdx
jne 0x1723
movq $-0x2, %rsi
movl %r15d, %ecx
shlq %cl, %rsi
orq %rsi, %rax
leaq (%r14,%rdx,8), %rcx
addq $0x8, %rcx
jmp 0x175e
andq %rax, 0x8(%r14,%rdx,8)
leaq 0x8(%r14), %rbx
leal 0x1(%rdx), %eax
cmpl %r13d, %eax
jae 0x174d
leaq (%r14,%rdx,8), %rdi
addq $0x10, %rdi
notq %rdx
addq %r13, %rdx
shlq $0x3, %rdx
xorl %esi, %esi
callq 0x10f0
movq $-0x2, %rax
movl %r15d, %ecx
shlq %cl, %rax
leaq (%rbx,%r13,8), %rcx
andq %rax, (%rcx)
movl $0x3c, %ecx
subl %r12d, %ecx
leaq 0x27(%rcx), %r15
movl %ecx, %edx
shrl $0x6, %edx
movq %r15, %r13
shrq $0x6, %r13
andb $0x3f, %cl
negb %cl
movq $-0x1, %rax
shrq %cl, %rax
cmpq %r13, %rdx
jne 0x17a7
movq $-0x2, %rsi
movl %r15d, %ecx
shlq %cl, %rsi
orq %rsi, %rax
leaq (%r14,%rdx,8), %rcx
addq $0x8, %rcx
jmp 0x17e2
andq %rax, 0x8(%r14,%rdx,8)
leaq 0x8(%r14), %rbx
leal 0x1(%rdx), %eax
cmpl %r13d, %eax
jae 0x17d1
leaq (%r14,%rdx,8), %rdi
addq $0x10, %rdi
notq %rdx
addq %r13, %rdx
shlq $0x3, %rdx
xorl %esi, %esi
callq 0x10f0
movq $-0x2, %rax
movl %r15d, %ecx
shlq %cl, %rax
leaq (%rbx,%r13,8), %rcx
andq %rax, (%rcx)
movl $0xb, %eax
subl %r12d, %eax
movl %eax, %ecx
andb $0x3f, %cl
notb %cl
movq $-0x1, %rdx
shrq %cl, %rdx
movl %eax, %ecx
shrq %cl, %rdx
shlq %cl, %rdx
shrl $0x6, %eax
orq %rdx, 0x8(%r14,%rax,8)
pxor %xmm0, %xmm0
movdqa %xmm0, 0x60(%rsp)
movdqa %xmm0, 0x50(%rsp)
movdqa %xmm0, 0x40(%rsp)
movdqa %xmm0, 0x30(%rsp)
cmpl $0x0, 0x4(%r14)
je 0x191c
leaq 0x30(%rsp), %rsi
xorl %r9d, %r9d
leaq 0x38(%rsp), %rdi
xorl %r8d, %r8d
movq %rsi, %rdx
xorl %r11d, %r11d
movq 0x8(%r14,%r8,8), %r10
cmpq $-0x1, %r10
je 0x1906
testq %r10, %r10
je 0x1902
bsfq %r10, %rcx
cmpq $0x3f, %rcx
je 0x1906
incl %ecx
movl %r8d, %r15d
shll $0x6, %r15d
movl %ecx, %r12d
testl %r12d, %r12d
je 0x18ff
addl %r11d, %r12d
shll $0x8, %r12d
addl $0xffffff00, %r12d      # imm = 0xFFFFFF00
cmpl 0x4(%rdx), %r12d
jbe 0x18c7
movl %r12d, 0x4(%rdx)
addl (%r14), %r9d
movl %r9d, (%rdx)
movl $0x7, %eax
movq %rdi, %r9
movq %rsi, %r11
movl 0x4(%r9), %ebx
movq %r9, %rdx
cmpl 0x4(%r11), %ebx
jb 0x18bb
movq %r11, %rdx
addq $0x8, %r9
movq %rdx, %r11
decq %rax
jne 0x18ab
movq %r10, %rax
shrq %cl, %rax
notq %rax
bsfq %rax, %rax
addl %ecx, %eax
movq %r10, %r9
movl %eax, %ecx
shrq %cl, %r9
bsfq %r9, %r12
incl %r12d
xorl %r11d, %r11d
testq %r9, %r9
cmovel %r11d, %r12d
leal (%rax,%r15), %r9d
addl %r12d, %eax
movl %eax, %ecx
cmpl $0x40, %eax
jl 0x187d
jmp 0x1906
subl %ecx, %r11d
addl $0x40, %r11d
incq %r8
movl 0x4(%r14), %eax
cmpq %rax, %r8
jb 0x184b
shll $0x8, %r11d
jmp 0x1927
leaq 0x30(%rsp), %rdx
xorl %r11d, %r11d
xorl %r9d, %r9d
cmpl 0x4(%rdx), %r11d
jbe 0x1937
movl %r11d, 0x4(%rdx)
addl (%r14), %r9d
movl %r9d, (%rdx)
movq %r14, %rdi
callq 0x1030
leaq 0x56be(%rip), %r14      # 0x7004
xorl %ebx, %ebx
movl 0x30(%rsp,%rbx,8), %esi
movl 0x34(%rsp,%rbx,8), %edx
movq %r14, %rdi
xorl %eax, %eax
callq 0x10c0
incq %rbx
cmpq $0x8, %rbx
jne 0x1948
cmpl $0x2, 0x4(%rsp)
jl 0x1975
movq 0x28(%rsp), %rax
movq 0x8(%rax), %rdi
jmp 0x197c
leaq 0x56a9(%rip), %rdi      # 0x7025
xorl %esi, %esi
callq 0x1c9d
movq %rax, %rbx
testq %rax, %rax
je 0x1b76
cmpl $0x0, 0x88(%rbx)
jne 0x1b76
cmpl $0x0, 0x88(%rbx)
jne 0x1b62
leaq 0x8360(%rip), %rsi      # 0x9d10
leaq 0x30(%rsp), %r14
movl $0xd8, %edx
movq %r14, %rdi
callq 0x1140
leaq 0x60(%rsp), %r15
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x333f
leaq 0x48(%rsp), %r12
leaq 0x78(%rsp), %r13
movq %rbx, %rdi
movq %r12, %rsi
movq %r13, %rdx
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x333f
movq %rbx, %rdi
movq %r14, %rsi
movq %r13, %rdx
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x333f
movq %rbx, %rdi
movq %r12, %rsi
movq %r15, %rdx
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x333f
leaq 0x90(%rsp), %rsi
leaq 0xf0(%rsp), %rdx
movq %rbx, %rdi
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x333f
leaq 0xc0(%rsp), %r12
leaq 0xd8(%rsp), %rdx
movq %rbx, %rdi
movq %r12, %rsi
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x333f
leaq 0xa8(%rsp), %rsi
movq %rbx, %rdi
movq %r12, %rdx
movq %r15, %rcx
movl $0x6, %r8d
xorl %r9d, %r9d
callq 0x333f
leaq 0x10(%rsp), %r15
movq $0x0, (%r15)
movq $0x0, 0x30(%rsp)
movw $0x8, 0x38(%rsp)
movq %r15, 0x40(%rsp)
movq %rbx, %rdi
movq %r14, %rsi
movq %r14, %rdx
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x333f
movq 0x10(%rsp), %rax
incq %rax
movq %rax, 0x10(%rsp)
cmpq $0x2710, %rax           # imm = 0x2710
jb 0x1a97
testq %rbx, %rbx
je 0x1bac
cmpl $0x0, 0x88(%rbx)
jne 0x1bac
leaq 0x8(%rsp), %r12
movq $0x0, (%r12)
leaq 0x30(%rsp), %r14
leaq 0x10(%rsp), %r15
movq $-0x5, 0x10(%rsp)
movw $0x8, 0x18(%rsp)
movq %r12, 0x20(%rsp)
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x355b
movq 0x8(%rsp), %rax
incq %rax
movq %rax, 0x8(%rsp)
cmpq $0x2710, %rax           # imm = 0x2710
jb 0x1b04
movq %rbx, %rdi
callq 0x34ec
testq %rbx, %rbx
je 0x1be2
cmpl $0x0, 0x88(%rbx)
jne 0x1be2
movq %rbx, %rdi
callq 0x282c
xorl %eax, %eax
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x8(%rbx), %rax
testq %rbx, %rbx
movq 0x846c(%rip), %rcx      # 0x9ff0
movq (%rcx), %rdi
leaq 0x5498(%rip), %rcx      # 0x7026
cmovneq %rax, %rcx
leaq 0x5485(%rip), %rsi      # 0x701e
leaq 0x546f(%rip), %rdx      # 0x700f
xorl %eax, %eax
callq 0x1130
jmp 0x199c
leaq 0x8(%rbx), %rax
testq %rbx, %rbx
movq 0x8436(%rip), %rcx      # 0x9ff0
movq (%rcx), %rdi
leaq 0x5462(%rip), %rcx      # 0x7026
cmovneq %rax, %rcx
leaq 0x544f(%rip), %rsi      # 0x701e
leaq 0x5461(%rip), %rdx      # 0x7037
xorl %eax, %eax
callq 0x1130
jmp 0x1aed
leaq 0x8(%rbx), %rax
testq %rbx, %rbx
movq 0x8400(%rip), %rcx      # 0x9ff0
movq (%rcx), %rdi
leaq 0x542c(%rip), %rcx      # 0x7026
cmovneq %rax, %rcx
leaq 0x5419(%rip), %rsi      # 0x701e
leaq 0x54a1(%rip), %rdx      # 0x70ad
xorl %eax, %eax
callq 0x1130
jmp 0x1b5a