	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mxs_lradc_ts_hw_init
_mxs_lradc_ts_hw_init:                  ## @mxs_lradc_ts_hw_init
	.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	8(%rdi), %rbx
	movq	(%rbx), %rax
	movq	_IMX28_LRADC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	%rdi, %r15
	movq	_LRADC_CTRL0_MX28_TOUCH_SCREEN_TYPE@GOTPCREL(%rip), %r14
	movq	_LRADC_CTRL0@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	addq	(%rdi), %rsi
	movl	(%r14), %edi
	movq	_STMP_OFFSET_REG_CLR@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	callq	_writel
	movq	8(%rbx), %rax
	movq	_MXS_LRADC_TOUCHSCREEN_5WIRE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.3:
	movq	(%r12), %rsi
	addq	(%r15), %rsi
	movl	(%r14), %edi
	movq	_STMP_OFFSET_REG_SET@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
LBB0_2:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IMX28_LRADC,8,3                ## @IMX28_LRADC
	.comm	_LRADC_CTRL0_MX28_TOUCH_SCREEN_TYPE,4,2 ## @LRADC_CTRL0_MX28_TOUCH_SCREEN_TYPE
	.comm	_LRADC_CTRL0,8,3                ## @LRADC_CTRL0
	.comm	_STMP_OFFSET_REG_CLR,8,3        ## @STMP_OFFSET_REG_CLR
	.comm	_MXS_LRADC_TOUCHSCREEN_5WIRE,8,3 ## @MXS_LRADC_TOUCHSCREEN_5WIRE
	.comm	_STMP_OFFSET_REG_SET,8,3        ## @STMP_OFFSET_REG_SET
	.no_dead_strip	_mxs_lradc_ts_hw_init
.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_hw_init
_mxs_lradc_ts_hw_init:                  ; @mxs_lradc_ts_hw_init
	.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
	ldr	x20, [x0, #8]
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _IMX28_LRADC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IMX28_LRADC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x22, _LRADC_CTRL0_MX28_TOUCH_SCREEN_TYPE@GOTPAGE
Lloh4:
	ldr	x22, [x22, _LRADC_CTRL0_MX28_TOUCH_SCREEN_TYPE@GOTPAGEOFF]
	ldr	w0, [x22]
	ldr	x8, [x19]
Lloh5:
	adrp	x21, _LRADC_CTRL0@GOTPAGE
Lloh6:
	ldr	x21, [x21, _LRADC_CTRL0@GOTPAGEOFF]
	ldr	x9, [x21]
Lloh7:
	adrp	x10, _STMP_OFFSET_REG_CLR@GOTPAGE
Lloh8:
	ldr	x10, [x10, _STMP_OFFSET_REG_CLR@GOTPAGEOFF]
Lloh9:
	ldr	x10, [x10]
	add	x8, x9, x8
	add	x1, x8, x10
	bl	_writel
	ldr	x8, [x20, #8]
Lloh10:
	adrp	x9, _MXS_LRADC_TOUCHSCREEN_5WIRE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _MXS_LRADC_TOUCHSCREEN_5WIRE@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	ldr	w0, [x22]
	ldr	x8, [x19]
Lloh13:
	adrp	x9, _STMP_OFFSET_REG_SET@GOTPAGE
Lloh14:
	ldr	x9, [x9, _STMP_OFFSET_REG_SET@GOTPAGEOFF]
	ldr	x10, [x21]
Lloh15:
	ldr	x9, [x9]
	add	x8, x10, x8
	add	x1, x8, x9
	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	_writel
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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_IMX28_LRADC,8,3                ; @IMX28_LRADC
	.comm	_LRADC_CTRL0_MX28_TOUCH_SCREEN_TYPE,4,2 ; @LRADC_CTRL0_MX28_TOUCH_SCREEN_TYPE
	.comm	_LRADC_CTRL0,8,3                ; @LRADC_CTRL0
	.comm	_STMP_OFFSET_REG_CLR,8,3        ; @STMP_OFFSET_REG_CLR
	.comm	_MXS_LRADC_TOUCHSCREEN_5WIRE,8,3 ; @MXS_LRADC_TOUCHSCREEN_5WIRE
	.comm	_STMP_OFFSET_REG_SET,8,3        ; @STMP_OFFSET_REG_SET
	.no_dead_strip	_mxs_lradc_ts_hw_init
.subsections_via_symbols
