	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function jornada720_ts_interrupt
_jornada720_ts_interrupt:               ## @jornada720_ts_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	%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	16(%rax), %r14
	movl	8(%rax), %edi
	callq	_gpiod_get_value
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_BTN_TOUCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_input_report_key
	movq	%r14, %rdi
	callq	_input_sync
	jmp	LBB0_5
LBB0_2:
	xorl	%eax, %eax
	callq	_jornada_ssp_start
	movq	_GETTOUCHSAMPLES@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_jornada_ssp_inout
	movq	_TXDUMMY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_jornada720_ts_collect_data
	movl	4(%rbx), %edi
	callq	_jornada720_ts_average
	movl	%eax, %r15d
	movl	(%rbx), %edi
	callq	_jornada720_ts_average
	movl	%eax, %ebx
	movq	_BTN_TOUCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_input_report_key
	movq	_ABS_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_input_report_abs
	movq	_ABS_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_input_report_abs
	movq	%r14, %rdi
	callq	_input_sync
LBB0_4:
	xorl	%eax, %eax
	callq	_jornada_ssp_end
LBB0_5:
	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	_BTN_TOUCH,4,2                  ## @BTN_TOUCH
	.comm	_GETTOUCHSAMPLES,4,2            ## @GETTOUCHSAMPLES
	.comm	_TXDUMMY,8,3                    ## @TXDUMMY
	.comm	_ABS_X,4,2                      ## @ABS_X
	.comm	_ABS_Y,4,2                      ## @ABS_Y
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_jornada720_ts_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function jornada720_ts_interrupt
_jornada720_ts_interrupt:               ; @jornada720_ts_interrupt
	.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	x20, x0
	ldr	x19, [x0, #16]
	ldr	w0, [x0, #8]
	bl	_gpiod_get_value
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _BTN_TOUCH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BTN_TOUCH@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_input_report_key
	mov	x0, x19
	bl	_input_sync
	b	LBB0_5
LBB0_2:
	bl	_jornada_ssp_start
Lloh3:
	adrp	x8, _GETTOUCHSAMPLES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GETTOUCHSAMPLES@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_jornada_ssp_inout
Lloh6:
	adrp	x8, _TXDUMMY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TXDUMMY@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_jornada720_ts_collect_data
	ldr	w0, [x20, #4]
	bl	_jornada720_ts_average
	mov	x21, x0
	ldr	w0, [x20]
	bl	_jornada720_ts_average
	mov	x20, x0
Lloh9:
	adrp	x8, _BTN_TOUCH@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BTN_TOUCH@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	bl	_input_report_key
Lloh12:
	adrp	x8, _ABS_X@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ABS_X@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_input_report_abs
Lloh15:
	adrp	x8, _ABS_Y@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ABS_Y@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_input_report_abs
	mov	x0, x19
	bl	_input_sync
LBB0_4:
	bl	_jornada_ssp_end
LBB0_5:
Lloh18:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh20:
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_BTN_TOUCH,4,2                  ; @BTN_TOUCH
	.comm	_GETTOUCHSAMPLES,4,2            ; @GETTOUCHSAMPLES
	.comm	_TXDUMMY,8,3                    ; @TXDUMMY
	.comm	_ABS_X,4,2                      ; @ABS_X
	.comm	_ABS_Y,4,2                      ; @ABS_Y
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_jornada720_ts_interrupt
.subsections_via_symbols
