	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvbios_volt_entry_parse        ## -- Begin function nvbios_volt_entry_parse
	.p2align	4, 0x90
_nvbios_volt_entry_parse:               ## @nvbios_volt_entry_parse
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rdx, %r13
	movq	%rdi, %r15
	callq	_nvbios_volt_entry
	movq	%rax, %r12
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	testq	%r12, %r12
	je	LBB0_2
## %bb.1:
	movl	(%r13), %ebx
LBB0_2:
	cmpl	$47, %ebx
	jg	LBB0_6
## %bb.3:
	cmpl	$18, %ebx
	je	LBB0_5
## %bb.4:
	cmpl	$32, %ebx
	jne	LBB0_10
LBB0_5:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_nvbios_rd08
	imull	$10000, %eax, %eax              ## imm = 0x2710
	movl	%eax, (%r14)
	movq	%r12, %rsi
	incq	%rsi
	movq	%r15, %rdi
	callq	_nvbios_rd08
	jmp	LBB0_9
LBB0_6:
	cmpl	$48, %ebx
	je	LBB0_11
## %bb.7:
	cmpl	$80, %ebx
	jne	LBB0_10
## %bb.8:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_nvbios_rd32
	andl	$2097151, %eax                  ## imm = 0x1FFFFF
	movl	%eax, (%r14)
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_nvbios_rd32
	shrl	$23, %eax
	movzbl	%al, %eax
	jmp	LBB0_9
LBB0_11:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_nvbios_rd08
	imull	$10000, %eax, %eax              ## imm = 0x2710
	movl	%eax, (%r14)
	movq	%r12, %rsi
	incq	%rsi
	movq	%r15, %rdi
	callq	_nvbios_rd08
	sarl	$2, %eax
LBB0_9:
	movl	%eax, 4(%r14)
LBB0_10:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvbios_volt_entry_parse        ; -- Begin function nvbios_volt_entry_parse
	.p2align	2
_nvbios_volt_entry_parse:               ; @nvbios_volt_entry_parse
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x4
	mov	x22, x2
	mov	x21, x0
	bl	_nvbios_volt_entry
	mov	x20, x0
	mov	x0, x19
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	w8, [x22]
	cmp	x20, #0
	csel	w8, wzr, w8, eq
	cmp	w8, #47
	b.gt	LBB0_4
; %bb.1:
	cmp	w8, #18
	b.eq	LBB0_3
; %bb.2:
	cmp	w8, #32
	b.ne	LBB0_9
LBB0_3:
	mov	x0, x21
	mov	x1, x20
	bl	_nvbios_rd08
	mov	w8, #10000
	mul	w8, w0, w8
	str	w8, [x19]
	add	x1, x20, #1
	mov	x0, x21
	bl	_nvbios_rd08
	b	LBB0_8
LBB0_4:
	cmp	w8, #48
	b.eq	LBB0_7
; %bb.5:
	cmp	w8, #80
	b.ne	LBB0_9
; %bb.6:
	mov	x0, x21
	mov	x1, x20
	bl	_nvbios_rd32
	and	w8, w0, #0x1fffff
	str	w8, [x19]
	mov	x0, x21
	mov	x1, x20
	bl	_nvbios_rd32
	ubfx	w0, w0, #23, #8
	b	LBB0_8
LBB0_7:
	mov	x0, x21
	mov	x1, x20
	bl	_nvbios_rd08
	mov	w8, #10000
	mul	w8, w0, w8
	str	w8, [x19]
	add	x1, x20, #1
	mov	x0, x21
	bl	_nvbios_rd08
	asr	w0, w0, #2
LBB0_8:
	str	w0, [x19, #4]
LBB0_9:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
