// File: /workspace/github_c_makefile_star2_O1/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
movl %ebx, 0x4(%rsp)
addl $0x2, %ebp
movl $0x3, %ebx
cmpl %r15d, %ebp
jge 0x1222
movslq %ebp, %rax
movq (%r14,%rax,8), %rdi
callq 0x1060
movl %eax, %ebx
movl %r12d, %edi
callq 0x1050
movl 0x4(%rsp), %eax
movl %eax, 0x2e2c(%rip)      # 0x4060
movl %r13d, 0x2e29(%rip)     # 0x4064
imull %ebx, %r13d
testl %r13d, %r13d
jle 0x133b
xorl %r14d, %r14d
leaq 0x3dbe(%rip), %r12      # 0x5010
leaq 0x1316ab7(%rip), %r13   # 0x1317d10
movb $0x1, %r15b
callq 0x1070
cltd
idivl 0x2dfc(%rip)            # 0x4064
movl %edx, %ebp
callq 0x1070
cltd
idivl 0x2dea(%rip)            # 0x4060
movslq %edx, %rcx
movslq %ebp, %rax
leaq 0x2ded(%rip), %rsi      # 0x4070
movslq (%rsi,%rax,4), %rsi
testq %rsi, %rsi
jle 0x12e5
imulq $0x4e20, %rax, %rdi     # imm = 0x4E20
imulq $0x2710, %rcx, %r8      # imm = 0x2710
addq %r13, %r8
xorl %r9d, %r9d
leaq (%rdi,%r9,2), %r10
movswl (%r12,%r10), %r10d
cmpl %r10d, %edx
je 0x1326
movslq %r10d, %r10
cmpb $0x0, (%r10,%r8)
jne 0x1326
incq %r9
cmpq %r9, %rsi
jne 0x12a0
xorl %edx, %edx
leaq (%rdi,%rdx,2), %r9
movswq (%r12,%r9), %r9
imulq $0x2710, %r9, %r10      # imm = 0x2710
addq %r13, %r10
movb %r15b, (%rcx,%r10)
movb %r15b, (%r9,%r8)
incq %rdx
cmpq %rdx, %rsi
jne 0x12c2
leal 0x1(%rsi), %edx
leaq 0x2d81(%rip), %rdi      # 0x4070
movl %edx, (%rdi,%rax,4)
imulq $0x4e20, %rax, %rdx     # imm = 0x4E20
addq %r12, %rdx
movw %cx, (%rdx,%rsi,2)
leaq 0x8587809(%rip), %rdi   # 0x8588b10
movslq (%rdi,%rcx,4), %rdx
leal 0x1(%rdx), %esi
movl %esi, (%rdi,%rcx,4)
imulq $0x7d0, %rcx, %rcx      # imm = 0x7D0
leaq 0x7274af1(%rip), %rsi   # 0x7275e10
addq %rsi, %rcx
movw %ax, (%rcx,%rdx,2)
incl %r14d
movl 0x2d35(%rip), %eax      # 0x4064
imull %ebx, %eax
cmpl %eax, %r14d
jl 0x125c
movslq 0x2d1e(%rip), %rax      # 0x4060
leaq 0x85877c7(%rip), %r15   # 0x8588b10
testq %rax, %rax
jle 0x136d
shlq $0x2, %rax
xorl %ecx, %ecx
xorl %esi, %esi
xorl %edx, %edx
cmpl $0x3, (%rcx,%r15)
setge %dl
addl %edx, %esi
addq $0x4, %rcx
cmpq %rcx, %rax
jne 0x1356
jmp 0x136f
xorl %esi, %esi
leaq 0xc8e(%rip), %rdi       # 0x2004
xorl %eax, %eax
callq 0x1040
cmpl $0x0, 0x2cdc(%rip)      # 0x4060
jle 0x13f5
leaq 0x7274a83(%rip), %r12   # 0x7275e10
leaq 0xc75(%rip), %rbx       # 0x2009
leaq 0xc6d(%rip), %r14       # 0x2008
xorl %r13d, %r13d
movl (%r15,%r13,4), %esi
cmpl $0x3, %esi
jl 0x13df
movq %rbx, %rdi
xorl %eax, %eax
callq 0x1040
cmpl $0x0, (%r15,%r13,4)
jle 0x13d5
xorl %ebp, %ebp
movswl (%r12,%rbp,2), %esi
movq %r14, %rdi
xorl %eax, %eax
callq 0x1040
incq %rbp
movslq (%r15,%r13,4), %rax
cmpq %rax, %rbp
jl 0x13ba
movl $0xa, %edi
callq 0x1030
incq %r13
movslq 0x2c77(%rip), %rax      # 0x4060
addq $0x7d0, %r12            # imm = 0x7D0
cmpq %rax, %r13
jl 0x139e
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq