// File: /workspace/github_c_makefile_star2_O2/alexgirao[P]aimant/aimant.c
// Function: main
int main(int argc, char **argv)
{
	char **sink_argv;
	struct sink svlogd[1];
	struct fd_tap fd0[1];
	struct getopt_x state[1];
	int pid_to_send_signal = -1;

	if (process_args(state, argc, argv)) {
		help(argv[0], state);
		exit(1);
	}

	if (argc == 1) {
		help(argv[0], state);
		exit(0);
	}

	DEBUG_INFO("args->pid_file=[%s]", args->pid_file);
	DEBUG_INFO("args->log_file=[%s]", args->log_file);
	DEBUG_INFO("args->svlogd_path=[%s]", args->svlogd_path);
	DEBUG_INFO("args->count_to_rotate=%li", args->count_to_rotate);

	if (read_pid(args->pid_file, &pid_to_send_signal)) {
		DEBUG("invalid pid file");
		return 1;
	}

	memset(svlogd, 0, sizeof(svlogd));
	memset(fd0, 0, sizeof(fd0));

	/* spawn svlogd
	 */

	sink_argv = calloc(4, sizeof(char*));
	sink_argv[0] = args->svlogd_path;
	sink_argv[1] = "-ttt";
	sink_argv[2] = args->output_dir;
	sink_argv[3] = NULL;

	assert(sink_open(svlogd, 1 /* search path? */, sink_argv) == 0);

	/* register stdin as tap
	 */

	assert(fd_tap_open(fd0, STDIN_FILENO) == 0);

	/* unleash
	 */

	assert(doit(pid_to_send_signal, svlogd, fd0, args->log_file, args->count_to_rotate, args->exit_on_timeout) == 0);

	DEBUG_INFO("closing svlogd sink, pid=%i", svlogd->sp->pid);
	sink_close(svlogd);

	/* cleanup
	 */

	free(sink_argv);
	sink_argv = NULL;

	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x14d8, %rsp           # imm = 0x14D8
movq %rsi, %rdx
movl %edi, %esi
leaq 0xd064(%rip), %r8       # 0x10610
leaq 0x719c(%rip), %r9       # 0xa74f
leaq -0x500(%rbp), %rdi
movl %esi, -0x38(%rbp)
movq %rdx, -0x40(%rbp)
xorl %ecx, %ecx
callq 0x76a8
testl %eax, %eax
jne 0x4628
leaq -0x500(%rbp), %r15
leaq -0x1500(%rbp), %r12
leaq 0x6a3b(%rip), %r14      # 0xa020
leaq 0xd334(%rip), %r13      # 0x10920
leaq 0xcc0d(%rip), %rbx      # 0x10200
movq %r15, %rdi
movq %r12, %rsi
callq 0x7dc5
leal -0x63(%rax), %ecx
cmpl $0x10, %ecx
ja 0x36fb
movslq (%r14,%rcx,4), %rcx
addq %r14, %rcx
jmpq *%rcx
movq (%r13), %rdi
callq 0x22d0
movq %rax, 0xcedd(%rip)      # 0x10500
jmp 0x35f3
movq (%r13), %rsi
movb $0x5a, 0xcccf(%rip)     # 0x102ff
movl $0x100, %edx            # imm = 0x100
movq %rbx, %rdi
callq 0x2090
cmpb $0x0, 0xccbb(%rip)      # 0x102ff
je 0x35f3
jmp 0x447c
movl $0x1, 0xceb3(%rip)      # 0x10508
jmp 0x35f3
movq (%r13), %rsi
movb $0x5a, 0xce9d(%rip)     # 0x104ff
movl $0x100, %edx            # imm = 0x100
leaq 0xcd92(%rip), %rdi      # 0x10400
callq 0x2090
cmpb $0x0, 0xce85(%rip)      # 0x104ff
je 0x35f3
jmp 0x449b
movq (%r13), %rsi
movb $0x5a, 0xcf7b(%rip)     # 0x1060b
movl $0x100, %edx            # imm = 0x100
leaq 0xce70(%rip), %rdi      # 0x1050c
callq 0x2090
cmpb $0x0, 0xcf63(%rip)      # 0x1060b
je 0x35f3
jmp 0x44ba
movq (%r13), %rsi
movb $0x5a, 0xcd41(%rip)     # 0x103ff
movl $0x100, %edx            # imm = 0x100
leaq 0xcc36(%rip), %rdi      # 0x10300
callq 0x2090
cmpb $0x0, 0xcd29(%rip)      # 0x103ff
je 0x35f3
leaq 0x6ff6(%rip), %rdi      # 0xa6d9
leaq 0x69d2(%rip), %rsi      # 0xa0bc
leaq 0x6fb6(%rip), %rcx      # 0xa6a7
movl $0x483, %edx            # imm = 0x483
callq 0x21b0
cmpl $-0x1, %eax
jne 0x4435
movq 0xcdf5(%rip), %rcx      # 0x10500
testq %rcx, %rcx
jle 0x4647
cmpl $0x0, -0x3ec(%rbp)
jne 0x444a
cmpl $0x1, -0x38(%rbp)
je 0x4462
pushq $0x2
popq %r15
leaq 0xcaca(%rip), %r12      # 0x10200
movq %r12, %rdi
xorl %esi, %esi
xorl %eax, %eax
callq 0x22e0
movl %eax, %ebx
testl %eax, %eax
jns 0x37a7
cmpl $-0x1, %ebx
jne 0x44d9
leal -0x1(%r15), %r13d
callq 0x2080
movq %rax, %rbx
movl (%rax), %r14d
cmpl $0x9, %r13d
ja 0x426c
cmpl $0x2, %r14d
jne 0x426c
leaq 0x6941(%rip), %rdi      # 0xa0bc
movl $0x4e9, %esi            # imm = 0x4E9
leaq 0x7547(%rip), %rdx      # 0xacce
movq %r12, %rcx
movl %r15d, %r8d
pushq $0xa
popq %r9
xorl %eax, %eax
callq 0x8e04
movl $0x186a0, %edi          # imm = 0x186A0
callq 0x23c0
incl %r15d
jmp 0x3736
leaq -0x1500(%rbp), %rsi
movl %ebx, %edi
callq 0x2350
testl %eax, %eax
js 0x4295
movq -0x14d0(%rbp), %r14
cmpq $0x64, %r14
jge 0x4666
xorl %r15d, %r15d
movl %r15d, %eax
leaq (%rax,%rbp), %rsi
addq $-0x270, %rsi           # imm = 0xFD90
movl %r14d, %eax
subl %r15d, %eax
movslq %eax, %rdx
movl %ebx, %edi
callq 0x2200
testl %eax, %eax
jle 0x37fe
addl %eax, %r15d
cmpl %r14d, %r15d
jl 0x37d1
movq %r14, %rax
cltq
cmpq %rax, %r14
jne 0x4685
movb $0x0, -0x270(%rbp,%r14)
movl %ebx, %edi
callq 0x21e0
testl %eax, %eax
jne 0x46a4
leaq -0x270(%rbp), %rdi
callq 0x2330
movl %eax, -0x80(%rbp)
xorps %xmm0, %xmm0
leaq -0x130(%rbp), %rbx
movaps %xmm0, (%rbx)
movaps %xmm0, 0x10(%rbx)
movaps %xmm0, 0x20(%rbx)
andq $0x0, 0x40(%rbx)
leaq -0x58(%rbp), %r14
andq $0x0, (%r14)
movaps %xmm0, 0x30(%rbx)
andl $0x0, 0x8(%r14)
pushq $0x4
popq %rdi
pushq $0x8
popq %rsi
callq 0x2220
movq %rax, %r15
leaq 0xcb90(%rip), %rax      # 0x10400
movq %rax, (%r15)
leaq 0x6e09(%rip), %rax      # 0xa683
movq %rax, 0x8(%r15)
leaq 0xcc87(%rip), %rax      # 0x1050c
movq %rax, 0x10(%r15)
andq $0x0, 0x18(%r15)
pushq $0x1
popq %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x24cc
movq %r14, %rdi
xorl %esi, %esi
callq 0x25b1
movq 0xcc53(%rip), %rbx      # 0x10500
movl 0xcc55(%rip), %eax      # 0x10508
movl %eax, -0x7c(%rbp)
leaq -0x190(%rbp), %rax
movq %rax, -0xa0(%rbp)
leaq -0x1f0(%rbp), %rax
movq %rax, -0x98(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -0x70(%rbp)
movl $0x100000, %edi         # imm = 0x100000
callq 0x2290
testq %rax, %rax
je 0x46c3
xorps %xmm0, %xmm0
movaps %xmm0, -0x150(%rbp)
movaps %xmm0, -0x160(%rbp)
movaps %xmm0, -0x170(%rbp)
movaps %xmm0, -0x180(%rbp)
movaps %xmm0, -0x190(%rbp)
andq $0x0, -0x140(%rbp)
movaps %xmm0, -0x1f0(%rbp)
movaps %xmm0, -0x1e0(%rbp)
movaps %xmm0, -0x1d0(%rbp)
movaps %xmm0, -0x1c0(%rbp)
movaps %xmm0, -0x1b0(%rbp)
andq $0x0, -0x1a0(%rbp)
testq %rbx, %rbx
jle 0x46e2
cmpl $0x0, -0x58(%rbp)
js 0x4701
orl $-0x1, -0x190(%rbp)
orl $-0x1, -0x1f0(%rbp)
cmpl $0x0, -0x110(%rbp)
jle 0x4720
movq %rbx, -0xc0(%rbp)
movq %rax, -0x48(%rbp)
leaq 0xc97b(%rip), %rsi      # 0x10300
leaq -0x190(%rbp), %rdi
pushq $0x1
popq %rdx
callq 0x2734
testl %eax, %eax
jne 0x473f
leaq 0xc95d(%rip), %rsi      # 0x10300
leaq -0x70(%rbp), %rbx
movq %rbx, %rdi
callq 0x915f
leaq 0x6f47(%rip), %rsi      # 0xa8fd
movq %rbx, %rdi
callq 0x923b
xorl %ebx, %ebx
callq 0x2e08
movq %rax, -0x38(%rbp)
cmpq $0x10, %rbx
je 0x39dd
andq $0x0, -0x270(%rbp,%rbx,8)
incq %rbx
jmp 0x39c9
xorl %eax, %eax
cmpq $0x10, %rax
je 0x39f3
andq $0x0, -0x2f0(%rbp,%rax,8)
incq %rax
jmp 0x39df
movq %r15, -0xb8(%rbp)
pushq $-0x1
popq %r15
movl $0x0, -0x2c(%rbp)
xorl %edx, %edx
movl %edx, %eax
movq %rax, -0x78(%rbp)
movl %edx, %eax
andl $0x1, %eax
movl %eax, -0x84(%rbp)
xorl $0x1, %eax
movq %rax, -0x40(%rbp)
movl %edx, -0x88(%rbp)
xorl %eax, %eax
callq 0x5c62
movl %eax, %ebx
movq -0x78(%rbp), %rax
movq -0xa0(%rbp,%rax,8), %r13
movq -0x40(%rbp), %rax
movq -0xa0(%rbp,%rax,8), %r12
movq -0x38(%rbp), %rdi
callq 0x2e54
testl %ebx, %ebx
js 0x44f8
movl %eax, %esi
movl %r15d, %edi
cmpl $0x63, %eax
jg 0x3b04
movl -0x58(%rbp), %r8d
movl %r15d, %edi
cmpl $-0x1, %r8d
je 0x3a9e
movl %r8d, %eax
cltd
pushq $0x40
popq %rcx
idivl %ecx
movslq %eax, %rdx
shll $0x6, %eax
movl %r8d, %ecx
subl %eax, %ecx
pushq $0x1
popq %rax
shlq %cl, %rax
orq %rax, -0x270(%rbp,%rdx,8)
testl %r8d, %r8d
cmovsl %r15d, %r8d
movl %r8d, %edi
movl (%r13), %r8d
cmpl $-0x1, %r8d
je 0x3ad1
movl %r8d, %eax
cltd
pushq $0x40
popq %rcx
idivl %ecx
movslq %eax, %rdx
shll $0x6, %eax
movl %r8d, %ecx
subl %eax, %ecx
pushq $0x1
popq %rax
shlq %cl, %rax
orq %rax, -0x270(%rbp,%rdx,8)
cmpl %edi, %r8d
cmovgl %r8d, %edi
movl (%r12), %r8d
cmpl $-0x1, %r8d
je 0x3b04
movl %r8d, %eax
cltd
pushq $0x40
popq %rcx
idivl %ecx
movslq %eax, %rdx
shll $0x6, %eax
movl %r8d, %ecx
subl %eax, %ecx
pushq $0x1
popq %rax
shlq %cl, %rax
orq %rax, -0x270(%rbp,%rdx,8)
cmpl %edi, %r8d
cmovgl %r8d, %edi
pushq $0x1
popq %r14
movl %ebx, %ecx
shlq %cl, %r14
movl %ebx, %r15d
shrl $0x6, %r15d
orq %r14, -0x270(%rbp,%r15,8)
cmpl %edi, %ebx
cmovgl %ebx, %edi
testl %esi, %esi
je 0x3b5e
movl -0x130(%rbp), %esi
cmpl $-0x1, %esi
je 0x3b55
movl %esi, %eax
cltd
pushq $0x40
popq %rcx
idivl %ecx
movslq %eax, %rdx
shll $0x6, %eax
movl %esi, %ecx
subl %eax, %ecx
pushq $0x1
popq %rax
shlq %cl, %rax
orq %rax, -0x2f0(%rbp,%rdx,8)
cmpl %edi, %esi
cmovgl %esi, %edi
leaq -0x2f0(%rbp), %rdx
jmp 0x3b60
xorl %edx, %edx
movl -0x50(%rbp), %ebx
testl %ebx, %ebx
jne 0x3b71
cmpl $0x0, -0x2c(%rbp)
je 0x3d29
movq $0x3, -0xb0(%rbp)
andq $0x0, -0xa8(%rbp)
incl %edi
leaq -0x270(%rbp), %rsi
movq %rdx, -0xc8(%rbp)
xorl %ecx, %ecx
leaq -0xb0(%rbp), %r8
callq 0x2280
testl %eax, %eax
js 0x3d7b
je 0x3d9f
testq %r14, -0x270(%rbp,%r15,8)
movq -0x48(%rbp), %rbx
je 0x3bda
xorl %eax, %eax
callq 0x5eb5
testl %eax, %eax
jne 0x4517
cmpl $0x0, -0xf4(%rbp)
jne 0x412f
movl -0x58(%rbp), %eax
xorl %r8d, %r8d
cmpl $-0x1, %eax
je 0x3c52
cltd
pushq $0x40
popq %rcx
idivl %ecx
cltq
movq -0x270(%rbp,%rax,8), %rax
btq %rdx, %rax
pushq $-0x1
popq %r15
jae 0x3c56
leaq -0x58(%rbp), %rdi
movq %rbx, %rsi
movl $0xfffff, %edx          # imm = 0xFFFFF
callq 0x293c
testl %eax, %eax
js 0x3d39
je 0x3deb
movl %eax, %ecx
movl %eax, %eax
movb $0x0, (%rbx,%rax)
movq -0x38(%rbp), %r14
movq (%r14), %rdi
pushq $0x1
popq %rsi
movq %rbx, %rdx
movq %r12, %r15
movq %rbx, %r12
movl %ecx, %ebx
callq 0x2ebf
movl %ebx, %r8d
movq %r12, %rbx
movq %r15, %r12
pushq $-0x1
popq %r15
movq %rax, (%r14)
jmp 0x3c56
pushq $-0x1
popq %r15
movl (%r12), %eax
cmpl $-0x1, %eax
je 0x3cc9
cltd
pushq $0x40
popq %rcx
idivl %ecx
cltq
movq -0x270(%rbp,%rax,8), %rax
btq %rdx, %rax
jae 0x3cc9
movq %rbx, %rsi
movq %r12, %rdi
movl %r8d, %r12d
movq %rdi, -0x60(%rbp)
movl $0xfffff, %edx          # imm = 0xFFFFF
callq 0x2adc
testl %eax, %eax
js 0x3d5a
je 0x419b
movl %eax, %r14d
movl %eax, %eax
movb $0x0, (%rbx,%rax)
movq -0x38(%rbp), %r15
movq (%r15), %rdi
pushq $0x3
popq %rsi
movq %rbx, %rdx
movl %r14d, %ecx
callq 0x2ebf
movq %rax, (%r15)
pushq $-0x1
popq %r15
movl %r12d, %r8d
addl %r14d, %r8d
movq -0x60(%rbp), %r12
movl (%r13), %eax
cmpl $-0x1, %eax
je 0x3e98
cltd
pushq $0x40
popq %rcx
idivl %ecx
cltq
movq -0x270(%rbp,%rax,8), %rax
btq %rdx, %rax
jae 0x3e98
movq %r13, %rdi
movq %rbx, %rsi
movl $0xfffff, %edx          # imm = 0xFFFFF
callq 0x2adc
testl %eax, %eax
jns 0x3dbf
callq 0x2080
movl (%rax), %r14d
cmpl $0x4, %r14d
je 0x3a25
cmpl $0xb, %r14d
je 0x3a25
jmp 0x4536
movq $0x5, -0xb0(%rbp)
jmp 0x3b7c
callq 0x2080
movl (%rax), %r14d
cmpl $0x4, %r14d
je 0x3a25
cmpl $0xb, %r14d
je 0x3a25
jmp 0x45e1
callq 0x2080
movl (%rax), %r14d
cmpl $0x4, %r14d
je 0x3a25
cmpl $0xb, %r14d
je 0x3a25
jmp 0x460d
cmpl $-0x1, %eax
jne 0x47da
callq 0x2080
movl (%rax), %r14d
cmpl $0x4, %r14d
pushq $-0x1
popq %r15
je 0x3a25
jmp 0x47f9
orl -0x7c(%rbp), %ebx
orl -0x2c(%rbp), %ebx
movl $0x0, -0x2c(%rbp)
movq -0x48(%rbp), %rbx
pushq $-0x1
popq %r15
je 0x3a25
jmp 0x41a9
je 0x42f7
movl %eax, %ecx
movb $0x0, (%rbx,%rcx)
movq -0x38(%rbp), %r14
movq (%r14), %rdi
pushq $0x2
popq %rsi
movq %rbx, %rdx
movl %eax, %ecx
callq 0x2ebf
movq %rax, (%r14)
pushq $0x1
popq %r8
jmp 0x3e98
leaq 0x62ca(%rip), %rdi      # 0xa0bc
movl $0x30d, %esi            # imm = 0x30D
leaq 0x6b79(%rip), %rdx      # 0xa977
xorl %eax, %eax
callq 0x8e04
cmpl $0x0, -0x50(%rbp)
je 0x48fa
movl -0x58(%rbp), %eax
pushq $-0x2
popq %rsi
movl %eax, %ecx
rolq %cl, %rsi
cltd
pushq $0x40
popq %rcx
idivl %ecx
cltq
andq %rsi, -0x270(%rbp,%rax,8)
leaq -0x58(%rbp), %rdi
callq 0x25e8
cmpl $-0x1, -0x58(%rbp)
jne 0x489d
movl (%r12), %ecx
testl %ecx, %ecx
js 0x3e5e
pushq $-0x2
popq %rax
rolq %cl, %rax
shrl $0x6, %ecx
andq %rax, -0x270(%rbp,%rcx,8)
movq %r12, %rdi
callq 0x2868
movl (%r13), %ecx
testl %ecx, %ecx
js 0x3e7f
pushq $-0x2
popq %rax
rolq %cl, %rax
shrl $0x6, %ecx
andq %rax, -0x270(%rbp,%rcx,8)
movq %r13, %rdi
callq 0x2868
cmpl $-0x1, (%r12)
jne 0x48bc
xorl %r8d, %r8d
cmpl $-0x1, (%r13)
jne 0x48db
movslq 0x50(%r13), %rax
cmpq %rax, -0xc0(%rbp)
jle 0x3eb4
movl -0x88(%rbp), %eax
movq %rax, -0x40(%rbp)
jmp 0x40a7
movl %r8d, -0x60(%rbp)
movq 0x8(%r13), %rdi
addq $0x8, %r13
movq -0x70(%rbp), %rsi
callq 0x2310
testl %eax, %eax
jne 0x4321
leaq 0xc428(%rip), %rdi      # 0x10300
pushq $0x41
popq %rsi
movl $0x1a4, %edx            # imm = 0x1A4
xorl %eax, %eax
callq 0x22e0
testl %eax, %eax
js 0x4366
movl %eax, %edi
callq 0x21e0
testl %eax, %eax
jne 0x477d
movq %r13, %rdi
leaq -0x70(%rbp), %rsi
callq 0x914c
cmpl $0x0, (%r12)
js 0x3f19
movq %r12, %rdi
callq 0x2868
movq %r12, %rdi
leaq 0xc3dd(%rip), %rsi      # 0x10300
xorl %edx, %edx
callq 0x2734
testl %eax, %eax
jne 0x479c
movl -0x80(%rbp), %edi
pushq $0xa
popq %rsi
callq 0x2270
testl %eax, %eax
pushq $0x1
popq %rax
movl -0x2c(%rbp), %ecx
cmovnel %eax, %ecx
movl %ecx, -0x2c(%rbp)
leaq -0x130(%rbp), %rdi
movq -0x38(%rbp), %rsi
callq 0x346f
testl %eax, %eax
js 0x43a9
cmpl $0x0, -0xf0(%rbp)
jne 0x41a9
movl -0x84(%rbp), %eax
movq -0xa0(%rbp,%rax,8), %r12
movq -0x38(%rbp), %rdi
callq 0x2e54
movl %eax, -0x78(%rbp)
cmpl $0x0, (%r12)
js 0x47bb
xorl %eax, %eax
cmpq $0x10, %rax
je 0x4013
andq $0x0, -0x1500(%rbp,%rax,8)
incq %rax
jmp 0x3f97
movl %eax, %ecx
movb $0x0, (%rbx,%rcx)
movq -0x38(%rbp), %r14
movq (%r14), %rdi
pushq $0x4
popq %rsi
movq %rbx, %rdx
movl %eax, %ecx
callq 0x2ebf
movq %rax, (%r14)
movq %r14, %rdi
callq 0x2e54
movl %eax, %ecx
subl -0x78(%rbp), %ecx
cmpl $0x63, %ecx
jle 0x4013
jmp 0x4150
cmpl $-0x1, %eax
jne 0x4562
callq 0x2080
movl (%rax), %r13d
cmpl $0x4, %r13d
je 0x4013
jmp 0x4581
callq 0x2080
movl (%rax), %r14d
cmpl $0x4, %r14d
je 0x4013
cmpl $0xb, %r14d
jne 0x45b8
movl (%r12), %edi
movl %edi, %eax
cltd
pushq $0x40
popq %rcx
idivl %ecx
movslq %eax, %rdx
shll $0x6, %eax
movl %edi, %ecx
subl %eax, %ecx
pushq $0x1
popq %rax
shlq %cl, %rax
orq %rax, -0x1500(%rbp,%rdx,8)
andq $0x0, -0xe0(%rbp)
movq $0x186a0, -0xd8(%rbp) # imm = 0x186A0
incl %edi
leaq -0x1500(%rbp), %rsi
xorl %edx, %edx
xorl %ecx, %ecx
leaq -0xe0(%rbp), %r8
callq 0x2280
testl %eax, %eax
js 0x3fdf
je 0x4097
movq %r12, %rdi
movq %rbx, %rsi
movl $0xfffff, %edx          # imm = 0xFFFFF
callq 0x2adc
testl %eax, %eax
js 0x3ffb
jne 0x3fab
cmpl $0x0, 0x54(%r12)
je 0x487e
cmpl $0x0, 0x54(%r12)
movl -0x60(%rbp), %r8d
jne 0x41a9
xorl %ecx, %ecx
movq -0xc8(%rbp), %rdx
testq %rdx, %rdx
je 0x4108
movl -0x130(%rbp), %eax
cmpl $-0x1, %eax
je 0x4108
movq %rdx, %rdi
cltd
pushq $0x40
popq %rsi
idivl %esi
cltq
movq (%rdi,%rax,8), %rax
btq %rdx, %rax
jae 0x4108
movq %rbx, %r14
movl %r8d, %ebx
leaq -0x130(%rbp), %rdi
movq -0x38(%rbp), %rsi
callq 0x312c
movl %eax, %ecx
testl %eax, %eax
js 0x43ec
cmpl $0x0, -0xf0(%rbp)
movl %ebx, %r8d
movq %r14, %rbx
jne 0x41a9
cmpl $0x0, -0x50(%rbp)
jne 0x411e
movq -0x40(%rbp), %rax
movl %eax, %edx
cmpl $0x0, -0x2c(%rbp)
je 0x3a07
orl %r8d, %ecx
movq -0x40(%rbp), %rax
movl %eax, %edx
jne 0x3a07
jmp 0x41a9
movl -0xf8(%rbp), %edi
testl %edi, %edi
js 0x485f
leaq -0x1500(%rbp), %rsi
movl $0xfff, %edx            # imm = 0xFFF
callq 0x2200
jmp 0x41a9
leaq 0x5f65(%rip), %rdi      # 0xa0bc
leaq 0x6ad0(%rip), %rdx      # 0xac2e
movl $0x25b, %esi            # imm = 0x25B
movl %eax, %ecx
xorl %eax, %eax
callq 0x8e04
callq 0x2080
movl $0xb, (%rax)
cmpl $0xb, (%rax)
je 0x41a9
leaq 0x69ae(%rip), %rdi      # 0xab31
leaq 0x5f32(%rip), %rsi      # 0xa0bc
leaq 0x66c6(%rip), %rcx      # 0xa857
movl $0x3d1, %edx            # imm = 0x3D1
callq 0x21b0
movq -0x60(%rbp), %rax
cmpl $0x0, 0x54(%rax)
je 0x4919
cmpl $0x0, -0x190(%rbp)
js 0x41d1
leaq -0x190(%rbp), %rbx
movq %rbx, %rdi
callq 0x2868
movl 0x34(%rbx), %eax
cmpl 0x30(%rbx), %eax
movq -0x48(%rbp), %rbx
jne 0x4821
cmpl $0x0, -0x1f0(%rbp)
movq -0xb8(%rbp), %r14
js 0x4200
leaq -0x1f0(%rbp), %rbx
movq %rbx, %rdi
callq 0x2868
movl 0x34(%rbx), %eax
cmpl 0x30(%rbx), %eax
movq -0x48(%rbp), %rbx
jne 0x4840
cmpl $0x0, -0x13c(%rbp)
je 0x4215
leaq -0x178(%rbp), %rdi
callq 0x6cb2
cmpl $0x0, -0x19c(%rbp)
je 0x422a
leaq -0x1d8(%rbp), %rdi
callq 0x6cb2
movq -0x38(%rbp), %rdi
callq 0x2f2c
movq %rbx, %rdi
callq 0x2060
leaq -0x70(%rbp), %rdi
callq 0x90ee
leaq -0x130(%rbp), %rdi
callq 0x254b
movq %r14, %rdi
callq 0x2060
xorl %eax, %eax
addq $0x14d8, %rsp           # imm = 0x14D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x5e49(%rip), %rdi      # 0xa0bc
leaq 0x6aab(%rip), %rdx      # 0xad25
leaq 0xbf7f(%rip), %rcx      # 0x10200
movl $0x4ee, %esi            # imm = 0x4EE
movl %r14d, %r8d
xorl %eax, %eax
callq 0x8e04
movl %r14d, (%rbx)
jmp 0x42c9
callq 0x2080
movq %rax, %r14
movl (%rax), %r15d
leaq 0x5e15(%rip), %rdi      # 0xa0bc
leaq 0x6a9f(%rip), %rdx      # 0xad4d
leaq 0xbf4b(%rip), %r8       # 0x10200
movl $0x4f7, %esi            # imm = 0x4F7
movl %ebx, %ecx
movl %r15d, %r9d
xorl %eax, %eax
callq 0x8e04
movl %r15d, (%r14)
leaq 0xbf30(%rip), %rdi      # 0x10200
callq 0x2300
leaq 0x5de0(%rip), %rdi      # 0xa0bc
leaq 0x638f(%rip), %rdx      # 0xa672
movl $0x4b0, %esi            # imm = 0x4B0
xorl %eax, %eax
callq 0x8e04
pushq $0x1
popq %rax
jmp 0x425a
cmpl $0x0, 0x54(%r13)
jne 0x41a9
leaq 0x671e(%rip), %rdi      # 0xaa27
leaq 0x5dac(%rip), %rsi      # 0xa0bc
leaq 0x6540(%rip), %rcx      # 0xa857
movl $0x35d, %edx            # imm = 0x35D
callq 0x21b0
cmpl $-0x1, %eax
jne 0x475e
callq 0x2080
movq %rax, %rbx
movl (%rax), %r14d
movq (%r13), %rcx
movq -0x70(%rbp), %r8
leaq 0x5d78(%rip), %rdi      # 0xa0bc
leaq 0x66f3(%rip), %rdx      # 0xaa3e
movl $0x36c, %esi            # imm = 0x36C
movl %r14d, %r9d
xorl %eax, %eax
callq 0x8e04
movl %r14d, (%rbx)
movq -0x70(%rbp), %rdi
jmp 0x4427
cmpl $-0x1, %eax
jne 0x4938
callq 0x2080
movq %rax, %rbx
movl (%rax), %r14d
leaq 0x5d3b(%rip), %rdi      # 0xa0bc
leaq 0x66fa(%rip), %rdx      # 0xaa82
leaq 0xbf71(%rip), %r15      # 0x10300
movl $0x37a, %esi            # imm = 0x37A
movq %r15, %rcx
movl %r14d, %r8d
xorl %eax, %eax
callq 0x8e04
movl %r14d, (%rbx)
movq %r15, %rdi
jmp 0x4427
callq 0x2080
movq %rax, %rbx
movl (%rax), %r14d
movl -0x110(%rbp), %ecx
leaq 0x5cfb(%rip), %rdi      # 0xa0bc
leaq 0x6734(%rip), %rdx      # 0xaafc
movl $0x3b6, %esi            # imm = 0x3B6
movl %r14d, %r8d
xorl %eax, %eax
callq 0x8e04
movl %r14d, (%rbx)
movq -0x48(%rbp), %rbx
movq -0x70(%rbp), %rdi
callq 0x2300
jmp 0x41a9
cmpl $-0x1, %ecx
jne 0x4957
callq 0x2080
movq %rax, %rbx
movl (%rax), %r14d
leaq 0x5cb5(%rip), %rdi      # 0xa0bc
leaq 0x6733(%rip), %rdx      # 0xab41
movl $0x3e3, %esi            # imm = 0x3E3
movl %r14d, %ecx
xorl %eax, %eax
callq 0x8e04
movl %r14d, (%rbx)
leaq 0x61e6(%rip), %rdi      # 0xa60d
callq 0x2300
movq -0x48(%rbp), %rbx
jmp 0x41a9
movq -0x1500(%rbp), %rdx
leaq -0x500(%rbp), %rdi
movl %eax, %esi
callq 0x8280
movq -0x40(%rbp), %rax
movq (%rax), %rdi
leaq -0x500(%rbp), %rsi
callq 0x4976
jmp 0x45b0
movq -0x40(%rbp), %rax
movq (%rax), %rdi
leaq -0x500(%rbp), %rsi
callq 0x4976
xorl %edi, %edi
callq 0x2340
leaq 0x6256(%rip), %rdi      # 0xa6d9
leaq 0x5c32(%rip), %rsi      # 0xa0bc
leaq 0x6216(%rip), %rcx      # 0xa6a7
movl $0x482, %edx            # imm = 0x482
callq 0x21b0
leaq 0x6237(%rip), %rdi      # 0xa6d9
leaq 0x5c13(%rip), %rsi      # 0xa0bc
leaq 0x61f7(%rip), %rcx      # 0xa6a7
movl $0x484, %edx            # imm = 0x484
callq 0x21b0
leaq 0x6218(%rip), %rdi      # 0xa6d9
leaq 0x5bf4(%rip), %rsi      # 0xa0bc
leaq 0x61d8(%rip), %rcx      # 0xa6a7
movl $0x487, %edx            # imm = 0x487
callq 0x21b0
leaq 0x64cf(%rip), %rdi      # 0xa9af
leaq 0x5bd5(%rip), %rsi      # 0xa0bc
leaq 0x67be(%rip), %rcx      # 0xacac
movl $0x4e7, %edx            # imm = 0x4E7
callq 0x21b0
leaq 0x6407(%rip), %rdi      # 0xa906
leaq 0x5bb6(%rip), %rsi      # 0xa0bc
leaq 0x634a(%rip), %rcx      # 0xa857
movl $0x29a, %edx            # imm = 0x29A
callq 0x21b0
leaq 0x63f6(%rip), %rdi      # 0xa914
leaq 0x5b97(%rip), %rsi      # 0xa0bc
leaq 0x632b(%rip), %rcx      # 0xa857
movl $0x2e6, %edx            # imm = 0x2E6
callq 0x21b0
movq %rax, %rbx
leaq 0x5b7c(%rip), %rdi      # 0xa0bc
leaq 0x64a1(%rip), %rdx      # 0xa9e8
movl $0x351, %esi            # imm = 0x351
movl %r14d, %ecx
xorl %eax, %eax
callq 0x8e04
movl %r14d, (%rbx)
leaq 0x64a1(%rip), %rdi      # 0xaa01
jmp 0x45ab
leaq 0x755b(%rip), %rdi      # 0xbac4
leaq 0x5b4c(%rip), %rsi      # 0xa0bc
leaq 0x6651(%rip), %rcx      # 0xabc8
movl $0x234, %edx            # imm = 0x234
callq 0x21b0
movq %rax, %r14
leaq 0x5b31(%rip), %rdi      # 0xa0bc
leaq 0x5fd7(%rip), %rdx      # 0xa569
movl $0x239, %esi            # imm = 0x239
movl %r13d, %ecx
xorl %eax, %eax
callq 0x8e04
movl %r13d, (%r14)
leaq 0x5fd1(%rip), %rdi      # 0xa57c
callq 0x2300
pushq $0x1
popq %rdi
callq 0x2340
movq %rax, %r13
leaq 0x5afa(%rip), %rdi      # 0xa0bc
leaq 0x641f(%rip), %rdx      # 0xa9e8
movl $0x24b, %esi            # imm = 0x24B
movl %r14d, %ecx
xorl %eax, %eax
callq 0x8e04
movl %r14d, (%r13)
jmp 0x4559
movq %rax, %rbx
leaq 0x5ad1(%rip), %rdi      # 0xa0bc
leaq 0x635f(%rip), %rdx      # 0xa951
movl $0x302, %esi            # imm = 0x302
movl %r14d, %ecx
xorl %eax, %eax
callq 0x8e04
movl %r14d, (%rbx)
leaq 0x635e(%rip), %rdi      # 0xa969
jmp 0x45ab
movq %rax, %rbx
leaq 0x5aa5(%rip), %rdi      # 0xa0bc
leaq 0x63ca(%rip), %rdx      # 0xa9e8
movl $0x333, %esi            # imm = 0x333
jmp 0x454c
leaq 0x5a8d(%rip), %rdi      # 0xa0bc
leaq 0x6052(%rip), %rdx      # 0xa688
movl $0x47c, %esi            # imm = 0x47C
xorl %eax, %eax
callq 0x8e04
jmp 0x45b0
leaq 0x5a6e(%rip), %rdi      # 0xa0bc
leaq 0x6092(%rip), %rdx      # 0xa6e7
movl $0x490, %esi            # imm = 0x490
xorl %eax, %eax
callq 0x8e04
jmp 0x444a
leaq 0x6708(%rip), %rdi      # 0xad75
leaq 0x5a48(%rip), %rsi      # 0xa0bc
leaq 0x6631(%rip), %rcx      # 0xacac
movl $0x4fd, %edx            # imm = 0x4FD
callq 0x21b0
leaq 0x66fd(%rip), %rdi      # 0xad89
leaq 0x5a29(%rip), %rsi      # 0xa0bc
leaq 0x6612(%rip), %rcx      # 0xacac
movl $0x4ff, %edx            # imm = 0x4FF
callq 0x21b0
leaq 0x6411(%rip), %rdi      # 0xaabc
leaq 0x5a0a(%rip), %rsi      # 0xa0bc
leaq 0x65f3(%rip), %rcx      # 0xacac
movl $0x502, %edx            # imm = 0x502
callq 0x21b0
leaq 0x6189(%rip), %rdi      # 0xa853
leaq 0x59eb(%rip), %rsi      # 0xa0bc
leaq 0x617f(%rip), %rcx      # 0xa857
movl $0x27a, %edx            # imm = 0x27A
callq 0x21b0
leaq 0x61b5(%rip), %rdi      # 0xa89e
leaq 0x59cc(%rip), %rsi      # 0xa0bc
leaq 0x6160(%rip), %rcx      # 0xa857
movl $0x27e, %edx            # imm = 0x27E
callq 0x21b0
leaq 0x61aa(%rip), %rdi      # 0xa8b2
leaq 0x59ad(%rip), %rsi      # 0xa0bc
leaq 0x6141(%rip), %rcx      # 0xa857
movl $0x280, %edx            # imm = 0x280
callq 0x21b0
leaq 0x6198(%rip), %rdi      # 0xa8bf
leaq 0x598e(%rip), %rsi      # 0xa0bc
leaq 0x6122(%rip), %rcx      # 0xa857
movl $0x285, %edx            # imm = 0x285
callq 0x21b0
leaq 0x618d(%rip), %rdi      # 0xa8d3
leaq 0x596f(%rip), %rsi      # 0xa0bc
leaq 0x6103(%rip), %rcx      # 0xa857
movl $0x287, %edx            # imm = 0x287
callq 0x21b0
leaq 0x735f(%rip), %rdi      # 0xbac4
leaq 0x5950(%rip), %rsi      # 0xa0bc
leaq 0x60e4(%rip), %rcx      # 0xa857
movl $0x36b, %edx            # imm = 0x36B
callq 0x21b0
leaq 0x6338(%rip), %rdi      # 0xaabc
leaq 0x5931(%rip), %rsi      # 0xa0bc
leaq 0x60c5(%rip), %rcx      # 0xa857
movl $0x37f, %edx            # imm = 0x37F
callq 0x21b0
leaq 0x6328(%rip), %rdi      # 0xaacb
leaq 0x5912(%rip), %rsi      # 0xa0bc
leaq 0x60a6(%rip), %rcx      # 0xa857
movl $0x39c, %edx            # imm = 0x39C
callq 0x21b0
leaq 0x63f7(%rip), %rdi      # 0xabb9
leaq 0x58f3(%rip), %rsi      # 0xa0bc
leaq 0x63f8(%rip), %rcx      # 0xabc8
movl $0x225, %edx            # imm = 0x225
callq 0x21b0
leaq 0x72e3(%rip), %rdi      # 0xbac4
leaq 0x58d4(%rip), %rsi      # 0xa0bc
leaq 0x6068(%rip), %rcx      # 0xa857
movl $0x2d8, %edx            # imm = 0x2D8
callq 0x21b0
movq %rax, %rbx
leaq 0x58b9(%rip), %rdi      # 0xa0bc
leaq 0x5d5f(%rip), %rdx      # 0xa569
movl $0x2dd, %esi            # imm = 0x2DD
movl %r14d, %ecx
xorl %eax, %eax
callq 0x8e04
movl %r14d, (%rbx)
jmp 0x45a4
leaq 0x633b(%rip), %rdi      # 0xab63
leaq 0x588d(%rip), %rsi      # 0xa0bc
leaq 0x6021(%rip), %rcx      # 0xa857
movl $0x418, %edx            # imm = 0x418
callq 0x21b0
leaq 0x6347(%rip), %rdi      # 0xab8e
leaq 0x586e(%rip), %rsi      # 0xa0bc
leaq 0x6002(%rip), %rcx      # 0xa857
movl $0x41e, %edx            # imm = 0x41E
callq 0x21b0
leaq 0x60ce(%rip), %rdi      # 0xa934
leaq 0x584f(%rip), %rsi      # 0xa0bc
leaq 0x5fe3(%rip), %rcx      # 0xa857
movl $0x2eb, %edx            # imm = 0x2EB
callq 0x21b0
leaq 0x639a(%rip), %rdi      # 0xac1f
leaq 0x5830(%rip), %rsi      # 0xa0bc
leaq 0x6335(%rip), %rcx      # 0xabc8
movl $0x257, %edx            # imm = 0x257
callq 0x21b0
leaq 0x6106(%rip), %rdi      # 0xa9aa
leaq 0x5811(%rip), %rsi      # 0xa0bc
leaq 0x5fa5(%rip), %rcx      # 0xa857
movl $0x311, %edx            # imm = 0x311
callq 0x21b0
leaq 0x60f5(%rip), %rdi      # 0xa9b8
leaq 0x57f2(%rip), %rsi      # 0xa0bc
leaq 0x5f86(%rip), %rcx      # 0xa857
movl $0x321, %edx            # imm = 0x321
callq 0x21b0
leaq 0x60ee(%rip), %rdi      # 0xa9d0
leaq 0x57d3(%rip), %rsi      # 0xa0bc
leaq 0x5f67(%rip), %rcx      # 0xa857
movl $0x322, %edx            # imm = 0x322
callq 0x21b0
leaq 0x609c(%rip), %rdi      # 0xa99d
leaq 0x57b4(%rip), %rsi      # 0xa0bc
leaq 0x5f48(%rip), %rcx      # 0xa857
movl $0x30e, %edx            # imm = 0x30E
callq 0x21b0
leaq 0x60f0(%rip), %rdi      # 0xaa10
leaq 0x5795(%rip), %rsi      # 0xa0bc
leaq 0x5f29(%rip), %rcx      # 0xa857
movl $0x33f, %edx            # imm = 0x33F
callq 0x21b0
leaq 0x6070(%rip), %rdi      # 0xa9af
leaq 0x5776(%rip), %rsi      # 0xa0bc
leaq 0x5f0a(%rip), %rcx      # 0xa857
movl $0x379, %edx            # imm = 0x379
callq 0x21b0
leaq 0x59a2(%rip), %rdi      # 0xa300
leaq 0x5757(%rip), %rsi      # 0xa0bc
leaq 0x5eeb(%rip), %rcx      # 0xa857
movl $0x3e2, %edx            # imm = 0x3E2
callq 0x21b0