	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mxs_lradc_ts_stop
_mxs_lradc_ts_stop:                     ## @mxs_lradc_ts_stop
	.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	%rdi, %r14
	movq	8(%rdi), %r15
	movq	_LRADC_CTRL1_TOUCH_DETECT_IRQ_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_TOUCHSCREEN_VCHANNEL1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LRADC_CTRL1_LRADC_IRQ_EN
	orl	%eax, %ebx
	movq	_TOUCHSCREEN_VCHANNEL2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LRADC_CTRL1_LRADC_IRQ_EN
	movq	_LRADC_CTRL1@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	addq	(%r14), %rsi
	orl	%eax, %ebx
	movq	_STMP_OFFSET_REG_CLR@GOTPCREL(%rip), %r13
	addq	(%r13), %rsi
	movl	%ebx, %edi
	callq	_writel
	movq	_info@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	_LRADC_CTRL0@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	addq	(%r13), %rsi
	callq	_writel
	movl	8(%r15), %edi
	movq	_LRADC_CTRL1_LRADC_IRQ_EN_OFFSET@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edi
	movq	(%r12), %rsi
	addq	(%r14), %rsi
	addq	(%r13), %rsi
	callq	_writel
	movq	_LRADC_MAX_DELAY_CHANS@GOTPCREL(%rip), %r12
	cmpl	$2, (%r12)
	jl	LBB0_3
## %bb.1:
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %r15
	movl	%ebx, %edi
	callq	_LRADC_DELAY
	addq	%rax, %r15
	xorl	%edi, %edi
	movq	%r15, %rsi
	callq	_writel
	incl	%ebx
	cmpl	(%r12), %ebx
	jl	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LRADC_CTRL1_TOUCH_DETECT_IRQ_EN,4,2 ## @LRADC_CTRL1_TOUCH_DETECT_IRQ_EN
	.comm	_TOUCHSCREEN_VCHANNEL1,4,2      ## @TOUCHSCREEN_VCHANNEL1
	.comm	_TOUCHSCREEN_VCHANNEL2,4,2      ## @TOUCHSCREEN_VCHANNEL2
	.comm	_LRADC_CTRL1,8,3                ## @LRADC_CTRL1
	.comm	_STMP_OFFSET_REG_CLR,8,3        ## @STMP_OFFSET_REG_CLR
	.comm	_info,8,3                       ## @info
	.comm	_LRADC_CTRL0,8,3                ## @LRADC_CTRL0
	.comm	_LRADC_CTRL1_LRADC_IRQ_EN_OFFSET,4,2 ## @LRADC_CTRL1_LRADC_IRQ_EN_OFFSET
	.comm	_LRADC_MAX_DELAY_CHANS,4,2      ## @LRADC_MAX_DELAY_CHANS
	.no_dead_strip	_mxs_lradc_ts_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mxs_lradc_ts_stop
_mxs_lradc_ts_stop:                     ; @mxs_lradc_ts_stop
	.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	x19, x0
	ldr	x20, [x0, #8]
Lloh0:
	adrp	x8, _LRADC_CTRL1_TOUCH_DETECT_IRQ_EN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LRADC_CTRL1_TOUCH_DETECT_IRQ_EN@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
Lloh3:
	adrp	x8, _TOUCHSCREEN_VCHANNEL1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TOUCHSCREEN_VCHANNEL1@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_LRADC_CTRL1_LRADC_IRQ_EN
	orr	w21, w0, w21
Lloh6:
	adrp	x8, _TOUCHSCREEN_VCHANNEL2@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TOUCHSCREEN_VCHANNEL2@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_LRADC_CTRL1_LRADC_IRQ_EN
	orr	w0, w21, w0
	ldr	x8, [x19]
Lloh9:
	adrp	x21, _LRADC_CTRL1@GOTPAGE
Lloh10:
	ldr	x21, [x21, _LRADC_CTRL1@GOTPAGEOFF]
	ldr	x9, [x21]
Lloh11:
	adrp	x22, _STMP_OFFSET_REG_CLR@GOTPAGE
Lloh12:
	ldr	x22, [x22, _STMP_OFFSET_REG_CLR@GOTPAGEOFF]
	ldr	x10, [x22]
	add	x8, x9, x8
	add	x1, x8, x10
	bl	_writel
Lloh13:
	adrp	x8, _info@GOTPAGE
Lloh14:
	ldr	x8, [x8, _info@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	ldr	x9, [x20]
	ldr	w0, [x8, x9, lsl #2]
	ldr	x8, [x19]
Lloh16:
	adrp	x9, _LRADC_CTRL0@GOTPAGE
Lloh17:
	ldr	x9, [x9, _LRADC_CTRL0@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	ldr	x10, [x22]
	add	x8, x9, x8
	add	x1, x8, x10
	bl	_writel
	ldr	w8, [x20, #8]
Lloh19:
	adrp	x9, _LRADC_CTRL1_LRADC_IRQ_EN_OFFSET@GOTPAGE
Lloh20:
	ldr	x9, [x9, _LRADC_CTRL1_LRADC_IRQ_EN_OFFSET@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	lsl	w0, w8, w9
	ldr	x8, [x19]
	ldr	x9, [x21]
	ldr	x10, [x22]
	add	x8, x9, x8
	add	x1, x8, x10
	bl	_writel
Lloh22:
	adrp	x21, _LRADC_MAX_DELAY_CHANS@GOTPAGE
Lloh23:
	ldr	x21, [x21, _LRADC_MAX_DELAY_CHANS@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #2
	b.lt	LBB0_3
; %bb.1:
	mov	w20, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x22, [x19]
	mov	x0, x20
	bl	_LRADC_DELAY
	add	x1, x0, x22
	mov	w0, #0
	bl	_writel
	add	w20, w20, #1
	ldr	w8, [x21]
	cmp	w20, w8
	b.lt	LBB0_2
LBB0_3:
	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 AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LRADC_CTRL1_TOUCH_DETECT_IRQ_EN,4,2 ; @LRADC_CTRL1_TOUCH_DETECT_IRQ_EN
	.comm	_TOUCHSCREEN_VCHANNEL1,4,2      ; @TOUCHSCREEN_VCHANNEL1
	.comm	_TOUCHSCREEN_VCHANNEL2,4,2      ; @TOUCHSCREEN_VCHANNEL2
	.comm	_LRADC_CTRL1,8,3                ; @LRADC_CTRL1
	.comm	_STMP_OFFSET_REG_CLR,8,3        ; @STMP_OFFSET_REG_CLR
	.comm	_info,8,3                       ; @info
	.comm	_LRADC_CTRL0,8,3                ; @LRADC_CTRL0
	.comm	_LRADC_CTRL1_LRADC_IRQ_EN_OFFSET,4,2 ; @LRADC_CTRL1_LRADC_IRQ_EN_OFFSET
	.comm	_LRADC_MAX_DELAY_CHANS,4,2      ; @LRADC_MAX_DELAY_CHANS
	.no_dead_strip	_mxs_lradc_ts_stop
.subsections_via_symbols
