	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ucb1x00_ts_read_xpos
_ucb1x00_ts_read_xpos:                  ## @ucb1x00_ts_read_xpos
	.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, %rbx
	xorl	%eax, %eax
	callq	_machine_is_collie
	movl	4(%rbx), %edi
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_COLLIE_TC35143_GPIO_TBL_CHK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_ucb1x00_io_write
	jmp	LBB0_3
LBB0_2:
	movq	_UCB_TS_CR_TSMX_GND@GOTPCREL(%rip), %rax
	movq	_UCB_TS_CR_TSPX_POW@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	orl	(%rax), %edx
	movq	_UCB_TS_CR@GOTPCREL(%rip), %r12
	movq	_UCB_TS_CR_MODE_PRES@GOTPCREL(%rip), %r13
	orl	(%r13), %edx
	movl	(%r12), %esi
	movq	_UCB_TS_CR_BIAS_ENA@GOTPCREL(%rip), %r14
	orl	(%r14), %edx
	callq	_ucb1x00_reg_write
	movl	4(%rbx), %edi
	movl	(%r12), %esi
	movl	(%r15), %edx
	movq	_UCB_TS_CR_TSMX_GND@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	orl	(%r13), %edx
	orl	(%r14), %edx
	callq	_ucb1x00_reg_write
LBB0_3:
	movl	4(%rbx), %edi
	movq	_UCB_TS_CR_TSMX_GND@GOTPCREL(%rip), %rax
	movq	_UCB_TS_CR_TSPX_POW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_UCB_TS_CR@GOTPCREL(%rip), %rax
	movq	_UCB_TS_CR_MODE_POS@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_UCB_TS_CR_BIAS_ENA@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	callq	_ucb1x00_reg_write
	movl	$55, %edi
	callq	_udelay
	movl	(%rbx), %edx
	movl	4(%rbx), %edi
	movq	_UCB_ADC_INP_TSPY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ucb1x00_adc_read               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_COLLIE_TC35143_GPIO_TBL_CHK,4,2 ## @COLLIE_TC35143_GPIO_TBL_CHK
	.comm	_UCB_TS_CR,4,2                  ## @UCB_TS_CR
	.comm	_UCB_TS_CR_TSMX_GND,4,2         ## @UCB_TS_CR_TSMX_GND
	.comm	_UCB_TS_CR_TSPX_POW,4,2         ## @UCB_TS_CR_TSPX_POW
	.comm	_UCB_TS_CR_MODE_PRES,4,2        ## @UCB_TS_CR_MODE_PRES
	.comm	_UCB_TS_CR_BIAS_ENA,4,2         ## @UCB_TS_CR_BIAS_ENA
	.comm	_UCB_TS_CR_MODE_POS,4,2         ## @UCB_TS_CR_MODE_POS
	.comm	_UCB_ADC_INP_TSPY,4,2           ## @UCB_ADC_INP_TSPY
	.no_dead_strip	_ucb1x00_ts_read_xpos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ucb1x00_ts_read_xpos
_ucb1x00_ts_read_xpos:                  ; @ucb1x00_ts_read_xpos
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	bl	_machine_is_collie
	mov	x8, x0
	ldr	w0, [x19, #4]
Lloh0:
	adrp	x21, _UCB_TS_CR@GOTPAGE
Lloh1:
	ldr	x21, [x21, _UCB_TS_CR@GOTPAGEOFF]
Lloh2:
	adrp	x22, _UCB_TS_CR_TSMX_GND@GOTPAGE
Lloh3:
	ldr	x22, [x22, _UCB_TS_CR_TSMX_GND@GOTPAGEOFF]
Lloh4:
	adrp	x23, _UCB_TS_CR_TSPX_POW@GOTPAGE
Lloh5:
	ldr	x23, [x23, _UCB_TS_CR_TSPX_POW@GOTPAGEOFF]
Lloh6:
	adrp	x20, _UCB_TS_CR_BIAS_ENA@GOTPAGE
Lloh7:
	ldr	x20, [x20, _UCB_TS_CR_BIAS_ENA@GOTPAGEOFF]
	cbz	x8, LBB0_2
; %bb.1:
Lloh8:
	adrp	x8, _COLLIE_TC35143_GPIO_TBL_CHK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _COLLIE_TC35143_GPIO_TBL_CHK@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_ucb1x00_io_write
	b	LBB0_3
LBB0_2:
	ldr	w1, [x21]
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w8, w9, w8
Lloh11:
	adrp	x24, _UCB_TS_CR_MODE_PRES@GOTPAGE
Lloh12:
	ldr	x24, [x24, _UCB_TS_CR_MODE_PRES@GOTPAGEOFF]
	ldr	w9, [x24]
	orr	w8, w8, w9
	ldr	w9, [x20]
	orr	w2, w8, w9
	bl	_ucb1x00_reg_write
	ldr	w0, [x19, #4]
	ldr	w1, [x21]
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w8, w9, w8
	ldr	w9, [x24]
	orr	w8, w8, w9
	ldr	w9, [x20]
	orr	w2, w8, w9
	bl	_ucb1x00_reg_write
LBB0_3:
	ldr	w0, [x19, #4]
	ldr	w1, [x21]
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w8, w9, w8
Lloh13:
	adrp	x9, _UCB_TS_CR_MODE_POS@GOTPAGE
Lloh14:
	ldr	x9, [x9, _UCB_TS_CR_MODE_POS@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	w9, [x20]
	orr	w2, w8, w9
	bl	_ucb1x00_reg_write
	mov	w0, #55
	bl	_udelay
Lloh16:
	adrp	x8, _UCB_ADC_INP_TSPY@GOTPAGE
Lloh17:
	ldr	x8, [x8, _UCB_ADC_INP_TSPY@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	ldp	w2, w0, [x19]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ucb1x00_adc_read
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_COLLIE_TC35143_GPIO_TBL_CHK,4,2 ; @COLLIE_TC35143_GPIO_TBL_CHK
	.comm	_UCB_TS_CR,4,2                  ; @UCB_TS_CR
	.comm	_UCB_TS_CR_TSMX_GND,4,2         ; @UCB_TS_CR_TSMX_GND
	.comm	_UCB_TS_CR_TSPX_POW,4,2         ; @UCB_TS_CR_TSPX_POW
	.comm	_UCB_TS_CR_MODE_PRES,4,2        ; @UCB_TS_CR_MODE_PRES
	.comm	_UCB_TS_CR_BIAS_ENA,4,2         ; @UCB_TS_CR_BIAS_ENA
	.comm	_UCB_TS_CR_MODE_POS,4,2         ; @UCB_TS_CR_MODE_POS
	.comm	_UCB_ADC_INP_TSPY,4,2           ; @UCB_ADC_INP_TSPY
	.no_dead_strip	_ucb1x00_ts_read_xpos
.subsections_via_symbols
