	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reg2volt
_reg2volt:                              ## @reg2volt
	.cfi_startproc
## %bb.0:
	btl	%edi, %edx
	jae	LBB0_2
## %bb.1:
	imull	$2250, %esi, %edi               ## imm = 0x8CA
	movl	$1024, %esi                     ## imm = 0x400
	jmp	_DIV_ROUND_CLOSEST              ## TAILCALL
LBB0_2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_adt7473_in_scaling@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edi, %rcx
	movq	(%rax,%rcx,8), %rcx
	movl	4(%rcx), %eax
	movl	(%rcx), %ecx
	addl	%eax, %ecx
	imull	%ecx, %esi
	imull	$2250, %esi, %edi               ## imm = 0x8CA
	shll	$10, %eax
	movl	%eax, %esi
	popq	%rbp
	jmp	_DIV_ROUND_CLOSEST              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_adt7473_in_scaling,8,3         ## @adt7473_in_scaling
	.no_dead_strip	_reg2volt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reg2volt
_reg2volt:                              ; @reg2volt
	.cfi_startproc
; %bb.0:
	lsr	w8, w2, w0
	tbz	w8, #0, LBB0_2
; %bb.1:
	mov	w8, #2250
	mul	w0, w1, w8
	mov	w1, #1024
	b	_DIV_ROUND_CLOSEST
LBB0_2:
Lloh0:
	adrp	x8, _adt7473_in_scaling@GOTPAGE
Lloh1:
	ldr	x8, [x8, _adt7473_in_scaling@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8, w0, sxtw #3]
	ldp	w9, w8, [x8]
	add	w9, w8, w9
	mul	w9, w1, w9
	mov	w10, #2250
	mul	w0, w9, w10
	lsl	w1, w8, #10
	b	_DIV_ROUND_CLOSEST
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_adt7473_in_scaling,8,3         ; @adt7473_in_scaling
	.no_dead_strip	_reg2volt
.subsections_via_symbols
