// File: /workspace/github_c_makefile_star2_O3/aligrudi[P]gpss/gpss.c
// Function: main
int main(int argc, char *argv[])
{
	int P[NPT];
	int C1[NPT];
	int S1[NPT];
	int S2[NPT];
	int S3[NPT];
	int S4[NPT];
	int c1;
	int n1, n2, n3, n4;
	int rep = 0;		/* report the set of removed points */
	int i;
	for (i = 1; i < argc && argv[i][0] == '-'; i++) {
		if (argv[i][1] == 'r')
			rep = atoi(argv[i][2] ? argv[i] + 2 : argv[++i]);
	}
	data_read(stdin);
	for (i = 0; i < pt_n; i++)
		P[i] = i;
	c1 = gpss_linecover(C1, P);
	n1 = gpss_greedy(S1, P);
	n2 = gpss_greedymin(S2, P);
	n3 = gpss_greedymax(S3, P);
	n4 = gpss_main(S4, P);
	if (rep == 1)
		report(S1, n1);
	if (rep == 2)
		report(S2, n1);
	if (rep == 3)
		report(S3, n1);
	if (rep == 4)
		report(S4, n1);
	if (rep == 5)
		report(C1, c1);
	if (rep == 0)
		printf("%4d %8d %8d %8d %8d\n", pt_n, n4, n1, n2, n3);
	data_free();
	return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x3a9d8, %rsp          # imm = 0x3A9D8
xorl %eax, %eax
cmpl $0x2, %edi
jl 0x1205
movq %rsi, %rbx
movl %edi, %ebp
xorl %eax, %eax
movl $0x1, %r14d
movslq %r14d, %rcx
movq (%rbx,%rcx,8), %rdi
cmpb $0x2d, (%rdi)
jne 0x1205
cmpb $0x72, 0x1(%rdi)
jne 0x11fd
cmpb $0x0, 0x2(%rdi)
je 0x11ef
addq $0x2, %rdi
jmp 0x11f8
leal 0x1(%rcx), %r14d
movq 0x8(%rbx,%rcx,8), %rdi
callq 0x10a0
incl %r14d
cmpl %ebp, %r14d
jl 0x11d1
movl %eax, 0x4c(%rsp)
movq 0x3dd0(%rip), %rax      # 0x4fe0
movq (%rax), %rbx
leaq 0x50(%rsp), %rdi
movl $0x9c40, %edx           # imm = 0x9C40
xorl %esi, %esi
callq 0x1070
leaq 0x1e63(%rip), %rsi      # 0x308e
leaq 0x3e42(%rip), %rdx      # 0x5074
movq %rbx, %rdi
xorl %eax, %eax
callq 0x1050
cmpl $0x1, %eax
jne 0x14a1
movslq 0x3e28(%rip), %r12      # 0x5074
leaq (,%r12,8), %rdi
callq 0x1090
movq %rax, 0x3e18(%rip)      # 0x5078
leaq (,%r12,4), %rdi
callq 0x1090
movq %rax, %r14
movq %rax, 0x3e09(%rip)      # 0x5080
testq %r12, %r12
jle 0x1316
leaq 0x1e07(%rip), %r15      # 0x308e
xorl %r13d, %r13d
leaq (%r14,%r13,4), %rdx
movq %rbx, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x1050
movq 0x3dde(%rip), %r14      # 0x5080
movslq (%r14,%r13,4), %r12
leaq (,%r12,4), %rdi
callq 0x1090
movq 0x3dbe(%rip), %rcx      # 0x5078
movq %rax, (%rcx,%r13,8)
testq %r12, %r12
jle 0x1303
xorl %r12d, %r12d
xorl %ebp, %ebp
movq 0x3da9(%rip), %rax      # 0x5078
movq (%rax,%r13,8), %rdx
addq %r12, %rdx
movq %rbx, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x1050
cmpl $0x1, %eax
jne 0x14a1
incq %rbp
movq 0x3d8a(%rip), %r14      # 0x5080
movslq (%r14,%r13,4), %rax
addq $0x4, %r12
cmpq %rax, %rbp
jl 0x12c8
incq %r13
movslq 0x3d67(%rip), %r12      # 0x5074
cmpq %r12, %r13
jl 0x128a
movl $0x13880, %edi          # imm = 0x13880
callq 0x1090
movq %rax, %r15
movq %rax, 0x3d5e(%rip)      # 0x5088
movl $0x9c40, %edi           # imm = 0x9C40
callq 0x1090
movq %rax, %rbx
movq %rax, 0x3d52(%rip)      # 0x5090
testl %r12d, %r12d
jle 0x1378
movq 0x3d2e(%rip), %rax      # 0x5078
movl %r12d, %ecx
xorl %edx, %edx
cmpl $0x0, (%r14,%rdx,4)
jle 0x1370
movq (%rax,%rdx,8), %rsi
xorl %edi, %edi
movslq (%rsi,%rdi,4), %r8
incl (%rbx,%r8,4)
incq %rdi
movslq (%r14,%rdx,4), %r8
cmpq %r8, %rdi
jl 0x135c
incq %rdx
cmpq %rcx, %rdx
jne 0x134f
movdqa 0x1c90(%rip), %xmm0     # 0x3010
movdqa 0x1c98(%rip), %xmm1     # 0x3020
xorl %eax, %eax
pxor %xmm2, %xmm2
pcmpeqd %xmm3, %xmm3
movdqa 0x1c96(%rip), %xmm4     # 0x3030
movdqu (%rbx,%rax,4), %xmm5
pcmpeqd %xmm2, %xmm5
movdqa %xmm1, %xmm6
psubq %xmm3, %xmm6
movd %xmm5, %ecx
notl %ecx
testb $0x1, %cl
je 0x13be
movd %xmm6, 0x3cb2(%rip)     # 0x5070
pxor %xmm3, %xmm5
pextrw $0x2, %xmm5, %ecx
testb $0x1, %cl
je 0x13d9
pshufd $0xee, %xmm6, %xmm6     # xmm6 = xmm6[2,3,2,3]
movd %xmm6, 0x3c97(%rip)     # 0x5070
movdqa %xmm0, %xmm6
psubq %xmm3, %xmm6
pextrw $0x4, %xmm5, %ecx
testb $0x1, %cl
je 0x13f3
movd %xmm6, 0x3c7d(%rip)     # 0x5070
pextrw $0x6, %xmm5, %ecx
testb $0x1, %cl
je 0x140a
pshufd $0xee, %xmm6, %xmm5     # xmm5 = xmm6[2,3,2,3]
movd %xmm5, 0x3c66(%rip)     # 0x5070
addq $0x4, %rax
paddq %xmm4, %xmm1
paddq %xmm4, %xmm0
cmpq $0x2710, %rax           # imm = 0x2710
jne 0x139a
movslq 0x3c47(%rip), %r13      # 0x5070
testq %r13, %r13
jle 0x144e
xorl %ebp, %ebp
movslq (%rbx,%rbp,4), %rdi
testq %rdi, %rdi
je 0x1446
shlq $0x2, %rdi
callq 0x1090
movq %rax, (%r15,%rbp,8)
incq %rbp
cmpq %rbp, %r13
jne 0x1430
testl %r12d, %r12d
jle 0x14a1
movq 0x3c1e(%rip), %rax      # 0x5078
xorl %ecx, %ecx
cmpl $0x0, (%r14,%rcx,4)
jle 0x1496
movq (%rax,%rcx,8), %rdx
xorl %esi, %esi
movslq (%rdx,%rsi,4), %rdi
movq (%r15,%rdi,8), %r8
movslq 0x50(%rsp,%rdi,4), %r9
leal 0x1(%r9), %r10d
movl %r10d, 0x50(%rsp,%rdi,4)
movl %ecx, (%r8,%r9,4)
incq %rsi
movslq (%r14,%rcx,4), %rdi
cmpq %rdi, %rsi
jl 0x1469
movl 0x3bde(%rip), %r12d     # 0x5074
incq %rcx
movslq %r12d, %rdx
cmpq %rdx, %rcx
jl 0x145c
movslq 0x3bc8(%rip), %rax      # 0x5070
movl %eax, %ebx
movq %rax, 0x8(%rsp)
testq %rax, %rax
jle 0x1545
leal 0x1(%rbx), %eax
andl $-0x2, %eax
leaq -0x1(%rbx), %rcx
movq %rcx, %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
movdqa 0x1b4c(%rip), %xmm1     # 0x3020
xorl %ecx, %ecx
movdqa 0x1b62(%rip), %xmm2     # 0x3040
pxor %xmm2, %xmm0
pcmpeqd %xmm3, %xmm3
movdqa 0x1b62(%rip), %xmm4     # 0x3050
movdqa %xmm1, %xmm5
pxor %xmm2, %xmm5
movdqa %xmm5, %xmm6
pcmpgtd %xmm0, %xmm6
pcmpeqd %xmm0, %xmm5
pshufd $0xf5, %xmm5, %xmm7     # xmm7 = xmm5[1,1,3,3]
pand %xmm6, %xmm7
pshufd $0xf5, %xmm6, %xmm5     # xmm5 = xmm6[1,1,3,3]
por %xmm7, %xmm5
movd %xmm5, %edx
notl %edx
testb $0x1, %dl
je 0x1523
movl %ecx, 0x50(%rsp,%rcx,4)
pxor %xmm3, %xmm5
pextrw $0x4, %xmm5, %edx
testb $0x1, %dl
je 0x1538
leal 0x1(%rcx), %edx
movl %edx, 0x54(%rsp,%rcx,4)
addq $0x2, %rcx
paddq %xmm4, %xmm1
cmpq %rcx, %rax
jne 0x14ee
movl 0x3b28(%rip), %r13d     # 0x5074
movslq %r13d, %rdi
movl $0x4, %esi
movq %rdi, 0x38(%rsp)
callq 0x1080
movq %rax, %r14
movl $0x4, %esi
movq 0x8(%rsp), %rdi
callq 0x1080
movq %rax, %r12
movq 0x3b16(%rip), %r15      # 0x5090
movq 0x3b07(%rip), %r10      # 0x5088
movq 0x3af8(%rip), %rax      # 0x5080
movq %rax, 0x30(%rsp)
movq 0x3ae4(%rip), %rax      # 0x5078
movq %rax, 0x20(%rsp)
movq $0x0, 0x18(%rsp)
movq %r10, 0x28(%rsp)
movl $0x4, %esi
movq 0x38(%rsp), %rdi
callq 0x1080
movq 0x28(%rsp), %r10
cmpl $0x0, 0x8(%rsp)
jle 0x1611
xorl %ecx, %ecx
movslq (%r15,%rcx,4), %rsi
testq %rsi, %rsi
jle 0x1609
movq (%r10,%rcx,8), %rdx
xorl %r8d, %r8d
xorl %edi, %edi
movslq (%rdx,%r8,4), %r9
cmpl $0x1, (%r14,%r9,4)
sbbl $-0x1, %edi
incq %r8
cmpq %r8, %rsi
jne 0x15d6
cmpl $0x1, %esi
jne 0x15f3
testl %edi, %edi
je 0x1643
testl %edi, %edi
jne 0x1609
xorl %edi, %edi
movslq (%rdx,%rdi,4), %r8
incl (%rax,%r8,4)
incq %rdi
cmpq %rdi, %rsi
jne 0x15f9
incq %rcx
cmpq %rbx, %rcx
jne 0x15c4
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
testl %r13d, %r13d
jle 0x1639
xorl %ecx, %ecx
movl (%rax,%rcx,4), %edx
testl %edx, %edx
jle 0x1631
testl %ebp, %ebp
js 0x162f
movl %ebp, %esi
cmpl (%rax,%rsi,4), %edx
jl 0x1631
movl %ecx, %ebp
incq %rcx
cmpq %rcx, %r13
jne 0x161d
movq %rax, %rdi
callq 0x1030
jmp 0x1653
movslq (%rdx), %rax
xorl %ecx, %ecx
cmpl $0x0, (%r14,%rax,4)
setne %cl
movl (%rdx,%rcx,4), %ebp
testl %ebp, %ebp
js 0x16ab
movl %ebp, %ecx
movl $0x1, (%r14,%rcx,4)
movq 0x18(%rsp), %rax
movl %ebp, 0x138d0(%rsp,%rax,4)
incq %rax
movq %rax, 0x18(%rsp)
movq 0x30(%rsp), %rax
movslq (%rax,%rcx,4), %rax
testq %rax, %rax
jle 0x15a7
movq 0x20(%rsp), %rdx
movq (%rdx,%rcx,8), %rcx
xorl %edx, %edx
movslq (%rcx,%rdx,4), %rsi
movl $0x1, (%r12,%rsi,4)
incq %rdx
cmpq %rdx, %rax
jne 0x1692
jmp 0x15a7
xorl %ecx, %ecx
movl $0x0, %ebp
movq 0x18(%rsp), %rax
testq %rax, %rax
movq 0x30(%rsp), %r13
je 0x1738
movl %eax, %eax
xorl %ecx, %ecx
xorl %edx, %edx
xorl %ebp, %ebp
movl 0x138d0(%rsp,%rdx,4), %r8d
movslq %r8d, %rdi
movslq (%r13,%rdi,4), %rsi
testq %rsi, %rsi
jle 0x172c
movq 0x20(%rsp), %r9
movq (%r9,%rdi,8), %rdi
movl $0x1, %r9d
xorl %r10d, %r10d
movslq (%rdi,%r10,4), %r11
cmpl $0x1, (%r12,%r11,4)
cmovel %ecx, %r9d
incq %r10
cmpq %r10, %rsi
jne 0x16f0
testl %r9d, %r9d
je 0x171f
xorl %r8d, %r8d
movslq (%rdi,%r8,4), %r9
decl (%r12,%r9,4)
incq %r8
cmpq %r8, %rsi
jne 0x170d
jmp 0x172c
movslq %ebp, %rsi
incl %ebp
movl %r8d, 0x138d0(%rsp,%rsi,4)
incq %rdx
cmpq %rax, %rdx
jne 0x16c9
addl %ebp, %ebp
xorl %ecx, %ecx
movl %ebp, 0x44(%rsp)
cmpl $0x0, 0x8(%rsp)
jle 0x1757
xorl %eax, %eax
xorl %ecx, %ecx
cmpl $0x1, (%r12,%rax,4)
adcl $0x0, %ecx
incq %rax
cmpq %rax, %rbx
jne 0x1747
movl %ecx, 0x48(%rsp)
movq %r14, %rdi
callq 0x1030
movq %r12, %rdi
callq 0x1030
movl $0x4, %esi
movq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x1080
movl $0x0, %ecx
movq %rcx, 0x10(%rsp)
testl %r14d, %r14d
jle 0x1836
xorl %ecx, %ecx
movq 0x20(%rsp), %r12
movq %rcx, 0x10(%rsp)
xorl %ecx, %ecx
movl 0x50(%rsp,%rcx,4), %edx
movslq %edx, %rdi
cmpl $0x0, (%rax,%rdi,4)
jne 0x17ff
movslq (%r15,%rdi,4), %rsi
testq %rsi, %rsi
jle 0x17f9
movq 0x28(%rsp), %r8
movq (%r8,%rdi,8), %r8
xorl %edi, %edi
movslq (%r8,%rdi,4), %r10
movslq (%r13,%r10,4), %r9
testq %r9, %r9
jle 0x17ef
movq (%r12,%r10,8), %r10
xorl %r11d, %r11d
xorl %ebp, %ebp
movslq (%r10,%r11,4), %r14
cmpl $0x1, (%rax,%r14,4)
sbbl $-0x1, %ebp
incq %r11
cmpq %r11, %r9
jne 0x17d6
cmpl $0x1, %ebp
ja 0x17fb
incq %rdi
cmpq %rsi, %rdi
jne 0x17bf
jmp 0x1809
xorl %edi, %edi
cmpl %esi, %edi
je 0x1809
incq %rcx
cmpq %rbx, %rcx
jne 0x179e
jmp 0x1836
testl %edx, %edx
js 0x1836
movl $0x1, (%rax,%rdx,4)
movq 0x10(%rsp), %rcx
movl %edx, 0x30d90(%rsp,%rcx,4)
incq %rcx
cmpq %rbx, %rcx
jne 0x1797
movq 0x8(%rsp), %rcx
movq %rcx, 0x10(%rsp)
movq %rax, %rdi
callq 0x1030
movl $0x4, %esi
movq 0x8(%rsp), %rdi
callq 0x1080
movq %rax, %rbx
leaq 0x27150(%rsp), %rdi
leaq 0x50(%rsp), %rsi
movq %rax, %rdx
callq 0x1eb1
movl %eax, 0x40(%rsp)
movq %rbx, %rdi
callq 0x1030
movslq 0x37f8(%rip), %rbx      # 0x5070
leaq (,%rbx,4), %rdi
callq 0x1090
movq %rax, %r15
testq %rbx, %rbx
movq %rbx, 0x8(%rsp)
movl $0x0, %esi
jle 0x1b5a
leal 0x3(%rbx), %eax
leaq -0x1(%rbx), %rcx
movq %rcx, %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
shrl $0x2, %eax
shlq $0x4, %rax
movdqa 0x1755(%rip), %xmm1     # 0x3010
movdqa 0x175d(%rip), %xmm2     # 0x3020
xorl %ecx, %ecx
movdqa 0x1773(%rip), %xmm3     # 0x3040
pxor %xmm3, %xmm0
pcmpeqd %xmm4, %xmm4
movdqa 0x1753(%rip), %xmm5     # 0x3030
movdqa %xmm2, %xmm6
pxor %xmm3, %xmm6
movdqa %xmm6, %xmm7
pcmpgtd %xmm0, %xmm7
pcmpeqd %xmm0, %xmm6
pshufd $0xf5, %xmm6, %xmm8     # xmm8 = xmm6[1,1,3,3]
pand %xmm7, %xmm8
pshufd $0xf5, %xmm7, %xmm6     # xmm6 = xmm7[1,1,3,3]
por %xmm8, %xmm6
movd %xmm6, %edx
notl %edx
testb $0x1, %dl
je 0x1919
movl $0x1, (%r15,%rcx)
pxor %xmm4, %xmm6
pextrw $0x4, %xmm6, %edx
testb $0x1, %dl
je 0x1930
movl $0x1, 0x4(%r15,%rcx)
movdqa %xmm1, %xmm6
pxor %xmm3, %xmm6
movdqa %xmm6, %xmm7
pcmpgtd %xmm0, %xmm7
pcmpeqd %xmm0, %xmm6
pshufd $0xf5, %xmm6, %xmm8     # xmm8 = xmm6[1,1,3,3]
pand %xmm7, %xmm8
pshufd $0xf5, %xmm7, %xmm6     # xmm6 = xmm7[1,1,3,3]
por %xmm8, %xmm6
pxor %xmm4, %xmm6
pextrw $0x0, %xmm6, %edx
testb $0x1, %dl
je 0x1970
movl $0x1, 0x8(%r15,%rcx)
pextrw $0x4, %xmm6, %edx
testb $0x1, %dl
je 0x1983
movl $0x1, 0xc(%r15,%rcx)
paddq %xmm5, %xmm2
paddq %xmm5, %xmm1
addq $0x10, %rcx
cmpq %rcx, %rax
jne 0x18dd
movslq 0x36d5(%rip), %rax      # 0x5074
movq %rax, 0x38(%rsp)
movq 0x36e5(%rip), %rax      # 0x5090
movq %rax, 0x18(%rsp)
movq 0x36d1(%rip), %rax      # 0x5088
movq %rax, 0x28(%rsp)
movq 0x36bd(%rip), %rbp      # 0x5080
xorl %ecx, %ecx
movq 0x36ac(%rip), %r12      # 0x5078
movq %rcx, 0x20(%rsp)
movl $0x4, %esi
movq 0x38(%rsp), %rdi
callq 0x1080
movq %rax, %rbx
movl $0x4, %esi
movq 0x8(%rsp), %rdi
callq 0x1080
movq %rax, %r14
movl $0x4, %esi
movq 0x8(%rsp), %rdi
callq 0x1080
movq 0x8(%rsp), %r11
movq %rax, %r13
xorl %eax, %eax
cmpl $0x0, (%r15,%rax,4)
je 0x1a3d
movq 0x18(%rsp), %rcx
movslq (%rcx,%rax,4), %rcx
testq %rcx, %rcx
jle 0x1a3d
movq 0x28(%rsp), %rdx
movq (%rdx,%rax,8), %rdx
xorl %esi, %esi
movslq (%rdx,%rsi,4), %rdi
incl (%rbx,%rdi,4)
incq %rsi
cmpq %rsi, %rcx
jne 0x1a2e
incq %rax
cmpq %r11, %rax
jne 0x1a0e
xorl %eax, %eax
movl $0x1, (%r13,%rax,4)
cmpl $0x0, (%r15,%rax,4)
je 0x1aba
movq 0x18(%rsp), %rcx
movslq (%rcx,%rax,4), %rcx
testq %rcx, %rcx
jle 0x1aba
movq 0x28(%rsp), %rdx
movq (%rdx,%rax,8), %rdx
xorl %esi, %esi
movslq (%rdx,%rsi,4), %rdi
cmpl $0x3, (%rbx,%rdi,4)
jl 0x1a83
movl $0x0, (%r13,%rax,4)
incq %rsi
cmpq %rsi, %rcx
jne 0x1a70
xorl %esi, %esi
movslq (%rdx,%rsi,4), %r8
movslq (%rbp,%r8,4), %rdi
testq %rdi, %rdi
jle 0x1ab2
movq (%r12,%r8,8), %r8
xorl %r9d, %r9d
movslq (%r8,%r9,4), %r10
incl (%r14,%r10,4)
incq %r9
cmpq %r9, %rdi
jne 0x1aa2
incq %rsi
cmpq %rcx, %rsi
jne 0x1a8d
incq %rax
cmpq %r11, %rax
jne 0x1a47
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
xorl %eax, %eax
movl 0x50(%rsp,%rax,4), %ecx
movslq %ecx, %rdx
cmpl $0x0, (%r15,%rdx,4)
je 0x1af1
cmpl $0x0, (%r13,%rdx,4)
jne 0x1af1
testl %edi, %edi
js 0x1aef
movl (%r14,%rdx,4), %edx
movl %edi, %esi
cmpl (%r14,%rsi,4), %edx
jle 0x1af1
movl %ecx, %edi
incq %rax
cmpq %rax, %r11
jne 0x1ac9
movl %edi, 0x30(%rsp)
movq %rbx, %rdi
callq 0x1030
movq %r14, %rdi
callq 0x1030
movq %r13, %rdi
callq 0x1030
movl 0x30(%rsp), %eax
movq 0x8(%rsp), %rdx
testl %eax, %eax
movq 0x20(%rsp), %rcx
js 0x1b3b
movl %eax, %eax
movl $0x0, (%r15,%rax,4)
incl %ecx
cmpl %edx, %ecx
jne 0x19cc
xorl %eax, %eax
xorl %esi, %esi
cmpl $0x0, (%r15,%rax,4)
je 0x1b52
movslq %esi, %rcx
incl %esi
movl %eax, 0x1d510(%rsp,%rcx,4)
incq %rax
cmpq %rax, %rdx
jne 0x1b3f
movl %esi, 0x20(%rsp)
movq %r15, %rdi
callq 0x1030
movl $0x4, %esi
movq 0x8(%rsp), %rdi
callq 0x1080
movq 0x8(%rsp), %r10
movq %rax, %r15
testl %r10d, %r10d
jle 0x1c65
movq 0x3503(%rip), %rax      # 0x5090
movq %rax, 0x18(%rsp)
movq 0x34ef(%rip), %rax      # 0x5088
movq %rax, 0x28(%rsp)
movq 0x34db(%rip), %rdx      # 0x5080
movq 0x34cc(%rip), %rsi      # 0x5078
xorl %edi, %edi
movslq 0x50(%rsp,%rdi,4), %r8
movq 0x18(%rsp), %rax
movslq (%rax,%r8,4), %r9
testq %r9, %r9
jle 0x1c2d
movq 0x28(%rsp), %rax
movq (%rax,%r8,8), %rbx
xorl %r12d, %r12d
xorl %r10d, %r10d
xorl %r11d, %r11d
movslq (%rbx,%r12,4), %r14
movslq (%rdx,%r14,4), %r13
testq %r13, %r13
jle 0x1c0e
movq (%rsi,%r14,8), %rbp
xorl %r14d, %r14d
movslq (%rbp,%r14,4), %rcx
movl (%r15,%rcx,4), %ecx
xorl %eax, %eax
cmpl $0x1, %ecx
sete %al
addl %eax, %r11d
xorl %eax, %eax
cmpl $0x2, %ecx
sete %al
addl %eax, %r10d
incq %r14
cmpq %r14, %r13
jne 0x1be7
incq %r12
cmpq %r9, %r12
jne 0x1bd3
cmpl %r10d, %r11d
jle 0x1c23
movl $0x2, (%r15,%r8,4)
cmpl %r11d, %r10d
movq 0x8(%rsp), %r10
jg 0x1c34
cmpl $0x0, (%r15,%r8,4)
jne 0x1c3c
movl $0x1, (%r15,%r8,4)
incq %rdi
cmpq %r10, %rdi
jne 0x1bae
xorl %eax, %eax
movslq 0x50(%rsp,%rax,4), %rcx
xorl %edx, %edx
cmpl $0x1, (%r15,%rcx,4)
sete %dl
movl %edx, (%r15,%rcx,4)
incq %rax
cmpq %rax, %r10
jne 0x1c4a
leaq 0x9c90(%rsp), %rsi
leaq 0x50(%rsp), %rdx
movq %r15, %rdi
callq 0x20c2
movslq 0x33ef(%rip), %rcx      # 0x5070
testq %rcx, %rcx
jle 0x1c9f
xorl %edx, %edx
xorl %esi, %esi
cmpl $0x0, (%r15,%rdx,4)
sete %sil
movl %esi, (%r15,%rdx,4)
incq %rdx
cmpq %rdx, %rcx
jne 0x1c88
movslq %eax, %r12
leaq (%rsp,%r12,4), %rbx
addq $0x9c90, %rbx           # imm = 0x9C90
leaq 0x50(%rsp), %rdx
movq %r15, %rdi
movq %rbx, %rsi
callq 0x20c2
movl %eax, %ebp
movslq 0x33aa(%rip), %rdx      # 0x5070
shlq $0x2, %rdx
movq %r15, %rdi
xorl %esi, %esi
callq 0x1070
addl %ebp, %r12d
jle 0x1cf6
movl %r12d, %eax
xorl %ecx, %ecx
movslq 0x9c90(%rsp,%rcx,4), %rdx
movl $0x1, (%r15,%rdx,4)
incq %rcx
cmpq %rcx, %rax
jne 0x1cde
movslq %ebp, %rax
leaq (%rbx,%rax,4), %rdi
leaq 0x50(%rsp), %rsi
movq %r15, %rdx
callq 0x1eb1
movl %eax, %ebx
movq %r15, %rdi
callq 0x1030
movl 0x4c(%rsp), %eax
cmpl $0x5, %eax
ja 0x1d89
movl %eax, %eax
leaq 0x133a(%rip), %rcx      # 0x3060
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
addl %r12d, %ebx
movl 0x3338(%rip), %esi      # 0x5070
leaq 0x1339(%rip), %rdi      # 0x3078
movl %ebx, %edx
movq 0x10(%rsp), %rcx
movl 0x40(%rsp), %r8d
movl 0x20(%rsp), %r9d
xorl %eax, %eax
callq 0x1060
jmp 0x1d89
leaq 0x9c90(%rsp), %rdi
jmp 0x1d7f
leaq 0x27150(%rsp), %rdi
jmp 0x1d7f
leaq 0x1d510(%rsp), %rdi
jmp 0x1d7f
leaq 0x30d90(%rsp), %rdi
movq 0x10(%rsp), %rsi
callq 0x1e18
cmpl $0x0, 0x32e4(%rip)      # 0x5074
jle 0x1db4
movq 0x32df(%rip), %rbx      # 0x5078
xorl %r14d, %r14d
movq (%rbx,%r14,8), %rdi
callq 0x1030
incq %r14
movslq 0x32c5(%rip), %rax      # 0x5074
cmpq %rax, %r14
jl 0x1d9c
movslq 0x32b5(%rip), %r14      # 0x5070
movq 0x32c6(%rip), %rbx      # 0x5088
testq %r14, %r14
jle 0x1ddb
xorl %r15d, %r15d
movq (%rbx,%r15,8), %rdi
callq 0x1030
incq %r15
cmpq %r15, %r14
jne 0x1dca
movq 0x3296(%rip), %rdi      # 0x5078
callq 0x1030
movq %rbx, %rdi
callq 0x1030
xorl %eax, %eax
addq $0x3a9d8, %rsp          # imm = 0x3A9D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl 0x48(%rsp), %esi
addl 0x44(%rsp), %esi
leaq 0x138d0(%rsp), %rdi
jmp 0x1d84