	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra_kbc_keypress_timer
_tegra_kbc_keypress_timer:              ## @tegra_kbc_keypress_timer
	.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	_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rdi, %rsi
	callq	_from_timer
	movq	%rax, %r12
	leaq	8(%rax), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	_KBC_INT_0@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	32(%r12), %rdi
	callq	_readl
	movl	%eax, %r15d
	shrl	$4, %r15d
	andl	$15, %r15d
	je	LBB0_1
## %bb.5:
	movq	%r12, %rdi
	callq	_tegra_kbc_report_keys
	movl	$1, %edi
	cmpl	$1, %r15d
	jne	LBB0_7
## %bb.6:
	movslq	(%r12), %rdi
LBB0_7:
	addq	$24, %r12
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	callq	_msecs_to_jiffies
	addq	%rax, %r15
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_mod_timer
	jmp	LBB0_8
LBB0_1:
	cmpl	$0, 4(%r12)
	je	LBB0_4
## %bb.2:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	12(%r12), %edi
	movq	16(%r12), %rax
	movl	(%rax,%rbx,4), %esi
	xorl	%edx, %edx
	callq	_input_report_key
	incq	%rbx
	movl	4(%r12), %eax
	cmpq	%rax, %rbx
	jb	LBB0_3
LBB0_4:
	movl	12(%r12), %edi
	callq	_input_sync
	movl	$0, 4(%r12)
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_tegra_kbc_set_fifo_interrupt
LBB0_8:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_timer,4,2                      ## @timer
	.comm	_KBC_INT_0,8,3                  ## @KBC_INT_0
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_kbc,8,3                        ## @kbc
	.no_dead_strip	_tegra_kbc_keypress_timer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tegra_kbc_keypress_timer
_tegra_kbc_keypress_timer:              ; @tegra_kbc_keypress_timer
	.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
Lloh0:
	adrp	x8, _timer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _timer@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x0
	bl	_from_timer
	mov	x20, x0
	add	x19, x0, #8
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	x8, [x20, #32]
Lloh3:
	adrp	x9, _KBC_INT_0@GOTPAGE
Lloh4:
	ldr	x9, [x9, _KBC_INT_0@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	ubfx	w21, w0, #4, #4
	cbz	w21, LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_tegra_kbc_report_keys
	cmp	w21, #1
	b.ne	LBB0_7
; %bb.2:
	ldrsw	x0, [x20]
	b	LBB0_8
LBB0_3:
	ldr	w8, [x20, #4]
	cbz	w8, LBB0_6
; %bb.4:
	mov	x21, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20, #12]
	ldr	x8, [x20, #16]
	ldr	w1, [x8, x21, lsl #2]
	mov	w2, #0
	bl	_input_report_key
	add	x21, x21, #1
	ldr	w8, [x20, #4]
	cmp	x21, x8
	b.lo	LBB0_5
LBB0_6:
	ldr	w0, [x20, #12]
	bl	_input_sync
	str	wzr, [x20, #4]
	mov	x0, x20
	mov	w1, #1
	bl	_tegra_kbc_set_fifo_interrupt
	b	LBB0_9
LBB0_7:
	mov	w0, #1
LBB0_8:
	add	x20, x20, #24
Lloh6:
	adrp	x8, _jiffies@GOTPAGE
Lloh7:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh8:
	ldr	x21, [x8]
	bl	_msecs_to_jiffies
	add	x1, x0, x21
	mov	x0, x20
	bl	_mod_timer
LBB0_9:
	mov	x0, x19
	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
	b	_spin_unlock_irqrestore
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_timer,4,2                      ; @timer
	.comm	_KBC_INT_0,8,3                  ; @KBC_INT_0
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_kbc,8,3                        ; @kbc
	.no_dead_strip	_tegra_kbc_keypress_timer
.subsections_via_symbols
