	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mxs_lradc_handle_touch
_mxs_lradc_handle_touch:                ## @mxs_lradc_handle_touch
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_9
## %bb.1:
	movq	%rdi, %rbx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	%rbx, %rdi
	callq	_mxs_lradc_check_touch_event
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_mxs_lradc_start_touch_event
LBB0_4:
	movq	_LRADC_CTRL1_TOUCH_DETECT_IRQ@GOTPCREL(%rip), %rax
	movq	_LRADC_CTRL1@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	24(%rbx), %rsi
	movl	(%rax), %edi
	movq	_STMP_OFFSET_REG_CLR@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_writel                         ## TAILCALL
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	movq	_TOUCHSCREEN_VCHANNEL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mxs_lradc_ts_read_raw_channel
	movq	%rax, 16(%rbx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mxs_lradc_prepare_x_pos        ## TAILCALL
LBB0_6:
	movq	_TOUCHSCREEN_VCHANNEL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mxs_lradc_ts_read_raw_channel
	movq	%rax, 8(%rbx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mxs_lradc_prepare_pressure     ## TAILCALL
LBB0_8:
	movq	%rbx, %rdi
	movl	$1, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mxs_lradc_finish_touch_event   ## TAILCALL
LBB0_7:
	movq	_TOUCHSCREEN_VCHANNEL2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TOUCHSCREEN_VCHANNEL1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_mxs_lradc_read_ts_pressure
	movl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mxs_lradc_complete_touch_event ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_8
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_LRADC_CTRL1_TOUCH_DETECT_IRQ,4,2 ## @LRADC_CTRL1_TOUCH_DETECT_IRQ
	.comm	_LRADC_CTRL1,8,3                ## @LRADC_CTRL1
	.comm	_STMP_OFFSET_REG_CLR,8,3        ## @STMP_OFFSET_REG_CLR
	.comm	_TOUCHSCREEN_VCHANNEL1,4,2      ## @TOUCHSCREEN_VCHANNEL1
	.comm	_TOUCHSCREEN_VCHANNEL2,4,2      ## @TOUCHSCREEN_VCHANNEL2
	.no_dead_strip	_mxs_lradc_handle_touch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mxs_lradc_handle_touch
_mxs_lradc_handle_touch:                ; @mxs_lradc_handle_touch
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_5
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x0, x19
	bl	_mxs_lradc_check_touch_event
	cbz	w0, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_mxs_lradc_start_touch_event
LBB0_4:
Lloh2:
	adrp	x8, _LRADC_CTRL1_TOUCH_DETECT_IRQ@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LRADC_CTRL1_TOUCH_DETECT_IRQ@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	x8, [x19, #24]
Lloh5:
	adrp	x9, _LRADC_CTRL1@GOTPAGE
Lloh6:
	ldr	x9, [x9, _LRADC_CTRL1@GOTPAGEOFF]
Lloh7:
	adrp	x10, _STMP_OFFSET_REG_CLR@GOTPAGE
Lloh8:
	ldr	x10, [x10, _STMP_OFFSET_REG_CLR@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
Lloh10:
	ldr	x10, [x10]
	add	x8, x9, x8
	add	x1, x8, x10
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_writel
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh11:
	adrp	x8, _TOUCHSCREEN_VCHANNEL1@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TOUCHSCREEN_VCHANNEL1@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_mxs_lradc_ts_read_raw_channel
	str	x0, [x19, #16]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mxs_lradc_prepare_x_pos
LBB0_7:
Lloh14:
	adrp	x8, _TOUCHSCREEN_VCHANNEL1@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TOUCHSCREEN_VCHANNEL1@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_mxs_lradc_ts_read_raw_channel
	str	x0, [x19, #8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mxs_lradc_prepare_pressure
LBB0_8:
	mov	x0, x19
	mov	w1, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mxs_lradc_finish_touch_event
LBB0_9:
Lloh17:
	adrp	x8, _TOUCHSCREEN_VCHANNEL2@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TOUCHSCREEN_VCHANNEL2@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x8, _TOUCHSCREEN_VCHANNEL1@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TOUCHSCREEN_VCHANNEL1@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_mxs_lradc_read_ts_pressure
	str	w0, [x19, #4]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mxs_lradc_complete_touch_event
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
                                        ; -- End function
	.comm	_LRADC_CTRL1_TOUCH_DETECT_IRQ,4,2 ; @LRADC_CTRL1_TOUCH_DETECT_IRQ
	.comm	_LRADC_CTRL1,8,3                ; @LRADC_CTRL1
	.comm	_STMP_OFFSET_REG_CLR,8,3        ; @STMP_OFFSET_REG_CLR
	.comm	_TOUCHSCREEN_VCHANNEL1,4,2      ; @TOUCHSCREEN_VCHANNEL1
	.comm	_TOUCHSCREEN_VCHANNEL2,4,2      ; @TOUCHSCREEN_VCHANNEL2
	.no_dead_strip	_mxs_lradc_handle_touch
.subsections_via_symbols
