	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function meson_sar_adc_set_bandgap
_meson_sar_adc_set_bandgap:             ## @meson_sar_adc_set_bandgap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	callq	_iio_priv
	movq	8(%rax), %rcx
	movq	(%rcx), %rsi
	movq	_MESON_SAR_ADC_REG11@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rsi
	jne	LBB0_1
## %bb.2:
	movq	_MESON_SAR_ADC_REG11_BANDGAP_EN@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_MESON_SAR_ADC_DELTA_10_TS_VBG_EN@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %edx
	movl	(%rax), %edi
	testl	%ebx, %ebx
	cmovnel	%edx, %ebx
	movl	%ebx, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_regmap_update_bits             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MESON_SAR_ADC_REG11,8,3        ## @MESON_SAR_ADC_REG11
	.comm	_MESON_SAR_ADC_REG11_BANDGAP_EN,4,2 ## @MESON_SAR_ADC_REG11_BANDGAP_EN
	.comm	_MESON_SAR_ADC_DELTA_10_TS_VBG_EN,4,2 ## @MESON_SAR_ADC_DELTA_10_TS_VBG_EN
	.no_dead_strip	_meson_sar_adc_set_bandgap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function meson_sar_adc_set_bandgap
_meson_sar_adc_set_bandgap:             ; @meson_sar_adc_set_bandgap
	.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, x1
	bl	_iio_priv
	ldr	x8, [x0, #8]
	ldr	x1, [x8]
Lloh0:
	adrp	x8, _MESON_SAR_ADC_REG11@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MESON_SAR_ADC_REG11@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _MESON_SAR_ADC_REG11_BANDGAP_EN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MESON_SAR_ADC_REG11_BANDGAP_EN@GOTPAGEOFF]
Lloh5:
	adrp	x10, _MESON_SAR_ADC_DELTA_10_TS_VBG_EN@GOTPAGE
Lloh6:
	ldr	x10, [x10, _MESON_SAR_ADC_DELTA_10_TS_VBG_EN@GOTPAGEOFF]
	cmp	x1, x8
	csel	x8, x9, x10, eq
	ldr	w2, [x8]
	ldr	w0, [x0]
	cmp	w19, #0
	csel	w3, wzr, w2, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_regmap_update_bits
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MESON_SAR_ADC_REG11,8,3        ; @MESON_SAR_ADC_REG11
	.comm	_MESON_SAR_ADC_REG11_BANDGAP_EN,4,2 ; @MESON_SAR_ADC_REG11_BANDGAP_EN
	.comm	_MESON_SAR_ADC_DELTA_10_TS_VBG_EN,4,2 ; @MESON_SAR_ADC_DELTA_10_TS_VBG_EN
	.no_dead_strip	_meson_sar_adc_set_bandgap
.subsections_via_symbols
