// File: /workspace/github_c_makefile_star2_O2/lh3[P]bgt/main.c
// Function: main
int main(int argc, char *argv[])
{
	if (argc < 2) return usage();
	if (strcmp(argv[1], "import") == 0) return main_import(argc-1, argv+1);
	else if (strcmp(argv[1], "atomize") == 0) return main_atomize(argc-1, argv+1);
	else if (strcmp(argv[1], "view") == 0 || strcmp(argv[1], "mview") == 0 ) return main_view(argc-1, argv+1);
	else if (strcmp(argv[1], "fmf") == 0 ) return main_fmf(argc-1, argv+1);
	else if (strcmp(argv[1], "getalt") == 0) return main_getalt(argc-1, argv+1);
	else if (strcmp(argv[1], "bcfidx") == 0) return main_bcfidx(argc-1, argv+1);
	else if (strcmp(argv[1], "version") == 0) {
		puts(BGT_VERSION);
		return 0;
	} else {
		fprintf(stderr, "[E::%s] unrecognized command '%s'\n", __func__, argv[1]);
		return 1;
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
cmpl $0x1, %edi
jle 0x26a6
movq %rsi, %rbx
movl %edi, %ebp
movq 0x8(%rsi), %r14
addq $0x8, %rbx
leaq 0x15a64(%rip), %rsi     # 0x18004
movq %r14, %rdi
callq 0x2230
testl %eax, %eax
je 0x2664
leaq 0x16ef9(%rip), %rsi     # 0x194b0
movq %r14, %rdi
callq 0x2230
testl %eax, %eax
je 0x2690
leaq 0x15fb5(%rip), %rsi     # 0x18583
movq %r14, %rdi
callq 0x2230
testl %eax, %eax
je 0x267a
leaq 0x15a26(%rip), %rsi     # 0x1800b
movq %r14, %rdi
callq 0x2230
testl %eax, %eax
je 0x267a
leaq 0x15a15(%rip), %rsi     # 0x18011
movq %r14, %rdi
callq 0x2230
testl %eax, %eax
je 0x276a
leaq 0x15a02(%rip), %rsi     # 0x18015
movq %r14, %rdi
callq 0x2230
testl %eax, %eax
je 0x2780
leaq 0x159f2(%rip), %rsi     # 0x1801c
movq %r14, %rdi
callq 0x2230
testl %eax, %eax
je 0x2796
leaq 0x159e2(%rip), %rsi     # 0x18023
movq %r14, %rdi
callq 0x2230
testl %eax, %eax
jne 0x27ac
leaq 0x159d3(%rip), %rdi     # 0x1802b
callq 0x20e0
xorl %eax, %eax
jmp 0x275f
decl %ebp
movl %ebp, %edi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x27d0
decl %ebp
movl %ebp, %edi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x30d8
decl %ebp
movl %ebp, %edi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x2e41
movq 0x1e94b(%rip), %r15     # 0x20ff8
movq (%r15), %rcx
leaq 0x159ab(%rip), %rdi     # 0x18062
pushq $0x20
popq %r14
pushq $0x1
popq %rbx
movq %r14, %rsi
movq %rbx, %rdx
callq 0x2410
movq (%r15), %rcx
leaq 0x159b0(%rip), %rdi     # 0x18083
pushq $0xa
popq %rsi
movq %rbx, %rdx
callq 0x2410
movq (%r15), %rcx
leaq 0x159a6(%rip), %rdi     # 0x1808e
pushq $0x22
popq %rsi
movq %rbx, %rdx
callq 0x2410
movq (%r15), %rcx
leaq 0x159b4(%rip), %rdi     # 0x180b1
pushq $0x1b
popq %rsi
movq %rbx, %rdx
callq 0x2410
movq (%r15), %rcx
leaq 0x159bb(%rip), %rdi     # 0x180cd
movq %r14, %rsi
movq %rbx, %rdx
callq 0x2410
movq (%r15), %rcx
leaq 0x159c7(%rip), %rdi     # 0x180ee
pushq $0x24
popq %rsi
movq %rbx, %rdx
callq 0x2410
movq (%r15), %rcx
leaq 0x159d7(%rip), %rdi     # 0x18113
pushq $0x36
popq %rsi
movq %rbx, %rdx
callq 0x2410
movq (%r15), %rcx
leaq 0x159f9(%rip), %rdi     # 0x1814a
pushq $0x23
popq %rsi
movq %rbx, %rdx
callq 0x2410
pushq $0x1
popq %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
decl %ebp
movl %ebp, %edi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x96f5
decl %ebp
movl %ebp, %edi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x3abd
decl %ebp
movl %ebp, %edi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x2db8
movq 0x1e845(%rip), %rax     # 0x20ff8
movq (%rax), %rdi
leaq 0x1587d(%rip), %rsi     # 0x1803a
leaq 0x15899(%rip), %rdx     # 0x1805d
movq %r14, %rcx
xorl %eax, %eax
callq 0x2250
jmp 0x275c