	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bfin_kpad_isr
_bfin_kpad_isr:                         ## @bfin_kpad_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rdi
	callq	_platform_get_drvdata
	movq	%rax, %rbx
	movq	24(%rax), %r14
	xorl	%eax, %eax
	callq	_bfin_read_KPAD_ROWCOL
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_bfin_kpad_find_key
	movl	%eax, %r15d
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$1, %edx
	callq	_input_report_key
	movq	%r14, %rdi
	callq	_input_sync
	movq	%rbx, %rdi
	callq	_bfin_kpad_get_keypressed
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	20(%rbx), %edi
	callq	_disable_irq
	movl	%r15d, (%rbx)
	movq	%rbx, %rdi
	addq	$16, %rdi
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	8(%rbx), %rsi
	addq	(%rax), %rsi
	callq	_mod_timer
	jmp	LBB0_3
LBB0_2:
	movq	%r14, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	callq	_input_report_key
	movq	%r14, %rdi
	callq	_input_sync
	xorl	%eax, %eax
	callq	_bfin_kpad_clear_irq
LBB0_3:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_bfin_kpad_isr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bfin_kpad_isr
_bfin_kpad_isr:                         ; @bfin_kpad_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	x0, x1
	bl	_platform_get_drvdata
	mov	x19, x0
	ldr	x20, [x0, #24]
	bl	_bfin_read_KPAD_ROWCOL
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_bfin_kpad_find_key
	mov	x21, x0
	mov	x0, x20
	mov	x1, x21
	mov	w2, #1
	bl	_input_report_key
	mov	x0, x20
	bl	_input_sync
	mov	x0, x19
	bl	_bfin_kpad_get_keypressed
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x19, #20]
	bl	_disable_irq
	str	w21, [x19]
	add	x0, x19, #16
Lloh0:
	adrp	x8, _jiffies@GOTPAGE
Lloh1:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x19, #8]
	add	x1, x9, x8
	bl	_mod_timer
	b	LBB0_3
LBB0_2:
	mov	x0, x20
	mov	x1, x21
	mov	w2, #0
	bl	_input_report_key
	mov	x0, x20
	bl	_input_sync
	bl	_bfin_kpad_clear_irq
LBB0_3:
Lloh3:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh5:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_bfin_kpad_isr
.subsections_via_symbols
