// File: /workspace/github_c_makefile_star2_O0/j-hoppe[P]tu58fs/getopt2.c
// Function: getopt_parse_error
static int getopt_parse_error(getopt_t *_this, int error)
{
	_this->curerror = error;
	switch (error) {
	case GETOPT_STATUS_ILLEGALOPTION:
		snprintf(_this->curerrortext, sizeof(_this->curerrortext),
			"Undefined option at \"%s\"", _this->curtoken);
		break;
	case GETOPT_STATUS_MINARGCOUNT:
		if (_this->cur_option == _this->nonoption_descr)
			snprintf(_this->curerrortext, sizeof(_this->curerrortext),
				"Less than %d non-option arguments at \"%s\"",
				_this->cur_option->fix_arg_count, _this->curtoken);
		else
			snprintf(_this->curerrortext, sizeof(_this->curerrortext),
				"Less than %d arguments for option \"%s\" at \"%s\"",
				_this->cur_option->fix_arg_count, _this->cur_option->long_name, _this->curtoken);
		break;
	case GETOPT_STATUS_MAXARGCOUNT:
		if (_this->cur_option == _this->nonoption_descr)
			snprintf(_this->curerrortext, sizeof(_this->curerrortext),
				"More than %d non-option arguments at \"%s\"", _this->cur_option->max_arg_count, _this->curtoken);
		else
			snprintf(_this->curerrortext, sizeof(_this->curerrortext),
				"More than %d arguments for option \"%s\" at \"%s\"",
				_this->cur_option->max_arg_count, _this->cur_option->long_name, _this->curtoken);
		break;
	}
	return error;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl -0xc(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x680(%rax)
movl -0xc(%rbp), %eax
movl %eax, -0x10(%rbp)
subl $-0x3, %eax
je 0x6482
jmp 0x639d
movl -0x10(%rbp), %eax
subl $-0x2, %eax
je 0x63e3
jmp 0x63a7
movl -0x10(%rbp), %eax
subl $-0x1, %eax
jne 0x651e
jmp 0x63b5
movq -0x8(%rbp), %rdi
addq $0x684, %rdi            # imm = 0x684
movq -0x8(%rbp), %rax
movq 0x678(%rax), %rcx
movl $0x101, %esi            # imm = 0x101
leaq 0x15138(%rip), %rdx     # 0x1b50f
movb $0x0, %al
callq 0x31d0
jmp 0x651e
movq -0x8(%rbp), %rax
movq 0x338(%rax), %rax
movq -0x8(%rbp), %rcx
cmpq 0x8(%rcx), %rax
jne 0x6434
movq -0x8(%rbp), %rdi
addq $0x684, %rdi            # imm = 0x684
movq -0x8(%rbp), %rax
movq 0x338(%rax), %rax
movl 0x678(%rax), %ecx
movq -0x8(%rbp), %rax
movq 0x678(%rax), %r8
movl $0x101, %esi            # imm = 0x101
leaq 0x150fd(%rip), %rdx     # 0x1b528
movb $0x0, %al
callq 0x31d0
jmp 0x647d
movq -0x8(%rbp), %rdi
addq $0x684, %rdi            # imm = 0x684
movq -0x8(%rbp), %rax
movq 0x338(%rax), %rax
movl 0x678(%rax), %ecx
movq -0x8(%rbp), %rax
movq 0x338(%rax), %rax
movq 0x10(%rax), %r8
movq -0x8(%rbp), %rax
movq 0x678(%rax), %r9
movl $0x101, %esi            # imm = 0x101
leaq 0x150dc(%rip), %rdx     # 0x1b552
movb $0x0, %al
callq 0x31d0
jmp 0x651e
movq -0x8(%rbp), %rax
movq 0x338(%rax), %rax
movq -0x8(%rbp), %rcx
cmpq 0x8(%rcx), %rax
jne 0x64d3
movq -0x8(%rbp), %rdi
addq $0x684, %rdi            # imm = 0x684
movq -0x8(%rbp), %rax
movq 0x338(%rax), %rax
movl 0x67c(%rax), %ecx
movq -0x8(%rbp), %rax
movq 0x678(%rax), %r8
movl $0x101, %esi            # imm = 0x101
leaq 0x150b7(%rip), %rdx     # 0x1b581
movb $0x0, %al
callq 0x31d0
jmp 0x651c
movq -0x8(%rbp), %rdi
addq $0x684, %rdi            # imm = 0x684
movq -0x8(%rbp), %rax
movq 0x338(%rax), %rax
movl 0x67c(%rax), %ecx
movq -0x8(%rbp), %rax
movq 0x338(%rax), %rax
movq 0x10(%rax), %r8
movq -0x8(%rbp), %rax
movq 0x678(%rax), %r9
movl $0x101, %esi            # imm = 0x101
leaq 0x15096(%rip), %rdx     # 0x1b5ab
movb $0x0, %al
callq 0x31d0
jmp 0x651e
movl -0xc(%rbp), %eax
addq $0x10, %rsp
popq %rbp
retq
nopw (%rax,%rax)