	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radeon_atombios_get_default_voltages ## -- Begin function radeon_atombios_get_default_voltages
	.p2align	4, 0x90
_radeon_atombios_get_default_voltages:  ## @radeon_atombios_get_default_voltages
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_FirmwareInfo@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetIndexIntoMasterTable
	movq	$0, (%r12)
	movq	$0, (%r15)
	movq	$0, (%r14)
	movq	(%rbx), %rdi
	leaq	-48(%rbp), %rcx
	leaq	-44(%rbp), %r8
	leaq	-56(%rbp), %r9
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_atom_parse_data_header
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	(%rbx), %rax
	movq	(%rax), %r13
	movq	-56(%rbp), %rbx
	movl	(%rbx,%r13), %edi
	callq	_le16_to_cpu
	movq	%rax, (%r12)
	cmpl	$2, -48(%rbp)
	jne	LBB0_4
## %bb.2:
	cmpl	$2, -44(%rbp)
	jl	LBB0_4
## %bb.3:
	movl	4(%r13,%rbx), %edi
	callq	_le16_to_cpu
	movq	%rax, (%r15)
	movl	(%r13,%rbx), %edi
	callq	_le16_to_cpu
	movq	%rax, (%r14)
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DATA,4,2                       ## @DATA
	.comm	_FirmwareInfo,4,2               ## @FirmwareInfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radeon_atombios_get_default_voltages ; -- Begin function radeon_atombios_get_default_voltages
	.p2align	2
_radeon_atombios_get_default_voltages:  ; @radeon_atombios_get_default_voltages
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DATA@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _FirmwareInfo@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FirmwareInfo@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_GetIndexIntoMasterTable
	mov	x1, x0
	str	xzr, [x21]
	str	xzr, [x20]
	str	xzr, [x19]
	ldr	x0, [x22]
	add	x3, sp, #12
	add	x4, sp, #8
	mov	x5, sp
	mov	x2, #0
	bl	_atom_parse_data_header
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x22]
	ldr	x8, [x8]
	ldr	x9, [sp]
	add	x22, x9, x8
	ldr	w0, [x22]
	bl	_le16_to_cpu
	str	x0, [x21]
	ldr	w8, [sp, #12]
	cmp	w8, #2
	b.ne	LBB0_4
; %bb.2:
	ldr	w8, [sp, #8]
	cmp	w8, #2
	b.lt	LBB0_4
; %bb.3:
	ldr	w0, [x22, #4]
	bl	_le16_to_cpu
	str	x0, [x20]
	ldr	w0, [x22]
	bl	_le16_to_cpu
	str	x0, [x19]
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DATA,4,2                       ; @DATA
	.comm	_FirmwareInfo,4,2               ; @FirmwareInfo
.subsections_via_symbols
