	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i8042_set_reset
_i8042_set_reset:                       ## @i8042_set_reset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rsi), %rbx
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	leaq	-12(%rbp), %rsi
	callq	_kstrtobool
	testl	%eax, %eax
	jne	LBB0_7
## %bb.2:
	cmpl	$0, -12(%rbp)
	jne	LBB0_5
## %bb.3:
	movq	_I8042_RESET_NEVER@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	movq	_I8042_RESET_ALWAYS@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I8042_RESET_ALWAYS,4,2         ## @I8042_RESET_ALWAYS
	.comm	_I8042_RESET_NEVER,4,2          ## @I8042_RESET_NEVER
	.no_dead_strip	_i8042_set_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i8042_set_reset
_i8042_set_reset:                       ; @i8042_set_reset
	.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
	ldr	x19, [x1]
	cbz	x0, LBB0_3
; %bb.1:
	add	x1, sp, #12
	bl	_kstrtobool
	cbnz	w0, LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _I8042_RESET_ALWAYS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I8042_RESET_ALWAYS@GOTPAGEOFF]
	ldr	w9, [sp, #12]
Lloh2:
	adrp	x10, _I8042_RESET_NEVER@GOTPAGE
Lloh3:
	ldr	x10, [x10, _I8042_RESET_NEVER@GOTPAGEOFF]
	cmp	w9, #0
	csel	x8, x10, x8, eq
	b	LBB0_4
LBB0_3:
Lloh4:
	adrp	x8, _I8042_RESET_ALWAYS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _I8042_RESET_ALWAYS@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	mov	w0, #0
	str	w8, [x19]
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_I8042_RESET_ALWAYS,4,2         ; @I8042_RESET_ALWAYS
	.comm	_I8042_RESET_NEVER,4,2          ; @I8042_RESET_NEVER
	.no_dead_strip	_i8042_set_reset
.subsections_via_symbols
