	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function imx6ul_tsc_set
_imx6ul_tsc_set:                        ## @imx6ul_tsc_set
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	shll	$8, %edi
	movq	_DETECT_4_WIRE_MODE@GOTPCREL(%rip), %rax
	movq	_AUTO_MEASURE@GOTPCREL(%rip), %rcx
	orl	(%rax), %edi
	orl	(%rcx), %edi
	movq	_REG_TSC_BASIC_SETING@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_writel
	movq	_DE_GLITCH_2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_REG_TSC_DEBUG_MODE2@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_writel
	movl	4(%rbx), %edi
	movq	_REG_TSC_PRE_CHARGE_TIME@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_writel
	movq	_MEASURE_INT_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_REG_TSC_INT_EN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_writel
	movq	_MEASURE_SIG_EN@GOTPCREL(%rip), %rax
	movq	_VALID_SIG_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_REG_TSC_INT_SIG_EN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_writel
	movq	_REG_TSC_FLOW_CONTROL@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	addq	8(%rbx), %rdi
	callq	_readl
	movq	_START_SENSE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_TSC_DISABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	notl	%edi
	andl	%eax, %edi
	movq	(%r14), %rsi
	addq	8(%rbx), %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DETECT_4_WIRE_MODE,4,2         ## @DETECT_4_WIRE_MODE
	.comm	_AUTO_MEASURE,4,2               ## @AUTO_MEASURE
	.comm	_REG_TSC_BASIC_SETING,8,3       ## @REG_TSC_BASIC_SETING
	.comm	_DE_GLITCH_2,4,2                ## @DE_GLITCH_2
	.comm	_REG_TSC_DEBUG_MODE2,8,3        ## @REG_TSC_DEBUG_MODE2
	.comm	_REG_TSC_PRE_CHARGE_TIME,8,3    ## @REG_TSC_PRE_CHARGE_TIME
	.comm	_MEASURE_INT_EN,4,2             ## @MEASURE_INT_EN
	.comm	_REG_TSC_INT_EN,8,3             ## @REG_TSC_INT_EN
	.comm	_MEASURE_SIG_EN,4,2             ## @MEASURE_SIG_EN
	.comm	_VALID_SIG_EN,4,2               ## @VALID_SIG_EN
	.comm	_REG_TSC_INT_SIG_EN,8,3         ## @REG_TSC_INT_SIG_EN
	.comm	_REG_TSC_FLOW_CONTROL,8,3       ## @REG_TSC_FLOW_CONTROL
	.comm	_START_SENSE,4,2                ## @START_SENSE
	.comm	_TSC_DISABLE,4,2                ## @TSC_DISABLE
	.no_dead_strip	_imx6ul_tsc_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function imx6ul_tsc_set
_imx6ul_tsc_set:                        ; @imx6ul_tsc_set
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _DETECT_4_WIRE_MODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DETECT_4_WIRE_MODE@GOTPAGEOFF]
	ldr	w9, [x0]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x10, _AUTO_MEASURE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _AUTO_MEASURE@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w8, w8, w9, lsl #8
	orr	w0, w8, w10
	ldr	x8, [x19, #8]
Lloh6:
	adrp	x9, _REG_TSC_BASIC_SETING@GOTPAGE
Lloh7:
	ldr	x9, [x9, _REG_TSC_BASIC_SETING@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
Lloh9:
	adrp	x8, _DE_GLITCH_2@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DE_GLITCH_2@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
Lloh12:
	adrp	x9, _REG_TSC_DEBUG_MODE2@GOTPAGE
Lloh13:
	ldr	x9, [x9, _REG_TSC_DEBUG_MODE2@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	w0, [x19, #4]
	ldr	x8, [x19, #8]
Lloh15:
	adrp	x9, _REG_TSC_PRE_CHARGE_TIME@GOTPAGE
Lloh16:
	ldr	x9, [x9, _REG_TSC_PRE_CHARGE_TIME@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
Lloh18:
	adrp	x8, _MEASURE_INT_EN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MEASURE_INT_EN@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
Lloh21:
	adrp	x9, _REG_TSC_INT_EN@GOTPAGE
Lloh22:
	ldr	x9, [x9, _REG_TSC_INT_EN@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
Lloh24:
	adrp	x8, _MEASURE_SIG_EN@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MEASURE_SIG_EN@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	adrp	x9, _VALID_SIG_EN@GOTPAGE
Lloh28:
	ldr	x9, [x9, _VALID_SIG_EN@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w0, w9, w8
	ldr	x8, [x19, #8]
Lloh30:
	adrp	x9, _REG_TSC_INT_SIG_EN@GOTPAGE
Lloh31:
	ldr	x9, [x9, _REG_TSC_INT_SIG_EN@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19, #8]
Lloh33:
	adrp	x20, _REG_TSC_FLOW_CONTROL@GOTPAGE
Lloh34:
	ldr	x20, [x20, _REG_TSC_FLOW_CONTROL@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x0, x9, x8
	bl	_readl
Lloh35:
	adrp	x8, _START_SENSE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _START_SENSE@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	orr	w8, w8, w0
Lloh38:
	adrp	x9, _TSC_DISABLE@GOTPAGE
Lloh39:
	ldr	x9, [x9, _TSC_DISABLE@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	bic	w0, w8, w9
	ldr	x8, [x19, #8]
	ldr	x9, [x20]
	add	x1, x9, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_writel
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DETECT_4_WIRE_MODE,4,2         ; @DETECT_4_WIRE_MODE
	.comm	_AUTO_MEASURE,4,2               ; @AUTO_MEASURE
	.comm	_REG_TSC_BASIC_SETING,8,3       ; @REG_TSC_BASIC_SETING
	.comm	_DE_GLITCH_2,4,2                ; @DE_GLITCH_2
	.comm	_REG_TSC_DEBUG_MODE2,8,3        ; @REG_TSC_DEBUG_MODE2
	.comm	_REG_TSC_PRE_CHARGE_TIME,8,3    ; @REG_TSC_PRE_CHARGE_TIME
	.comm	_MEASURE_INT_EN,4,2             ; @MEASURE_INT_EN
	.comm	_REG_TSC_INT_EN,8,3             ; @REG_TSC_INT_EN
	.comm	_MEASURE_SIG_EN,4,2             ; @MEASURE_SIG_EN
	.comm	_VALID_SIG_EN,4,2               ; @VALID_SIG_EN
	.comm	_REG_TSC_INT_SIG_EN,8,3         ; @REG_TSC_INT_SIG_EN
	.comm	_REG_TSC_FLOW_CONTROL,8,3       ; @REG_TSC_FLOW_CONTROL
	.comm	_START_SENSE,4,2                ; @START_SENSE
	.comm	_TSC_DISABLE,4,2                ; @TSC_DISABLE
	.no_dead_strip	_imx6ul_tsc_set
.subsections_via_symbols
