	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mxs_lradc_prepare_x_pos
_mxs_lradc_prepare_x_pos:               ## @mxs_lradc_prepare_x_pos
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %r14
	movq	_info@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	(%r14), %rcx
	movq	_LRADC_CTRL0@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	addq	8(%rdi), %rsi
	movl	4(%rax,%rcx,8), %edi
	movq	_STMP_OFFSET_REG_CLR@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	callq	_writel
	movq	(%r15), %rax
	movq	(%r14), %rcx
	movq	(%r12), %rsi
	addq	8(%rbx), %rsi
	movl	(%rax,%rcx,8), %edi
	movq	_STMP_OFFSET_REG_SET@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	callq	_writel
	movq	_LRADC_SAMPLE_X@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	_TOUCHSCREEN_VCHANNEL1@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_TS_CH_YP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_mxs_lradc_map_ts_channel
	movl	(%r14), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mxs_lradc_setup_ts_channel     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_info,8,3                       ## @info
	.comm	_LRADC_CTRL0,8,3                ## @LRADC_CTRL0
	.comm	_STMP_OFFSET_REG_CLR,8,3        ## @STMP_OFFSET_REG_CLR
	.comm	_STMP_OFFSET_REG_SET,8,3        ## @STMP_OFFSET_REG_SET
	.comm	_LRADC_SAMPLE_X,4,2             ## @LRADC_SAMPLE_X
	.comm	_TOUCHSCREEN_VCHANNEL1,4,2      ## @TOUCHSCREEN_VCHANNEL1
	.comm	_TS_CH_YP,4,2                   ## @TS_CH_YP
	.no_dead_strip	_mxs_lradc_prepare_x_pos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mxs_lradc_prepare_x_pos
_mxs_lradc_prepare_x_pos:               ; @mxs_lradc_prepare_x_pos
	.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
Lloh0:
	adrp	x20, _info@GOTPAGE
Lloh1:
	ldr	x20, [x20, _info@GOTPAGEOFF]
	ldr	x8, [x20]
	ldp	x9, x21, [x0, #8]
	ldr	x10, [x21]
	add	x8, x8, x10, lsl #3
	ldr	w0, [x8, #4]
Lloh2:
	adrp	x22, _LRADC_CTRL0@GOTPAGE
Lloh3:
	ldr	x22, [x22, _LRADC_CTRL0@GOTPAGEOFF]
	ldr	x8, [x22]
Lloh4:
	adrp	x10, _STMP_OFFSET_REG_CLR@GOTPAGE
Lloh5:
	ldr	x10, [x10, _STMP_OFFSET_REG_CLR@GOTPAGEOFF]
Lloh6:
	ldr	x10, [x10]
	add	x8, x8, x9
	add	x1, x8, x10
	bl	_writel
	ldr	x8, [x20]
	ldr	x9, [x21]
	lsl	x9, x9, #3
	ldr	w0, [x8, x9]
	ldr	x8, [x19, #8]
	ldr	x9, [x22]
Lloh7:
	adrp	x10, _STMP_OFFSET_REG_SET@GOTPAGE
Lloh8:
	ldr	x10, [x10, _STMP_OFFSET_REG_SET@GOTPAGEOFF]
Lloh9:
	ldr	x10, [x10]
	add	x8, x9, x8
	add	x1, x8, x10
	bl	_writel
Lloh10:
	adrp	x8, _LRADC_SAMPLE_X@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LRADC_SAMPLE_X@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x19]
Lloh13:
	adrp	x20, _TOUCHSCREEN_VCHANNEL1@GOTPAGE
Lloh14:
	ldr	x20, [x20, _TOUCHSCREEN_VCHANNEL1@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh15:
	adrp	x8, _TS_CH_YP@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TS_CH_YP@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_mxs_lradc_map_ts_channel
	ldr	w1, [x20]
	mov	x0, x19
	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
	b	_mxs_lradc_setup_ts_channel
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_info,8,3                       ; @info
	.comm	_LRADC_CTRL0,8,3                ; @LRADC_CTRL0
	.comm	_STMP_OFFSET_REG_CLR,8,3        ; @STMP_OFFSET_REG_CLR
	.comm	_STMP_OFFSET_REG_SET,8,3        ; @STMP_OFFSET_REG_SET
	.comm	_LRADC_SAMPLE_X,4,2             ; @LRADC_SAMPLE_X
	.comm	_TOUCHSCREEN_VCHANNEL1,4,2      ; @TOUCHSCREEN_VCHANNEL1
	.comm	_TS_CH_YP,4,2                   ; @TS_CH_YP
	.no_dead_strip	_mxs_lradc_prepare_x_pos
.subsections_via_symbols
