	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra_kbc_isr
_tegra_kbc_isr:                         ## @tegra_kbc_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
	leaq	4(%rsi), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	_KBC_INT_0@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	addq	24(%rbx), %rdi
	callq	_readl
	movl	%eax, %r15d
	movq	(%r12), %rsi
	addq	24(%rbx), %rsi
	movl	%eax, %edi
	callq	_writel
	movq	_KBC_INT_FIFO_CNT_INT_STATUS@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_tegra_kbc_set_fifo_interrupt
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	8(%rbx), %rsi
	addq	$16, %rbx
	addq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_mod_timer
	jmp	LBB0_4
LBB0_2:
	movq	_KBC_INT_KEYPRESS_INT_STATUS@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_4
## %bb.3:
	movl	$1, (%rbx)
LBB0_4:
	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
	.cfi_endproc
                                        ## -- End function
	.comm	_KBC_INT_0,8,3                  ## @KBC_INT_0
	.comm	_KBC_INT_FIFO_CNT_INT_STATUS,4,2 ## @KBC_INT_FIFO_CNT_INT_STATUS
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_KBC_INT_KEYPRESS_INT_STATUS,4,2 ## @KBC_INT_KEYPRESS_INT_STATUS
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_tegra_kbc_isr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tegra_kbc_isr
_tegra_kbc_isr:                         ; @tegra_kbc_isr
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	add	x19, x1, #4
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	x8, [x20, #24]
Lloh0:
	adrp	x22, _KBC_INT_0@GOTPAGE
Lloh1:
	ldr	x22, [x22, _KBC_INT_0@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x0, x9, x8
	bl	_readl
	mov	x21, x0
	ldr	x8, [x20, #24]
	ldr	x9, [x22]
	add	x1, x9, x8
	bl	_writel
Lloh2:
	adrp	x8, _KBC_INT_FIFO_CNT_INT_STATUS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _KBC_INT_FIFO_CNT_INT_STATUS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x20
	mov	w1, #0
	bl	_tegra_kbc_set_fifo_interrupt
	add	x0, x20, #16
Lloh5:
	adrp	x8, _jiffies@GOTPAGE
Lloh6:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x9, [x20, #8]
	add	x1, x9, x8
	bl	_mod_timer
	b	LBB0_4
LBB0_2:
Lloh8:
	adrp	x8, _KBC_INT_KEYPRESS_INT_STATUS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _KBC_INT_KEYPRESS_INT_STATUS@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_4
; %bb.3:
	mov	w8, #1
	str	w8, [x20]
LBB0_4:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
Lloh11:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_KBC_INT_0,8,3                  ; @KBC_INT_0
	.comm	_KBC_INT_FIFO_CNT_INT_STATUS,4,2 ; @KBC_INT_FIFO_CNT_INT_STATUS
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_KBC_INT_KEYPRESS_INT_STATUS,4,2 ; @KBC_INT_KEYPRESS_INT_STATUS
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_tegra_kbc_isr
.subsections_via_symbols
