	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function jornada720_kbd_interrupt
_jornada720_kbd_interrupt:              ## @jornada720_kbd_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, %r12
	movq	%rsi, %rdi
	callq	_platform_get_drvdata
	movq	%rax, %r14
	movq	8(%rax), %r15
	xorl	%eax, %eax
	callq	_jornada_ssp_start
	movq	_GETSCANKEYCODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_jornada_ssp_inout
	movq	_TXDUMMY@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_1
## %bb.2:
	movq	%rax, %rdi
	callq	_jornada_ssp_byte
	testl	%eax, %eax
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_5
## %bb.3:
	movl	%eax, %r13d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	callq	_jornada_ssp_byte
	movq	%rbx, %r14
	movl	%eax, %r12d
	movl	%eax, %ebx
	andl	$127, %ebx
	movq	_EV_MSC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MSC_SCAN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%ebx, %ecx
	callq	_input_event
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %esi
	xorl	%edx, %edx
	testb	$-128, %r12b
	movq	%r14, %rbx
	sete	%dl
	movq	%r15, %rdi
	callq	_input_report_key
	movq	%r15, %rdi
	callq	_input_sync
	decl	%r13d
	jne	LBB0_4
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_dbg
LBB0_5:
	xorl	%eax, %eax
	callq	_jornada_ssp_end
	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	_GETSCANKEYCODE,4,2             ## @GETSCANKEYCODE
	.comm	_TXDUMMY,8,3                    ## @TXDUMMY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GetKeycode command failed with ETIMEDOUT, flushed bus\n"

	.comm	_EV_MSC,4,2                     ## @EV_MSC
	.comm	_MSC_SCAN,4,2                   ## @MSC_SCAN
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_jornada720_kbd_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function jornada720_kbd_interrupt
_jornada720_kbd_interrupt:              ; @jornada720_kbd_interrupt
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x1
	mov	x0, x1
	bl	_platform_get_drvdata
	mov	x19, x0
	ldr	x20, [x0, #8]
	bl	_jornada_ssp_start
Lloh0:
	adrp	x8, _GETSCANKEYCODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GETSCANKEYCODE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_jornada_ssp_inout
Lloh3:
	adrp	x24, _TXDUMMY@GOTPAGE
Lloh4:
	ldr	x24, [x24, _TXDUMMY@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.1:
	bl	_jornada_ssp_byte
	cbz	w0, LBB0_5
; %bb.2:
	mov	x21, x0
Lloh5:
	adrp	x25, _EV_MSC@GOTPAGE
Lloh6:
	ldr	x25, [x25, _EV_MSC@GOTPAGEOFF]
Lloh7:
	adrp	x26, _MSC_SCAN@GOTPAGE
Lloh8:
	ldr	x26, [x26, _MSC_SCAN@GOTPAGEOFF]
	mov	w27, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	w21, w21, #1
	ldr	x0, [x24]
	bl	_jornada_ssp_byte
	mov	x22, x0
	and	w23, w0, #0x7f
	ldr	w1, [x25]
	ldr	w2, [x26]
	mov	x0, x20
	mov	x3, x23
	bl	_input_event
	ldr	x8, [x19]
	ldr	w1, [x8, w23, uxtw #2]
	bic	w2, w27, w22, lsr #7
	mov	x0, x20
	bl	_input_report_key
	mov	x0, x20
	bl	_input_sync
	cbnz	w21, LBB0_3
	b	LBB0_5
LBB0_4:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_dev_dbg
LBB0_5:
	bl	_jornada_ssp_end
Lloh11:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_GETSCANKEYCODE,4,2             ; @GETSCANKEYCODE
	.comm	_TXDUMMY,8,3                    ; @TXDUMMY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GetKeycode command failed with ETIMEDOUT, flushed bus\n"

	.comm	_EV_MSC,4,2                     ; @EV_MSC
	.comm	_MSC_SCAN,4,2                   ; @MSC_SCAN
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_jornada720_kbd_interrupt
.subsections_via_symbols
