// File: /workspace/github_c_makefile_star2_O1/jfriesse[P]omping/omping.c
// Function: omping_send_receive_loop
static void
omping_send_receive_loop(struct omping_instance *instance, int timeout_time, int final_stats,
    int allow_auto_exit)
{
	struct timeval start_time;
	int clients_res;
	int loop_end;
	int poll_rec_res;
	int receive_timeout;
	uint64_t time_diff;

	if (timeout_time != 0) {
		start_time = util_get_time();
	}

	loop_end = 0;

	do {
		clients_res = omping_send_client_msgs(instance);
		if (clients_res != 0 && clients_res != -2) {
			err(3, "unknown value of clients_res %u", clients_res);
			/* NOTREACHED */
		}

		if (clients_res == -2) {
			if (clistate_is_exit_requested()) {
				loop_end = 1;
			}

			continue;
		}

		if (timeout_time != 0) {
			time_diff = util_time_absdiff(start_time, util_get_time());

			if ((int)time_diff + instance->wait_time > timeout_time) {
				receive_timeout = timeout_time - time_diff;
			} else {
				receive_timeout = instance->wait_time;
			}
		} else {
			receive_timeout = instance->wait_time;
		}

		poll_rec_res = omping_poll_receive_loop(instance, receive_timeout);

		if (poll_rec_res != 0 && poll_rec_res != -2) {
			err(3, "unknown value of poll_rec_res %u", poll_rec_res);
			/* NOTREACHED */
		}

		if (clistate_is_exit_requested()) {
			loop_end = 1;
		}

		if (timeout_time != 0 &&
		    (int)util_time_absdiff(start_time, util_get_time()) >= timeout_time) {
			loop_end = 1;
		}

		if (allow_auto_exit && instance->auto_exit && instance->rh_no_active == 0) {
			loop_end = 1;
		}
	} while (!loop_end);

	if (final_stats) {
		if (instance->op_mode == OMPING_OP_MODE_SHOW_VERSION) {
			cliprint_final_remote_version(&instance->remote_hosts,
			    instance->hn_max_len);
		} else {
			cliprint_final_stats(&instance->remote_hosts, instance->hn_max_len,
			    instance->transport_method);
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x101e8, %rsp          # imm = 0x101E8
movl %ecx, 0x5c(%rsp)
movl %edx, 0x58(%rsp)
movl %esi, %r15d
movq %rdi, %rbp
testl %esi, %esi
je 0x5c8c
callq 0x8ff2
movq %rax, 0x68(%rsp)
movq %rdx, 0x60(%rsp)
jmp 0x5c8c
leaq 0x130(%rbp), %rax
movq %rax, 0x20(%rsp)
leaq 0x98(%rbp), %r12
movl $0x1, %r13d
xorl %ebx, %ebx
movq %rbp, (%rsp)
movl %r15d, 0x2c(%rsp)
movq %r12, 0x10(%rsp)
movl %ebx, 0x44(%rsp)
movq 0x20(%rsp), %rax
movq (%rax), %rbx
movl $0x0, %r14d
testq %rbx, %rbx
je 0x5e3e
movl 0x8(%rbx), %eax
xorl %r14d, %r14d
cmpl $0x1, %eax
je 0x5d73
testl %eax, %eax
jne 0x5ddc
callq 0x8ff2
movq %rdx, %rcx
movq 0x28(%rbx), %rdi
movq 0x30(%rbx), %rsi
movq %rax, %rdx
callq 0x9061
cmpq $0x3e9, %rax            # imm = 0x3E9
jb 0x5ddc
cmpl $0x1, 0x180(%rbp)
jg 0x5d3e
movq (%rbx), %r8
movq 0x80(%r8), %rdi
movl 0x154(%rbp), %edx
movl 0x174(%rbp), %esi
subq $0x8, %rsp
xorl %ecx, %ecx
xorl %r9d, %r9d
pushq $0x0
callq 0x41dc
addq $0x10, %rsp
movl 0x198(%rbp), %edi
movq (%rbx), %rsi
leaq 0xc(%rbx), %rcx
xorl %r8d, %r8d
cmpl $0x3, 0x150(%rbp)
sete %r8b
movq %r12, %rdx
callq 0x5770
movl %eax, %r14d
callq 0x8ff2
movq %rax, 0x28(%rbx)
movq %rdx, 0x30(%rbx)
jmp 0x5ddc
cmpl $0x0, 0x1a0(%rbp)
je 0x5d91
movq %rbp, %rdi
movq %rbx, %rsi
movl $0x1, %edx
callq 0x6fac
movl %eax, %r14d
jmp 0x5ddc
movl 0xec(%rbx), %eax
cmpl 0xf0(%rbx), %eax
je 0x5dbc
callq 0x8ff2
movq %rdx, %rcx
movq 0x38(%rbx), %rdi
movq 0x40(%rbx), %rsi
movq %rax, %rdx
callq 0x9061
testq %rax, %rax
je 0x5ddc
movq %rbp, %rdi
movq %rbx, %rsi
movl $0x1, %edx
callq 0x6fac
movl %eax, %r14d
callq 0x8ff2
movq %rax, 0x38(%rbx)
movq %rdx, 0x40(%rbx)
leal 0x4(%r14), %eax
cmpl $0x3, %eax
ja 0x5e2b
leaq 0x510c(%rip), %rcx      # 0xaef8
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x5174(%rip), %rdi      # 0xaf70
movl $0x402, %esi            # imm = 0x402
movl $0x2, %edx
leaq 0x5293(%rip), %rcx      # 0xb0a0
xorl %eax, %eax
callq 0x4ada
jmp 0x5e2b
leaq 0x5270(%rip), %rdi      # 0xb08d
xorl %eax, %eax
callq 0x2080
incq 0xb8(%rbx)
movq 0x138(%rbx), %rbx
testq %rbx, %rbx
jne 0x5cd0
xorl %r14d, %r14d
cmpl $-0x2, %r14d
je 0x5e86
testl %r14d, %r14d
jne 0x6f7a
testl %r15d, %r15d
je 0x5e9a
callq 0x8ff2
movq %rdx, %rcx
movq 0x68(%rsp), %rdi
movq 0x60(%rsp), %rsi
movq %rax, %rdx
callq 0x9061
movl 0x1a0(%rbp), %ecx
leal (%rcx,%rax), %edx
movl %r15d, %esi
subl %eax, %esi
cmpl %r15d, %edx
cmovlel %ecx, %esi
movl %esi, 0x48(%rsp)
jmp 0x5ea4
callq 0x48ca
testl %eax, %eax
movl 0x44(%rsp), %ebx
cmovnel %r13d, %ebx
jmp 0x6ed8
movl 0x1a0(%rbp), %eax
movl %eax, 0x48(%rsp)
leaq 0x1e0(%rsp), %r14
pxor %xmm0, %xmm0
movdqa %xmm0, 0x1a0(%rsp)
movl 0x17c(%rbp), %esi
movl 0x198(%rbp), %edi
movl 0x48(%rsp), %edx
leaq 0x1a0(%rsp), %rcx
callq 0x73c4
movl %eax, %ebx
cmpl $-0x2, %eax
je 0x5eee
cmpl $-0x1, %ebx
je 0x6f71
movl %ebx, %eax
testl %ebx, %ebx
jns 0x5f41
jmp 0x5eb9
callq 0x48d1
testl %eax, %eax
je 0x5f17
callq 0x48bf
movl 0x174(%rbp), %esi
cmpl $0x3, 0x150(%rbp)
jne 0x5f1e
movq 0x20(%rsp), %rdi
callq 0x4339
jmp 0x5f2e
movl $0xfffffffe, %eax       # imm = 0xFFFFFFFE
jmp 0x5f41
movl 0x154(%rbp), %edx
movq 0x20(%rsp), %rdi
callq 0x4425
callq 0x468e
callq 0x48ca
testl %eax, %eax
movl $0xfffffffe, %eax       # imm = 0xFFFFFFFE
je 0x5ee6
cmpl $-0x2, %eax
je 0x6e76
xorl %r15d, %r15d
xorl %r13d, %r13d
leaq 0x120(%rsp), %r12
movl %eax, 0x4c(%rsp)
testb $0x1, %al
sete %al
testq %r15, %r15
setne %cl
orb %al, %cl
movl $0x0, %ebx
jne 0x5f96
movl 0x198(%rbp), %edi
movl $0xffff, %ecx           # imm = 0xFFFF
movq %r12, %rsi
movq %r14, %rdx
leaq 0xf(%rsp), %r8
leaq 0x110(%rsp), %r9
callq 0x7525
movq %rax, %rbx
testb $0x2, 0x4c(%rsp)
sete %al
cmpq $0x8, %r15
setne %cl
orb %al, %cl
jne 0x5fcf
movl 0x17c(%rbp), %edi
movl $0xffff, %ecx           # imm = 0xFFFF
movq %r12, %rsi
movq %r14, %rdx
leaq 0xf(%rsp), %r8
leaq 0x110(%rsp), %r9
callq 0x7525
movq %rax, %rbx
leal 0x4(%rbx), %eax
cmpl $0x3, %eax
ja 0x6016
leaq 0x4f2a(%rip), %rcx      # 0xaf08
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x4f82(%rip), %rdi      # 0xaf70
movl $0x137, %esi            # imm = 0x137
movl $0x1, %edx
leaq 0x516b(%rip), %rcx      # 0xb16a
xorl %eax, %eax
callq 0x4ada
jmp 0x6016
leaq 0x5144(%rip), %rdi      # 0xb153
xorl %eax, %eax
callq 0x2080
testl %ebx, %ebx
jle 0x6460
testq %r15, %r15
je 0x603f
movl 0x154(%rbp), %eax
cmpq $0x3, %rax
jae 0x6f24
leaq 0x4f16(%rip), %rcx      # 0xaf50
movl (%rcx,%rax,4), %ebp
jmp 0x6041
xorl %ebp, %ebp
movl %ebx, %r12d
movb 0xf(%rsp), %bl
movq 0x110(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x118(%rsp), %rax
movq %rax, 0x30(%rsp)
movq %r14, %rdi
movq %r12, %rsi
leaq 0x70(%rsp), %rdx
callq 0x4ca4
movq %rbp, 0x108(%rsp)
movl %ebp, %edi
callq 0x7f57
movq %rax, %r14
leaq 0x120(%rsp), %rdi
leaq 0x1b0(%rsp), %rbp
movq %rbp, %rsi
callq 0x2d08
movl 0x90(%rsp), %r10d
subq $0x8, %rsp
leaq 0x4ec1(%rip), %rdi      # 0xaf70
movl $0x1a5, %esi            # imm = 0x1A5
movl $0x2, %edx
leaq 0x50f7(%rip), %rcx      # 0xb1b7
movq %r14, %r8
movq %rbp, %r9
xorl %eax, %eax
movq %r12, 0x58(%rsp)
pushq %r12
pushq %r10
pushq %r10
callq 0x4ada
addq $0x20, %rsp
movl 0x90(%rsp), %r8d
leal -0x41(%r8), %ecx
rorl %ecx
cmpl $0x9, %ecx
ja 0x61f9
movl $0x311, %eax            # imm = 0x311
btl %ecx, %eax
jae 0x61f9
movzbl 0x101(%rsp), %eax
cmpl $0x2, %eax
jne 0x61d2
xorl %r14d, %r14d
cmpl $0x9, %ecx
ja 0x6405
movl %ecx, %eax
leaq 0x4df1(%rip), %rcx      # 0xaf18
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
testq %r15, %r15
jne 0x6146
movq (%rsp), %rax
cmpl $0x2, 0x150(%rax)
je 0x642a
movq 0x20(%rsp), %rdi
leaq 0x120(%rsp), %rsi
callq 0x7266
testq %rax, %rax
je 0x647a
movq %rax, %r12
movq 0xe0(%rsp), %rax
testq %rax, %rax
je 0x64e6
cmpq $0x18, 0x98(%rsp)
jne 0x61b2
movdqu (%rax), %xmm0
movdqu 0xc(%r12), %xmm1
pcmpeqb %xmm0, %xmm1
movq 0x10(%rax), %xmm0
movq 0x1c(%r12), %xmm2
pcmpeqb %xmm0, %xmm2
pand %xmm1, %xmm2
pmovmskb %xmm2, %eax
cmpl $0xffff, %eax           # imm = 0xFFFF
je 0x66ac
leaq 0x4db7(%rip), %rbx      # 0xaf70
movq %rbx, %rdi
movl $0x222, %esi            # imm = 0x222
movl $0x2, %edx
leaq 0x520b(%rip), %rcx      # 0xb3d8
jmp 0x6501
leaq 0x4d97(%rip), %rbx      # 0xaf70
movq %rbx, %rdi
movl $0x9c, %esi
movl $0x2, %edx
leaq 0x50d2(%rip), %rcx      # 0xb2bf
movl %eax, %r8d
xorl %eax, %eax
callq 0x4ada
jmp 0x621e
leaq 0x4d70(%rip), %rbx      # 0xaf70
movq %rbx, %rdi
movl $0x96, %esi
movl $0x2, %edx
leaq 0x5089(%rip), %rcx      # 0xb29d
movl %r8d, %r9d
xorl %eax, %eax
callq 0x4ada
movq (%rsp), %rbp
movl 0x198(%rbp), %edi
movq 0x10(%rsp), %rsi
leaq 0x70(%rsp), %rdx
leaq 0x120(%rsp), %r12
movq %r12, %rcx
callq 0x596d
movl %eax, %r14d
addl $0x4, %r14d
cmpl $0x3, %r14d
ja 0x6458
leaq 0x4ce6(%rip), %rcx      # 0xaf40
movslq (%rcx,%r14,4), %rax
addq %rcx, %rax
jmpq *%rax
movq %rbx, %rdi
movl $0x1e7, %esi            # imm = 0x1E7
movl $0x2, %edx
leaq 0x4e29(%rip), %rcx      # 0xb0a0
jmp 0x62b9
leaq 0x4e0d(%rip), %rdi      # 0xb08d
xorl %eax, %eax
callq 0x2080
movq 0x20(%rsp), %rdi
movq %r12, %rsi
callq 0x7266
testq %rax, %rax
je 0x62a5
incq 0xb8(%rax)
jmp 0x6458
movq %rbx, %rdi
movl $0x1e1, %esi            # imm = 0x1E1
movl $0x2, %edx
leaq 0x4f36(%rip), %rcx      # 0xb1ef
xorl %eax, %eax
callq 0x4ada
jmp 0x6458
testq %r15, %r15
jne 0x63eb
movq (%rsp), %rax
cmpl $0x1, 0x150(%rax)
je 0x642a
movq 0x20(%rsp), %rdi
leaq 0x120(%rsp), %r12
movq %r12, %rsi
callq 0x7266
testq %rax, %rax
je 0x651f
cmpl $0x1, 0x100(%rax)
movq (%rsp), %rbp
jne 0x659c
cmpl $0x0, 0xd4(%rsp)
leaq 0x4c53(%rip), %rbx      # 0xaf70
je 0x66fd
cmpq $0x0, 0xe8(%rsp)
je 0x66fd
cmpq $0x10, 0xb8(%rsp)
jne 0x6365
movq 0xf8(%rsp), %rcx
movdqu (%rcx), %xmm0
movdqu 0x104(%rax), %xmm1
pcmpeqb %xmm0, %xmm1
pmovmskb %xmm1, %ecx
cmpl $0xffff, %ecx           # imm = 0xFFFF
je 0x6903
movq %rbx, %rdi
movl $0x2e6, %esi            # imm = 0x2E6
movl $0x2, %edx
leaq 0x51fb(%rip), %rcx      # 0xb574
jmp 0x6711
testq %r15, %r15
jne 0x63eb
movq (%rsp), %rax
cmpl $0x1, 0x150(%rax)
je 0x642a
movq 0x20(%rsp), %rdi
leaq 0x120(%rsp), %r12
movq %r12, %rsi
callq 0x7266
testq %rax, %rax
je 0x6530
movq %rax, %r14
cmpl $0x2, 0x100(%rax)
movq (%rsp), %rbp
jne 0x65bc
leaq 0x4ba3(%rip), %rbx      # 0xaf70
movq %rbx, %rdi
movl $0x29e, %esi            # imm = 0x29E
movl $0x2, %edx
leaq 0x4f02(%rip), %rcx      # 0xb2e3
jmp 0x6711
testq %r15, %r15
je 0x641d
leaq 0x4b7e(%rip), %rdi      # 0xaf70
movl $0x1ef, %esi            # imm = 0x1EF
movl $0x2, %edx
leaq 0x4e12(%rip), %rcx      # 0xb215
jmp 0x6442
movq (%rsp), %rbp
leaq 0x120(%rsp), %r12
leaq 0x4b58(%rip), %rbx      # 0xaf70
jmp 0x6245
movq (%rsp), %rax
cmpl $0x2, 0x150(%rax)
jne 0x6497
leaq 0x4b3f(%rip), %rdi      # 0xaf70
movl $0x1f5, %esi            # imm = 0x1F5
movl $0x2, %edx
leaq 0x4e0a(%rip), %rcx      # 0xb24c
movl %r8d, %r9d
xorl %eax, %eax
callq 0x4ada
movq (%rsp), %rbp
leaq 0x120(%rsp), %r12
leaq 0x1e0(%rsp), %r14
incl %r13d
addq $0x8, %r15
cmpq $0x8, %r15
movl 0x4c(%rsp), %eax
je 0x5f5c
jmp 0x6e36
leaq 0x4aef(%rip), %rbx      # 0xaf70
movq %rbx, %rdi
movl $0x217, %esi            # imm = 0x217
movl $0x2, %edx
leaq 0x4d5a(%rip), %rcx      # 0xb1ef
jmp 0x6501
movq 0x20(%rsp), %rdi
leaq 0x120(%rsp), %r12
movq %r12, %rsi
callq 0x7266
testq %rax, %rax
je 0x656b
movq %rax, %rbx
cmpl $0x2, 0x8(%rax)
movq (%rsp), %rbp
jne 0x6642
leaq 0x4aa3(%rip), %rbx      # 0xaf70
movq %rbx, %rdi
movl $0x316, %esi            # imm = 0x316
movl $0x2, %edx
leaq 0x4eaa(%rip), %rcx      # 0xb38b
jmp 0x6777
leaq 0x4a83(%rip), %rbx      # 0xaf70
movq %rbx, %rdi
movl $0x21c, %esi            # imm = 0x21C
movl $0x2, %edx
leaq 0x4eb5(%rip), %rcx      # 0xb3b6
xorl %eax, %eax
callq 0x4ada
movl $0xfffffffb, %r14d      # imm = 0xFFFFFFFB
movq (%rsp), %rbp
leaq 0x120(%rsp), %r12
jmp 0x6245
leaq 0x4a4a(%rip), %rbx      # 0xaf70
movq %rbx, %rdi
movl $0x2d0, %esi            # imm = 0x2D0
jmp 0x653f
leaq 0x4a39(%rip), %rbx      # 0xaf70
movq %rbx, %rdi
movl $0x297, %esi            # imm = 0x297
movl $0x2, %edx
leaq 0x4ca4(%rip), %rcx      # 0xb1ef
xorl %eax, %eax
callq 0x4ada
movq (%rsp), %rbp
movl 0x198(%rbp), %edi
movq 0x10(%rsp), %rsi
leaq 0x70(%rsp), %rdx
jmp 0x623a
leaq 0x49fe(%rip), %rbx      # 0xaf70
movq %rbx, %rdi
movl $0x310, %esi            # imm = 0x310
movl $0x2, %edx
leaq 0x4c69(%rip), %rcx      # 0xb1ef
xorl %eax, %eax
callq 0x4ada
movl $0xfffffffb, %r14d      # imm = 0xFFFFFFFB
movq (%rsp), %rbp
jmp 0x6245
leaq 0x49cd(%rip), %rbx      # 0xaf70
movq %rbx, %rdi
movl $0x2d7, %esi            # imm = 0x2D7
movl $0x2, %edx
leaq 0x4f71(%rip), %rcx      # 0xb528
jmp 0x6711
cmpl $0x0, 0xc8(%rsp)
je 0x671d
leaq 0x1e0(%rsp), %rdi
movq 0x50(%rsp), %rsi
movq 0x10(%rsp), %rbx
movq %rbx, %rdx
callq 0x5212
testl %eax, %eax
je 0x67a9
movq 0x128(%r14), %rdi
movq 0x130(%r14), %rsi
movq 0x18(%rsp), %rdx
movq 0x30(%rsp), %rbx
movq %rbx, %rcx
callq 0x9061
cmpq $0x3e7, %rax            # imm = 0x3E7
ja 0x682e
xorl %r14d, %r14d
leaq 0x494e(%rip), %rbx      # 0xaf70
movq %rbx, %rdi
movl $0x2b4, %esi            # imm = 0x2B4
movl $0x2, %edx
leaq 0x4d14(%rip), %rcx      # 0xb34a
xorl %eax, %eax
callq 0x4ada
jmp 0x6512
movq 0xe0(%rsp), %rax
testq %rax, %rax
je 0x675c
cmpq $0x18, 0x98(%rsp)
jne 0x668c
movdqu (%rax), %xmm0
movdqu 0xc(%rbx), %xmm1
pcmpeqb %xmm0, %xmm1
movq 0x10(%rax), %xmm0
movq 0x1c(%rbx), %xmm2
pcmpeqb %xmm0, %xmm2
pand %xmm1, %xmm2
pmovmskb %xmm2, %eax
cmpl $0xffff, %eax           # imm = 0xFFFF
je 0x6897
leaq 0x48dd(%rip), %rbx      # 0xaf70
movq %rbx, %rdi
movl $0x323, %esi            # imm = 0x323
movl $0x2, %edx
leaq 0x4d31(%rip), %rcx      # 0xb3d8
jmp 0x6777
cmpl $0x0, 0xd4(%rsp)
je 0x6789
leaq 0x8(%r12), %r14
cmpl $0x1, (%r14)
jne 0x680e
xorl %esi, %esi
testb %bl, %bl
je 0x6968
movb 0x100(%rsp), %al
movl %eax, %ecx
subb %bl, %cl
xorl %edx, %edx
testb %al, %al
setne %dl
movl %edx, 0x40(%rsp)
movzbl %cl, %ecx
movl $0x0, %eax
cmovel %eax, %ecx
movl %ecx, 0x3c(%rsp)
jmp 0x6978
movq %rbx, %rdi
movl $0x2de, %esi            # imm = 0x2DE
movl $0x2, %edx
leaq 0x4e35(%rip), %rcx      # 0xb546
xorl %eax, %eax
callq 0x4ada
jmp 0x6222
leaq 0x484c(%rip), %rbx      # 0xaf70
movq %rbx, %rdi
movl $0x2a5, %esi            # imm = 0x2A5
movl $0x2, %edx
leaq 0x4bdf(%rip), %rcx      # 0xb317
xorl %eax, %eax
callq 0x4ada
movl 0x198(%rbp), %edi
subq $0x10, %rsp
pxor %xmm0, %xmm0
movdqu %xmm0, (%rsp)
movq 0x20(%rsp), %rsi
jmp 0x67e4
leaq 0x480d(%rip), %rbx      # 0xaf70
movq %rbx, %rdi
movl $0x31c, %esi            # imm = 0x31C
movl $0x2, %edx
leaq 0x4c3f(%rip), %rcx      # 0xb3b6
xorl %eax, %eax
callq 0x4ada
movl $0xfffffffb, %r14d      # imm = 0xFFFFFFFB
jmp 0x6245
leaq 0x47e0(%rip), %rbx      # 0xaf70
movq %rbx, %rdi
movl $0x227, %esi            # imm = 0x227
movl $0x2, %edx
leaq 0x4e19(%rip), %rcx      # 0xb5bd
jmp 0x6501
leaq 0x47c0(%rip), %r14      # 0xaf70
movq %r14, %rdi
movl $0x2ac, %esi            # imm = 0x2AC
movl $0x2, %edx
leaq 0x4b6b(%rip), %rcx      # 0xb32f
xorl %eax, %eax
callq 0x4ada
movl 0x198(%rbp), %edi
subq $0x10, %rsp
pxor %xmm0, %xmm0
movdqu %xmm0, (%rsp)
movq %rbx, %rsi
movq %r14, %rbx
leaq 0x80(%rsp), %rdx
leaq 0x130(%rsp), %r12
movq %r12, %rcx
xorl %r8d, %r8d
movl $0x1, %r9d
callq 0x58be
addq $0x10, %rsp
jmp 0x6242
leaq 0x475b(%rip), %rbx      # 0xaf70
movq %rbx, %rdi
movl $0x22c, %esi            # imm = 0x22C
movl $0x2, %edx
leaq 0x4db4(%rip), %rcx      # 0xb5dd
jmp 0x6501
movq %r14, %r12
addq $0x104, %r12            # imm = 0x104
movq %r12, %rdi
callq 0x8fa2
movl $0x1, 0x100(%r14)
movq 0x18(%rsp), %rax
movq %rax, 0x128(%r14)
movq %rbx, 0x130(%r14)
movl 0x198(%rbp), %edi
movq 0x10(%rsp), %rsi
leaq 0x70(%rsp), %rdx
leaq 0x120(%rsp), %rcx
movl $0x1, %r8d
xorl %r9d, %r9d
pushq $0x10
pushq %r12
movq %rcx, %r12
callq 0x58be
addq $0x10, %rsp
movl %eax, %r14d
jmp 0x6411
cmpl $0x3, 0x150(%rbp)
jne 0x6a52
movq 0xb0(%rsp), %rax
testq %rax, %rax
je 0x6d81
movq %rax, 0x68(%rbx)
movq 0x48(%rbx), %rdi
callq 0x2040
movq 0x68(%rbx), %r12
movq %r12, %rdi
callq 0x2240
movq %rax, 0x48(%rbx)
testq %rax, %rax
je 0x6f9e
movq 0xf0(%rsp), %rsi
movq %rax, %rdi
movq %r12, %rdx
callq 0x21f0
movq %rbp, %rdi
movq %rbx, %rsi
movl $0x4, %edx
callq 0x70b3
jmp 0x6409
cmpl $0x0, 0x184(%rbp)
jle 0x692c
addq $0x118, %rax            # imm = 0x118
movq %rax, %rdi
movq 0x18(%rsp), %rsi
movq 0x30(%rsp), %rdx
callq 0x494c
testl %eax, %eax
je 0x6d65
movl 0x198(%rbp), %edi
movzbl 0x1aa(%rbp), %eax
movq 0x10(%rsp), %rsi
leaq 0x1e0(%rsp), %rdx
movq 0x50(%rsp), %rcx
leaq 0x70(%rsp), %r8
leaq 0x120(%rsp), %r12
movq %r12, %r9
pushq $0x3
pushq %rax
callq 0x5610
jmp 0x6805
movl $0x0, 0x40(%rsp)
movl $0x0, 0x3c(%rsp)
movq 0x18(%rsp), %rdx
movl 0xc4(%rsp), %ebx
testl %ebx, %ebx
je 0x69a3
movq 0x70(%rsp), %rdi
movq 0x78(%rsp), %rsi
movq 0x30(%rsp), %rcx
callq 0x9143
movl $0x1, %esi
jmp 0x69a7
pxor %xmm0, %xmm0
movq %rsi, 0x30(%rsp)
movq %xmm0, 0x18(%rsp)
movq (%rsp), %rax
cmpl $0x0, 0x170(%rax)
jle 0x69d5
movl 0xc0(%rsp), %esi
movq %r14, %rdi
movl %r13d, %edx
callq 0x70f8
movl %eax, %ebp
jmp 0x69d7
xorl %ebp, %ebp
testl %ebp, %ebp
je 0x6a03
movq 0xc0(%r12,%r15), %rax
cmpq $-0x1, %rax
movsd 0x18(%rsp), %xmm0
je 0x6b7b
incq %rax
movq %rax, 0xc0(%r12,%r15)
jmp 0x6bab
movq 0xd0(%r12,%r15), %r14
leaq 0x1(%r14), %rcx
movq %rcx, 0xd0(%r12,%r15)
testq %r15, %r15
movsd 0x18(%rsp), %xmm0
je 0x6ce5
testq %r14, %r14
jne 0x6cf4
cmpl $0x0, 0xf8(%r12)
jne 0x6cf4
movl 0xc0(%rsp), %eax
movl %eax, 0xe8(%r12)
jmp 0x6cf4
movq 0xe8(%rsp), %rsi
testq %rsi, %rsi
je 0x6c73
movq 0xa0(%rsp), %rdx
testq %rdx, %rdx
je 0x6c73
movq 0x10(%rsp), %rdi
callq 0x8e08
testl %eax, %eax
jne 0x6aa1
leaq 0x44e7(%rip), %rdi      # 0xaf70
movl $0x35a, %esi            # imm = 0x35A
movl $0x2, %edx
leaq 0x4a1a(%rip), %rcx      # 0xb4b4
xorl %eax, %eax
callq 0x4ada
movq 0xf8(%rsp), %rsi
testq %rsi, %rsi
je 0x6df6
movq 0xb8(%rsp), %r14
cmpq %r14, 0x70(%rbx)
jne 0x6ad4
movq 0x50(%rbx), %rdi
movq %r14, %rdx
callq 0x2260
testl %eax, %eax
je 0x6e16
movl 0x8(%rbx), %ebp
movl $0x1, 0x8(%rbx)
movq %r14, 0x70(%rbx)
movq 0x50(%rbx), %rdi
callq 0x2040
movq 0x70(%rbx), %r14
movq %r14, %rdi
callq 0x2240
movq %rax, 0x50(%rbx)
testq %rax, %rax
je 0x6f9e
movq 0xf8(%rsp), %rsi
movq %rax, %rdi
movq %r14, %rdx
callq 0x21f0
testl %ebp, %ebp
movq (%rsp), %r12
jne 0x6b5e
cmpl $0x1, 0x180(%r12)
jg 0x6b5e
movq (%rbx), %r8
movq 0x80(%r8), %rdi
movl 0x154(%r12), %edx
movl 0x174(%r12), %esi
subq $0x8, %rsp
movq 0x18(%rsp), %rcx
movl $0x1, %r9d
pushq $0x0
callq 0x41dc
addq $0x10, %rsp
xorl %edx, %edx
testl %ebp, %ebp
sete %dl
movq %r12, %rdi
movq %rbx, %rsi
callq 0x6fac
movl %eax, %r14d
movq %r12, %rbp
jmp 0x6409
movq (%r12), %rax
movq 0x80(%rax), %r8
leaq 0x43e3(%rip), %rdi      # 0xaf70
movl $0x24b, %esi            # imm = 0x24B
movl $0x2, %edx
leaq 0x4a6e(%rip), %rcx      # 0xb60c
xorl %eax, %eax
callq 0x4ada
movsd 0x18(%rsp), %xmm0
movq 0xd0(%r12,%r15), %rcx
xorl %r14d, %r14d
movq (%rsp), %rax
cmpl $0x0, 0x16c(%rax)
je 0x6c02
movq 0xe0(%r12), %rdi
testq %r15, %r15
je 0x6be3
movl 0xe8(%r12), %eax
testq %rax, %rax
je 0x6be3
subq %rax, %rdi
incq %rdi
movq %rcx, %rsi
callq 0x9349
movsd 0x78(%r12,%r15), %xmm1
divsd 0x3df6(%rip), %xmm1     # 0xa9f0
movsd 0x18(%rsp), %xmm0
jmp 0x6c08
pxor %xmm1, %xmm1
xorl %eax, %eax
movq (%rsp), %rbx
cmpl $0x0, 0x180(%rbx)
jne 0x6c6b
movq (%r12), %rcx
movq 0x80(%rcx), %rdi
movl 0x16c(%rbx), %r10d
movl 0x174(%rbx), %esi
movl 0xc0(%rsp), %edx
divsd 0x3db4(%rip), %xmm0     # 0xa9f0
subq $0x8, %rsp
movzbl 0x44(%rsp), %r11d
movl %ebp, %ecx
movq 0x58(%rsp), %r8
movl 0x48(%rsp), %r9d
pushq %r10
pushq 0x118(%rsp)
pushq %rax
pushq 0x50(%rsp)
pushq %r11
callq 0x4698
addq $0x30, %rsp
movq %rbx, %rbp
jmp 0x6409
leaq 0x42f6(%rip), %r14      # 0xaf70
movq %r14, %rdi
movl $0x344, %esi            # imm = 0x344
movl $0x2, %edx
leaq 0x479b(%rip), %rcx      # 0xb429
xorl %eax, %eax
callq 0x4ada
cmpl $0x1, 0x8(%rbx)
jne 0x6da1
movq %r14, %rdi
movq %rbx, %r14
addq $0xc, %r14
movl $0x347, %esi            # imm = 0x347
movl $0x2, %edx
leaq 0x4796(%rip), %rcx      # 0xb450
xorl %eax, %eax
callq 0x4ada
movl $0x0, 0x8(%rbx)
decq 0xe0(%rbx)
movq %r14, %rdi
movq %rbp, %rsi
callq 0x8ea9
movl $0xfffffffb, %r14d      # imm = 0xFFFFFFFB
jmp 0x6411
movl 0xc0(%rsp), %eax
movl %eax, 0xec(%r12)
testl %ebx, %ebx
je 0x6bb3
leaq (%r12,%r15), %rdi
addq $0x78, %rdi
leaq (%r12,%r15), %rsi
addq $0x88, %rsi
movq %rcx, %rbx
movq %rcx, %rdx
callq 0x92fb
testq %r14, %r14
je 0x6dd4
movsd 0x18(%rsp), %xmm0
ucomisd 0x98(%r12,%r15), %xmm0
jbe 0x6d3f
movsd %xmm0, 0x98(%r12,%r15)
movsd 0xa8(%r12,%r15), %xmm1
ucomisd %xmm0, %xmm1
movq %rbx, %rcx
jbe 0x6bb3
movsd %xmm0, 0xa8(%r12,%r15)
jmp 0x6bb3
xorl %r14d, %r14d
movq %rbx, %rdi
movl $0x2f1, %esi            # imm = 0x2F1
movl $0x2, %edx
leaq 0x4823(%rip), %rcx      # 0xb59f
jmp 0x6636
leaq 0x41e8(%rip), %rbx      # 0xaf70
movq %rbx, %rdi
movl $0x33b, %esi            # imm = 0x33B
movl $0x2, %edx
leaq 0x4662(%rip), %rcx      # 0xb3fe
jmp 0x6777
movq %r14, %rdi
movl $0x351, %esi            # imm = 0x351
movl $0x2, %edx
leaq 0x46cb(%rip), %rcx      # 0xb480
xorl %eax, %eax
callq 0x4ada
movq %rbp, %rdi
movq %rbx, %rsi
movl $0x1, %edx
callq 0x70b3
movq %r14, %rbx
jmp 0x677e
movsd 0x18(%rsp), %xmm0
movsd %xmm0, 0x98(%r12,%r15)
movsd %xmm0, 0xa8(%r12,%r15)
movq %rbx, %rcx
jmp 0x6bb3
leaq 0x4173(%rip), %rbx      # 0xaf70
movq %rbx, %rdi
movl $0x35f, %esi            # imm = 0x35F
movl $0x2, %edx
leaq 0x46da(%rip), %rcx      # 0xb4eb
jmp 0x6777
leaq 0x4153(%rip), %rbx      # 0xaf70
movq %rbx, %rdi
movl $0x369, %esi            # imm = 0x369
movl $0x2, %edx
leaq 0x46dd(%rip), %rcx      # 0xb50e
jmp 0x6777
testl %eax, %eax
movl 0x2c(%rsp), %r15d
movq 0x10(%rsp), %r12
movl $0x1, %r13d
jg 0x5eb9
xorl %edx, %edx
jmp 0x6e7b
movl %ebx, %edx
movl 0x2c(%rsp), %r15d
movq 0x10(%rsp), %r12
movl $0x1, %r13d
jmp 0x6e7b
movl 0x2c(%rsp), %r15d
movq 0x10(%rsp), %r12
movl $0x1, %r13d
movl $0xfffffffe, %edx       # imm = 0xFFFFFFFE
cmpl $-0x2, %edx
movl 0x44(%rsp), %ebx
je 0x6e8c
testl %edx, %edx
jne 0x6f8b
callq 0x48ca
testl %eax, %eax
cmovnel %r13d, %ebx
testl %r15d, %r15d
je 0x6ebd
callq 0x8ff2
movq %rdx, %rcx
movq 0x68(%rsp), %rdi
movq 0x60(%rsp), %rsi
movq %rax, %rdx
callq 0x9061
cmpl %r15d, %eax
cmovgel %r13d, %ebx
cmpl $0x0, 0x5c(%rsp)
je 0x6ed8
cmpl $0x0, 0x168(%rbp)
je 0x6ed8
cmpl $0x0, 0x1a4(%rbp)
cmovel %r13d, %ebx
testl %ebx, %ebx
je 0x5cb5
cmpl $0x0, 0x58(%rsp)
je 0x6f12
movl 0x174(%rbp), %esi
cmpl $0x3, 0x150(%rbp)
jne 0x6f02
movq 0x20(%rsp), %rdi
callq 0x4339
jmp 0x6f12
movl 0x154(%rbp), %edx
movq 0x20(%rsp), %rdi
callq 0x4425
addq $0x101e8, %rsp          # imm = 0x101E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x4045(%rip), %rdi      # 0xaf70
leaq 0x4252(%rip), %rbx      # 0xb184
movl $0x148, %esi            # imm = 0x148
movl $0x2, %edx
movq %rbx, %rcx
xorl %eax, %eax
callq 0x4ada
movl $0x1, %edi
movq %rbx, %rsi
xorl %eax, %eax
callq 0x20f0
leaq 0x411d(%rip), %rsi      # 0xb079
jmp 0x6f65
leaq 0x41ee(%rip), %rsi      # 0xb153
movl $0x2, %edi
xorl %eax, %eax
callq 0x2230
leaq 0x4228(%rip), %rsi      # 0xb1a0
jmp 0x6f65
leaq 0x40b7(%rip), %rsi      # 0xb038
movl $0x3, %edi
movl %r14d, %edx
jmp 0x6f97
leaq 0x40c6(%rip), %rsi      # 0xb058
movl $0x3, %edi
xorl %eax, %eax
callq 0x2230
leaq 0x324b(%rip), %rsi      # 0xa1f0
movl $0x1, %edi
jmp 0x6f4e