	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_ksettings
_set_ksettings:                         ## @set_ksettings
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$2, %esi
	jb	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_2:
	movq	_IDE_DFLAG_KEEP_SETTINGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%esi, %esi
	je	LBB0_4
## %bb.3:
	orl	%eax, (%rdi)
	jmp	LBB0_5
LBB0_4:
	notl	%eax
	andl	%eax, (%rdi)
LBB0_5:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IDE_DFLAG_KEEP_SETTINGS,4,2    ## @IDE_DFLAG_KEEP_SETTINGS
	.no_dead_strip	_set_ksettings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_ksettings
_set_ksettings:                         ; @set_ksettings
	.cfi_startproc
; %bb.0:
	cmp	w1, #2
	b.lo	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_2:
	mov	x8, x0
Lloh3:
	adrp	x9, _IDE_DFLAG_KEEP_SETTINGS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IDE_DFLAG_KEEP_SETTINGS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	mov	w0, #0
	cbz	w1, LBB0_4
; %bb.3:
	ldr	w10, [x8]
	orr	w9, w10, w9
	str	w9, [x8]
	ret
LBB0_4:
	ldr	w10, [x8]
	bic	w9, w10, w9
	str	w9, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IDE_DFLAG_KEEP_SETTINGS,4,2    ; @IDE_DFLAG_KEEP_SETTINGS
	.no_dead_strip	_set_ksettings
.subsections_via_symbols
