	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_switch_option                  ## -- Begin function switch_option
	.p2align	4, 0x90
_switch_option:                         ## @switch_option
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_xlog_level@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movl	%eax, -20(%rbp)
	movq	_xlog_opt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	callq	_cmdoption
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_6
LBB0_2:
	movl	-20(%rbp), %ecx
	movq	_XLOG_MANDATORY@GOTPCREL(%rip), %r14
	movl	%ecx, %eax
	notl	%eax
	testl	%eax, (%r14)
	je	LBB0_4
## %bb.3:
	movq	_XLOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_plog
	movl	-20(%rbp), %ecx
	orl	(%r14), %ecx
LBB0_4:
	xorl	%eax, %eax
	cmpl	%ecx, (%rbx)
	je	LBB0_6
## %bb.5:
	movl	%ecx, (%rbx)
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_xlog_level,4,2                 ## @xlog_level
	.comm	_xlog_opt,4,2                   ## @xlog_opt
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_XLOG_MANDATORY,4,2             ## @XLOG_MANDATORY
	.comm	_XLOG_ERROR,4,2                 ## @XLOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot turn off mandatory logging options"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_switch_option                  ; -- Begin function switch_option
	.p2align	2
_switch_option:                         ; @switch_option
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _xlog_level@GOTPAGE
Lloh1:
	ldr	x19, [x19, _xlog_level@GOTPAGEOFF]
	ldr	w8, [x19]
	str	w8, [sp, #12]
Lloh2:
	adrp	x8, _xlog_opt@GOTPAGE
Lloh3:
	ldr	x8, [x8, _xlog_opt@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_cmdoption
	cbz	w0, LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	b	LBB0_7
LBB0_2:
	ldr	w8, [sp, #12]
Lloh8:
	adrp	x20, _XLOG_MANDATORY@GOTPAGE
Lloh9:
	ldr	x20, [x20, _XLOG_MANDATORY@GOTPAGEOFF]
	ldr	w9, [x20]
	bics	wzr, w9, w8
	b.eq	LBB0_4
; %bb.3:
Lloh10:
	adrp	x8, _XLOG_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _XLOG_ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	bl	_plog
	ldr	w8, [x20]
	ldr	w9, [sp, #12]
	orr	w8, w9, w8
LBB0_4:
	ldr	w9, [x19]
	cmp	w9, w8
	b.ne	LBB0_6
; %bb.5:
	mov	w0, #0
	b	LBB0_7
LBB0_6:
	mov	w0, #0
	str	w8, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_xlog_level,4,2                 ; @xlog_level
	.comm	_xlog_opt,4,2                   ; @xlog_opt
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_XLOG_MANDATORY,4,2             ; @XLOG_MANDATORY
	.comm	_XLOG_ERROR,4,2                 ; @XLOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot turn off mandatory logging options"

.subsections_via_symbols
