// File: /workspace/github_c_makefile_star2_O0/jsummers[P]deark/src/deark-user.c
// Function: de_set_std_option_int
void de_set_std_option_int(deark *c, enum de_stdoptions_enum o, int x)
{
	switch(o) {
	case DE_STDOPT_DEBUG_LEVEL:
		c->debug_level = x;
		break;
	case DE_STDOPT_EXTRACT_POLICY:
		c->extract_policy = x;
		break;
	case DE_STDOPT_EXTRACT_LEVEL:
		c->extract_level = x;
		break;
	case DE_STDOPT_LISTMODE:
		c->list_mode = x?1:0;
		break;
	case DE_STDOPT_WANT_MODHELP:
		c->modhelp_req = x?1:0;
		break;
	case DE_STDOPT_ID_MODE:
		c->identify_only = x?1:0;
		break;
	case DE_STDOPT_WARNINGS:
		c->show_warnings = x;
		break;
	case DE_STDOPT_INFOMESSAGES:
		c->show_infomessages = x;
		break;
	case DE_STDOPT_MP_OPT_USED:
		// We track this mainly so that modules can use it to construct better
		// error messages, and not tell the user to use "-mp" when they
		// already did.
		c->mp_opt_used = 1;
		break;
	case DE_STDOPT_WRITE_BOM:
		c->write_bom = (u8)x;
		break;
	case DE_STDOPT_WRITE_DENSITY:
		c->write_density = (u8)x;
		break;
	case DE_STDOPT_ASCII_HTML:
		c->ascii_html = (u8)x;
		break;
	case DE_STDOPT_FILENAMES_FROM_FILE:
		c->filenames_from_file = (u8)x;
		break;
	case DE_STDOPT_OVERWRITE_MODE:
		c->overwrite_mode = x;
		break;
	case DE_STDOPT_PADPIX:
		c->padpix = (u8)x;
		break;
	default:
		de_internal_err_fatal(c, "set_std_option");
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl %edx, -0x10(%rbp)
movl -0xc(%rbp), %eax
decl %eax
movl %eax, %ecx
movq %rcx, -0x18(%rbp)
subl $0xe, %eax
ja 0x18f221
movq -0x18(%rbp), %rax
leaq 0x48ca7(%rip), %rcx     # 0x1d7d98
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl -0x10(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, (%rax)
jmp 0x18f233
movl -0x10(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x8c(%rax)
jmp 0x18f233
movl -0x10(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x90(%rax)
jmp 0x18f233
movl -0x10(%rbp), %edx
xorl %eax, %eax
movl $0x1, %ecx
cmpl $0x0, %edx
cmovnel %ecx, %eax
movb %al, %cl
movq -0x8(%rbp), %rax
movb %cl, 0x94(%rax)
jmp 0x18f233
movl -0x10(%rbp), %edx
xorl %eax, %eax
movl $0x1, %ecx
cmpl $0x0, %edx
cmovnel %ecx, %eax
movb %al, %cl
movq -0x8(%rbp), %rax
movb %cl, 0xf9(%rax)
jmp 0x18f233
movl -0x10(%rbp), %edx
xorl %eax, %eax
movl $0x1, %ecx
cmpl $0x0, %edx
cmovnel %ecx, %eax
movb %al, %cl
movq -0x8(%rbp), %rax
movb %cl, 0xf8(%rax)
jmp 0x18f233
movl -0x10(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0xc4(%rax)
jmp 0x18f233
movl -0x10(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0xc0(%rax)
jmp 0x18f233
movq -0x8(%rbp), %rax
movb $0x1, 0x7b(%rax)
jmp 0x18f233
movl -0x10(%rbp), %eax
movb %al, %cl
movq -0x8(%rbp), %rax
movb %cl, 0xcc(%rax)
jmp 0x18f233
movl -0x10(%rbp), %eax
movb %al, %cl
movq -0x8(%rbp), %rax
movb %cl, 0xcd(%rax)
jmp 0x18f233
movl -0x10(%rbp), %eax
movb %al, %cl
movq -0x8(%rbp), %rax
movb %cl, 0xce(%rax)
jmp 0x18f233
movl -0x10(%rbp), %eax
movb %al, %cl
movq -0x8(%rbp), %rax
movb %cl, 0xd0(%rax)
jmp 0x18f233
movl -0x10(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0xd8(%rax)
jmp 0x18f233
movl -0x10(%rbp), %eax
movb %al, %cl
movq -0x8(%rbp), %rax
movb %cl, 0xd5(%rax)
jmp 0x18f233
movq -0x8(%rbp), %rdi
leaq 0x48ef9(%rip), %rsi     # 0x1d8125
movb $0x0, %al
callq 0x15c2a0
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax)