	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function axp8xx_regnode_reg_to_voltage
_axp8xx_regnode_reg_to_voltage:         ## @axp8xx_regnode_reg_to_voltage
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	movl	(%rcx), %edi
	movl	4(%rcx), %r8d
	movl	8(%rcx), %eax
	cmpl	%esi, %edi
	jle	LBB0_2
## %bb.1:
	imull	%esi, %eax
	addl	%r8d, %eax
	jmp	LBB0_3
LBB0_2:
	imull	%edi, %eax
	addl	%r8d, %eax
	subl	%edi, %esi
	imull	12(%rcx), %esi
	addl	%esi, %eax
LBB0_3:
	imull	$1000, %eax, %eax               ## imm = 0x3E8
	movl	%eax, (%rdx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_axp8xx_regnode_reg_to_voltage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function axp8xx_regnode_reg_to_voltage
_axp8xx_regnode_reg_to_voltage:         ; @axp8xx_regnode_reg_to_voltage
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldp	w9, w10, [x8]
	ldr	w11, [x8, #8]
	cmp	w9, w1
	b.le	LBB0_2
; %bb.1:
	madd	w8, w11, w1, w10
	b	LBB0_3
LBB0_2:
	madd	w10, w11, w9, w10
	sub	w9, w1, w9
	ldr	w8, [x8, #12]
	madd	w8, w8, w9, w10
LBB0_3:
	mov	w9, #1000
	mul	w8, w8, w9
	str	w8, [x2]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_axp8xx_regnode_reg_to_voltage
.subsections_via_symbols
