	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function volt_reg_to_mv
_volt_reg_to_mv:                        ## @volt_reg_to_mv
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_DA9055_ADC_VSYS@GOTPCREL(%rip), %rax
	imull	$1000, %edi, %edi               ## imm = 0x3E8
	cmpl	%esi, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_DA9055_VSYS_DIV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_DIV_ROUND_CLOSEST
	addl	$2500, %eax                     ## imm = 0x9C4
	popq	%rbp
	retq
LBB0_2:
	movq	_DA9055_ADCIN_DIV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	popq	%rbp
	jmp	_DIV_ROUND_CLOSEST              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DA9055_ADC_VSYS,4,2            ## @DA9055_ADC_VSYS
	.comm	_DA9055_VSYS_DIV,4,2            ## @DA9055_VSYS_DIV
	.comm	_DA9055_ADCIN_DIV,4,2           ## @DA9055_ADCIN_DIV
	.no_dead_strip	_volt_reg_to_mv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function volt_reg_to_mv
_volt_reg_to_mv:                        ; @volt_reg_to_mv
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _DA9055_ADC_VSYS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DA9055_ADC_VSYS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #1000
	mul	w0, w0, w9
	cmp	w8, w1
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _DA9055_VSYS_DIV@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DA9055_VSYS_DIV@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_DIV_ROUND_CLOSEST
	add	w0, w0, #2500
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh6:
	adrp	x8, _DA9055_ADCIN_DIV@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DA9055_ADCIN_DIV@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_DIV_ROUND_CLOSEST
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_DA9055_ADC_VSYS,4,2            ; @DA9055_ADC_VSYS
	.comm	_DA9055_VSYS_DIV,4,2            ; @DA9055_VSYS_DIV
	.comm	_DA9055_ADCIN_DIV,4,2           ; @DA9055_ADCIN_DIV
	.no_dead_strip	_volt_reg_to_mv
.subsections_via_symbols
