// File: /workspace/github_c_makefile_star2_O0/Tarsnap[P]libcperciva/liball/../util/getopt.c
// Function: getopt_register_opt
void
getopt_register_opt(const char * os, size_t ln, int hasarg)
{

	/* Can't reset here. */
	if (optreset)
		DIE("Can't reset in the middle of getopt loop");

	/* We should only be called during initialization. */
	assert(!getopt_initialized);

	/* We should have space allocated for registering options. */
	assert(opts != NULL);

	/* We should not have registered an option here yet. */
	assert(opts[ln].os == NULL);

	/* Options should be "-X" or "--foo". */
	if ((os[0] != '-') || (os[1] == '\0') ||
	    ((os[1] == '-') && (os[2] == '\0')) ||
	    ((os[1] != '-') && (os[2] != '\0')))
		DIE("Not a valid command-line option: %s", os);

	/* Make sure we haven't already registered this option. */
	if (searchopt(os) != opt_default)
		DIE("Command-line option registered twice: %s", os);

	/* Record option. */
	opts[ln].os = os;
	opts[ln].olen = strlen(os);
	opts[ln].hasarg = hasarg;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
cmpl $0x0, 0x2f96(%rip)      # 0x5080
je 0x214e
jmp 0x20ee
jmp 0x20f0
cmpq $0x0, 0x2fd8(%rip)      # 0x50d0
je 0x2119
movq 0x2ef7(%rip), %rax      # 0x4ff8
movq (%rax), %rdi
movq 0x2fc5(%rip), %rdx      # 0x50d0
leaq 0x103a(%rip), %rsi      # 0x314c
movb $0x0, %al
callq 0x1090
movq 0x2ed8(%rip), %rax      # 0x4ff8
movq (%rax), %rdi
leaq 0x107e(%rip), %rsi      # 0x31a8
movb $0x0, %al
callq 0x1090
movq 0x2ec0(%rip), %rax      # 0x4ff8
movq (%rax), %rdi
leaq 0x1000(%rip), %rsi      # 0x3142
movb $0x0, %al
callq 0x1090
callq 0x1040
cmpl $0x0, 0x2f4b(%rip)      # 0x50a0
jne 0x2159
jmp 0x2178
leaq 0x1133(%rip), %rdi      # 0x3293
leaq 0x106a(%rip), %rsi      # 0x31d1
movl $0x12c, %edx            # imm = 0x12C
leaq 0x1134(%rip), %rcx      # 0x32a7
callq 0x1070
cmpq $0x0, 0x2f58(%rip)      # 0x50d8
je 0x2184
jmp 0x21a3
leaq 0x1150(%rip), %rdi      # 0x32db
leaq 0x103f(%rip), %rsi      # 0x31d1
movl $0x12f, %edx            # imm = 0x12F
leaq 0x1109(%rip), %rcx      # 0x32a7
callq 0x1070
movq 0x2f2e(%rip), %rax      # 0x50d8
imulq $0x18, -0x10(%rbp), %rcx
addq %rcx, %rax
cmpq $0x0, (%rax)
jne 0x21ba
jmp 0x21d9
leaq 0x1127(%rip), %rdi      # 0x32e8
leaq 0x1009(%rip), %rsi      # 0x31d1
movl $0x132, %edx            # imm = 0x132
leaq 0x10d3(%rip), %rcx      # 0x32a7
callq 0x1070
movq -0x8(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x2d, %eax
jne 0x2226
movq -0x8(%rbp), %rax
movsbl 0x1(%rax), %eax
cmpl $0x0, %eax
je 0x2226
movq -0x8(%rbp), %rax
movsbl 0x1(%rax), %eax
cmpl $0x2d, %eax
jne 0x220c
movq -0x8(%rbp), %rax
movsbl 0x2(%rax), %eax
cmpl $0x0, %eax
je 0x2226
movq -0x8(%rbp), %rax
movsbl 0x1(%rax), %eax
cmpl $0x2d, %eax
je 0x228c
movq -0x8(%rbp), %rax
movsbl 0x2(%rax), %eax
cmpl $0x0, %eax
je 0x228c
jmp 0x2228
jmp 0x222a
cmpq $0x0, 0x2e9e(%rip)      # 0x50d0
je 0x2253
movq 0x2dbd(%rip), %rax      # 0x4ff8
movq (%rax), %rdi
movq 0x2e8b(%rip), %rdx      # 0x50d0
leaq 0xf00(%rip), %rsi       # 0x314c
movb $0x0, %al
callq 0x1090
movq 0x2d9e(%rip), %rax      # 0x4ff8
movq (%rax), %rdi
movq -0x8(%rbp), %rdx
leaq 0x1094(%rip), %rsi      # 0x32fc
movb $0x0, %al
callq 0x1090
movq 0x2d82(%rip), %rax      # 0x4ff8
movq (%rax), %rdi
leaq 0xec2(%rip), %rsi       # 0x3142
movb $0x0, %al
callq 0x1090
callq 0x1040
movq -0x8(%rbp), %rdi
callq 0x1e90
cmpq 0x2e24(%rip), %rax      # 0x50c0
je 0x2304
jmp 0x22a0
jmp 0x22a2
cmpq $0x0, 0x2e26(%rip)      # 0x50d0
je 0x22cb
movq 0x2d45(%rip), %rax      # 0x4ff8
movq (%rax), %rdi
movq 0x2e13(%rip), %rdx      # 0x50d0
leaq 0xe88(%rip), %rsi       # 0x314c
movb $0x0, %al
callq 0x1090
movq 0x2d26(%rip), %rax      # 0x4ff8
movq (%rax), %rdi
movq -0x8(%rbp), %rdx
leaq 0x1040(%rip), %rsi      # 0x3320
movb $0x0, %al
callq 0x1090
movq 0x2d0a(%rip), %rax      # 0x4ff8
movq (%rax), %rdi
leaq 0xe4a(%rip), %rsi       # 0x3142
movb $0x0, %al
callq 0x1090
callq 0x1040
movq -0x8(%rbp), %rcx
movq 0x2dc9(%rip), %rax      # 0x50d8
imulq $0x18, -0x10(%rbp), %rdx
addq %rdx, %rax
movq %rcx, (%rax)
movq -0x8(%rbp), %rdi
callq 0x1060
movq %rax, %rcx
movq 0x2dab(%rip), %rax      # 0x50d8
imulq $0x18, -0x10(%rbp), %rdx
addq %rdx, %rax
movq %rcx, 0x8(%rax)
movl -0x14(%rbp), %ecx
movq 0x2d95(%rip), %rax      # 0x50d8
imulq $0x18, -0x10(%rbp), %rdx
addq %rdx, %rax
movl %ecx, 0x10(%rax)
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)