// File: /workspace/github_c_makefile_star2_O3/aligrudi[P]gpss/datran.c
// Function: main
int main(int argc, char *argv[])
{
	int npt = 100;
	int nln = 100;
	int cnt = 3;
	int seed = 0;
	int i;
	for (i = 1; i < argc && argv[i][0] == '-'; i++) {
		if (argv[i][1] == 's')
			seed = atoi(argv[i][2] ? argv[i] + 2 : argv[++i]);
	}
	if (i < argc)
		npt = atoi(argv[i]);
	if (i + 1 < argc)
		nln = atoi(argv[i + 1]);
	if (i + 2 < argc)
		cnt = atoi(argv[i + 2]);
	srand(seed);
	pt_init(nln, npt);
	testrand(cnt);
	pt_print();
	return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movl %edi, %r15d
movl $0x64, %ebx
cmpl $0x2, %edi
jl 0x11d6
xorl %r12d, %r12d
movl $0x1, %ebp
movslq %ebp, %rax
movq (%r14,%rax,8), %rdi
cmpb $0x2d, (%rdi)
jne 0x11e6
cmpb $0x73, 0x1(%rdi)
jne 0x11cd
cmpb $0x0, 0x2(%rdi)
je 0x11bd
addq $0x2, %rdi
jmp 0x11c5
leal 0x1(%rax), %ebp
movq 0x8(%r14,%rax,8), %rdi
callq 0x1060
movl %eax, %r12d
incl %ebp
cmpl %r15d, %ebp
jl 0x119f
jmp 0x11de
movl $0x1, %ebp
xorl %r12d, %r12d
movl $0x64, %r13d
jmp 0x11ee
callq 0x1060
movl %eax, %r13d
leal 0x1(%rbp), %eax
cmpl %r15d, %eax
jge 0x1203
cltq
movq (%r14,%rax,8), %rdi
callq 0x1060
movl %eax, %ebx
addl $0x2, %ebp
movl $0x3, %eax
cmpl %r15d, %ebp
jge 0x121c
movslq %ebp, %rax
movq (%r14,%rax,8), %rdi
callq 0x1060
movl %eax, 0x4(%rsp)
movl %r12d, %edi
callq 0x1050
movl %ebx, 0x2e32(%rip)      # 0x4060
movl %r13d, 0x2e2f(%rip)     # 0x4064
imull 0x4(%rsp), %r13d
testl %r13d, %r13d
jle 0x133e
xorl %r15d, %r15d
leaq 0x3dc2(%rip), %r13      # 0x5010
leaq 0x1316abb(%rip), %r12   # 0x1317d10
movb $0x1, %bpl
callq 0x1070
cltd
idivl 0x2e00(%rip)            # 0x4064
movl %edx, %r14d
callq 0x1070
movl 0x2dee(%rip), %ebx      # 0x4060
cltd
idivl %ebx
movslq %edx, %rcx
movslq %r14d, %rax
leaq 0x2dee(%rip), %rsi      # 0x4070
movslq (%rsi,%rax,4), %rsi
testq %rsi, %rsi
jle 0x12e6
imulq $0x4e20, %rax, %rdi     # imm = 0x4E20
imulq $0x2710, %rcx, %r8      # imm = 0x2710
addq %r12, %r8
xorl %r9d, %r9d
leaq (%rdi,%r9,2), %r10
movswl (%r13,%r10), %r10d
cmpl %r10d, %edx
je 0x1327
movslq %r10d, %r10
cmpb $0x0, (%r10,%r8)
jne 0x1327
incq %r9
cmpq %r9, %rsi
jne 0x129f
xorl %edx, %edx
leaq (%rdi,%rdx,2), %r9
movswq (%r13,%r9), %r9
imulq $0x2710, %r9, %r10      # imm = 0x2710
addq %r12, %r10
movb %bpl, (%rcx,%r10)
movb %bpl, (%r9,%r8)
incq %rdx
cmpq %rdx, %rsi
jne 0x12c2
leal 0x1(%rsi), %edx
leaq 0x2d80(%rip), %rdi      # 0x4070
movl %edx, (%rdi,%rax,4)
imulq $0x4e20, %rax, %rdx     # imm = 0x4E20
addq %r13, %rdx
movw %cx, (%rdx,%rsi,2)
leaq 0x8587808(%rip), %rdi   # 0x8588b10
movslq (%rdi,%rcx,4), %rdx
leal 0x1(%rdx), %esi
movl %esi, (%rdi,%rcx,4)
imulq $0x7d0, %rcx, %rcx      # imm = 0x7D0
leaq 0x7274af0(%rip), %rsi   # 0x7275e10
addq %rsi, %rcx
movw %ax, (%rcx,%rdx,2)
incl %r15d
movl 0x2d34(%rip), %eax      # 0x4064
imull 0x4(%rsp), %eax
cmpl %eax, %r15d
jl 0x1258
testl %ebx, %ebx
jle 0x136a
movl %ebx, %eax
shlq $0x2, %rax
xorl %ecx, %ecx
leaq 0x85877bf(%rip), %rdx   # 0x8588b10
xorl %esi, %esi
xorl %edi, %edi
cmpl $0x3, (%rcx,%rdx)
setge %dil
addl %edi, %esi
addq $0x4, %rcx
cmpq %rcx, %rax
jne 0x1353
jmp 0x136c
xorl %esi, %esi
leaq 0xc91(%rip), %rdi       # 0x2004
xorl %eax, %eax
callq 0x1040
movl 0x2ce0(%rip), %eax      # 0x4060
testl %eax, %eax
jle 0x13fc
leaq 0x7274a85(%rip), %r15   # 0x7275e10
leaq 0x858777e(%rip), %r12   # 0x8588b10
leaq 0xc70(%rip), %rbx       # 0x2009
leaq 0xc68(%rip), %r14       # 0x2008
xorl %r13d, %r13d
movl (%r12,%r13,4), %esi
cmpl $0x3, %esi
jl 0x13ea
movq %rbx, %rdi
xorl %eax, %eax
callq 0x1040
cmpl $0x0, (%r12,%r13,4)
jle 0x13da
xorl %ebp, %ebp
movswl (%r15,%rbp,2), %esi
movq %r14, %rdi
xorl %eax, %eax
callq 0x1040
incq %rbp
movslq (%r12,%r13,4), %rax
cmpq %rax, %rbp
jl 0x13bf
movl $0xa, %edi
callq 0x1030
movl 0x2c76(%rip), %eax      # 0x4060
incq %r13
movslq %eax, %rcx
addq $0x7d0, %r15            # imm = 0x7D0
cmpq %rcx, %r13
jl 0x13a3
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq