// File: /workspace/github_c_makefile_star2_O1/wahern[P]cqueues/src/cqueues.c
// Function: cqueue_process_threads
static cqs_status_t cqueue_process_threads(lua_State *L, struct cqueue *Q, struct callinfo *I) {
	cqs_status_t status;
	struct thread *nxt;

	for (; Q->thread.current; Q->thread.current = nxt) {
		nxt = LIST_NEXT(Q->thread.current, le);

		if (LUA_OK != (status = cqueue_resume(L, Q, I, Q->thread.current))) {
			return status;
		}
	}

	return LUA_OK;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x158, %rsp            # imm = 0x158
movq 0x218(%rsi), %rbp
testq %rbp, %rbp
je 0x13dcd
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %r13
leaq 0x1f0(%rsi), %rax
movq %rax, 0x78(%rsp)
leaq 0x1a0(%rsi), %rax
movq %rax, 0x20(%rsp)
leaq 0x1d8(%rsi), %rax
movq %rax, 0x60(%rsp)
leaq 0x1b8(%rsi), %rax
movq %rax, 0x50(%rsp)
leaq 0x1b0(%rsi), %rax
movq %rax, 0x58(%rsp)
leaq 0x228(%rsi), %rax
movq %rax, 0x70(%rsp)
leaq 0x208(%rsi), %rax
movq %rax, 0x68(%rsp)
movq %rdi, 0x10(%rsp)
movq %rdx, 0x40(%rsp)
movq 0x28(%rbp), %rax
movq %rax, 0x80(%rsp)
movq %r13, %rdi
callq 0xf920
movl %eax, 0x4c(%rsp)
movq (%rbp), %rdi
callq 0xf2a0
movl %eax, %r12d
cmpl $0x1, %eax
jne 0x12f30
movq (%rbp), %rdi
movl $0x1, %esi
callq 0xf260
cmpl $0x2, %eax
jne 0x12f30
movq (%rbp), %rdi
movl $0x1, %esi
callq 0x10080
cmpq 0x34036(%rip), %rax     # 0x46f60
je 0x130c0
movq (%rbp), %rdi
callq 0xf920
movl %eax, %ebx
cmpl $0x1, %r12d
setne %al
testl %ebx, %ebx
setg %cl
andb %al, %cl
movzbl %cl, %eax
subl %eax, %ebx
leaq 0x40(%rbp), %r12
movq %r14, %rdi
movq %r12, %rsi
callq 0x13efb
movq 0x230(%r14), %rax
movq %r14, 0xa8(%rsp)
movq %r13, 0xb0(%rsp)
movl (%r15), %ecx
movl %ecx, 0xb8(%rsp)
movq (%rbp), %rdi
movq %rdi, 0xc0(%rsp)
movq $0x0, 0xc8(%rsp)
movq 0x8(%rax), %rcx
movq %rcx, 0xc8(%rsp)
leaq 0xa8(%rsp), %rcx
movq %rcx, 0x8(%rax)
movq %r13, %rsi
movl %ebx, %edx
callq 0xf190
movl %eax, %ebx
movq (%rbp), %rdi
callq 0xf920
movq 0x230(%r14), %rdx
movq 0x8(%rdx), %rcx
movq 0x20(%rcx), %rcx
movq %rcx, 0x8(%rdx)
testl %ebx, %ebx
je 0x13043
movq %r12, 0x28(%rsp)
cmpl $0x1, %ebx
movabsq $0x7fefffffffffffff, %r12 # imm = 0x7FEFFFFFFFFFFFFF
jne 0x1305f
movl %eax, 0x38(%rsp)
testl %eax, %eax
jle 0x13024
movq (%rbp), %rdi
movl $0x1, %esi
callq 0xf260
cmpl $0x2, %eax
jne 0x13024
movq (%rbp), %rdi
movl $0x1, %esi
callq 0x10080
cmpq 0x33f42(%rip), %rax     # 0x46f60
je 0x1320f
movq %r13, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbp, %rcx
callq 0x1451f
testl %eax, %eax
jne 0x13058
movl $0x1, %ebx
jmp 0x131c6
movq %r13, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbp, %rcx
callq 0x1451f
testl %eax, %eax
je 0x130a8
movl %eax, %ebx
jmp 0x131b5
movq %r13, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbp, %rcx
callq 0x1451f
testl %eax, %eax
jne 0x131b5
movq (%rbp), %rdi
movq %r13, %rsi
movl $0x1, %edx
callq 0x10230
movq %r13, %rdi
callq 0xf920
movl %eax, 0x4(%r15)
movq %r13, %rdi
movq %r15, %rsi
movq %rbp, %rdx
callq 0x1471f
jmp 0x131b5
movq %r13, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbp, %rcx
callq 0x14654
xorl %ebx, %ebx
jmp 0x131c6
movq (%rbp), %rbx
movq %rbx, %rdi
callq 0xf920
movl %eax, %r15d
movq %rbx, %rdi
movl %eax, %esi
callq 0x100f0
testl %eax, %eax
je 0x1318f
leal 0x14(%r15), %esi
movq %r13, %rdi
callq 0x100f0
testl %eax, %eax
je 0x1318f
testl %r15d, %r15d
jle 0x13124
movl %r15d, %r12d
negl %r12d
movl $0x1, %r13d
movq %rbx, %rdi
movl %r13d, %esi
callq 0xf9c0
leal (%r12,%r13), %eax
incl %eax
movl %r13d, %ecx
incl %ecx
movl %ecx, %r13d
cmpl $0x1, %eax
jne 0x13106
movq %rbx, %rdi
movq 0x10(%rsp), %r13
movq %r13, %rsi
movl %r15d, %edx
callq 0x10230
movq (%rbp), %rdi
movl 0x18(%rbp), %esi
addl $0x14, %esi
callq 0x100f0
testl %eax, %eax
je 0x1318f
movq 0x8(%rbp), %r12
xorl %ebx, %ebx
testq %r12, %r12
je 0x13c32
movq 0x40(%rsp), %r15
cmpb $0x1, 0x10(%r12)
jne 0x13176
movq (%rbp), %rdi
movl 0x14(%r12), %esi
callq 0xf9c0
incl %ebx
movq %r14, %rdi
movq %r12, %rsi
callq 0x13de3
movq 0x8(%rbp), %r12
testq %r12, %r12
jne 0x1315e
jmp 0x12f4e
movq %r13, %rdi
movq 0x40(%rsp), %r15
movq %r15, %rsi
xorl %edx, %edx
movq %rbp, %rcx
xorl %r8d, %r8d
leaq 0x220da(%rip), %r9      # 0x35283
xorl %eax, %eax
callq 0x14757
movl $0x4, %ebx
movq %r13, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbp, %rcx
callq 0x14654
cmpl $0x0, 0x4(%r15)
jne 0x131e7
cmpl $0x0, 0xc(%r15)
jne 0x131e7
cmpl $0x0, 0x10(%r15)
jne 0x131e7
movq %r13, %rdi
movl 0x4c(%rsp), %esi
callq 0x10640
testl %ebx, %ebx
jne 0x13dcf
movq 0x80(%rsp), %rax
movq %rax, 0x218(%r14)
movq %rax, %rbp
testq %rax, %rax
jne 0x12ed9
jmp 0x13dcd
cmpl $0x1, 0x38(%rsp)
jne 0x13338
movq %r13, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbp, %rcx
callq 0x1451f
testl %eax, %eax
jne 0x13058
movq 0x8(%rbp), %rax
movsd 0x21dc9(%rip), %xmm1    # 0x35008
testq %rax, %rax
movq 0x70(%rsp), %rbx
je 0x132a1
movsd 0x21db7(%rip), %xmm0    # 0x35008
movq 0x8(%rax), %xmm1
movq %xmm1, %rcx
ucomisd %xmm0, %xmm1
setae %dl
btrq $0x3f, %rcx
cmpq %r12, %rcx
setg %cl
orb %dl, %cl
je 0x13277
movapd %xmm0, %xmm1
jmp 0x13294
movq %xmm0, %rcx
btrq $0x3f, %rcx
cmpq %r12, %rcx
jg 0x13294
ucomisd %xmm1, %xmm0
jae 0x13294
movsd 0x21d74(%rip), %xmm1    # 0x35008
movq 0x20(%rax), %rax
movdqa %xmm1, %xmm0
testq %rax, %rax
jne 0x13251
movsd %xmm1, 0x30(%rsp)
movq %r14, %rdi
movq 0x28(%rsp), %rsi
callq 0x13efb
movq 0x30(%rsp), %xmm1
movq %xmm1, %rax
btrq $0x3f, %rax
cmpq %r12, %rax
jg 0x13d94
movq 0x28(%rsp), %rax
movq %xmm1, (%rax)
movq (%rbx), %rdx
testq %rdx, %rdx
je 0x13c3c
movq %rdx, %rax
movsd (%rdx), %xmm0
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
ucomisd %xmm1, %xmm0
ja 0x13311
movl $0x1, %ecx
ucomisd %xmm0, %xmm1
ja 0x13311
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
cmpq 0x28(%rsp), %rax
ja 0x13311
setb %cl
movzbl %cl, %ecx
testl %ecx, %ecx
je 0x13d94
notl %ecx
shrl $0x1f, %ecx
movq 0x8(%rax,%rcx,8), %rdx
testq %rdx, %rdx
jne 0x132e2
leaq 0x8(,%rcx,8), %rcx
addq %rax, %rcx
jmp 0x13c41
movl $0x2, %esi
movq (%rbp), %rdi
movq %rsi, 0x30(%rsp)
callq 0xf260
testl %eax, %eax
je 0x13b68
movq 0x78(%rsp), %rdi
leaq 0x3c(%rsp), %rsi
callq 0x1483a
testq %rax, %rax
je 0x13ace
movq %rax, %r13
pxor %xmm0, %xmm0
movdqu %xmm0, (%rax)
movdqu %xmm0, 0x10(%rax)
movdqu %xmm0, 0x20(%rax)
movdqu %xmm0, 0x40(%rax)
movdqu %xmm0, 0x30(%rax)
addq $0x20, %rax
movl $0xffffffff, (%r13)     # imm = 0xFFFFFFFF
movabsq $0x7ff8000000000000, %rcx # imm = 0x7FF8000000000000
movq %rcx, 0x8(%r13)
movq 0x30(%rsp), %rbx
movl %ebx, 0x14(%r13)
movq %rbp, 0x18(%r13)
movq $0x0, 0x20(%r13)
movq 0x10(%rbp), %rcx
movq %rcx, 0x28(%r13)
movq %r13, (%rcx)
movq %rax, 0x10(%rbp)
incl 0x18(%rbp)
movq (%rbp), %rdi
movl %ebx, %esi
callq 0xfb80
movq (%rbp), %rdi
movl %ebx, %esi
testl %eax, %eax
je 0x1345f
xorl %edx, %edx
callq 0x10750
movdqa %xmm0, %xmm1
movq %xmm0, %rax
btrq $0x3f, %rax
movsd 0x21c0b(%rip), %xmm0    # 0x35008
cmpq %r12, %rax
jg 0x13452
movl $0x1, %edi
leaq 0xd0(%rsp), %rsi
movq %xmm1, 0x18(%rsp)
callq 0xfbf0
xorps %xmm0, %xmm0
cvtsi2sdq 0xd0(%rsp), %xmm0
xorps %xmm1, %xmm1
cvtsi2sdq 0xd8(%rsp), %xmm1
divsd 0x21be4(%rip), %xmm1    # 0x35020
addsd %xmm0, %xmm1
movsd 0x18(%rsp), %xmm0
maxsd 0x21bea(%rip), %xmm0    # 0x35038
addsd %xmm1, %xmm0
movsd %xmm0, 0x8(%r13)
xorl %ebx, %ebx
jmp 0x13802
callq 0xf9c0
movq (%rbp), %rdi
movq 0x10(%rsp), %r12
movq %r12, %rsi
movl $0x1, %edx
callq 0x10230
movq %r12, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x10350
testq %rax, %rax
je 0x1357e
movq %r12, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xf900
testl %eax, %eax
je 0x1357e
movq %r12, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movl $0xfff0b9d6, %edx       # imm = 0xFFF0B9D6
callq 0xf6b0
movl %eax, %ebx
movq %r12, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x10640
testl %ebx, %ebx
je 0x1357e
movq %r12, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xf940
movl %eax, (%r13)
movq %r12, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x109c0
movw %ax, 0x4(%r13)
movq %r12, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x10380
movdqa %xmm0, %xmm1
movq %xmm0, %rax
btrq $0x3f, %rax
movsd 0x21af4(%rip), %xmm0    # 0x35008
movabsq $0x7fefffffffffffff, %r12 # imm = 0x7FEFFFFFFFFFFFFF
cmpq %r12, %rax
jg 0x13573
movl $0x1, %edi
leaq 0xd0(%rsp), %rsi
movq %xmm1, 0x18(%rsp)
callq 0xfbf0
xorps %xmm0, %xmm0
cvtsi2sdq 0xd0(%rsp), %xmm0
xorps %xmm1, %xmm1
cvtsi2sdq 0xd8(%rsp), %xmm1
divsd 0x21ac3(%rip), %xmm1    # 0x35020
addsd %xmm0, %xmm1
movsd 0x18(%rsp), %xmm0
maxsd 0x21ac9(%rip), %xmm0    # 0x35038
addsd %xmm1, %xmm0
movsd %xmm0, 0x8(%r13)
jmp 0x13c1e
movq %r12, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x10350
testq %rax, %rax
je 0x135f3
movq %r12, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xf900
testl %eax, %eax
je 0x135f3
movq %r12, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movl $0xfff0b9d5, %edx       # imm = 0xFFF0B9D5
callq 0xf6b0
movl %eax, %ebx
movq %r12, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x10640
testl %ebx, %ebx
je 0x135f3
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbp, %rcx
movq %r13, %r8
callq 0x148d0
testl %eax, %eax
movabsq $0x7fefffffffffffff, %r12 # imm = 0x7FEFFFFFFFFFFFFF
je 0x13c1e
movl %eax, %ebx
jmp 0x13802
movabsq $0x700000003, %rax      # imm = 0x700000003
movq %rax, 0x9c(%rsp)
movl $0x0, 0xa4(%rsp)
movl $0x3, (%rsp)
movq %r12, %rdi
movq %r15, %rsi
movq %rbp, %rdx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
leaq 0x21b03(%rip), %r8      # 0x3512f
leaq 0x9c(%rsp), %r9
callq 0x14a05
testl %eax, %eax
jne 0x137f6
movq %r12, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x10690
testl %eax, %eax
je 0x136b8
movq %r12, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x10350
testq %rax, %rax
je 0x136b8
movq %r12, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xf900
testl %eax, %eax
je 0x136b8
movq %r12, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movl $0xfff0b9d5, %edx       # imm = 0xFFF0B9D5
callq 0xf6b0
movl %eax, %ebx
movq %r12, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x10640
testl %ebx, %ebx
je 0x136b8
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbp, %rcx
movq %r13, %r8
callq 0x148d0
testl %eax, %eax
jne 0x137f6
jmp 0x136da
movq %r12, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movq $-0x1, %rdx
callq 0xf400
testl %eax, %eax
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
cmovsl %ecx, %eax
movl %eax, (%r13)
movq %r12, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x10640
movabsq $0x400000003, %rax      # imm = 0x400000003
movq %rax, 0x90(%rsp)
movl $0x0, 0x98(%rsp)
movl $0x3, (%rsp)
movq %r12, %rdi
movq %r15, %rsi
movq %rbp, %rdx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
leaq 0x21a16(%rip), %r8      # 0x35136
leaq 0x90(%rsp), %r9
callq 0x14a05
testl %eax, %eax
jne 0x137f6
movq %r12, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xfb80
movq %r12, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
testl %eax, %eax
je 0x1375f
xorl %edx, %edx
callq 0xfd20
andl $0x7, %eax
movw %ax, 0x4(%r13)
jmp 0x137a7
leaq 0x258e5(%rip), %rdx     # 0x3904b
xorl %ecx, %ecx
callq 0xf8b0
movw $0x0, 0x4(%r13)
movzbl (%rax), %ecx
cmpl $0x71, %ecx
jle 0x13790
movw $0x1, %dx
cmpl $0x72, %ecx
je 0x13799
cmpl $0x77, %ecx
jne 0x1379e
movw $0x4, %dx
jmp 0x13799
cmpl $0x70, %ecx
jne 0x137a3
movw $0x2, %dx
orw %dx, 0x4(%r13)
incq %rax
jmp 0x13774
testl %ecx, %ecx
jne 0x1379e
movq 0x10(%rsp), %r12
movq %r12, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x10640
movq $0x3, 0x88(%rsp)
movl $0x2, (%rsp)
movq %r12, %rdi
movq %r15, %rsi
movq %rbp, %rdx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
leaq 0x21e53(%rip), %r8      # 0x35634
leaq 0x88(%rsp), %r9
callq 0x14a05
testl %eax, %eax
je 0x13b81
movl %eax, %ebx
movabsq $0x7fefffffffffffff, %r12 # imm = 0x7FEFFFFFFFFFFFFF
testl %ebx, %ebx
jne 0x13b5b
movl (%r13), %r12d
xorl %ebx, %ebx
testl %r12d, %r12d
js 0x13850
cmpw $0x0, 0x4(%r13)
je 0x13850
movq 0x20(%rsp), %rax
movq (%rax), %rcx
testq %rcx, %rcx
je 0x1385f
movl (%rcx), %esi
movl $0x10, %edx
cmpl %r12d, %esi
jg 0x13844
movl $0x18, %edx
jne 0x13844
xorl %edx, %edx
movq %rcx, %rax
jmp 0x1384a
movq (%rcx,%rdx), %rcx
movb $0x1, %dl
testb %dl, %dl
jne 0x13825
jmp 0x13861
movabsq $0x7fefffffffffffff, %r12 # imm = 0x7FEFFFFFFFFFFFFF
jmp 0x13b5b
xorl %eax, %eax
testq %rax, %rax
jne 0x13a55
movq 0x60(%rsp), %rdi
leaq 0x3c(%rsp), %rsi
callq 0x1483a
testq %rax, %rax
je 0x138ed
movl %r12d, (%rax)
movw $0x0, 0x4(%rax)
movq $0x0, 0x8(%rax)
movq 0x50(%rsp), %rcx
movq (%rcx), %rcx
movq %rcx, 0x30(%rax)
testq %rcx, %rcx
je 0x138ab
movq %rax, %rdx
addq $0x30, %rdx
movq %rdx, 0x38(%rcx)
movq 0x50(%rsp), %rcx
movq %rax, (%rcx)
movq %rcx, 0x38(%rax)
movq 0x20(%rsp), %rcx
movq (%rcx), %rdx
testq %rdx, %rdx
je 0x138f4
cmpl %r12d, (%rdx)
je 0x13a55
movq %rdx, %rcx
setle %dl
movzbl %dl, %esi
movq 0x10(%rcx,%rsi,8), %rdx
testq %rdx, %rdx
jne 0x138c4
leaq 0x10(,%rsi,8), %rdx
addq %rcx, %rdx
jmp 0x138fb
xorl %eax, %eax
jmp 0x13a55
movq 0x20(%rsp), %rdx
xorl %ecx, %ecx
pxor %xmm0, %xmm0
movdqu %xmm0, 0x10(%rax)
movb $0x1, 0x28(%rax)
movq %rcx, 0x20(%rax)
movq %rax, (%rdx)
testq %rcx, %rcx
je 0x13a49
movq 0x10(%rcx), %rdx
testq %rdx, %rdx
je 0x13927
cmpb $0x0, 0x28(%rdx)
jne 0x1393e
movq 0x18(%rcx), %rdx
testq %rdx, %rdx
je 0x13a49
cmpb $0x1, 0x28(%rdx)
jne 0x13a49
movq 0x20(%rsp), %rsi
movq %rsi, %rdx
cmpq (%rsi), %rcx
je 0x1395f
movq 0x20(%rcx), %rdx
cmpq 0x10(%rdx), %rcx
je 0x1395b
addq $0x18, %rdx
jmp 0x1395f
addq $0x10, %rdx
movq 0x20(%rcx), %rcx
movq (%rdx), %rsi
movq 0x18(%rsi), %rdi
testq %rdi, %rdi
je 0x139b5
cmpb $0x1, 0x28(%rdi)
jne 0x139b5
movq 0x10(%rsi), %r8
testq %r8, %r8
je 0x13985
cmpb $0x0, 0x28(%r8)
jne 0x139b5
movq 0x10(%rdi), %r8
movq %r8, 0x18(%rsi)
testq %r8, %r8
je 0x13996
movq %rsi, 0x20(%r8)
movq %rsi, 0x10(%rdi)
movb 0x28(%rsi), %r8b
movb %r8b, 0x28(%rdi)
movb $0x1, 0x28(%rsi)
movq 0x20(%rsi), %r8
movq %r8, 0x20(%rdi)
movq %rdi, 0x20(%rsi)
movq %rdi, (%rdx)
movq (%rdx), %rsi
movq 0x10(%rsi), %rdi
testq %rdi, %rdi
je 0x13a07
cmpb $0x1, 0x28(%rdi)
jne 0x13a07
movq 0x10(%rdi), %r8
testq %r8, %r8
je 0x13a07
cmpb $0x1, 0x28(%r8)
jne 0x13a07
movq 0x18(%rdi), %r8
movq %r8, 0x10(%rsi)
testq %r8, %r8
je 0x139e8
movq %rsi, 0x20(%r8)
movq %rsi, 0x18(%rdi)
movb 0x28(%rsi), %r8b
movb %r8b, 0x28(%rdi)
movb $0x1, 0x28(%rsi)
movq 0x20(%rsi), %r8
movq %r8, 0x20(%rdi)
movq %rdi, 0x20(%rsi)
movq %rdi, (%rdx)
movq (%rdx), %rdx
movq 0x10(%rdx), %rsi
testq %rsi, %rsi
je 0x1390f
cmpb $0x1, 0x28(%rsi)
jne 0x1390f
movq 0x18(%rdx), %rdi
testq %rdi, %rdi
je 0x1390f
cmpb $0x1, 0x28(%rdi)
jne 0x1390f
xorb $0x1, 0x28(%rdx)
xorb $0x1, 0x28(%rsi)
xorb $0x1, 0x28(%rdi)
jmp 0x1390f
movq 0x20(%rsp), %rcx
movq (%rcx), %rcx
movb $0x0, 0x28(%rcx)
testq %rax, %rax
movabsq $0x7fefffffffffffff, %r12 # imm = 0x7FEFFFFFFFFFFFFF
je 0x13ace
movq 0x8(%rax), %rcx
movq %rcx, 0x38(%r13)
testq %rcx, %rcx
je 0x13a7c
movq %r13, %rdx
addq $0x38, %rdx
movq %rdx, 0x40(%rcx)
leaq 0x8(%rax), %rcx
movq %r13, 0x8(%rax)
movq %rcx, 0x40(%r13)
movq %rax, 0x30(%r13)
movq 0x30(%rax), %rcx
testq %rcx, %rcx
je 0x13a9d
movq 0x38(%rax), %rdx
movq %rdx, 0x38(%rcx)
movq 0x38(%rax), %rdx
movq %rcx, (%rdx)
movq 0x58(%rsp), %rcx
movq (%rcx), %rcx
movq %rcx, 0x30(%rax)
testq %rcx, %rcx
je 0x13abd
leaq 0x30(%rax), %rdx
movq %rdx, 0x38(%rcx)
movq 0x58(%rsp), %rcx
movq %rax, (%rcx)
movq %rcx, 0x38(%rax)
jmp 0x13b5b
movl 0x3c(%rsp), %ebx
pxor %xmm0, %xmm0
movdqa %xmm0, 0xd0(%rsp)
movdqa %xmm0, 0xe0(%rsp)
movdqa %xmm0, 0xf0(%rsp)
movdqa %xmm0, 0x100(%rsp)
movdqa %xmm0, 0x110(%rsp)
movdqa %xmm0, 0x120(%rsp)
movdqa %xmm0, 0x130(%rsp)
movdqa %xmm0, 0x140(%rsp)
movl $0x80, %edx
movl %ebx, %edi
leaq 0xd0(%rsp), %rsi
callq 0xf250
movq %rax, (%rsp)
movq 0x10(%rsp), %rdi
movq %r15, %rsi
movl %ebx, %edx
movq %rbp, %rcx
movq 0x30(%rsp), %r8
leaq 0x2178c(%rip), %r9      # 0x352db
xorl %eax, %eax
callq 0x14757
movl $0x2, %ebx
testl %ebx, %ebx
movq 0x10(%rsp), %r13
jne 0x131b5
movq 0x30(%rsp), %rcx
leal 0x1(%rcx), %eax
cmpl 0x38(%rsp), %ecx
movl %eax, %esi
jne 0x1333d
jmp 0x1321a
movq 0x8(%r13), %xmm0
movq %r12, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xf780
movdqa %xmm0, %xmm1
movq %xmm0, %rax
btrq $0x3f, %rax
movsd 0x2145e(%rip), %xmm0    # 0x35008
movabsq $0x7fefffffffffffff, %r12 # imm = 0x7FEFFFFFFFFFFFFF
cmpq %r12, %rax
jg 0x13c09
movl $0x1, %edi
leaq 0xd0(%rsp), %rsi
movq %xmm1, 0x18(%rsp)
callq 0xfbf0
xorps %xmm0, %xmm0
cvtsi2sdq 0xd0(%rsp), %xmm0
xorps %xmm1, %xmm1
cvtsi2sdq 0xd8(%rsp), %xmm1
divsd 0x2142d(%rip), %xmm1    # 0x35020
addsd %xmm0, %xmm1
movsd 0x18(%rsp), %xmm0
maxsd 0x21433(%rip), %xmm0    # 0x35038
addsd %xmm1, %xmm0
movsd %xmm0, 0x8(%r13)
movq 0x10(%rsp), %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x10640
movq 0x10(%rsp), %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x10640
jmp 0x13458
movq 0x40(%rsp), %r15
jmp 0x12f4e
movq %rbx, %rcx
xorl %eax, %eax
xorpd %xmm0, %xmm0
movupd %xmm0, 0x48(%rbp)
movb $0x1, 0x60(%rbp)
movq %rax, 0x58(%rbp)
movq 0x28(%rsp), %rdx
movq %rdx, (%rcx)
testq %rax, %rax
je 0x13d8d
movq 0x8(%rax), %rcx
testq %rcx, %rcx
je 0x13c72
cmpb $0x0, 0x20(%rcx)
jne 0x13c89
movq 0x10(%rax), %rcx
testq %rcx, %rcx
je 0x13d8d
cmpb $0x1, 0x20(%rcx)
jne 0x13d8d
movq %rbx, %rcx
cmpq (%rbx), %rax
je 0x13ca5
movq 0x18(%rax), %rcx
cmpq 0x8(%rcx), %rax
je 0x13ca1
addq $0x10, %rcx
jmp 0x13ca5
addq $0x8, %rcx
movq 0x18(%rax), %rax
movq (%rcx), %rdx
movq 0x10(%rdx), %rsi
testq %rsi, %rsi
je 0x13cfa
cmpb $0x1, 0x20(%rsi)
jne 0x13cfa
movq 0x8(%rdx), %rdi
testq %rdi, %rdi
je 0x13cca
cmpb $0x0, 0x20(%rdi)
jne 0x13cfa
movq 0x8(%rsi), %rdi
movq %rdi, 0x10(%rdx)
testq %rdi, %rdi
je 0x13cdb
movq %rdx, 0x18(%rdi)
movq %rdx, 0x8(%rsi)
movb 0x20(%rdx), %dil
movb %dil, 0x20(%rsi)
movb $0x1, 0x20(%rdx)
movq 0x18(%rdx), %rdi
movq %rdi, 0x18(%rsi)
movq %rsi, 0x18(%rdx)
movq %rsi, (%rcx)
movq (%rcx), %rdx
movq 0x8(%rdx), %rsi
testq %rsi, %rsi
je 0x13d4b
cmpb $0x1, 0x20(%rsi)
jne 0x13d4b
movq 0x8(%rsi), %rdi
testq %rdi, %rdi
je 0x13d4b
cmpb $0x1, 0x20(%rdi)
jne 0x13d4b
movq 0x10(%rsi), %rdi
movq %rdi, 0x8(%rdx)
testq %rdi, %rdi
je 0x13d2c
movq %rdx, 0x18(%rdi)
movq %rdx, 0x10(%rsi)
movb 0x20(%rdx), %dil
movb %dil, 0x20(%rsi)
movb $0x1, 0x20(%rdx)
movq 0x18(%rdx), %rdi
movq %rdi, 0x18(%rsi)
movq %rsi, 0x18(%rdx)
movq %rsi, (%rcx)
movq (%rcx), %rcx
movq 0x8(%rcx), %rdx
testq %rdx, %rdx
je 0x13c5a
cmpb $0x1, 0x20(%rdx)
jne 0x13c5a
movq 0x10(%rcx), %rsi
testq %rsi, %rsi
je 0x13c5a
cmpb $0x1, 0x20(%rsi)
jne 0x13c5a
xorb $0x1, 0x20(%rcx)
xorb $0x1, 0x20(%rdx)
xorb $0x1, 0x20(%rsi)
jmp 0x13c5a
movq (%rbx), %rax
movb $0x0, 0x20(%rax)
cmpq $0x0, 0x8(%rbp)
jne 0x13dbb
movq 0x28(%rsp), %rax
movq (%rax), %rax
movabsq $0x7fffffffffffffff, %rcx # imm = 0x7FFFFFFFFFFFFFFF
andq %rcx, %rax
xorl %ebx, %ebx
cmpq %r12, %rax
jg 0x131c6
movq %rbp, %rdi
movq 0x68(%rsp), %rsi
callq 0x11c11
jmp 0x130b9
xorl %ebx, %ebx
movl %ebx, %eax
addq $0x158, %rsp            # imm = 0x158
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq