// File: /workspace/github_c_makefile_star2_O0/odknt[P]st/x.c
// Function: main
int
main(int argc, char *argv[])
{
	xw.l = xw.t = 0;
	xw.isfixed = False;
	xsetcursor(cursorshape);

	ARGBEGIN {
	case 'a':
		allowaltscreen = 0;
		break;
	case 'c':
		opt_class = EARGF(usage());
		break;
	case 'e':
		if (argc > 0)
			--argc, ++argv;
		goto run;
	case 'f':
		opt_font = EARGF(usage());
		break;
	case 'g':
		xw.gm = XParseGeometry(EARGF(usage()),
				&xw.l, &xw.t, &cols, &rows);
		break;
	case 'i':
		xw.isfixed = 1;
		break;
	case 'o':
		opt_io = EARGF(usage());
		break;
	case 'l':
		opt_line = EARGF(usage());
		break;
	case 'n':
		opt_name = EARGF(usage());
		break;
	case 't':
	case 'T':
		opt_title = EARGF(usage());
		break;
	case 'w':
		opt_embed = EARGF(usage());
		break;
	case 'v':
		die("%s " VERSION "\n", argv0);
		break;
	default:
		usage();
	} ARGEND;

run:
	if (argc > 0) /* eat all remaining arguments */
		opt_cmd = argv;

	if (!opt_title)
		opt_title = (opt_line || !opt_cmd) ? "st" : opt_cmd[0];

	setlocale(LC_CTYPE, "");
	XSetLocaleModifiers("");
	cols = MAX(cols, 1);
	rows = MAX(rows, 1);
	addcleanfunc(stoploop);
	tnew(cols, rows);
	xinit(cols, rows);
	xsetenv();
	selinit();
	run();
	cleanup();

	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movl $0x0, -0x4(%rbp)
movl %edi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl $0x0, 0x12b39(%rip)     # 0x2268c
movl $0x0, 0x12b2b(%rip)     # 0x22688
movl $0x0, 0x12b1d(%rip)     # 0x22684
movl 0xa763(%rip), %edi      # 0x1a2d0
callq 0xf850
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, 0x12b78(%rip)     # 0x226f8
movq -0x10(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x10(%rbp)
movl -0x8(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x8(%rbp)
movq -0x10(%rbp), %rcx
xorl %eax, %eax
cmpq $0x0, (%rcx)
movb %al, -0x29(%rbp)
je 0xfbcc
movq -0x10(%rbp), %rax
movq (%rax), %rax
movsbl (%rax), %ecx
xorl %eax, %eax
cmpl $0x2d, %ecx
movb %al, -0x29(%rbp)
jne 0xfbcc
movq -0x10(%rbp), %rax
movq (%rax), %rax
movsbl 0x1(%rax), %eax
cmpl $0x0, %eax
setne %al
movb %al, -0x29(%rbp)
movb -0x29(%rbp), %al
testb $0x1, %al
jne 0xfbd8
jmp 0x1027b
movq -0x10(%rbp), %rax
movq (%rax), %rax
movsbl 0x1(%rax), %eax
cmpl $0x2d, %eax
jne 0xfc12
movq -0x10(%rbp), %rax
movq (%rax), %rax
movsbl 0x2(%rax), %eax
cmpl $0x0, %eax
jne 0xfc12
movq -0x10(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x10(%rbp)
movl -0x8(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x8(%rbp)
jmp 0x1027b
movl $0x1, -0x28(%rbp)
movl $0x0, -0x24(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movslq -0x28(%rbp), %rcx
movsbl (%rax,%rcx), %ecx
xorl %eax, %eax
cmpl $0x0, %ecx
movb %al, -0x2a(%rbp)
je 0xfc4d
cmpl $0x0, -0x24(%rbp)
setne %al
xorb $-0x1, %al
movb %al, -0x2a(%rbp)
movb -0x2a(%rbp), %al
testb $0x1, %al
jne 0xfc59
jmp 0x1025f
movq -0x20(%rbp), %rax
cmpq -0x10(%rbp), %rax
je 0xfc68
jmp 0x1025f
movq -0x10(%rbp), %rax
movq (%rax), %rax
movslq -0x28(%rbp), %rcx
movb (%rax,%rcx), %al
movb %al, -0x11(%rbp)
movsbl -0x11(%rbp), %eax
addl $-0x54, %eax
movl %eax, %ecx
movq %rcx, -0x38(%rbp)
subl $0x23, %eax
ja 0x1024a
movq -0x38(%rbp), %rax
leaq 0x51e2(%rip), %rcx      # 0x14e7c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl $0x0, 0x9aeb(%rip)      # 0x19798
jmp 0x1024f
movq -0x10(%rbp), %rax
movq (%rax), %rax
movl -0x28(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x0, %eax
jne 0xfce0
movq -0x10(%rbp), %rax
cmpq $0x0, 0x8(%rax)
jne 0xfce0
callq 0x103a0
callq 0x6120
movl $0x1, -0x24(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movl -0x28(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x0, %eax
je 0xfd19
movq -0x10(%rbp), %rax
movq (%rax), %rax
movl -0x28(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, -0x40(%rbp)
jmp 0xfd39
movl -0x8(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x8(%rbp)
movq -0x10(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x48(%rbp), %rax
movq %rax, 0x129a4(%rip)     # 0x226f0
jmp 0x1024f
cmpl $0x0, -0x8(%rbp)
jle 0xfd6c
movl -0x8(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x8(%rbp)
movq -0x10(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x10(%rbp)
jmp 0x1027d
movq -0x10(%rbp), %rax
movq (%rax), %rax
movl -0x28(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x0, %eax
jne 0xfd9f
movq -0x10(%rbp), %rax
cmpq $0x0, 0x8(%rax)
jne 0xfd9f
callq 0x103a0
callq 0x6120
movl $0x1, -0x24(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movl -0x28(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x0, %eax
je 0xfdd8
movq -0x10(%rbp), %rax
movq (%rax), %rax
movl -0x28(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, -0x50(%rbp)
jmp 0xfdf8
movl -0x8(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x8(%rbp)
movq -0x10(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x58(%rbp), %rax
movq %rax, 0x128f5(%rip)     # 0x22700
jmp 0x1024f
movq -0x10(%rbp), %rax
movq (%rax), %rax
movl -0x28(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x0, %eax
jne 0xfe3e
movq -0x10(%rbp), %rax
cmpq $0x0, 0x8(%rax)
jne 0xfe3e
callq 0x103a0
callq 0x6120
movl $0x1, -0x24(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movl -0x28(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x0, %eax
je 0xfe77
movq -0x10(%rbp), %rax
movq (%rax), %rax
movl -0x28(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, -0x60(%rbp)
jmp 0xfe97
movl -0x8(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x8(%rbp)
movq -0x10(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x60(%rbp)
movq -0x60(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x68(%rbp), %rdi
leaq 0x126e6(%rip), %rdx     # 0x22590
movq %rdx, %rsi
addq $0xf8, %rsi
addq $0xfc, %rdx
leaq 0xa412(%rip), %rcx      # 0x1a2d4
leaq 0xa40f(%rip), %r8       # 0x1a2d8
callq 0x6ac0
movl %eax, 0x127bc(%rip)     # 0x22690
jmp 0x1024f
movl $0x1, 0x127a1(%rip)     # 0x22684
jmp 0x1024f
movq -0x10(%rbp), %rax
movq (%rax), %rax
movl -0x28(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x0, %eax
jne 0xff16
movq -0x10(%rbp), %rax
cmpq $0x0, 0x8(%rax)
jne 0xff16
callq 0x103a0
callq 0x6120
movl $0x1, -0x24(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movl -0x28(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x0, %eax
je 0xff4f
movq -0x10(%rbp), %rax
movq (%rax), %rax
movl -0x28(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, -0x70(%rbp)
jmp 0xff6f
movl -0x8(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x8(%rbp)
movq -0x10(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0x78(%rbp), %rax
movq %rax, 0x12786(%rip)     # 0x22708
jmp 0x1024f
movq -0x10(%rbp), %rax
movq (%rax), %rax
movl -0x28(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x0, %eax
jne 0xffb5
movq -0x10(%rbp), %rax
cmpq $0x0, 0x8(%rax)
jne 0xffb5
callq 0x103a0
callq 0x6120
movl $0x1, -0x24(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movl -0x28(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x0, %eax
je 0xffee
movq -0x10(%rbp), %rax
movq (%rax), %rax
movl -0x28(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, -0x80(%rbp)
jmp 0x1000e
movl -0x8(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x8(%rbp)
movq -0x10(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x80(%rbp)
movq -0x80(%rbp), %rax
movq %rax, -0x88(%rbp)
movq -0x88(%rbp), %rax
movq %rax, 0x126e9(%rip)     # 0x22710
jmp 0x1024f
movq -0x10(%rbp), %rax
movq (%rax), %rax
movl -0x28(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x0, %eax
jne 0x1005a
movq -0x10(%rbp), %rax
cmpq $0x0, 0x8(%rax)
jne 0x1005a
callq 0x103a0
callq 0x6120
movl $0x1, -0x24(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movl -0x28(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x0, %eax
je 0x10096
movq -0x10(%rbp), %rax
movq (%rax), %rax
movl -0x28(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, -0x90(%rbp)
jmp 0x100b9
movl -0x8(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x8(%rbp)
movq -0x10(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x90(%rbp)
movq -0x90(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0x98(%rbp), %rax
movq %rax, 0x12613(%rip)     # 0x226e8
jmp 0x1024f
movq -0x10(%rbp), %rax
movq (%rax), %rax
movl -0x28(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x0, %eax
jne 0x10108
movq -0x10(%rbp), %rax
cmpq $0x0, 0x8(%rax)
jne 0x10108
callq 0x103a0
callq 0x6120
movl $0x1, -0x24(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movl -0x28(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x0, %eax
je 0x10144
movq -0x10(%rbp), %rax
movq (%rax), %rax
movl -0x28(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, -0xa0(%rbp)
jmp 0x10167
movl -0x8(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x8(%rbp)
movq -0x10(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, -0xa0(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0xa8(%rbp), %rax
movq %rax, 0x1255d(%rip)     # 0x226e0
jmp 0x1024f
movq -0x10(%rbp), %rax
movq (%rax), %rax
movl -0x28(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x0, %eax
jne 0x101b6
movq -0x10(%rbp), %rax
cmpq $0x0, 0x8(%rax)
jne 0x101b6
callq 0x103a0
callq 0x6120
movl $0x1, -0x24(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movl -0x28(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x0, %eax
je 0x101f2
movq -0x10(%rbp), %rax
movq (%rax), %rax
movl -0x28(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, -0xb0(%rbp)
jmp 0x10215
movl -0x8(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x8(%rbp)
movq -0x10(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, -0xb0(%rbp)
movq -0xb0(%rbp), %rax
movq %rax, -0xb8(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, 0x124e7(%rip)     # 0x22718
jmp 0x1024f
movq 0x124be(%rip), %rsi     # 0x226f8
leaq 0x4f29(%rip), %rdi      # 0x1516a
movb $0x0, %al
callq 0x6c20
jmp 0x1024f
callq 0x103a0
jmp 0x10251
movl -0x28(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x28(%rbp)
jmp 0xfc28
jmp 0x10261
movl -0x8(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x8(%rbp)
movq -0x10(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x10(%rbp)
jmp 0xfb95
jmp 0x1027d
cmpl $0x0, -0x8(%rbp)
jle 0x1028e
movq -0x10(%rbp), %rax
movq %rax, 0x12492(%rip)     # 0x22720
cmpq $0x0, 0x1244a(%rip)     # 0x226e0
jne 0x102db
cmpq $0x0, 0x12470(%rip)     # 0x22710
jne 0x102ac
cmpq $0x0, 0x12476(%rip)     # 0x22720
jne 0x102bc
leaq 0x4eaa(%rip), %rax      # 0x1515d
movq %rax, -0xc0(%rbp)
jmp 0x102cd
movq 0x1245d(%rip), %rax     # 0x22720
movq (%rax), %rax
movq %rax, -0xc0(%rbp)
movq -0xc0(%rbp), %rax
movq %rax, 0x12405(%rip)     # 0x226e0
xorl %edi, %edi
leaq 0x5652(%rip), %rsi      # 0x15936
callq 0x6990
leaq 0x5646(%rip), %rdi      # 0x15936
callq 0x68b0
cmpl $0x1, 0x9fd8(%rip)      # 0x1a2d4
jae 0x1030b
movl $0x1, %eax
movl %eax, -0xc4(%rbp)
jmp 0x10317
movl 0x9fc3(%rip), %eax      # 0x1a2d4
movl %eax, -0xc4(%rbp)
movl -0xc4(%rbp), %eax
movl %eax, 0x9fb1(%rip)      # 0x1a2d4
cmpl $0x1, 0x9fae(%rip)      # 0x1a2d8
jae 0x10339
movl $0x1, %eax
movl %eax, -0xc8(%rbp)
jmp 0x10345
movl 0x9f99(%rip), %eax      # 0x1a2d8
movl %eax, -0xc8(%rbp)
movl -0xc8(%rbp), %eax
movl %eax, 0x9f87(%rip)      # 0x1a2d8
leaq 0xfd8(%rip), %rdi       # 0x11330
callq 0x7930
movl 0x9f71(%rip), %edi      # 0x1a2d4
movl 0x9f6f(%rip), %esi      # 0x1a2d8
callq 0x89c0
movl 0x9f60(%rip), %edi      # 0x1a2d4
movl 0x9f5e(%rip), %esi      # 0x1a2d8
callq 0x103d0
callq 0x10b00
callq 0x6ee0
callq 0x10b50
callq 0x13b50
xorl %eax, %eax
addq $0xd0, %rsp
popq %rbp
retq
nop