	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pll_map_type
_pll_map_type:                          ## @pll_map_type
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movq	%rcx, %rbx
	movq	%rdx, %r13
	movl	%esi, %r12d
	movq	%rdi, %r14
	leaq	-52(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	movq	%rbx, %rsi
	callq	_pll_limits_table
	testl	%eax, %eax
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_4
## %bb.1:
	cmpl	$48, (%rbx)
	jl	LBB0_4
## %bb.2:
	movl	-52(%rbp), %ebx
	subl	$1, -44(%rbp)
	jb	LBB0_3
## %bb.9:
	addl	%eax, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_nvbios_rd08
	cmpl	%r12d, %eax
	je	LBB0_18
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	addl	(%r15), %ebx
	subl	$1, -44(%rbp)
	jae	LBB0_10
LBB0_3:
	xorl	%ebx, %ebx
	jmp	LBB0_23
LBB0_4:
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_pll_map
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_23
## %bb.5:
	movq	%rax, %r13
	movl	(%rax), %eax
	testl	%eax, %eax
	je	LBB0_23
## %bb.6:
	addq	$8, %r13
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%r12d, -4(%r13)
	je	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r13), %eax
	addq	$8, %r13
	testl	%eax, %eax
	jne	LBB0_7
	jmp	LBB0_23
LBB0_13:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	cmpl	$32, (%rcx)
	jl	LBB0_21
## %bb.14:
	movl	-52(%rbp), %ebx
	addl	-48(%rbp), %ebx                 ## 4-byte Folded Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	subl	$1, -44(%rbp)
	jb	LBB0_23
## %bb.15:
	movl	%ebx, %r12d
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_nvbios_rd32
	movslq	-8(%r13), %rcx
	cmpq	%rcx, %rax
	je	LBB0_22
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	addl	(%r15), %r12d
	subl	$1, -44(%rbp)
	jae	LBB0_16
	jmp	LBB0_23
LBB0_18:
	xorl	%eax, %eax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	cmpl	$79, (%rcx)
	jg	LBB0_20
## %bb.19:
	leal	3(%rbx), %esi
	movq	%r14, %rdi
	callq	_nvbios_rd32
LBB0_20:
	movl	%eax, (%r13)
	jmp	LBB0_23
LBB0_21:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	incl	%eax
	movl	%eax, %ebx
	jmp	LBB0_23
LBB0_22:
	movl	%r12d, %ebx
LBB0_23:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pll_map_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pll_map_type
_pll_map_type:                          ; @pll_map_type
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x4
	mov	x23, x3
	mov	x21, x2
	mov	x24, x1
	mov	x19, x0
	add	x2, sp, #12
	add	x3, sp, #8
	mov	x1, x23
	bl	_pll_limits_table
	mov	x22, x0
	cbz	w0, LBB0_6
; %bb.1:
	ldr	w8, [x23]
	cmp	w8, #48
	b.lt	LBB0_6
; %bb.2:
	ldp	w9, w8, [sp, #8]
	sub	w10, w9, #1
	str	w10, [sp, #8]
	cbz	w9, LBB0_11
; %bb.3:
	add	w22, w8, w22
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_nvbios_rd08
	cmp	w0, w24
	b.eq	LBB0_18
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x20]
	add	w22, w8, w22
	ldr	w8, [sp, #8]
	sub	w9, w8, #1
	str	w9, [sp, #8]
	cbnz	w8, LBB0_4
	b	LBB0_11
LBB0_6:
	mov	x0, x19
	bl	_pll_map
	cbz	x0, LBB0_11
; %bb.7:
	ldr	w8, [x0]
	cbz	w8, LBB0_11
; %bb.8:
	add	x25, x0, #8
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w9, [x25, #-4]
	cmp	w9, w24
	b.eq	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x25], #8
	cbnz	w8, LBB0_9
LBB0_11:
	mov	w22, #0
LBB0_12:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_13:
	ldr	w9, [x23]
	cmp	w9, #32
	b.lt	LBB0_20
; %bb.14:
	ldr	w9, [sp, #12]
	add	w22, w9, w22
	str	w8, [x21]
	ldr	w8, [sp, #8]
	sub	w9, w8, #1
	str	w9, [sp, #8]
	cbz	w8, LBB0_12
; %bb.15:
	mov	x21, x22
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_nvbios_rd32
	ldursw	x8, [x25, #-8]
	cmp	x0, x8
	b.eq	LBB0_22
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	w8, [x20]
	add	w21, w8, w21
	ldr	w8, [sp, #8]
	sub	w9, w8, #1
	str	w9, [sp, #8]
	cbnz	w8, LBB0_16
	b	LBB0_12
LBB0_18:
	ldr	w8, [x23]
	cmp	w8, #79
	b.gt	LBB0_21
; %bb.19:
	add	w1, w22, #3
	mov	x0, x19
	bl	_nvbios_rd32
	str	w0, [x21]
	b	LBB0_12
LBB0_20:
	str	w8, [x21]
	add	w22, w22, #1
	b	LBB0_12
LBB0_21:
	mov	w0, #0
	str	w0, [x21]
	b	LBB0_12
LBB0_22:
	mov	x22, x21
	b	LBB0_12
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pll_map_type
.subsections_via_symbols
