// File: /workspace/github_c_makefile_star2_O0/aligrudi[P]neatmkfn/mkfn.c
// Function: main
int main(int argc, char *argv[])
{
	int afm = 1;
	int i;
	for (i = 1; i < argc && argv[i][0] == '-'; i++) {
		switch (argv[i][1]) {
		case 'a':
			afm = 1;
			break;
		case 'b':
			mkfn_bbox = 1;
			break;
		case 'f':
			mkfn_path = argv[i][2] ? argv[i] + 2 : argv[++i];
			break;
		case 'F':
			mkfn_subfont = argv[i][2] ? argv[i] + 2 : argv[++i];
			mkfn_dry = !strcmp("list", mkfn_subfont);
			break;
		case 'k':
			mkfn_kmin = atoi(argv[i][2] ? argv[i] + 2 : argv[++i]);
			break;
		case 'l':
			mkfn_noligs = 1;
			break;
		case 'L':
			mkfn_langs = argv[i][2] ? argv[i] + 2 : argv[++i];
			mkfn_dry = !strcmp("list", mkfn_langs);
			break;
		case 'n':
			mkfn_pos = 0;
			break;
		case 'o':
			afm = 0;
			break;
		case 'p':
			mkfn_psname = argv[i][2] ? argv[i] + 2 : argv[++i];
			break;
		case 'r':
			mkfn_res = atoi(argv[i][2] ? argv[i] + 2 : argv[++i]);
			break;
		case 's':
			mkfn_special = 1;
			break;
		case 'S':
			mkfn_scripts = argv[i][2] ? argv[i] + 2 : argv[++i];
			mkfn_dry = !strcmp("list", mkfn_scripts);
			break;
		case 't':
			mkfn_trname = argv[i][2] ? argv[i] + 2 : argv[++i];
			break;
		case 'w':
			mkfn_warn = 1;
			break;
		default:
			fprintf(stderr, "%s", usage);
			return 1;
		}
	}
	trfn_init();
	if ((afm ? afm_read() : otf_read())) {
		fprintf(stderr, "neatmkfn: cannot parse the font\n");
		trfn_done();
		return 1;
	}
	trfn_done();
	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movl $0x0, -0x4(%rbp)
movl %edi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl $0x1, -0x14(%rbp)
movl $0x1, -0x18(%rbp)
movl -0x18(%rbp), %ecx
xorl %eax, %eax
cmpl -0x8(%rbp), %ecx
movb %al, -0x19(%rbp)
jge 0x3d769
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movsbl (%rax), %eax
cmpl $0x2d, %eax
sete %al
movb %al, -0x19(%rbp)
movb -0x19(%rbp), %al
testb $0x1, %al
jne 0x3d775
jmp 0x3db52
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movsbl 0x1(%rax), %eax
addl $-0x46, %eax
movl %eax, %ecx
movq %rcx, -0x28(%rbp)
subl $0x31, %eax
ja 0x3db1a
movq -0x28(%rbp), %rax
leaq 0x8862(%rip), %rcx      # 0x46004
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl $0x1, -0x14(%rbp)
jmp 0x3db42
movl $0x1, 0x35023(%rip)     # 0x727e4
jmp 0x3db42
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movsbl 0x2(%rax), %eax
cmpl $0x0, %eax
je 0x3d7f1
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rcx
movq (%rax,%rcx,8), %rax
addq $0x2, %rax
movq %rax, -0x30(%rbp)
jmp 0x3d809
movq -0x10(%rbp), %rax
movl -0x18(%rbp), %ecx
addl $0x1, %ecx
movl %ecx, -0x18(%rbp)
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
movq %rax, 0x34fc4(%rip)     # 0x727d8
jmp 0x3db42
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movsbl 0x2(%rax), %eax
cmpl $0x0, %eax
je 0x3d844
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rcx
movq (%rax,%rcx,8), %rax
addq $0x2, %rax
movq %rax, -0x38(%rbp)
jmp 0x3d85c
movq -0x10(%rbp), %rax
movl -0x18(%rbp), %ecx
addl $0x1, %ecx
movl %ecx, -0x18(%rbp)
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rax
movq %rax, 0x34f49(%rip)     # 0x727b0
movq 0x34f42(%rip), %rsi     # 0x727b0
leaq 0x8861(%rip), %rdi      # 0x460d6
callq 0x3d120
cmpl $0x0, %eax
setne %al
xorb $-0x1, %al
andb $0x1, %al
movzbl %al, %eax
movl %eax, 0x34f33(%rip)     # 0x727c0
jmp 0x3db42
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movsbl 0x2(%rax), %eax
cmpl $0x0, %eax
je 0x3d8bd
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rcx
movq (%rax,%rcx,8), %rax
addq $0x2, %rax
movq %rax, -0x40(%rbp)
jmp 0x3d8d5
movq -0x10(%rbp), %rax
movl -0x18(%rbp), %ecx
addl $0x1, %ecx
movl %ecx, -0x18(%rbp)
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rdi
callq 0x3d170
movl %eax, 0x34f04(%rip)     # 0x727e8
jmp 0x3db42
movl $0x1, 0x34ef9(%rip)     # 0x727ec
jmp 0x3db42
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movsbl 0x2(%rax), %eax
cmpl $0x0, %eax
je 0x3d923
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rcx
movq (%rax,%rcx,8), %rax
addq $0x2, %rax
movq %rax, -0x48(%rbp)
jmp 0x3d93b
movq -0x10(%rbp), %rax
movl -0x18(%rbp), %ecx
addl $0x1, %ecx
movl %ecx, -0x18(%rbp)
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x48(%rbp)
movq -0x48(%rbp), %rax
movq %rax, 0x34e5a(%rip)     # 0x727a0
movq 0x34e53(%rip), %rsi     # 0x727a0
leaq 0x8782(%rip), %rdi      # 0x460d6
callq 0x3d120
cmpl $0x0, %eax
setne %al
xorb $-0x1, %al
andb $0x1, %al
movzbl %al, %eax
movl %eax, 0x34e54(%rip)     # 0x727c0
jmp 0x3db42
movl $0x0, 0x1c779(%rip)     # 0x5a0f4
jmp 0x3db42
movl $0x0, -0x14(%rbp)
jmp 0x3db42
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movsbl 0x2(%rax), %eax
cmpl $0x0, %eax
je 0x3d9b7
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rcx
movq (%rax,%rcx,8), %rax
addq $0x2, %rax
movq %rax, -0x50(%rbp)
jmp 0x3d9cf
movq -0x10(%rbp), %rax
movl -0x18(%rbp), %ecx
addl $0x1, %ecx
movl %ecx, -0x18(%rbp)
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rax
movq %rax, 0x34df6(%rip)     # 0x727d0
jmp 0x3db42
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movsbl 0x2(%rax), %eax
cmpl $0x0, %eax
je 0x3da0a
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rcx
movq (%rax,%rcx,8), %rax
addq $0x2, %rax
movq %rax, -0x58(%rbp)
jmp 0x3da22
movq -0x10(%rbp), %rax
movl -0x18(%rbp), %ecx
addl $0x1, %ecx
movl %ecx, -0x18(%rbp)
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x58(%rbp)
movq -0x58(%rbp), %rdi
callq 0x3d170
movl %eax, 0x1c6bf(%rip)     # 0x5a0f0
jmp 0x3db42
movl $0x1, 0x34da0(%rip)     # 0x727e0
jmp 0x3db42
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movsbl 0x2(%rax), %eax
cmpl $0x0, %eax
je 0x3da70
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rcx
movq (%rax,%rcx,8), %rax
addq $0x2, %rax
movq %rax, -0x60(%rbp)
jmp 0x3da88
movq -0x10(%rbp), %rax
movl -0x18(%rbp), %ecx
addl $0x1, %ecx
movl %ecx, -0x18(%rbp)
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x60(%rbp)
movq -0x60(%rbp), %rax
movq %rax, 0x34d05(%rip)     # 0x72798
movq 0x34cfe(%rip), %rsi     # 0x72798
leaq 0x8635(%rip), %rdi      # 0x460d6
callq 0x3d120
cmpl $0x0, %eax
setne %al
xorb $-0x1, %al
andb $0x1, %al
movzbl %al, %eax
movl %eax, 0x34d07(%rip)     # 0x727c0
jmp 0x3db42
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movsbl 0x2(%rax), %eax
cmpl $0x0, %eax
je 0x3dae9
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rcx
movq (%rax,%rcx,8), %rax
addq $0x2, %rax
movq %rax, -0x68(%rbp)
jmp 0x3db01
movq -0x10(%rbp), %rax
movl -0x18(%rbp), %ecx
addl $0x1, %ecx
movl %ecx, -0x18(%rbp)
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x68(%rbp)
movq -0x68(%rbp), %rax
movq %rax, 0x34cbc(%rip)     # 0x727c8
jmp 0x3db42
movl $0x1, 0x34cd8(%rip)     # 0x727f0
jmp 0x3db42
movq 0x1c4d7(%rip), %rax     # 0x59ff8
movq (%rax), %rdi
movq 0x1c7b5(%rip), %rdx     # 0x5a2e0
leaq 0x1a0f8(%rip), %rsi     # 0x57c2a
movb $0x0, %al
callq 0x3d130
movl $0x1, -0x4(%rbp)
jmp 0x3dba5
jmp 0x3db44
movl -0x18(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x18(%rbp)
jmp 0x3d744
callq 0x3e510
cmpl $0x0, -0x14(%rbp)
je 0x3db69
callq 0x3f5d0
cmpl $0x0, %eax
jne 0x3db73
jmp 0x3db99
callq 0x40f30
cmpl $0x0, %eax
je 0x3db99
movq 0x1c47e(%rip), %rax     # 0x59ff8
movq (%rax), %rdi
leaq 0x857a(%rip), %rsi      # 0x460fe
movb $0x0, %al
callq 0x3d130
callq 0x3e600
movl $0x1, -0x4(%rbp)
jmp 0x3dba5
callq 0x3e600
movl $0x0, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x70, %rsp
popq %rbp
retq
nop