	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gpio_keys_irq_isr
_gpio_keys_irq_isr:                     ## @gpio_keys_irq_isr
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	40(%rsi), %r15
	xorl	%eax, %eax
	cmpl	%edi, (%rsi)
	setne	%al
	movl	%eax, %edi
	callq	_BUG_ON
	leaq	8(%rbx), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	cmpl	$0, 4(%rbx)
	je	LBB0_1
## %bb.6:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	jne	LBB0_7
	jmp	LBB0_8
LBB0_1:
	movq	48(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	movq	40(%rbx), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_pm_wakeup_event
LBB0_3:
	movq	_EV_KEY@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	32(%rbx), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$1, %ecx
	callq	_input_event
	movq	%r15, %rdi
	callq	_input_sync
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.5:
	movl	$1, 4(%rbx)
LBB0_7:
	addq	$24, %rbx
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	callq	_msecs_to_jiffies
	addq	%rax, %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_mod_timer
LBB0_8:
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	(%r12), %esi
	movq	32(%rbx), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	callq	_input_event
	movq	%r15, %rdi
	callq	_input_sync
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_EV_KEY,4,2                     ## @EV_KEY
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_gpio_keys_irq_isr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gpio_keys_irq_isr
_gpio_keys_irq_isr:                     ; @gpio_keys_irq_isr
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	ldr	x21, [x1, #40]
	ldr	w8, [x1]
	cmp	w8, w0
	cset	w0, ne
	bl	_BUG_ON
	add	x19, x20, #8
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	w8, [x20, #4]
	cbz	w8, LBB0_2
; %bb.1:
	ldr	x0, [x20, #16]
	cbnz	x0, LBB0_6
	b	LBB0_7
LBB0_2:
	ldr	x8, [x20, #48]
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	x8, [x20, #40]
	ldr	w0, [x8]
	mov	w1, #0
	bl	_pm_wakeup_event
LBB0_4:
Lloh0:
	adrp	x22, _EV_KEY@GOTPAGE
Lloh1:
	ldr	x22, [x22, _EV_KEY@GOTPAGEOFF]
	ldr	w1, [x22]
	ldr	x8, [x20, #32]
	ldr	w2, [x8]
	mov	w23, #1
	mov	x0, x21
	mov	w3, #1
	bl	_input_event
	mov	x0, x21
	bl	_input_sync
	ldr	x0, [x20, #16]
	cbz	x0, LBB0_8
; %bb.5:
	str	w23, [x20, #4]
LBB0_6:
	add	x20, x20, #24
Lloh2:
	adrp	x8, _jiffies@GOTPAGE
Lloh3:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh4:
	ldr	x21, [x8]
	bl	_msecs_to_jiffies
	add	x1, x0, x21
	mov	x0, x20
	bl	_mod_timer
LBB0_7:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
Lloh5:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh7:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldr	w1, [x22]
	ldr	x8, [x20, #32]
	ldr	w2, [x8]
	mov	x0, x21
	mov	w3, #0
	bl	_input_event
	mov	x0, x21
	bl	_input_sync
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EV_KEY,4,2                     ; @EV_KEY
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_gpio_keys_irq_isr
.subsections_via_symbols
