// File: /workspace/github_c_makefile_star2_O3/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 0xd6b2(%rip), %r8       # 0x11610
leaq 0x77ea(%rip), %r9       # 0xb74f
leaq -0x500(%rbp), %rdi
movl %esi, -0x30(%rbp)
movq %rdx, -0x40(%rbp)
xorl %ecx, %ecx
callq 0x8014
testl %eax, %eax
jne 0x4fb1
leaq -0x500(%rbp), %r13
leaq -0x1500(%rbp), %r15
leaq 0x7089(%rip), %r14      # 0xb020
leaq 0xd982(%rip), %r12      # 0x11920
leaq 0xd25b(%rip), %rbx      # 0x11200
movq %r13, %rdi
movq %r15, %rsi
callq 0x874a
leal -0x63(%rax), %ecx
cmpl $0x10, %ecx
ja 0x40ad
movslq (%r14,%rcx,4), %rcx
addq %r14, %rcx
jmpq *%rcx
movq (%r12), %rdi
callq 0x22d0
movq %rax, 0xd52b(%rip)      # 0x11500
jmp 0x3fa5
movq (%r12), %rsi
movb $0x5a, 0xd31d(%rip)     # 0x112ff
movl $0x100, %edx            # imm = 0x100
movq %rbx, %rdi
callq 0x2090
cmpb $0x0, 0xd309(%rip)      # 0x112ff
je 0x3fa5
jmp 0x4eb0
movl $0x1, 0xd501(%rip)      # 0x11508
jmp 0x3fa5
movq (%r12), %rsi
movb $0x5a, 0xd4eb(%rip)     # 0x114ff
movl $0x100, %edx            # imm = 0x100
leaq 0xd3e0(%rip), %rdi      # 0x11400
callq 0x2090
cmpb $0x0, 0xd4d3(%rip)      # 0x114ff
je 0x3fa5
jmp 0x4ecf
movq (%r12), %rsi
movb $0x5a, 0xd5c9(%rip)     # 0x1160b
movl $0x100, %edx            # imm = 0x100
leaq 0xd4be(%rip), %rdi      # 0x1150c
callq 0x2090
cmpb $0x0, 0xd5b1(%rip)      # 0x1160b
je 0x3fa5
jmp 0x4eee
movq (%r12), %rsi
movb $0x5a, 0xd38f(%rip)     # 0x113ff
movl $0x100, %edx            # imm = 0x100
leaq 0xd284(%rip), %rdi      # 0x11300
callq 0x2090
cmpb $0x0, 0xd377(%rip)      # 0x113ff
je 0x3fa5
leaq 0x7644(%rip), %rdi      # 0xb6d9
leaq 0x7020(%rip), %rsi      # 0xb0bc
leaq 0x7604(%rip), %rcx      # 0xb6a7
movl $0x483, %edx            # imm = 0x483
callq 0x21b0
cmpl $-0x1, %eax
jne 0x4e64
movq 0xd443(%rip), %rcx      # 0x11500
testq %rcx, %rcx
jle 0x4fd0
cmpl $0x0, -0x3ec(%rbp)
jne 0x4e79
cmpl $0x1, -0x30(%rbp)
je 0x4e96
leaq 0xd11c(%rip), %rdi      # 0x11200
xorl %esi, %esi
xorl %eax, %eax
callq 0x22e0
movl %eax, %r15d
testl %eax, %eax
jns 0x417b
movl $0x2, %r12d
callq 0x2080
movq %rax, %rbx
leaq 0x7bc1(%rip), %r14      # 0xbcce
leaq 0xd0ec(%rip), %r13      # 0x11200
cmpl $-0x1, %r15d
jne 0x4f4b
leal -0x1(%r12), %eax
movl (%rbx), %r15d
cmpl $0x9, %eax
ja 0x4d91
cmpl $0x2, %r15d
jne 0x4d91
leaq 0x6f7c(%rip), %rdi      # 0xb0bc
movl $0x4e9, %esi            # imm = 0x4E9
movq %r14, %rdx
movq %r13, %rcx
movl %r12d, %r8d
movl $0xa, %r9d
xorl %eax, %eax
callq 0x9818
movl $0x186a0, %edi          # imm = 0x186A0
callq 0x23c0
movq %r13, %rdi
xorl %esi, %esi
xorl %eax, %eax
callq 0x22e0
movl %eax, %r15d
incl %r12d
testl %eax, %eax
js 0x4114
leaq -0x1500(%rbp), %rsi
movl %r15d, %edi
callq 0x2350
testl %eax, %eax
js 0x4d87
movq -0x14d0(%rbp), %rbx
cmpq $0x64, %rbx
jge 0x4fef
xorl %r14d, %r14d
movl %r14d, %eax
leaq (%rax,%rbp), %rsi
addq $-0x270, %rsi           # imm = 0xFD90
movl %ebx, %eax
subl %r14d, %eax
movslq %eax, %rdx
movl %r15d, %edi
callq 0x2200
testl %eax, %eax
jle 0x41d3
addl %eax, %r14d
cmpl %ebx, %r14d
jl 0x41a6
movq %rbx, %rax
cltq
cmpq %rax, %rbx
jne 0x500e
movb $0x0, -0x270(%rbp,%rbx)
movl %r15d, %edi
callq 0x21e0
testl %eax, %eax
jne 0x502d
leaq -0x270(%rbp), %rdi
callq 0x2330
movl %eax, -0x60(%rbp)
xorps %xmm0, %xmm0
leaq -0x130(%rbp), %rbx
movaps %xmm0, (%rbx)
movaps %xmm0, 0x10(%rbx)
movaps %xmm0, 0x20(%rbx)
movaps %xmm0, 0x30(%rbx)
xorl %r15d, %r15d
movq %r15, 0x40(%rbx)
leaq -0x50(%rbp), %r14
movq %r15, (%r14)
movl $0x0, 0x8(%r14)
movl $0x4, %edi
movl $0x8, %esi
callq 0x2220
movq %rax, %rdx
leaq 0xd1b3(%rip), %rax      # 0x11400
movq %rax, (%rdx)
leaq 0x742c(%rip), %rax      # 0xb683
movq %rax, 0x8(%rdx)
leaq 0xd2aa(%rip), %rax      # 0x1150c
movq %rax, 0x10(%rdx)
movq %r15, 0x18(%rdx)
movq %rbx, %rdi
movl $0x1, %esi
movq %rdx, -0xb8(%rbp)
callq 0x2ebc
movq %r14, %rdi
xorl %esi, %esi
callq 0x2fb7
movq 0xd271(%rip), %r14      # 0x11500
movl 0xd273(%rip), %eax      # 0x11508
movl %eax, -0x5c(%rbp)
leaq -0x190(%rbp), %rax
movq %rax, -0xa0(%rbp)
leaq -0x1f0(%rbp), %rax
movq %rax, -0x98(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -0x80(%rbp)
movl $0x100000, %edi         # imm = 0x100000
callq 0x2290
testq %rax, %rax
je 0x504c
movq %rax, %rbx
xorps %xmm0, %xmm0
movaps %xmm0, -0x150(%rbp)
movaps %xmm0, -0x160(%rbp)
movaps %xmm0, -0x170(%rbp)
movaps %xmm0, -0x180(%rbp)
movaps %xmm0, -0x190(%rbp)
xorl %eax, %eax
movq %rax, -0x140(%rbp)
movaps %xmm0, -0x1f0(%rbp)
movaps %xmm0, -0x1e0(%rbp)
movaps %xmm0, -0x1d0(%rbp)
movaps %xmm0, -0x1c0(%rbp)
movaps %xmm0, -0x1b0(%rbp)
movq %rax, -0x1a0(%rbp)
testq %r14, %r14
jle 0x506b
cmpl $0x0, -0x50(%rbp)
js 0x508a
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
movl %eax, -0x190(%rbp)
movl %eax, -0x1f0(%rbp)
cmpl $0x0, -0x110(%rbp)
jle 0x50a9
movq %r14, -0xc0(%rbp)
leaq 0xcf97(%rip), %rsi      # 0x11300
leaq -0x190(%rbp), %rdi
movl $0x1, %edx
callq 0x3149
testl %eax, %eax
jne 0x50c8
leaq 0xcf77(%rip), %rsi      # 0x11300
leaq -0x80(%rbp), %r14
movq %r14, %rdi
callq 0x9b91
leaq 0x7561(%rip), %rsi      # 0xb8fd
movq %r14, %rdi
callq 0x9ca3
movl $0x1, %edi
movl $0x10, %esi
callq 0x2220
movq %rax, -0x30(%rbp)
xorps %xmm0, %xmm0
leaq -0x270(%rbp), %r12
movaps %xmm0, (%r12)
movaps %xmm0, 0x10(%r12)
movaps %xmm0, 0x20(%r12)
movaps %xmm0, 0x30(%r12)
movaps %xmm0, 0x40(%r12)
movaps %xmm0, 0x50(%r12)
movaps %xmm0, 0x60(%r12)
movaps %xmm0, 0x70(%r12)
leaq -0x2f0(%rbp), %rax
movaps %xmm0, (%rax)
movaps %xmm0, 0x10(%rax)
movaps %xmm0, 0x20(%rax)
movaps %xmm0, 0x30(%rax)
movaps %xmm0, 0x40(%rax)
movaps %xmm0, 0x50(%rax)
movaps %xmm0, 0x60(%rax)
movaps %xmm0, 0x70(%rax)
movl $0x0, -0x34(%rbp)
xorl %ecx, %ecx
movq %rbx, -0x88(%rbp)
movl %ecx, %eax
movq %rax, -0xc8(%rbp)
movl %ecx, %eax
andl $0x1, %eax
movl %eax, -0x64(%rbp)
xorl $0x1, %eax
movq %rax, -0x58(%rbp)
movl %ecx, -0x68(%rbp)
movq -0x30(%rbp), %rbx
xorl %eax, %eax
callq 0x65fd
movq -0xc8(%rbp), %rcx
movq -0xa0(%rbp,%rcx,8), %r13
movq -0x58(%rbp), %rcx
movq -0xa0(%rbp,%rcx,8), %r10
testq %rbx, %rbx
je 0x44a5
movq (%rbx), %rsi
xorl %edx, %edx
movl $0x0, %ecx
testq %rsi, %rsi
je 0x447f
movl (%rsi), %ecx
incl %ecx
movq 0x8(%rbx), %rsi
testq %rsi, %rsi
je 0x448c
movl (%rsi), %edx
incl %edx
testl %eax, %eax
js 0x4f0d
addl %ecx, %edx
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
cmpl $0x63, %edx
jle 0x44af
jmp 0x4566
xorl %edx, %edx
testl %eax, %eax
js 0x4f0d
movl -0x50(%rbp), %ecx
cmpl $-0x1, %ecx
je 0x44ea
leal 0x3f(%rcx), %esi
testl %ecx, %ecx
cmovnsl %ecx, %esi
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
cmovnsl %ecx, %edi
movl %esi, %r8d
andl $-0x40, %r8d
subl %r8d, %ecx
movl $0x1, %r8d
shlq %cl, %r8
sarl $0x6, %esi
movslq %esi, %rcx
orq %r8, -0x270(%rbp,%rcx,8)
jmp 0x44ef
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
movl (%r13), %esi
cmpl $-0x1, %esi
je 0x452b
leal 0x3f(%rsi), %r8d
testl %esi, %esi
cmovnsl %esi, %r8d
movl %r8d, %r9d
andl $-0x40, %r9d
movl %esi, %ecx
subl %r9d, %ecx
movl $0x1, %r9d
shlq %cl, %r9
sarl $0x6, %r8d
movslq %r8d, %rcx
orq %r9, -0x270(%rbp,%rcx,8)
cmpl %edi, %esi
cmovgl %esi, %edi
movl (%r10), %esi
cmpl $-0x1, %esi
je 0x4566
leal 0x3f(%rsi), %r8d
testl %esi, %esi
cmovnsl %esi, %r8d
movl %r8d, %r9d
andl $-0x40, %r9d
movl %esi, %ecx
subl %r9d, %ecx
movl $0x1, %r9d
shlq %cl, %r9
sarl $0x6, %r8d
movslq %r8d, %rcx
orq %r9, -0x270(%rbp,%rcx,8)
cmpl %edi, %esi
cmovgl %esi, %edi
movq %r10, -0x40(%rbp)
movl $0x1, %ebx
movl %eax, %ecx
shlq %cl, %rbx
movl %eax, %r14d
shrl $0x6, %r14d
orq %rbx, -0x270(%rbp,%r14,8)
cmpl %edi, %eax
cmovgl %eax, %edi
testl %edx, %edx
je 0x45cf
movl -0x130(%rbp), %eax
cmpl $-0x1, %eax
je 0x45c6
leal 0x3f(%rax), %edx
testl %eax, %eax
cmovnsl %eax, %edx
movl %edx, %esi
andl $-0x40, %esi
movl %eax, %ecx
subl %esi, %ecx
movl $0x1, %esi
shlq %cl, %rsi
sarl $0x6, %edx
movslq %edx, %rcx
orq %rsi, -0x2f0(%rbp,%rcx,8)
cmpl %edi, %eax
jg 0x45c4
movl %edi, %eax
movl %eax, %edi
leaq -0x2f0(%rbp), %rdx
jmp 0x45d1
xorl %edx, %edx
movl -0x48(%rbp), %r15d
testl %r15d, %r15d
jne 0x45e4
cmpl $0x0, -0x34(%rbp)
je 0x4794
movq $0x3, -0xb0(%rbp)
movq $0x0, -0xa8(%rbp)
incl %edi
movq %r12, %rsi
movq %rdx, -0x90(%rbp)
xorl %ecx, %ecx
leaq -0xb0(%rbp), %r8
callq 0x2280
testl %eax, %eax
js 0x47e8
je 0x480a
testq %rbx, -0x270(%rbp,%r14,8)
movq -0x88(%rbp), %r15
je 0x464f
xorl %eax, %eax
callq 0x6872
testl %eax, %eax
jne 0x4f2c
cmpl $0x0, -0xf4(%rbp)
jne 0x4c3c
movl -0x50(%rbp), %eax
xorl %r14d, %r14d
cmpl $-0x1, %eax
je 0x46b9
leal 0x3f(%rax), %ecx
testl %eax, %eax
cmovnsl %eax, %ecx
sarl $0x6, %ecx
movslq %ecx, %rcx
movq -0x270(%rbp,%rcx,8), %rcx
btq %rax, %rcx
jae 0x46b9
leaq -0x50(%rbp), %rdi
movq %r15, %rsi
movl $0xfffff, %edx          # imm = 0xFFFFF
callq 0x335d
testl %eax, %eax
js 0x47a4
je 0x485c
movl %eax, %r14d
movl %eax, %eax
movb $0x0, (%r15,%rax)
movq -0x30(%rbp), %rbx
movq (%rbx), %rdi
movl $0x1, %esi
movq %r15, %rdx
movl %r14d, %ecx
callq 0x389d
movq %rax, (%rbx)
movq -0x40(%rbp), %rax
movl (%rax), %eax
cmpl $-0x1, %eax
je 0x472d
leal 0x3f(%rax), %ecx
testl %eax, %eax
cmovnsl %eax, %ecx
sarl $0x6, %ecx
movslq %ecx, %rcx
movq -0x270(%rbp,%rcx,8), %rcx
btq %rax, %rcx
jae 0x472d
movq -0x40(%rbp), %rdi
movq %r15, %rsi
movl $0xfffff, %edx          # imm = 0xFFFFF
callq 0x3487
testl %eax, %eax
js 0x47c6
je 0x4cc1
movl %eax, %ebx
movl %eax, %eax
movb $0x0, (%r15,%rax)
movq -0x30(%rbp), %r12
movq (%r12), %rdi
movl $0x3, %esi
movq %r15, %rdx
movl %ebx, %ecx
callq 0x389d
movq %rax, (%r12)
leaq -0x270(%rbp), %r12
addl %ebx, %r14d
movl (%r13), %eax
cmpl $-0x1, %eax
je 0x4919
leal 0x3f(%rax), %ecx
testl %eax, %eax
cmovnsl %eax, %ecx
sarl $0x6, %ecx
movslq %ecx, %rcx
movq -0x270(%rbp,%rcx,8), %rcx
btq %rax, %rcx
jae 0x4919
movq %r13, %rdi
movq %r15, %rsi
movl $0xfffff, %edx          # imm = 0xFFFFF
callq 0x3487
testl %eax, %eax
jns 0x482b
callq 0x2080
movl (%rax), %edi
cmpl $0x4, %edi
movq -0x30(%rbp), %rbx
je 0x4445
cmpl $0xb, %edi
je 0x4445
jmp 0x4f6a
movq $0x5, -0xb0(%rbp)
jmp 0x45ef
callq 0x2080
movl (%rax), %edi
cmpl $0x4, %edi
movq -0x30(%rbp), %rbx
je 0x4445
cmpl $0xb, %edi
je 0x4445
jmp 0x4fa1
callq 0x2080
movl (%rax), %edi
cmpl $0x4, %edi
movq -0x30(%rbp), %rbx
je 0x4445
cmpl $0xb, %edi
je 0x4445
jmp 0x4fa9
cmpl $-0x1, %eax
jne 0x5163
callq 0x2080
movl (%rax), %edi
cmpl $0x4, %edi
movq -0x30(%rbp), %rbx
je 0x4445
jmp 0x5182
orl -0x5c(%rbp), %r15d
orl -0x34(%rbp), %r15d
movl $0x0, -0x34(%rbp)
movq -0x88(%rbp), %r15
je 0x4441
jmp 0x4ccf
je 0x4de5
movl %eax, %ecx
movb $0x0, (%r15,%rcx)
movq -0x30(%rbp), %rbx
movq (%rbx), %rdi
movl $0x2, %esi
movq %r15, %rdx
movl %eax, %ecx
callq 0x389d
movq %rax, (%rbx)
movl $0x1, %r14d
jmp 0x4919
leaq 0x6859(%rip), %rdi      # 0xb0bc
movl $0x30d, %esi            # imm = 0x30D
leaq 0x7108(%rip), %rdx      # 0xb977
xorl %eax, %eax
callq 0x9818
cmpl $0x0, -0x48(%rbp)
je 0x5263
movl -0x50(%rbp), %ecx
movq $-0x2, %rax
rolq %cl, %rax
leal 0x3f(%rcx), %edx
testl %ecx, %ecx
cmovnsl %ecx, %edx
sarl $0x6, %edx
movslq %edx, %rcx
andq %rax, -0x270(%rbp,%rcx,8)
leaq -0x50(%rbp), %rdi
callq 0x2ff3
cmpl $-0x1, -0x50(%rbp)
movq -0x40(%rbp), %rbx
jne 0x5206
movl (%rbx), %ecx
testl %ecx, %ecx
js 0x48dd
movq $-0x2, %rax
rolq %cl, %rax
shrl $0x6, %ecx
andq %rax, -0x270(%rbp,%rcx,8)
movq %rbx, %rdi
callq 0x3284
movl (%r13), %ecx
testl %ecx, %ecx
js 0x4902
movq $-0x2, %rax
rolq %cl, %rax
shrl $0x6, %ecx
andq %rax, -0x270(%rbp,%rcx,8)
movq %r13, %rdi
callq 0x3284
cmpl $-0x1, (%rbx)
jne 0x5225
xorl %r14d, %r14d
cmpl $-0x1, (%r13)
jne 0x5244
movslq 0x50(%r13), %rax
cmpq %rax, -0xc0(%rbp)
jle 0x4932
movl -0x68(%rbp), %eax
movq %rax, -0x58(%rbp)
jmp 0x4bb9
movq 0x8(%r13), %rdi
addq $0x8, %r13
movq -0x80(%rbp), %rsi
callq 0x2310
testl %eax, %eax
jne 0x4e0f
leaq 0xc9ae(%rip), %rdi      # 0x11300
movl $0x41, %esi
movl $0x1a4, %edx            # imm = 0x1A4
xorl %eax, %eax
callq 0x22e0
testl %eax, %eax
js 0x4e29
movl %eax, %edi
callq 0x21e0
testl %eax, %eax
jne 0x5106
movq %r13, %rdi
leaq -0x80(%rbp), %rsi
callq 0x9b4f
movq -0x40(%rbp), %rbx
cmpl $0x0, (%rbx)
js 0x4997
movq %rbx, %rdi
callq 0x3284
movq %rbx, %rdi
leaq 0xc95f(%rip), %rsi      # 0x11300
xorl %edx, %edx
callq 0x3149
testl %eax, %eax
leaq -0x1500(%rbp), %r13
jne 0x5125
movl -0x60(%rbp), %edi
movl $0xa, %esi
callq 0x2270
testl %eax, %eax
movl $0x1, %eax
movl -0x34(%rbp), %ecx
cmovnel %eax, %ecx
movl %ecx, -0x34(%rbp)
leaq -0x130(%rbp), %rdi
movq -0x30(%rbp), %rsi
callq 0x3e50
testl %eax, %eax
js 0x4e3c
cmpl $0x0, -0xf0(%rbp)
jne 0x4ccf
movq -0x30(%rbp), %rax
testq %rax, %rax
je 0x4a2e
movq (%rax), %rcx
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
testq %rcx, %rcx
je 0x4a1b
movl $0xfffffffe, %ebx       # imm = 0xFFFFFFFE
subl (%rcx), %ebx
movq -0x30(%rbp), %rcx
movq 0x8(%rcx), %rcx
testq %rcx, %rcx
je 0x4a2a
movl (%rcx), %eax
subl %eax, %ebx
jmp 0x4a30
xorl %ebx, %ebx
movl -0x64(%rbp), %eax
movq -0xa0(%rbp,%rax,8), %r12
cmpl $0x0, (%r12)
js 0x5144
xorps %xmm0, %xmm0
movaps %xmm0, -0x1490(%rbp)
movaps %xmm0, -0x14a0(%rbp)
movaps %xmm0, -0x14b0(%rbp)
movaps %xmm0, -0x14c0(%rbp)
movaps %xmm0, -0x14d0(%rbp)
movaps %xmm0, -0x14e0(%rbp)
movaps %xmm0, -0x14f0(%rbp)
movaps %xmm0, -0x1500(%rbp)
movl (%r12), %edi
leal 0x3f(%rdi), %eax
testl %edi, %edi
cmovnsl %edi, %eax
movl %eax, %edx
andl $-0x40, %edx
movl %edi, %ecx
subl %edx, %ecx
movl $0x1, %edx
shlq %cl, %rdx
sarl $0x6, %eax
cltq
orq %rdx, -0x1500(%rbp,%rax,8)
movq $0x0, -0xe0(%rbp)
movq $0x186a0, -0xd8(%rbp) # imm = 0x186A0
incl %edi
movq %r13, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
leaq -0xe0(%rbp), %r8
callq 0x2280
testl %eax, %eax
js 0x4b5e
je 0x4ba6
movq %r12, %rdi
movq %r15, %rsi
movl $0xfffff, %edx          # imm = 0xFFFFF
callq 0x3487
testl %eax, %eax
js 0x4b7c
je 0x4b9a
movl %eax, %ecx
movb $0x0, (%r15,%rcx)
movq -0x30(%rbp), %r13
movq (%r13), %rdi
movl $0x4, %esi
movq %r15, %rdx
movl %eax, %ecx
callq 0x389d
movq %rax, (%r13)
xorl %ecx, %ecx
movl $0x0, %esi
testq %rax, %rax
je 0x4b34
movl (%rax), %esi
incl %esi
movq -0x30(%rbp), %rdx
movq 0x8(%rdx), %rdx
testq %rdx, %rdx
leaq -0x1500(%rbp), %r13
je 0x4b4c
movl (%rdx), %ecx
incl %ecx
addl %ebx, %esi
addl %ecx, %esi
cmpl $0x63, %esi
jle 0x4a81
jmp 0x4c5d
cmpl $-0x1, %eax
jne 0x4f72
callq 0x2080
movl (%rax), %edi
cmpl $0x4, %edi
je 0x4a81
jmp 0x4f91
callq 0x2080
movl (%rax), %edi
cmpl $0x4, %edi
je 0x4a81
cmpl $0xb, %edi
je 0x4a81
jmp 0x4f99
cmpl $0x0, 0x54(%r12)
je 0x51e7
cmpl $0x0, 0x54(%r12)
leaq -0x270(%rbp), %r12
jne 0x4ccf
xorl %eax, %eax
cmpq $0x0, -0x90(%rbp)
je 0x4c14
movl -0x130(%rbp), %ecx
cmpl $-0x1, %ecx
je 0x4c14
leal 0x3f(%rcx), %edx
testl %ecx, %ecx
cmovnsl %ecx, %edx
sarl $0x6, %edx
movslq %edx, %rdx
movq -0x90(%rbp), %rsi
movq (%rsi,%rdx,8), %rdx
btq %rcx, %rdx
jae 0x4c14
leaq -0x130(%rbp), %rdi
movq -0x30(%rbp), %rsi
callq 0x3b0a
testl %eax, %eax
js 0x4e51
cmpl $0x0, -0xf0(%rbp)
jne 0x4ccf
cmpl $0x0, -0x48(%rbp)
jne 0x4c28
movq -0x58(%rbp), %rcx
cmpl $0x0, -0x34(%rbp)
je 0x4426
orl %r14d, %eax
movq -0x58(%rbp), %rax
movl %eax, %ecx
jne 0x4426
jmp 0x4ccf
movl -0xf8(%rbp), %edi
testl %edi, %edi
js 0x51c8
leaq -0x1500(%rbp), %rsi
movl $0xfff, %edx            # imm = 0xFFF
callq 0x2200
jmp 0x4ccf
xorl %ecx, %ecx
movl $0x0, %esi
testq %rax, %rax
je 0x4c6d
movl (%rax), %esi
incl %esi
testq %rdx, %rdx
je 0x4c76
movl (%rdx), %ecx
incl %ecx
addl %esi, %ecx
leaq 0x643d(%rip), %rdi      # 0xb0bc
leaq 0x6fa8(%rip), %rdx      # 0xbc2e
movl $0x25b, %esi            # imm = 0x25B
xorl %eax, %eax
callq 0x9818
callq 0x2080
movl $0xb, (%rax)
cmpl $0xb, (%rax)
je 0x4ccf
leaq 0x6e88(%rip), %rdi      # 0xbb31
leaq 0x640c(%rip), %rsi      # 0xb0bc
leaq 0x6ba0(%rip), %rcx      # 0xb857
movl $0x3d1, %edx            # imm = 0x3D1
callq 0x21b0
movq -0x40(%rbp), %rax
cmpl $0x0, 0x54(%rax)
je 0x5282
cmpl $0x0, -0x190(%rbp)
js 0x4cf3
leaq -0x190(%rbp), %rbx
movq %rbx, %rdi
callq 0x3284
movl 0x34(%rbx), %eax
cmpl 0x30(%rbx), %eax
jne 0x518a
cmpl $0x0, -0x1f0(%rbp)
js 0x4d17
leaq -0x1f0(%rbp), %rbx
movq %rbx, %rdi
callq 0x3284
movl 0x34(%rbx), %eax
cmpl 0x30(%rbx), %eax
jne 0x51a9
cmpl $0x0, -0x13c(%rbp)
je 0x4d2c
leaq -0x178(%rbp), %rdi
callq 0x75b8
cmpl $0x0, -0x19c(%rbp)
je 0x4d41
leaq -0x1d8(%rbp), %rdi
callq 0x75b8
movq -0x30(%rbp), %rdi
callq 0x393e
movq %r15, %rdi
callq 0x2060
leaq -0x80(%rbp), %rdi
callq 0x9af1
leaq -0x130(%rbp), %rdi
callq 0x2f46
movq -0xb8(%rbp), %rdi
callq 0x2060
xorl %eax, %eax
addq $0x14d8, %rsp           # imm = 0x14D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl %r15d, %edi
callq 0x28a8
jmp 0x4db8
leaq 0x6324(%rip), %rdi      # 0xb0bc
leaq 0x6f86(%rip), %rdx      # 0xbd25
leaq 0xc45a(%rip), %rcx      # 0x11200
movl $0x4ee, %esi            # imm = 0x4EE
movl %r15d, %r8d
xorl %eax, %eax
callq 0x9818
movl %r15d, (%rbx)
leaq 0xc441(%rip), %rdi      # 0x11200
callq 0x2300
leaq 0x62f1(%rip), %rdi      # 0xb0bc
leaq 0x68a0(%rip), %rdx      # 0xb672
movl $0x4b0, %esi            # imm = 0x4B0
xorl %eax, %eax
callq 0x9818
movl $0x1, %eax
jmp 0x4d75
cmpl $0x0, 0x54(%r13)
jne 0x4ccf
leaq 0x6c30(%rip), %rdi      # 0xba27
leaq 0x62be(%rip), %rsi      # 0xb0bc
leaq 0x6a52(%rip), %rcx      # 0xb857
movl $0x35d, %edx            # imm = 0x35D
callq 0x21b0
cmpl $-0x1, %eax
jne 0x50e7
leaq -0x80(%rbp), %rsi
movq %r13, %rdi
callq 0x26ad
jmp 0x4ccf
cmpl $-0x1, %eax
jne 0x52a1
callq 0x2700
jmp 0x4ccf
leaq -0x80(%rbp), %rsi
leaq -0x110(%rbp), %rdi
callq 0x27d4
jmp 0x4ccf
cmpl $-0x1, %eax
jne 0x52c0
callq 0x2824
jmp 0x4ccf
movq -0x1500(%rbp), %rdx
leaq -0x500(%rbp), %rdi
movl %eax, %esi
callq 0x8c22
movq -0x40(%rbp), %rax
movq (%rax), %rdi
leaq -0x500(%rbp), %rsi
callq 0x52df
movl $0x1, %edi
callq 0x2340
movq -0x40(%rbp), %rax
movq (%rax), %rdi
leaq -0x500(%rbp), %rsi
callq 0x52df
xorl %edi, %edi
callq 0x2340
leaq 0x6822(%rip), %rdi      # 0xb6d9
leaq 0x61fe(%rip), %rsi      # 0xb0bc
leaq 0x67e2(%rip), %rcx      # 0xb6a7
movl $0x482, %edx            # imm = 0x482
callq 0x21b0
leaq 0x6803(%rip), %rdi      # 0xb6d9
leaq 0x61df(%rip), %rsi      # 0xb0bc
leaq 0x67c3(%rip), %rcx      # 0xb6a7
movl $0x484, %edx            # imm = 0x484
callq 0x21b0
leaq 0x67e4(%rip), %rdi      # 0xb6d9
leaq 0x61c0(%rip), %rsi      # 0xb0bc
leaq 0x67a4(%rip), %rcx      # 0xb6a7
movl $0x487, %edx            # imm = 0x487
callq 0x21b0
leaq 0x69f2(%rip), %rdi      # 0xb906
leaq 0x61a1(%rip), %rsi      # 0xb0bc
leaq 0x6935(%rip), %rcx      # 0xb857
movl $0x29a, %edx            # imm = 0x29A
callq 0x21b0
leaq 0x69e1(%rip), %rdi      # 0xb914
leaq 0x6182(%rip), %rsi      # 0xb0bc
leaq 0x6916(%rip), %rcx      # 0xb857
movl $0x2e6, %edx            # imm = 0x2E6
callq 0x21b0
leaq 0x6a5d(%rip), %rdi      # 0xb9af
leaq 0x6163(%rip), %rsi      # 0xb0bc
leaq 0x6d4c(%rip), %rcx      # 0xbcac
movl $0x4e7, %edx            # imm = 0x4E7
callq 0x21b0
movq %rax, %rsi
callq 0x266c
leaq 0x7b26(%rip), %rdi      # 0xca9f
leaq 0x613c(%rip), %rsi      # 0xb0bc
leaq 0x6c41(%rip), %rcx      # 0xbbc8
movl $0x234, %edx            # imm = 0x234
callq 0x21b0
movq %rax, %rsi
callq 0x2793
movq %rax, %rsi
callq 0x2752
movq %rax, %rsi
callq 0x25ea
movq %rax, %rsi
callq 0x262b
leaq 0x6104(%rip), %rdi      # 0xb0bc
leaq 0x66c9(%rip), %rdx      # 0xb688
movl $0x47c, %esi            # imm = 0x47C
xorl %eax, %eax
callq 0x9818
jmp 0x4e8c
leaq 0x60e5(%rip), %rdi      # 0xb0bc
leaq 0x6709(%rip), %rdx      # 0xb6e7
movl $0x490, %esi            # imm = 0x490
xorl %eax, %eax
callq 0x9818
jmp 0x4e79
leaq 0x6d7f(%rip), %rdi      # 0xbd75
leaq 0x60bf(%rip), %rsi      # 0xb0bc
leaq 0x6ca8(%rip), %rcx      # 0xbcac
movl $0x4fd, %edx            # imm = 0x4FD
callq 0x21b0
leaq 0x6d74(%rip), %rdi      # 0xbd89
leaq 0x60a0(%rip), %rsi      # 0xb0bc
leaq 0x6c89(%rip), %rcx      # 0xbcac
movl $0x4ff, %edx            # imm = 0x4FF
callq 0x21b0
leaq 0x6a88(%rip), %rdi      # 0xbabc
leaq 0x6081(%rip), %rsi      # 0xb0bc
leaq 0x6c6a(%rip), %rcx      # 0xbcac
movl $0x502, %edx            # imm = 0x502
callq 0x21b0
leaq 0x6800(%rip), %rdi      # 0xb853
leaq 0x6062(%rip), %rsi      # 0xb0bc
leaq 0x67f6(%rip), %rcx      # 0xb857
movl $0x27a, %edx            # imm = 0x27A
callq 0x21b0
leaq 0x682c(%rip), %rdi      # 0xb89e
leaq 0x6043(%rip), %rsi      # 0xb0bc
leaq 0x67d7(%rip), %rcx      # 0xb857
movl $0x27e, %edx            # imm = 0x27E
callq 0x21b0
leaq 0x6821(%rip), %rdi      # 0xb8b2
leaq 0x6024(%rip), %rsi      # 0xb0bc
leaq 0x67b8(%rip), %rcx      # 0xb857
movl $0x280, %edx            # imm = 0x280
callq 0x21b0
leaq 0x680f(%rip), %rdi      # 0xb8bf
leaq 0x6005(%rip), %rsi      # 0xb0bc
leaq 0x6799(%rip), %rcx      # 0xb857
movl $0x285, %edx            # imm = 0x285
callq 0x21b0
leaq 0x6804(%rip), %rdi      # 0xb8d3
leaq 0x5fe6(%rip), %rsi      # 0xb0bc
leaq 0x677a(%rip), %rcx      # 0xb857
movl $0x287, %edx            # imm = 0x287
callq 0x21b0
leaq 0x79b1(%rip), %rdi      # 0xca9f
leaq 0x5fc7(%rip), %rsi      # 0xb0bc
leaq 0x675b(%rip), %rcx      # 0xb857
movl $0x36b, %edx            # imm = 0x36B
callq 0x21b0
leaq 0x69af(%rip), %rdi      # 0xbabc
leaq 0x5fa8(%rip), %rsi      # 0xb0bc
leaq 0x673c(%rip), %rcx      # 0xb857
movl $0x37f, %edx            # imm = 0x37F
callq 0x21b0
leaq 0x699f(%rip), %rdi      # 0xbacb
leaq 0x5f89(%rip), %rsi      # 0xb0bc
leaq 0x671d(%rip), %rcx      # 0xb857
movl $0x39c, %edx            # imm = 0x39C
callq 0x21b0
leaq 0x6a6e(%rip), %rdi      # 0xbbb9
leaq 0x5f6a(%rip), %rsi      # 0xb0bc
leaq 0x6a6f(%rip), %rcx      # 0xbbc8
movl $0x225, %edx            # imm = 0x225
callq 0x21b0
leaq 0x7935(%rip), %rdi      # 0xca9f
leaq 0x5f4b(%rip), %rsi      # 0xb0bc
leaq 0x66df(%rip), %rcx      # 0xb857
movl $0x2d8, %edx            # imm = 0x2D8
callq 0x21b0
movq %rax, %rsi
callq 0x2867
leaq 0x69d2(%rip), %rdi      # 0xbb63
leaq 0x5f24(%rip), %rsi      # 0xb0bc
leaq 0x66b8(%rip), %rcx      # 0xb857
movl $0x418, %edx            # imm = 0x418
callq 0x21b0
leaq 0x69de(%rip), %rdi      # 0xbb8e
leaq 0x5f05(%rip), %rsi      # 0xb0bc
leaq 0x6699(%rip), %rcx      # 0xb857
movl $0x41e, %edx            # imm = 0x41E
callq 0x21b0
leaq 0x6765(%rip), %rdi      # 0xb934
leaq 0x5ee6(%rip), %rsi      # 0xb0bc
leaq 0x667a(%rip), %rcx      # 0xb857
movl $0x2eb, %edx            # imm = 0x2EB
callq 0x21b0
leaq 0x6a31(%rip), %rdi      # 0xbc1f
leaq 0x5ec7(%rip), %rsi      # 0xb0bc
leaq 0x69cc(%rip), %rcx      # 0xbbc8
movl $0x257, %edx            # imm = 0x257
callq 0x21b0
leaq 0x679d(%rip), %rdi      # 0xb9aa
leaq 0x5ea8(%rip), %rsi      # 0xb0bc
leaq 0x663c(%rip), %rcx      # 0xb857
movl $0x311, %edx            # imm = 0x311
callq 0x21b0
leaq 0x678c(%rip), %rdi      # 0xb9b8
leaq 0x5e89(%rip), %rsi      # 0xb0bc
leaq 0x661d(%rip), %rcx      # 0xb857
movl $0x321, %edx            # imm = 0x321
callq 0x21b0
leaq 0x6785(%rip), %rdi      # 0xb9d0
leaq 0x5e6a(%rip), %rsi      # 0xb0bc
leaq 0x65fe(%rip), %rcx      # 0xb857
movl $0x322, %edx            # imm = 0x322
callq 0x21b0
leaq 0x6733(%rip), %rdi      # 0xb99d
leaq 0x5e4b(%rip), %rsi      # 0xb0bc
leaq 0x65df(%rip), %rcx      # 0xb857
movl $0x30e, %edx            # imm = 0x30E
callq 0x21b0
leaq 0x6787(%rip), %rdi      # 0xba10
leaq 0x5e2c(%rip), %rsi      # 0xb0bc
leaq 0x65c0(%rip), %rcx      # 0xb857
movl $0x33f, %edx            # imm = 0x33F
callq 0x21b0
leaq 0x6707(%rip), %rdi      # 0xb9af
leaq 0x5e0d(%rip), %rsi      # 0xb0bc
leaq 0x65a1(%rip), %rcx      # 0xb857
movl $0x379, %edx            # imm = 0x379
callq 0x21b0
leaq 0x6039(%rip), %rdi      # 0xb300
leaq 0x5dee(%rip), %rsi      # 0xb0bc
leaq 0x6582(%rip), %rcx      # 0xb857
movl $0x3e2, %edx            # imm = 0x3E2
callq 0x21b0