	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function imx7d_adc_sample_rate_set
_imx7d_adc_sample_rate_set:             ## @imx7d_adc_sample_rate_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	callq	_readl
	movq	_IMX7D_REG_ADC_CH_CFG1_CHANNEL_EN@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	notl	%edi
	andl	%eax, %edi
	movq	(%rbx), %rsi
	callq	_writel
	movq	_IMX7D_EACH_CHANNEL_REG_OFFSET@GOTPCREL(%rip), %r15
	movslq	(%r15), %rdi
	addq	(%rbx), %rdi
	callq	_readl
	movl	(%r14), %edi
	notl	%edi
	andl	%eax, %edi
	movslq	(%r15), %rsi
	addq	(%rbx), %rsi
	callq	_writel
	movslq	(%r15), %rdi
	addq	%rdi, %rdi
	addq	(%rbx), %rdi
	callq	_readl
	movl	(%r14), %edi
	notl	%edi
	andl	%eax, %edi
	movslq	(%r15), %rsi
	addq	%rsi, %rsi
	addq	(%rbx), %rsi
	callq	_writel
	movslq	(%r15), %rax
	leaq	(%rax,%rax,2), %rdi
	addq	(%rbx), %rdi
	callq	_readl
	movl	(%r14), %edi
	notl	%edi
	andl	%eax, %edi
	movslq	(%r15), %rax
	leaq	(%rax,%rax,2), %rsi
	addq	(%rbx), %rsi
	callq	_writel
	movq	_imx7d_adc_analogue_clk@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	16(%rbx), %rcx
	movl	4(%rax,%rcx,8), %edx
	movl	24(%rbx), %edi
	orl	(%rax,%rcx,8), %edi
	movl	%edx, 8(%rbx)
	movq	_IMX7D_REG_ADC_TIMER_UNIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IMX7D_EACH_CHANNEL_REG_OFFSET,4,2 ## @IMX7D_EACH_CHANNEL_REG_OFFSET
	.comm	_IMX7D_REG_ADC_CH_CFG1_CHANNEL_EN,4,2 ## @IMX7D_REG_ADC_CH_CFG1_CHANNEL_EN
	.comm	_imx7d_adc_analogue_clk,8,3     ## @imx7d_adc_analogue_clk
	.comm	_IMX7D_REG_ADC_TIMER_UNIT,8,3   ## @IMX7D_REG_ADC_TIMER_UNIT
	.no_dead_strip	_imx7d_adc_sample_rate_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function imx7d_adc_sample_rate_set
_imx7d_adc_sample_rate_set:             ; @imx7d_adc_sample_rate_set
	.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	x0, [x0]
	bl	_readl
Lloh0:
	adrp	x20, _IMX7D_REG_ADC_CH_CFG1_CHANNEL_EN@GOTPAGE
Lloh1:
	ldr	x20, [x20, _IMX7D_REG_ADC_CH_CFG1_CHANNEL_EN@GOTPAGEOFF]
	ldr	w8, [x20]
	bic	w0, w0, w8
	ldr	x1, [x19]
	bl	_writel
	ldr	x8, [x19]
Lloh2:
	adrp	x21, _IMX7D_EACH_CHANNEL_REG_OFFSET@GOTPAGE
Lloh3:
	ldr	x21, [x21, _IMX7D_EACH_CHANNEL_REG_OFFSET@GOTPAGEOFF]
	ldrsw	x9, [x21]
	add	x0, x8, x9
	bl	_readl
	ldr	w8, [x20]
	bic	w0, w0, w8
	ldr	x8, [x19]
	ldrsw	x9, [x21]
	add	x1, x8, x9
	bl	_writel
	ldr	x8, [x19]
	ldrsw	x9, [x21]
	add	x0, x8, x9, lsl #1
	bl	_readl
	ldr	w8, [x20]
	bic	w0, w0, w8
	ldr	x8, [x19]
	ldrsw	x9, [x21]
	add	x1, x8, x9, lsl #1
	bl	_writel
	ldr	x8, [x19]
	ldrsw	x9, [x21]
	add	x9, x9, x9, lsl #1
	add	x0, x8, x9
	bl	_readl
	ldr	w8, [x20]
	bic	w0, w0, w8
	ldr	x8, [x19]
	ldrsw	x9, [x21]
	add	x9, x9, x9, lsl #1
	add	x1, x8, x9
	bl	_writel
Lloh4:
	adrp	x8, _imx7d_adc_analogue_clk@GOTPAGE
Lloh5:
	ldr	x8, [x8, _imx7d_adc_analogue_clk@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	ldr	x9, [x19, #16]
	add	x8, x8, x9, lsl #3
	ldp	w9, w8, [x8]
	str	w8, [x19, #8]
	ldr	w8, [x19, #24]
	orr	w0, w8, w9
	ldr	x8, [x19]
Lloh7:
	adrp	x9, _IMX7D_REG_ADC_TIMER_UNIT@GOTPAGE
Lloh8:
	ldr	x9, [x9, _IMX7D_REG_ADC_TIMER_UNIT@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	add	x1, x9, x8
	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
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_IMX7D_EACH_CHANNEL_REG_OFFSET,4,2 ; @IMX7D_EACH_CHANNEL_REG_OFFSET
	.comm	_IMX7D_REG_ADC_CH_CFG1_CHANNEL_EN,4,2 ; @IMX7D_REG_ADC_CH_CFG1_CHANNEL_EN
	.comm	_imx7d_adc_analogue_clk,8,3     ; @imx7d_adc_analogue_clk
	.comm	_IMX7D_REG_ADC_TIMER_UNIT,8,3   ; @IMX7D_REG_ADC_TIMER_UNIT
	.no_dead_strip	_imx7d_adc_sample_rate_set
.subsections_via_symbols
