	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vf610_adc_cfg_set
_vf610_adc_cfg_set:                     ## @vf610_adc_cfg_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
	movq	_VF610_REG_ADC_CFG@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	addq	(%rbx), %rdi
	callq	_readl
	movq	_VF610_ADC_ADLPC_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%edi, %ecx
	notl	%ecx
	andl	%eax, %ecx
	movq	8(%rbx), %rdx
	movq	_VF610_ADC_CONV_LOW_POWER@GOTPCREL(%rip), %rsi
	orl	%eax, %edi
	cmpq	(%rsi), %rdx
	cmovnel	%ecx, %edi
	movq	_VF610_ADC_ADHSC_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	notl	%ecx
	andl	%edi, %ecx
	movq	_VF610_ADC_CONV_HIGH_SPEED@GOTPCREL(%rip), %rsi
	orl	%eax, %edi
	cmpq	(%rsi), %rdx
	cmovnel	%ecx, %edi
	movq	(%r14), %rsi
	addq	(%rbx), %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VF610_REG_ADC_CFG,8,3          ## @VF610_REG_ADC_CFG
	.comm	_VF610_ADC_ADLPC_EN,4,2         ## @VF610_ADC_ADLPC_EN
	.comm	_VF610_ADC_CONV_LOW_POWER,8,3   ## @VF610_ADC_CONV_LOW_POWER
	.comm	_VF610_ADC_ADHSC_EN,4,2         ## @VF610_ADC_ADHSC_EN
	.comm	_VF610_ADC_CONV_HIGH_SPEED,8,3  ## @VF610_ADC_CONV_HIGH_SPEED
	.no_dead_strip	_vf610_adc_cfg_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vf610_adc_cfg_set
_vf610_adc_cfg_set:                     ; @vf610_adc_cfg_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
	ldr	x8, [x0]
Lloh0:
	adrp	x20, _VF610_REG_ADC_CFG@GOTPAGE
Lloh1:
	ldr	x20, [x20, _VF610_REG_ADC_CFG@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x0, x9, x8
	bl	_readl
Lloh2:
	adrp	x8, _VF610_ADC_ADLPC_EN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VF610_ADC_ADLPC_EN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	bic	w9, w0, w8
Lloh5:
	adrp	x10, _VF610_ADC_CONV_LOW_POWER@GOTPAGE
Lloh6:
	ldr	x10, [x10, _VF610_ADC_CONV_LOW_POWER@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	orr	w8, w8, w0
	ldp	x12, x11, [x19]
	cmp	x11, x10
	csel	w8, w8, w9, eq
Lloh8:
	adrp	x9, _VF610_ADC_ADHSC_EN@GOTPAGE
Lloh9:
	ldr	x9, [x9, _VF610_ADC_ADHSC_EN@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	bic	w10, w8, w9
Lloh11:
	adrp	x13, _VF610_ADC_CONV_HIGH_SPEED@GOTPAGE
Lloh12:
	ldr	x13, [x13, _VF610_ADC_CONV_HIGH_SPEED@GOTPAGEOFF]
Lloh13:
	ldr	x13, [x13]
	orr	w8, w8, w9
	cmp	x11, x13
	csel	w0, w8, w10, eq
	ldr	x8, [x20]
	add	x1, x8, x12
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_writel
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_VF610_REG_ADC_CFG,8,3          ; @VF610_REG_ADC_CFG
	.comm	_VF610_ADC_ADLPC_EN,4,2         ; @VF610_ADC_ADLPC_EN
	.comm	_VF610_ADC_CONV_LOW_POWER,8,3   ; @VF610_ADC_CONV_LOW_POWER
	.comm	_VF610_ADC_ADHSC_EN,4,2         ; @VF610_ADC_ADHSC_EN
	.comm	_VF610_ADC_CONV_HIGH_SPEED,8,3  ; @VF610_ADC_CONV_HIGH_SPEED
	.no_dead_strip	_vf610_adc_cfg_set
.subsections_via_symbols
