// File: /workspace/github_cpp_makefile_star2_O1/splatlab[P]debgr/threadsafe-gqf/gqf.c
// Function: qf_insert
bool qf_insert(QF *qf, uint64_t key, uint64_t value, uint64_t count, bool
							 lock, bool spin)
{
	/*uint64_t hash = (key << qf->metadata->value_bits) | (value & BITMASK(qf->metadata->value_bits));*/
	if (count == 1)
		return insert1(qf, key, lock, spin);
	else
		return insert(qf, key, count, lock, spin);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdi, %r15
cmpq $0x1, %rcx
jne 0x103de
movq 0x8(%r15), %rax
movq 0x38(%rax), %rcx
movq $-0x1, %rdx
movq $-0x1, %r11
shlq %cl, %r11
cmpq $0x40, %rcx
notq %r11
cmoveq %rdx, %r11
xorl %eax, %eax
movq %rsi, %r12
shrdq %cl, %rax, %r12
testb $0x40, %cl
cmovneq %rax, %r12
movl %r12d, %r10d
andl $0xfff, %r10d           # imm = 0xFFF
testb %r8b, %r8b
je 0x10452
movq (%r15), %rax
movq 0x8(%rax), %rcx
movq %r12, %rax
shrq $0xc, %rax
movl $0x1, %edi
xchgl %edi, (%rcx,%rax,4)
testb %r9b, %r9b
je 0x10401
testl %edi, %edi
je 0x10405
cmpl $0x0, (%rcx,%rax,4)
jne 0x103ce
movl $0x1, %edi
xchgl %edi, (%rcx,%rax,4)
jmp 0x103ca
movzbl %r8b, %eax
movzbl %r9b, %r8d
movq %r15, %rdi
movq %rcx, %rdx
movl %eax, %ecx
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x110e7
testl %edi, %edi
jne 0x1044b
cmpl $0xf01, %r10d           # imm = 0xF01
jb 0x10452
movq (%r15), %rcx
movq 0x8(%rcx), %rcx
movl $0x1, %edi
xchgl %edi, 0x4(%rcx,%rax,4)
testb %r9b, %r9b
je 0x10439
testl %edi, %edi
je 0x10452
cmpl $0x0, 0x4(%rcx,%rax,4)
jne 0x10427
movl $0x1, %edi
xchgl %edi, 0x4(%rcx,%rax,4)
jmp 0x10423
testl %edi, %edi
je 0x10452
movq (%r15), %rcx
movq 0x8(%rcx), %rcx
movl $0x0, (%rcx,%rax,4)
xorl %eax, %eax
jmp 0x10eac
movl %r8d, 0x4(%rsp)
movq %r11, %r8
movl %r12d, %r14d
andl $0x3f, %r14d
movq %r12, %r9
shrq $0x6, %r9
movq 0x8(%r15), %rax
movq 0x10(%r15), %r11
movq %rax, %rbp
movq 0x38(%rax), %r13
movabsq $0x3ffffffffffffff, %rcx # imm = 0x3FFFFFFFFFFFFFF
movq %r13, %rax
andq %rcx, %rax
leaq 0x11(,%rax,8), %rdi
movq %rdi, 0x40(%rsp)
movq %r9, 0x30(%rsp)
imulq %r9, %rdi
movl $0x2, %r9d
movl %r14d, %ecx
shlq %cl, %r9
movzbl (%r11,%rdi), %eax
movq 0x1(%r11,%rdi), %rbx
decq %r9
cmpq $0x3f, %r14
cmoveq %rdx, %r9
andq %rbx, %r9
cmpq %r14, %rax
movq %r11, 0x8(%rsp)
jbe 0x104d8
subl %r14d, %eax
popcntq %r9, %r9
addl %eax, %r9d
jmp 0x104ff
movq $-0x1, %rdx
movl %r14d, %ecx
shlq %cl, %rdx
notq %rdx
andq 0x9(%r11,%rdi), %rdx
movl %eax, %ecx
shrq %cl, %rdx
popcntq %r9, %r9
popcntq %rdx, %rdx
subl %edx, %r9d
andq %rsi, %r8
movabsq $0x1ffffffffffffff8, %r11 # imm = 0x1FFFFFFFFFFFFFF8
addq $0x38, %rbp
testl %r9d, %r9d
movq %rbp, 0x38(%rsp)
je 0x10561
movq %r8, 0x58(%rsp)
movq %r10, 0x60(%rsp)
movq %r15, %rdi
movq %r12, %rsi
callq 0x12418
movq %rax, %rbp
movq $0x0, 0x50(%rsp)
testq %r12, %r12
movq %r12, 0x18(%rsp)
je 0x105eb
leaq -0x1(%r12), %rsi
movq %r15, %rdi
callq 0x12418
movq %rax, %r12
incq %r12
jmp 0x105ee
movl $0x1, %eax
movl %r14d, %ecx
shlq %cl, %rax
movq 0x8(%rsp), %r9
orq %rax, 0x9(%r9,%rdi)
movq %rax, %rdi
movq (%rbp), %rcx
leaq (,%rcx,8), %rax
andq %r11, %rax
addq $0x11, %rax
movq 0x30(%rsp), %rbp
imulq %rbp, %rax
addq %r9, %rax
imulq %rcx, %r14
shrq $0x3, %r14
movq $-0x1, %rdx
movq $-0x1, %rsi
shlq %cl, %rsi
cmpq $0x40, %rcx
notq %rsi
cmoveq %rdx, %rsi
imull %r12d, %ecx
andb $0x7, %cl
shlq %cl, %rsi
shlq %cl, %r8
notq %rsi
andq 0x11(%r14,%rax), %rsi
orq %r8, %rsi
movq %rsi, 0x11(%r14,%rax)
movq 0x38(%rsp), %rax
movq %r11, %rbx
movl 0x4(%rsp), %r14d
jmp 0x10e62
xorl %r12d, %r12d
movq 0x58(%rsp), %r9
movq 0x40(%rsp), %r11
movl $0x1, %edi
movl %r14d, %ecx
shlq %cl, %rdi
leaq 0x1(%rbp), %r10
movb $0x1, %r8b
btq %r14, %rbx
movq %r15, 0x10(%rsp)
jae 0x10670
movq %r12, %rdx
shrq $0x6, %rdx
imulq %r11, %rdx
addq 0x8(%rsp), %rdx
movl %r12d, %eax
andl $0x3f, %eax
imulq %r13, %rax
movq %rax, %rsi
shrq $0x3, %rsi
movq $-0x1, %r14
movl %r13d, %ecx
shlq %cl, %r14
movq 0x11(%rsi,%rdx), %r15
movq $-0x1, %rcx
cmpq $0x40, %r13
notq %r14
cmoveq %rcx, %r14
andb $0x7, %al
movl %eax, %ecx
shrq %cl, %r15
andq %r14, %r15
je 0x10678
movq %r12, 0x20(%rsp)
jmp 0x1077a
movq %r10, %r13
jmp 0x1085d
movq %rdi, 0x28(%rsp)
leaq 0x1(%r12), %rbx
cmpq %rbp, %rbx
movq 0x10(%rsp), %rdi
jae 0x106f6
movq 0x8(%rsp), %rax
addq $0x11, %rax
movq %rbx, %rsi
movq %rsi, %rdx
shrq $0x6, %rdx
imulq %r11, %rdx
addq %rax, %rdx
movl %esi, %ecx
andl $0x3f, %ecx
imulq %r13, %rcx
movq %rcx, %r15
shrq $0x3, %r15
movq (%r15,%rdx), %rdx
andb $0x7, %cl
shrq %cl, %rdx
incq %rsi
testq %r14, %rdx
je 0x106cf
cmpq %rsi, %rbp
jne 0x10698
jmp 0x106f6
movq %rsi, 0x20(%rsp)
movq %r10, %r15
callq 0x13532
movq 0x40(%rsp), %r11
movb $0x1, %r8b
movq %r15, %r10
movq 0x20(%rsp), %rcx
movq 0x58(%rsp), %r9
testq %rax, %rax
je 0x10733
movq %r12, %rcx
cmpq %rbp, %r12
jae 0x10733
movq %rbx, %rax
shrq $0x6, %rax
imulq %r11, %rax
addq 0x8(%rsp), %rax
movl %ebx, %ecx
andl $0x3f, %ecx
imulq %r13, %rcx
movq %rcx, %rdx
shrq $0x3, %rdx
movq 0x11(%rdx,%rax), %rax
andb $0x7, %cl
shrq %cl, %rax
testq %r14, %rax
cmovneq %r12, %rbx
movq %rbx, %rcx
testq %r9, %r9
movq %rcx, 0x20(%rsp)
je 0x10772
leaq 0x1(%rcx), %r12
movq %r12, %rax
shrq $0x6, %rax
imulq %r11, %rax
addq 0x8(%rsp), %rax
movl %r12d, %ecx
andl $0x3f, %ecx
imulq %r13, %rcx
movq %rcx, %rdx
shrq $0x3, %rdx
movq 0x11(%rdx,%rax), %r15
andb $0x7, %cl
shrq %cl, %r15
andq %r14, %r15
jmp 0x10775
xorl %r15d, %r15d
movq 0x28(%rsp), %rdi
movq 0x8(%rsp), %rax
leaq 0x11(%rax), %rbx
cmpq %rbp, %r12
ja 0x10846
cmpq %r9, %r15
jae 0x10846
cmpq %rbp, %r12
jae 0x10812
leaq 0x1(%r12), %rcx
movq %rcx, %rax
shrq $0x6, %rax
imulq %r11, %rax
addq %rbx, %rax
andl $0x3f, %ecx
imulq %r13, %rcx
movq %rcx, %rdx
shrq $0x3, %rdx
movq (%rdx,%rax), %rax
andb $0x7, %cl
shrq %cl, %rax
andq %r14, %rax
cmpq %r15, %rax
jae 0x10812
addq $0x2, %r12
cmpq %rbp, %r12
jae 0x10812
movq %r12, %rax
shrq $0x6, %rax
imulq %r11, %rax
addq %rbx, %rax
movl %r12d, %ecx
andl $0x3f, %ecx
imulq %r13, %rcx
movq %rcx, %rdx
shrq $0x3, %rdx
movq (%rdx,%rax), %rax
andb $0x7, %cl
shrq %cl, %rax
andq %r14, %rax
cmpq %r15, %rax
je 0x10812
incq %r12
cmpq %r12, %rbp
jne 0x107d6
movq %rbp, %r12
incq %r12
movq %r12, %rax
shrq $0x6, %rax
imulq %r11, %rax
addq %rbx, %rax
movl %r12d, %ecx
andl $0x3f, %ecx
imulq %r13, %rcx
movq %rcx, %rdx
shrq $0x3, %rdx
movq (%rdx,%rax), %r15
andb $0x7, %cl
shrq %cl, %r15
andq %r14, %r15
jmp 0x10783
cmpq %rbp, %r12
jbe 0x10871
movl $0x1, %eax
movq %rax, 0x50(%rsp)
movq %r12, %r13
movq 0x10(%rsp), %r15
movl 0x4(%rsp), %r14d
movq 0x18(%rsp), %r12
movq 0x30(%rsp), %rbp
jmp 0x10948
movq 0x30(%rsp), %rbp
je 0x108c4
cmpq %r9, %r15
jne 0x108c4
movl $0x2, %eax
testq %r9, %r9
je 0x108d0
movq %rax, 0x50(%rsp)
leaq 0x1(%r12), %rcx
movq %rcx, %rax
shrq $0x6, %rax
imulq %r11, %rax
addq 0x8(%rsp), %rax
andl $0x3f, %ecx
imulq %r13, %rcx
movq %rcx, %rdx
shrq $0x3, %rdx
movq 0x11(%rdx,%rax), %rax
andb $0x7, %cl
shrq %cl, %rax
andq %r14, %rax
cmpq %r9, %rax
jbe 0x108dc
jmp 0x10936
movl $0x2, %eax
movq %rax, 0x50(%rsp)
jmp 0x10936
movq %rax, 0x50(%rsp)
cmpq %r12, 0x20(%rsp)
je 0x10936
testq %r9, %r9
je 0x10917
leaq 0x1(%r12), %rsi
movq %rdi, 0x28(%rsp)
movq 0x10(%rsp), %rdi
movq %r10, %rbp
callq 0x13532
movq 0x40(%rsp), %r11
movb $0x1, %r8b
movq %rbp, %r10
movq 0x30(%rsp), %rbp
movq 0x58(%rsp), %r9
movq 0x28(%rsp), %rdi
cmpq %r9, %rax
je 0x10930
leaq 0x1(%r12), %rcx
testq %r9, %r9
jne 0x10ebb
cmpq %rcx, 0x20(%rsp)
jne 0x10ebb
incq %r12
xorl %r9d, %r9d
movq %r12, %r13
movq 0x10(%rsp), %r15
movl 0x4(%rsp), %r14d
movq 0x18(%rsp), %r12
movq 0x8(%rsp), %rsi
movabsq $0x1ffffffffffffff8, %rbx # imm = 0x1FFFFFFFFFFFFFF8
testb %r8b, %r8b
je 0x10e51
movq %r9, 0x58(%rsp)
movq 0x38(%rsp), %rax
movq (%rax), %r15
leaq (,%r15,8), %rdx
andq %rbx, %rdx
addq $0x11, %rdx
movq $-0x1, %r8
movq %r10, %rbx
movq %r10, %r11
shrq $0x6, %r11
movq %r11, %r10
imulq %rdx, %r10
movl %ebx, %ecx
andl $0x3f, %ecx
movl $0x2, %r9d
shlq %cl, %r9
decq %r9
cmpq $0x3f, %rcx
cmoveq %r8, %r9
movzbl (%rsi,%r10), %eax
andq 0x1(%rsi,%r10), %r9
cmpq %rcx, %rax
jbe 0x109c8
subl %ecx, %eax
popcntq %r9, %r9
addl %eax, %r9d
jmp 0x109ec
movq $-0x1, %r14
shlq %cl, %r14
notq %r14
andq 0x9(%rsi,%r10), %r14
movl %eax, %ecx
shrq %cl, %r14
popcntq %r9, %r9
popcntq %r14, %r14
subl %r14d, %r9d
movslq %r9d, %rax
leaq (%rbx,%rax), %r10
testl %eax, %eax
jne 0x10983
movq %rdi, 0x28(%rsp)
incq %r10
movq %r10, 0x20(%rsp)
movq %r10, %rcx
imulq %r15, %rcx
movq %rcx, %r10
shrq $0x6, %r10
movq %r13, 0x40(%rsp)
imulq %r13, %r15
movq %r15, 0x48(%rsp)
movq %r15, %r14
shrq $0x6, %r14
andl $0x3f, %ecx
cmpq %r14, %r10
jne 0x10a3c
movq %r10, %r8
movq 0x38(%rsp), %r12
jmp 0x10adf
leaq 0x11(%rsi), %r15
movq $-0x1, %rdi
movq 0x38(%rsp), %r12
leaq -0x1(%r10), %r8
movq (%r12), %r9
movq %r8, %rax
xorl %edx, %edx
divq %r9
leaq (,%r9,8), %rbp
movabsq $0x1ffffffffffffff8, %rsi # imm = 0x1FFFFFFFFFFFFFF8
andq %rsi, %rbp
addq $0x11, %rbp
imulq %rbp, %rax
addq %r15, %rax
movq (%rax,%rdx,8), %r13
movq %r10, %rax
xorl %edx, %edx
divq %r9
imulq %rbp, %rax
addq %r15, %rax
movq $-0x1, %r10
shlq %cl, %r10
cmpl $0x40, %ecx
notq %r10
cmoveq %rdi, %r10
movl %r9d, %ecx
negb %cl
shrq %cl, %r13
movq (%rax,%rdx,8), %rsi
movq %rsi, %rbp
andq %r10, %rbp
movl %r9d, %ecx
shlq %cl, %rbp
andq %r10, %rbp
notq %r10
andq %rsi, %r10
orq %r13, %r10
orq %rbp, %r10
movq %r10, (%rax,%rdx,8)
movl $0x40, %ecx
movq %r8, %r10
cmpq %r8, %r14
jne 0x10a4c
movq (%r12), %r9
movq %r8, %rax
xorl %edx, %edx
divq %r9
movq 0x48(%rsp), %rdi
movl %edi, %esi
andl $0x3f, %esi
leaq (,%r9,8), %r8
movabsq $0x1ffffffffffffff8, %r14 # imm = 0x1FFFFFFFFFFFFFF8
andq %r14, %r8
addq $0x11, %r8
imulq %r8, %rax
movq 0x8(%rsp), %r13
addq %r13, %rax
subl %esi, %ecx
movq $-0x1, %r8
movq $-0x1, %rsi
shlq %cl, %rsi
xorq %r8, %rsi
cmpl $0x40, %ecx
cmoveq %r8, %rsi
movl %edi, %ecx
shlq %cl, %rsi
movq 0x11(%rax,%rdx,8), %rdi
movq %rdi, %r10
andq %rsi, %r10
movl %r9d, %ecx
shlq %cl, %r10
xorq %rdi, %r10
andq %rsi, %r10
xorq %rdi, %r10
movq %r10, 0x11(%rax,%rdx,8)
movq 0x40(%rsp), %rbp
movq %rbp, %rax
shrq $0x6, %rax
movq (%r12), %rcx
leaq (,%rcx,8), %rdx
andq %r14, %rdx
addq $0x11, %rdx
movq %rax, 0x48(%rsp)
imulq %rax, %rdx
addq %r13, %rdx
movl %ebp, %eax
andl $0x3f, %eax
movq %rcx, %r9
movq $-0x1, %rsi
shlq %cl, %rsi
imulq %rax, %r9
shrq $0x3, %r9
cmpq $0x40, %rcx
notq %rsi
cmoveq %r8, %rsi
imull %ebp, %ecx
andb $0x7, %cl
shlq %cl, %rsi
movq 0x58(%rsp), %r8
shlq %cl, %r8
notq %rsi
andq 0x11(%r9,%rdx), %rsi
orq %r8, %rsi
movq %rsi, 0x11(%r9,%rdx)
leaq 0x3f(%rbp), %rcx
testq %rbp, %rbp
cmovnsq %rbp, %rcx
movq %rcx, %r9
sarq $0x6, %r9
andq $-0x40, %rcx
movq %rbp, %rdx
subq %rcx, %rdx
movq 0x20(%rsp), %rdi
movq %rdi, %r10
shrq $0x6, %r10
andl $0x3f, %edi
cmpq %r9, %r10
jne 0x10c15
movq 0x10(%rsp), %r15
movl 0x4(%rsp), %r14d
movabsq $0x3ffffffffffffff, %r8 # imm = 0x3FFFFFFFFFFFFFF
jmp 0x10cfd
addq $-0x3f, %rbx
shrq $0x6, %rbx
movq (%r12), %r14
shlq $0x3, %r14
movabsq $0x1ffffffffffffff8, %rsi # imm = 0x1FFFFFFFFFFFFFF8
andq %rsi, %r14
addq $0x11, %r14
imulq %r14, %rbx
movq 0x9(%r13,%rbx), %rsi
movq $-0x1, %rbx
movl %edi, %ecx
shlq %cl, %rbx
imulq %r10, %r14
movq 0x9(%r13,%r14), %rcx
movq %rbx, %r15
notq %r15
shrq $0x3f, %rsi
andq %rcx, %rbx
andq %r15, %rcx
addq %rcx, %rcx
andq %r15, %rcx
orq %rsi, %rbx
orq %rcx, %rbx
movq %rbx, 0x9(%r13,%r14)
leaq -0x1(%r10), %rcx
movl $0x40, %edi
cmpq %r9, %rcx
movl 0x4(%rsp), %r14d
movabsq $0x3ffffffffffffff, %r8 # imm = 0x3FFFFFFFFFFFFFF
jne 0x10c9c
movq %rcx, %r10
movq 0x10(%rsp), %r15
jmp 0x10cfd
addq %r8, %r10
decq %r10
movq 0x10(%rsp), %r15
movabsq $0x1ffffffffffffff8, %r12 # imm = 0x1FFFFFFFFFFFFFF8
movq 0x38(%rsp), %rbp
movq %r10, %rsi
andq %r8, %rsi
movq (%rbp), %rbx
shlq $0x3, %rbx
andq %r12, %rbx
addq $0x11, %rbx
imulq %rbx, %rsi
movq 0x9(%r13,%rsi), %rsi
movq %rcx, %r14
andq %r8, %r14
imulq %rbx, %r14
shldq $0x1, %rsi, 0x9(%r13,%r14)
decq %rcx
decq %r10
cmpq %rcx, %r9
jne 0x10cb6
movq %r9, %r10
movq 0x40(%rsp), %rbp
movl 0x4(%rsp), %r14d
andq %r8, %r10
movq 0x38(%rsp), %rcx
movq (%rcx), %r9
shlq $0x3, %r9
movabsq $0x1ffffffffffffff8, %rbx # imm = 0x1FFFFFFFFFFFFFF8
andq %rbx, %r9
addq $0x11, %r9
imulq %r10, %r9
movq 0x9(%r13,%r9), %rsi
subl %edx, %edi
movq $-0x1, %r10
movl %edi, %ecx
shlq %cl, %r10
cmpl $0x40, %edi
notq %r10
movq $-0x1, %rcx
cmoveq %rcx, %r10
movl %edx, %ecx
shlq %cl, %r10
movq %r10, %rcx
andq %rsi, %rcx
addq %rcx, %rcx
xorq %rsi, %rcx
andq %r10, %rcx
xorq %rsi, %rcx
movq %rcx, 0x9(%r13,%r9)
movq 0x50(%rsp), %rcx
cmpl $0x2, %ecx
je 0x10da6
cmpl $0x1, %ecx
movq 0x18(%rsp), %r12
jne 0x10dd7
decq %rbp
movq $-0x2, %rdx
movl %ebp, %ecx
rolq %cl, %rdx
shrq $0x6, %rbp
movq 0x38(%rsp), %rsi
movq (%rsi), %rcx
shlq $0x3, %rcx
andq %rbx, %rcx
addq $0x11, %rcx
imulq %rbp, %rcx
andq %rdx, 0x9(%r13,%rcx)
jmp 0x10ddc
movq $-0x2, %rdx
movl %eax, %ecx
rolq %cl, %rdx
movq 0x38(%rsp), %rax
movq (%rax), %rax
shlq $0x3, %rax
andq %rbx, %rax
addq $0x11, %rax
imulq 0x48(%rsp), %rax
andq %rdx, 0x9(%r13,%rax)
movq 0x18(%rsp), %r12
jmp 0x10dff
movq 0x38(%rsp), %rsi
movl $0x1, %edx
movl %eax, %ecx
shlq %cl, %rdx
movq (%rsi), %rax
shlq $0x3, %rax
andq %rbx, %rax
addq $0x11, %rax
imulq 0x48(%rsp), %rax
orq %rdx, 0x9(%r13,%rax)
movq 0x30(%rsp), %rbp
cmpq %r11, %rbp
movq 0x28(%rsp), %rdi
jae 0x10e51
negq %r11
leaq 0x1(%rbp), %rax
movq 0x8(%r15), %rdx
movq 0x10(%r15), %rcx
movq 0x38(%rdx), %rdx
shlq $0x3, %rdx
andq %rbx, %rdx
addq $0x11, %rdx
imulq %rax, %rdx
movb (%rcx,%rdx), %sil
cmpb $-0x1, %sil
je 0x10e41
incb %sil
movb %sil, (%rcx,%rdx)
leaq (%r11,%rax), %rcx
incq %rcx
incq %rax
cmpq $0x1, %rcx
jne 0x10e15
movq 0x8(%r15), %rax
movq 0x10(%r15), %r9
addq $0x38, %rax
movq 0x60(%rsp), %r10
movq (%rax), %rax
shlq $0x3, %rax
andq %rbx, %rax
addq $0x11, %rax
imulq %rbp, %rax
orq %rdi, 0x1(%r9,%rax)
movb $0x1, %al
testb %r14b, %r14b
je 0x10eac
movq (%r15), %rcx
movq 0x8(%rcx), %rcx
shrq $0xc, %r12
movl $0x0, (%rcx,%r12,4)
cmpl $0xf01, %r10d           # imm = 0xF01
jb 0x10eac
movq (%r15), %rcx
movq 0x8(%rcx), %rcx
movl $0x0, 0x4(%rcx,%r12,4)
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
testq %r9, %r9
jne 0x10eda
leaq 0x2(%r12), %rax
cmpq %rax, 0x20(%rsp)
jne 0x10eda
movq %rcx, %r13
movl $0x1, %r9d
jmp 0x10939
movq %rcx, 0x48(%rsp)
movq %r10, 0x20(%rsp)
movq %rdi, 0x28(%rsp)
movl $0x2, %eax
xorl %r8d, %r8d
leaq (%r12,%rax), %rcx
movq %rcx, %rdx
shrq $0x6, %rdx
imulq %r11, %rdx
addq %rbx, %rdx
andl $0x3f, %ecx
imulq %r13, %rcx
movq %rcx, %rsi
shrq $0x3, %rsi
movq (%rsi,%rdx), %rdx
andb $0x7, %cl
shrq %cl, %rdx
andq %r14, %rdx
decq %r8
incq %rax
cmpq %r9, %rdx
jne 0x10ef1
xorl %eax, %eax
cmpq $0x1, %r15
sete %al
incq %rax
movq %rax, 0x40(%rsp)
movq %r12, %r13
subq %r8, %r13
movq %r13, %rcx
shrq $0x6, %rcx
movq 0x38(%rsp), %rax
movq (%rax), %rax
leaq (,%rax,8), %r11
movabsq $0x1ffffffffffffff8, %rdx # imm = 0x1FFFFFFFFFFFFFF8
andq %rdx, %r11
addq $0x11, %r11
imulq %rcx, %r11
addq %rbx, %r11
movq %r13, %rsi
movl %r13d, %edx
andl $0x3f, %edx
imulq %rax, %rdx
movq %rdx, %r14
movq $-0x1, %r13
movl %eax, %ecx
shlq %cl, %r13
shrq $0x3, %r14
movq (%r14,%r11), %rbp
cmpq $0x40, %rax
notq %r13
movq $-0x1, %rcx
cmoveq %rcx, %r13
andb $0x7, %dl
movq %rbp, %rdi
movl %edx, %ecx
shrq %cl, %rdi
movq 0x40(%rsp), %rcx
andq %r13, %rdi
je 0x10fbd
movq %rdi, %rcx
incq %rcx
andq %r13, %rcx
sete %r10b
cmpq $0x1, %rcx
adcq $0x0, %rcx
leaq 0x1(%rcx), %rdx
andq %r13, %rdx
cmpq %r15, %rcx
cmovneq %rcx, %rdx
testq %rdx, %rdx
sete %dil
cmpq $0x1, %rdx
adcq $0x0, %rdx
imull %esi, %eax
andb $0x7, %al
movl %eax, %ecx
shlq %cl, %r13
movq %rdx, %r9
shlq %cl, %r9
orb %r10b, %dil
notq %r13
andq %r13, %rbp
orq %r9, %rbp
movq %rbp, (%r14,%r11)
movq %rsi, %r13
decq %r13
incq %r8
cmpq %r12, %r13
jbe 0x11023
testb %dil, %dil
jne 0x10f40
testq %r8, %r8
je 0x1106c
xorl %r8d, %r8d
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
movq %rax, 0x50(%rsp)
movq 0x10(%rsp), %r15
movl 0x4(%rsp), %r14d
movq 0x18(%rsp), %r12
movq 0x30(%rsp), %rbp
movq 0x8(%rsp), %rsi
movabsq $0x1ffffffffffffff8, %rbx # imm = 0x1FFFFFFFFFFFFFF8
movq 0x28(%rsp), %rdi
movq 0x58(%rsp), %r9
movq 0x20(%rsp), %r10
jmp 0x10957
testb %dil, %dil
movl 0x4(%rsp), %r14d
movq 0x18(%rsp), %r12
movq 0x30(%rsp), %rbp
movq 0x8(%rsp), %rsi
movabsq $0x1ffffffffffffff8, %rbx # imm = 0x1FFFFFFFFFFFFFF8
movq 0x58(%rsp), %r9
movq 0x20(%rsp), %r10
je 0x110b6
movq 0x48(%rsp), %r13
movl $0x2, %r9d
movq 0x10(%rsp), %r15
movq 0x28(%rsp), %rdi
movb $0x1, %r8b
jmp 0x10957
decq %r15
cmpq %rdx, %r15
movq 0x28(%rsp), %rdi
movb $0x1, %r8b
jae 0x110d0
xorl %r9d, %r9d
movq 0x48(%rsp), %r13
jmp 0x110dd
xorl %r8d, %r8d
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
movq %rax, 0x50(%rsp)
movq 0x10(%rsp), %r15
jmp 0x10957