// File: /workspace/github_c_makefile_star2_O3/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
cmpl $0x2, %edi
jl 0x3d8c4
movq %rsi, %rbx
movl %edi, %ebp
movl $0x1, %r13d
leaq 0x59c6(%rip), %r14      # 0x4306a
leaq 0x5959(%rip), %r12      # 0x43004
movl $0x1, %r15d
movslq %r13d, %rax
movq (%rbx,%rax,8), %rsi
cmpb $0x2d, (%rsi)
jne 0x3d8b3
movzbl 0x1(%rsi), %ecx
cmpl $0x60, %ecx
jle 0x3d6ea
addl $-0x61, %ecx
cmpl $0x16, %ecx
ja 0x3d8f4
movslq (%r12,%rcx,4), %rcx
addq %r12, %rcx
jmpq *%rcx
movl $0x1, %r15d
jmp 0x3d8a7
cmpl $0x46, %ecx
je 0x3d7ca
cmpl $0x4c, %ecx
je 0x3d7dd
cmpl $0x53, %ecx
jne 0x3d8f4
cmpb $0x0, 0x2(%rsi)
je 0x3d882
addq $0x2, %rsi
jmp 0x3d88b
movl $0x1, 0x3247e(%rip)     # 0x6fba0
jmp 0x3d8a7
cmpb $0x0, 0x2(%rsi)
je 0x3d7f0
addq $0x2, %rsi
jmp 0x3d7f9
cmpb $0x0, 0x2(%rsi)
je 0x3d805
addq $0x2, %rsi
jmp 0x3d80e
movl $0x1, 0x32439(%rip)     # 0x6fb90
jmp 0x3d8a7
cmpb $0x0, 0x2(%rsi)
je 0x3d81a
addq $0x2, %rsi
jmp 0x3d823
movl $0x1, 0x3241b(%rip)     # 0x6fb94
jmp 0x3d8a7
cmpb $0x0, 0x2(%rsi)
je 0x3d833
addq $0x2, %rsi
jmp 0x3d83c
movl $0x1, 0x32401(%rip)     # 0x6fb9c
jmp 0x3d8a7
cmpb $0x0, 0x2(%rsi)
je 0x3d845
addq $0x2, %rsi
jmp 0x3d84e
movl $0x0, 0x2c957(%rip)     # 0x6a114
jmp 0x3d8a7
xorl %r15d, %r15d
jmp 0x3d8a7
cmpb $0x0, 0x2(%rsi)
je 0x3d85e
addq $0x2, %rsi
jmp 0x3d867
cmpb $0x0, 0x2(%rsi)
je 0x3d870
addq $0x2, %rsi
jmp 0x3d879
leal 0x1(%rax), %r13d
movq 0x8(%rbx,%rax,8), %rsi
movq %rsi, 0x32380(%rip)     # 0x6fb80
jmp 0x3d8a7
leal 0x1(%rax), %r13d
movq 0x8(%rbx,%rax,8), %rsi
movq %rsi, 0x32373(%rip)     # 0x6fb88
jmp 0x3d8a7
leal 0x1(%rax), %r13d
movq 0x8(%rbx,%rax,8), %rsi
movq %rsi, %rdi
callq 0x3d1a0
movl %eax, 0x32367(%rip)     # 0x6fb98
jmp 0x3d8a7
leal 0x1(%rax), %r13d
movq 0x8(%rbx,%rax,8), %rsi
movq %rsi, 0x32335(%rip)     # 0x6fb78
jmp 0x3d8a7
leal 0x1(%rax), %r13d
movq 0x8(%rbx,%rax,8), %rsi
movq %rsi, %rdi
callq 0x3d1a0
movl %eax, 0x2c8b4(%rip)     # 0x6a110
jmp 0x3d8a7
leal 0x1(%rax), %r13d
movq 0x8(%rbx,%rax,8), %rsi
movq %rsi, 0x322f2(%rip)     # 0x6fb60
jmp 0x3d892
leal 0x1(%rax), %r13d
movq 0x8(%rbx,%rax,8), %rsi
movq %rsi, 0x322d0(%rip)     # 0x6fb50
jmp 0x3d892
leal 0x1(%rax), %r13d
movq 0x8(%rbx,%rax,8), %rsi
movq %rsi, 0x322b6(%rip)     # 0x6fb48
movq %r14, %rdi
callq 0x3d150
xorl %ecx, %ecx
testl %eax, %eax
sete %cl
movl %ecx, 0x322c9(%rip)     # 0x6fb70
incl %r13d
cmpl %ebp, %r13d
jl 0x3d6b1
callq 0x3e2db
testl %r15d, %r15d
jne 0x3d8c9
callq 0x41937
jmp 0x3d8ce
callq 0x3e2db
callq 0x3e870
testl %eax, %eax
jne 0x3d8e8
callq 0x3e371
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x3d200
movl $0x1, %eax
jmp 0x3d8d9
callq 0x3d223
jmp 0x3d8ed
nop