	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_ram_restrict_pll
_init_ram_restrict_pll:                 ## @init_ram_restrict_pll
	.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	%rdi, %rbx
	movq	(%rdi), %rsi
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	incq	%rsi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_nvbios_rd08
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_init_ram_restrict_group_count
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_init_ram_restrict
	movq	%rax, %r13
	leaq	L_.str(%rip), %rdi
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rsi
	callq	_trace
	movq	(%rbx), %rsi
	addq	$2, %rsi
	movq	%rsi, (%rbx)
	testq	%r12, %r12
	jle	LBB0_6
## %bb.1:
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.2(%rip), %rdi
	movq	%r15, %rsi
	callq	_trace
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rsi
	addq	$4, %rsi
	movq	%rsi, (%rbx)
	incq	%r14
	cmpq	%r14, %r12
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_nvbios_rd32
	movq	%rax, %r15
	cmpq	%r14, %r13
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	callq	_trace
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	callq	_init_prog_pll
	jmp	LBB0_5
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RAM_RESTRICT_PLL\t0x%02x\n"

L_.str.1:                               ## @.str.1
	.asciz	"%dkHz *\n"

L_.str.2:                               ## @.str.2
	.asciz	"%dkHz\n"

	.no_dead_strip	_init_ram_restrict_pll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_ram_restrict_pll
_init_ram_restrict_pll:                 ; @init_ram_restrict_pll
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldp	x9, x8, [x0]
	ldr	x8, [x8]
	ldr	x20, [x8]
	add	x1, x9, #1
	mov	x0, x20
	bl	_nvbios_rd08
	mov	x21, x0
	mov	x0, x19
	bl	_init_ram_restrict_group_count
	mov	x22, x0
	mov	x0, x19
	bl	_init_ram_restrict
	mov	x23, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_trace
	ldr	x8, [x19]
	add	x1, x8, #2
	str	x1, [x19]
	cmp	x22, #1
	b.lt	LBB0_6
; %bb.1:
Lloh2:
	adrp	x24, l_.str.1@PAGE
Lloh3:
	add	x24, x24, l_.str.1@PAGEOFF
Lloh4:
	adrp	x25, l_.str.2@PAGE
Lloh5:
	add	x25, x25, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x25
	mov	x1, x26
	bl	_trace
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19]
	add	x1, x8, #4
	str	x1, [x19]
	sub	x23, x23, #1
	sub	x22, x22, #1
	cbz	x22, LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_nvbios_rd32
	mov	x26, x0
	cbnz	x23, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	mov	x1, x26
	bl	_trace
	mov	x0, x19
	mov	x1, x21
	mov	x2, x26
	bl	_init_prog_pll
	b	LBB0_3
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RAM_RESTRICT_PLL\t0x%02x\n"

l_.str.1:                               ; @.str.1
	.asciz	"%dkHz *\n"

l_.str.2:                               ; @.str.2
	.asciz	"%dkHz\n"

	.no_dead_strip	_init_ram_restrict_pll
.subsections_via_symbols
