	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sun4i_gpadc_runtime_resume
_sun4i_gpadc_runtime_resume:            ## @sun4i_gpadc_runtime_resume
	.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
	callq	_dev_get_drvdata
	movl	%eax, %edi
	callq	_iio_priv
	movq	%rax, %r12
	movl	(%rax), %r14d
	movq	_SUN4I_GPADC_CTRL0@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	$2, %edi
	callq	_SUN4I_GPADC_CTRL0_ADC_CLK_DIVIDER
	movl	%eax, %ebx
	movl	$7, %edi
	callq	_SUN4I_GPADC_CTRL0_FS_DIV
	orl	%eax, %ebx
	movl	$63, %edi
	callq	_SUN4I_GPADC_CTRL0_T_ACQ
	orl	%eax, %ebx
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%ebx, %edx
	callq	_regmap_write
	movl	(%r12), %edi
	movq	_SUN4I_GPADC_CTRL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%r12), %rax
	movl	(%rax), %edx
	callq	_regmap_write
	movl	(%r12), %r14d
	movq	_SUN4I_GPADC_CTRL3@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_SUN4I_GPADC_CTRL3_FILTER_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	$1, %edi
	callq	_SUN4I_GPADC_CTRL3_FILTER_TYPE
	orl	%eax, %ebx
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%ebx, %edx
	callq	_regmap_write
	movl	(%r12), %r14d
	movq	_SUN4I_GPADC_TPR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_SUN4I_GPADC_TPR_TEMP_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	$800, %edi                      ## imm = 0x320
	callq	_SUN4I_GPADC_TPR_TEMP_PERIOD
	orl	%eax, %ebx
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%ebx, %edx
	callq	_regmap_write
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SUN4I_GPADC_CTRL0,4,2          ## @SUN4I_GPADC_CTRL0
	.comm	_SUN4I_GPADC_CTRL1,4,2          ## @SUN4I_GPADC_CTRL1
	.comm	_SUN4I_GPADC_CTRL3,4,2          ## @SUN4I_GPADC_CTRL3
	.comm	_SUN4I_GPADC_CTRL3_FILTER_EN,4,2 ## @SUN4I_GPADC_CTRL3_FILTER_EN
	.comm	_SUN4I_GPADC_TPR,4,2            ## @SUN4I_GPADC_TPR
	.comm	_SUN4I_GPADC_TPR_TEMP_ENABLE,4,2 ## @SUN4I_GPADC_TPR_TEMP_ENABLE
	.no_dead_strip	_sun4i_gpadc_runtime_resume
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sun4i_gpadc_runtime_resume
_sun4i_gpadc_runtime_resume:            ; @sun4i_gpadc_runtime_resume
	.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
	bl	_dev_get_drvdata
	bl	_iio_priv
	mov	x19, x0
	ldr	w20, [x0]
Lloh0:
	adrp	x8, _SUN4I_GPADC_CTRL0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SUN4I_GPADC_CTRL0@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	mov	w0, #2
	bl	_SUN4I_GPADC_CTRL0_ADC_CLK_DIVIDER
	mov	x22, x0
	mov	w0, #7
	bl	_SUN4I_GPADC_CTRL0_FS_DIV
	orr	w22, w0, w22
	mov	w0, #63
	bl	_SUN4I_GPADC_CTRL0_T_ACQ
	orr	w2, w22, w0
	mov	x0, x20
	mov	x1, x21
	bl	_regmap_write
	ldr	w0, [x19]
Lloh3:
	adrp	x8, _SUN4I_GPADC_CTRL1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SUN4I_GPADC_CTRL1@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	x8, [x19, #8]
	ldr	w2, [x8]
	bl	_regmap_write
	ldr	w20, [x19]
Lloh6:
	adrp	x8, _SUN4I_GPADC_CTRL3@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SUN4I_GPADC_CTRL3@GOTPAGEOFF]
Lloh8:
	ldr	w21, [x8]
Lloh9:
	adrp	x8, _SUN4I_GPADC_CTRL3_FILTER_EN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SUN4I_GPADC_CTRL3_FILTER_EN@GOTPAGEOFF]
Lloh11:
	ldr	w22, [x8]
	mov	w0, #1
	bl	_SUN4I_GPADC_CTRL3_FILTER_TYPE
	orr	w2, w0, w22
	mov	x0, x20
	mov	x1, x21
	bl	_regmap_write
	ldr	w19, [x19]
Lloh12:
	adrp	x8, _SUN4I_GPADC_TPR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SUN4I_GPADC_TPR@GOTPAGEOFF]
Lloh14:
	ldr	w20, [x8]
Lloh15:
	adrp	x8, _SUN4I_GPADC_TPR_TEMP_ENABLE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SUN4I_GPADC_TPR_TEMP_ENABLE@GOTPAGEOFF]
Lloh17:
	ldr	w21, [x8]
	mov	w0, #800
	bl	_SUN4I_GPADC_TPR_TEMP_PERIOD
	orr	w2, w0, w21
	mov	x0, x19
	mov	x1, x20
	bl	_regmap_write
	mov	w0, #0
	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	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	_SUN4I_GPADC_CTRL0,4,2          ; @SUN4I_GPADC_CTRL0
	.comm	_SUN4I_GPADC_CTRL1,4,2          ; @SUN4I_GPADC_CTRL1
	.comm	_SUN4I_GPADC_CTRL3,4,2          ; @SUN4I_GPADC_CTRL3
	.comm	_SUN4I_GPADC_CTRL3_FILTER_EN,4,2 ; @SUN4I_GPADC_CTRL3_FILTER_EN
	.comm	_SUN4I_GPADC_TPR,4,2            ; @SUN4I_GPADC_TPR
	.comm	_SUN4I_GPADC_TPR_TEMP_ENABLE,4,2 ; @SUN4I_GPADC_TPR_TEMP_ENABLE
	.no_dead_strip	_sun4i_gpadc_runtime_resume
.subsections_via_symbols
