	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function imx_snvs_pwrkey_interrupt
_imx_snvs_pwrkey_interrupt:             ## @imx_snvs_pwrkey_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rdi
	callq	_platform_get_drvdata
	movq	%rax, %r14
	movq	8(%rax), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_pm_wakeup_event
	movl	(%r14), %edi
	movq	_SNVS_LPSR_REG@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	leaq	-44(%rbp), %rdx
	callq	_regmap_read
	movq	_SNVS_LPSR_SPO@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	testl	%edx, -44(%rbp)
	je	LBB0_2
## %bb.1:
	movq	%r14, %r15
	addq	$4, %r15
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_DEBOUNCE_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msecs_to_jiffies
	addq	%rax, %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_mod_timer
	movl	(%r13), %edx
LBB0_2:
	movl	(%r14), %edi
	movl	(%r12), %esi
	callq	_regmap_write
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNVS_LPSR_REG,4,2              ## @SNVS_LPSR_REG
	.comm	_SNVS_LPSR_SPO,4,2              ## @SNVS_LPSR_SPO
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_DEBOUNCE_TIME,4,2              ## @DEBOUNCE_TIME
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_imx_snvs_pwrkey_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function imx_snvs_pwrkey_interrupt
_imx_snvs_pwrkey_interrupt:             ; @imx_snvs_pwrkey_interrupt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x0, x1
	bl	_platform_get_drvdata
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	w0, [x8]
	mov	w1, #0
	bl	_pm_wakeup_event
	ldr	w0, [x19]
Lloh0:
	adrp	x21, _SNVS_LPSR_REG@GOTPAGE
Lloh1:
	ldr	x21, [x21, _SNVS_LPSR_REG@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #12
	bl	_regmap_read
	ldr	w8, [sp, #12]
Lloh2:
	adrp	x22, _SNVS_LPSR_SPO@GOTPAGE
Lloh3:
	ldr	x22, [x22, _SNVS_LPSR_SPO@GOTPAGEOFF]
	ldr	w2, [x22]
	tst	w2, w8
	b.eq	LBB0_2
; %bb.1:
	add	x20, x19, #4
Lloh4:
	adrp	x8, _jiffies@GOTPAGE
Lloh5:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh6:
	ldr	x23, [x8]
Lloh7:
	adrp	x8, _DEBOUNCE_TIME@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DEBOUNCE_TIME@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_msecs_to_jiffies
	add	x1, x0, x23
	mov	x0, x20
	bl	_mod_timer
	ldr	w2, [x22]
LBB0_2:
	ldr	w0, [x19]
	ldr	w1, [x21]
	bl	_regmap_write
Lloh10:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_SNVS_LPSR_REG,4,2              ; @SNVS_LPSR_REG
	.comm	_SNVS_LPSR_SPO,4,2              ; @SNVS_LPSR_SPO
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_DEBOUNCE_TIME,4,2              ; @DEBOUNCE_TIME
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_imx_snvs_pwrkey_interrupt
.subsections_via_symbols
