// File: /workspace/github_c_makefile_star2_O0/almk277[P]ROSE/rasm/rasm.cpp
// Function: parse_opt(int, char**)
void parse_opt(int argc, char *argv[])
{
	int idx = cmdopt_parse(argc, argv, opts);
	if (idx)
		throw option_error(string(argv[idx]) + ": can't parse");
	if (help_opt) {
		cmdopt_print(opts);
		std::exit(0);
	}
	if (inname.empty())
		throw option_error("input file not specified");
	if (outname.empty())
		throw option_error("output file not specified");
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x100, %rsp            # imm = 0x100
movl %edi, -0x4(%rbp)
movq %rsi, -0x10(%rbp)
movl -0x4(%rbp), %edi
movq -0x10(%rbp), %rsi
leaq 0x2f550(%rip), %rdx     # 0x34c50
callq 0x22760
movl %eax, -0x14(%rbp)
cmpl $0x0, -0x14(%rbp)
je 0x580a
movb $0x1, -0x6d(%rbp)
movl $0x10, %edi
callq 0x41e0
movq %rax, -0xd8(%rbp)
movq -0x10(%rbp), %rax
movslq -0x14(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0xd0(%rbp)
leaq -0x59(%rbp), %rdi
movq %rdi, -0xc8(%rbp)
callq 0x4690
movq -0xd0(%rbp), %rsi
movq -0xc8(%rbp), %rdx
leaq -0x58(%rbp), %rdi
callq 0x61a0
jmp 0x5763
leaq 0x1d8a2(%rip), %rdx     # 0x2300c
leaq -0x38(%rbp), %rdi
leaq -0x58(%rbp), %rsi
callq 0x6250
jmp 0x5779
movq -0xd8(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x62a0
jmp 0x578b
movq -0xd8(%rbp), %rdi
movb $0x0, -0x6d(%rbp)
leaq 0x2f513(%rip), %rsi     # 0x34cb0
leaq 0xb3c(%rip), %rdx       # 0x62e0
callq 0x4640
jmp 0x59fc
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
jmp 0x57e8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
jmp 0x57df
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
leaq -0x38(%rbp), %rdi
callq 0x4748
leaq -0x58(%rbp), %rdi
callq 0x4748
leaq -0x59(%rbp), %rdi
callq 0x43b0
testb $0x1, -0x6d(%rbp)
jne 0x57f9
jmp 0x5805
movq -0xd8(%rbp), %rdi
callq 0x42c0
jmp 0x59f3
cmpl $0x0, 0x2fc17(%rip)     # 0x35428
je 0x5826
leaq 0x2f436(%rip), %rdi     # 0x34c50
callq 0x22930
xorl %edi, %edi
callq 0x4410
leaq 0x2fbbb(%rip), %rdi     # 0x353e8
callq 0x4630
testb $0x1, %al
jne 0x583b
jmp 0x590b
movb $0x1, -0x92(%rbp)
movl $0x10, %edi
callq 0x41e0
movq %rax, -0xe8(%rbp)
leaq -0x91(%rbp), %rdi
movq %rdi, -0xe0(%rbp)
callq 0x4690
movq -0xe0(%rbp), %rdx
leaq 0x1d7a6(%rip), %rsi     # 0x2301a
leaq -0x90(%rbp), %rdi
callq 0x61a0
jmp 0x5882
movq -0xe8(%rbp), %rdi
leaq -0x90(%rbp), %rsi
callq 0x62a0
jmp 0x5897
movq -0xe8(%rbp), %rdi
movb $0x0, -0x92(%rbp)
leaq 0x2f404(%rip), %rsi     # 0x34cb0
leaq 0xa2d(%rip), %rdx       # 0x62e0
callq 0x4640
jmp 0x59fc
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
jmp 0x58e3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
leaq -0x90(%rbp), %rdi
callq 0x4748
leaq -0x91(%rbp), %rdi
callq 0x43b0
testb $0x1, -0x92(%rbp)
jne 0x58fa
jmp 0x5906
movq -0xe8(%rbp), %rdi
callq 0x42c0
jmp 0x59f3
leaq 0x2faf6(%rip), %rdi     # 0x35408
callq 0x4630
testb $0x1, %al
jne 0x5920
jmp 0x59ea
movb $0x1, -0xba(%rbp)
movl $0x10, %edi
callq 0x41e0
movq %rax, -0xf8(%rbp)
leaq -0xb9(%rbp), %rdi
movq %rdi, -0xf0(%rbp)
callq 0x4690
movq -0xf0(%rbp), %rdx
leaq 0x1d6da(%rip), %rsi     # 0x23033
leaq -0xb8(%rbp), %rdi
callq 0x61a0
jmp 0x5967
movq -0xf8(%rbp), %rdi
leaq -0xb8(%rbp), %rsi
callq 0x62a0
jmp 0x597c
movq -0xf8(%rbp), %rdi
movb $0x0, -0xba(%rbp)
leaq 0x2f31f(%rip), %rsi     # 0x34cb0
leaq 0x948(%rip), %rdx       # 0x62e0
callq 0x4640
jmp 0x59fc
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
jmp 0x59c5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
leaq -0xb8(%rbp), %rdi
callq 0x4748
leaq -0xb9(%rbp), %rdi
callq 0x43b0
testb $0x1, -0xba(%rbp)
jne 0x59dc
jmp 0x59e8
movq -0xf8(%rbp), %rdi
callq 0x42c0
jmp 0x59f3
addq $0x100, %rsp            # imm = 0x100
popq %rbp
retq
movq -0x68(%rbp), %rdi
callq 0x4670
nopl (%rax)