	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mrfld_pwrbtn_interrupt
_mrfld_pwrbtn_interrupt:                ## @mrfld_pwrbtn_interrupt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	(%rsi), %rbx
	movq	%rbx, %rdi
	callq	_dev_get_drvdata
	movq	%rax, %r14
	movq	_BCOVE_PBSTATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rdx
	movq	%r14, %rdi
	callq	_regmap_read
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	movl	-28(%rbp), %edx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_dbg
	movq	_KEY_POWER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BCOVE_PBSTATUS_PBLVL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edx, %edx
	andl	-28(%rbp), %eax
	sete	%dl
	movq	%r15, %rdi
	callq	_input_report_key
	movq	%r15, %rdi
	callq	_input_sync
	movq	_BCOVE_MIRQLVL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BCOVE_LVL1_PWRBTN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_regmap_update_bits
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BCOVE_PBSTATUS,4,2             ## @BCOVE_PBSTATUS
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PBSTATUS=0x%x\n"

	.comm	_KEY_POWER,4,2                  ## @KEY_POWER
	.comm	_BCOVE_PBSTATUS_PBLVL,4,2       ## @BCOVE_PBSTATUS_PBLVL
	.comm	_BCOVE_MIRQLVL1,4,2             ## @BCOVE_MIRQLVL1
	.comm	_BCOVE_LVL1_PWRBTN,4,2          ## @BCOVE_LVL1_PWRBTN
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_mrfld_pwrbtn_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mrfld_pwrbtn_interrupt
_mrfld_pwrbtn_interrupt:                ; @mrfld_pwrbtn_interrupt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	ldr	x21, [x1]
	mov	x0, x21
	bl	_dev_get_drvdata
	mov	x19, x0
Lloh0:
	adrp	x8, _BCOVE_PBSTATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BCOVE_PBSTATUS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_regmap_read
	cbz	w0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	ldr	w2, [sp, #12]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_dev_dbg
Lloh7:
	adrp	x8, _KEY_POWER@GOTPAGE
Lloh8:
	ldr	x8, [x8, _KEY_POWER@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	ldr	w8, [sp, #12]
Lloh10:
	adrp	x9, _BCOVE_PBSTATUS_PBLVL@GOTPAGE
Lloh11:
	ldr	x9, [x9, _BCOVE_PBSTATUS_PBLVL@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w2, eq
	mov	x0, x20
	bl	_input_report_key
	mov	x0, x20
	bl	_input_sync
Lloh13:
	adrp	x8, _BCOVE_MIRQLVL1@GOTPAGE
Lloh14:
	ldr	x8, [x8, _BCOVE_MIRQLVL1@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x8, _BCOVE_LVL1_PWRBTN@GOTPAGE
Lloh17:
	ldr	x8, [x8, _BCOVE_LVL1_PWRBTN@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #0
	bl	_regmap_update_bits
Lloh19:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_BCOVE_PBSTATUS,4,2             ; @BCOVE_PBSTATUS
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PBSTATUS=0x%x\n"

	.comm	_KEY_POWER,4,2                  ; @KEY_POWER
	.comm	_BCOVE_PBSTATUS_PBLVL,4,2       ; @BCOVE_PBSTATUS_PBLVL
	.comm	_BCOVE_MIRQLVL1,4,2             ; @BCOVE_MIRQLVL1
	.comm	_BCOVE_LVL1_PWRBTN,4,2          ; @BCOVE_LVL1_PWRBTN
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_mrfld_pwrbtn_interrupt
.subsections_via_symbols
