// File: /workspace/github_c_makefile_star2_O2/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
subq $0x18, %rsp
movq %rsi, %r13
movl %edi, %ebp
pushq $0x1
popq %rbx
xorl %r15d, %r15d
pushq $0x64
popq %r12
cmpl %ebp, %ebx
jge 0x11cf
movslq %ebx, %rax
movq (%r13,%rax,8), %rdi
cmpb $0x2d, (%rdi)
jne 0x11d4
cmpb $0x73, 0x1(%rdi)
jne 0x11cb
cmpb $0x0, 0x2(%rdi)
je 0x11bc
addq $0x2, %rdi
jmp 0x11c3
incl %ebx
movq 0x8(%r13,%rax,8), %rdi
callq 0x1060
movl %eax, %r15d
incl %ebx
jmp 0x1199
movq %r12, %r14
jmp 0x11df
movq %r12, %r14
callq 0x1060
movl %eax, %r12d
leal 0x1(%rbx), %eax
cmpl %ebp, %eax
jge 0x11f5
cltq
movq (%r13,%rax,8), %rdi
callq 0x1060
movl %eax, %r14d
addl $0x2, %ebx
cmpl %ebp, %ebx
jge 0x120b
movslq %ebx, %rax
movq (%r13,%rax,8), %rdi
callq 0x1060
jmp 0x120e
pushq $0x3
popq %rax
movl %eax, 0xc(%rsp)
movl %r15d, %edi
callq 0x1050
movl %r14d, 0x2e3f(%rip)     # 0x4060
movl %r12d, 0x2e3c(%rip)     # 0x4064
xorl %eax, %eax
leaq 0x3ddf(%rip), %rbx      # 0x5010
leaq 0x7274bd8(%rip), %r13   # 0x7275e10
leaq 0x1316ad1(%rip), %rbp   # 0x1317d10
movb $0x1, %r15b
imull 0xc(%rsp), %r12d
cmpl %r12d, %eax
jge 0x1339
movq %rax, 0x10(%rsp)
callq 0x1070
cltd
idivl 0x2e02(%rip)            # 0x4064
movl %edx, %r14d
callq 0x1070
movl 0x2def(%rip), %r12d     # 0x4060
cltd
idivl %r12d
movslq %edx, %rcx
movslq %r14d, %rax
leaq 0x2dee(%rip), %rsi      # 0x4070
movslq (%rsi,%rax,4), %rsi
testl %esi, %esi
movl $0x0, %r8d
cmovgl %esi, %r8d
imulq $0x4e20, %rax, %rdi     # imm = 0x4E20
imulq $0x2710, %rcx, %r9      # imm = 0x2710
addq %rbp, %r9
xorl %r10d, %r10d
cmpq %r10, %r8
je 0x12c8
leaq (%rdi,%r10,2), %r11
movswl (%rbx,%r11), %r11d
cmpl %r11d, %edx
je 0x1323
movslq %r11d, %r11
incq %r10
cmpb $0x0, (%r11,%r9)
je 0x12a6
jmp 0x1323
xorl %edx, %edx
cmpq %rdx, %r8
je 0x12ef
leaq (%rdi,%rdx,2), %r10
movswq (%rbx,%r10), %r10
imulq $0x2710, %r10, %r11     # imm = 0x2710
addq %rbp, %r11
movb %r15b, (%rcx,%r11)
movb %r15b, (%r10,%r9)
incq %rdx
jmp 0x12ca
leal 0x1(%rsi), %edx
leaq 0x2d77(%rip), %r8       # 0x4070
movl %edx, (%r8,%rax,4)
addq %rbx, %rdi
movw %cx, (%rdi,%rsi,2)
leaq 0x8587805(%rip), %rdi   # 0x8588b10
movslq (%rdi,%rcx,4), %rdx
leal 0x1(%rdx), %esi
movl %esi, (%rdi,%rcx,4)
imulq $0x7d0, %rcx, %rcx      # imm = 0x7D0
addq %r13, %rcx
movw %ax, (%rcx,%rdx,2)
movq %r12, %r14
movq 0x10(%rsp), %rax
incl %eax
movl 0x2d30(%rip), %r12d     # 0x4064
jmp 0x1242
xorl %eax, %eax
testl %r14d, %r14d
cmovlel %eax, %r14d
shlq $0x2, %r14
xorl %esi, %esi
leaq 0x85877c1(%rip), %rdx   # 0x8588b10
cmpq %rax, %r14
je 0x1365
xorl %ecx, %ecx
cmpl $0x3, (%rax,%rdx)
setge %cl
addl %ecx, %esi
addq $0x4, %rax
jmp 0x134f
leaq 0xc98(%rip), %rdi       # 0x2004
xorl %eax, %eax
callq 0x1040
movl 0x2ce7(%rip), %eax      # 0x4060
leaq 0xc89(%rip), %rbx       # 0x2009
leaq 0xc81(%rip), %r14       # 0x2008
pushq $0xa
popq %rbp
xorl %r15d, %r15d
movslq %eax, %rcx
cmpq %rcx, %r15
jge 0x13f0
leaq 0x8587774(%rip), %rcx   # 0x8588b10
movl (%rcx,%r15,4), %esi
cmpl $0x3, %esi
jl 0x13e4
movq %rbx, %rdi
xorl %eax, %eax
callq 0x1040
xorl %r12d, %r12d
leaq 0x8587757(%rip), %rax   # 0x8588b10
movslq (%rax,%r15,4), %rax
cmpq %rax, %r12
jge 0x13d7
movswl (%r13,%r12,2), %esi
movq %r14, %rdi
xorl %eax, %eax
callq 0x1040
incq %r12
jmp 0x13b2
movl %ebp, %edi
callq 0x1030
movl 0x2c7c(%rip), %eax      # 0x4060
incq %r15
addq $0x7d0, %r13            # imm = 0x7D0
jmp 0x138d
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq