	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nv04_pll_calc                  ## -- Begin function nv04_pll_calc
	.p2align	4, 0x90
_nv04_pll_calc:                         ## @nv04_pll_calc
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r15
	movq	%rdi, %r14
	movq	24(%rbp), %rax
	movq	16(%rbp), %r12
	testq	%r9, %r9
	je	LBB0_2
## %bb.1:
	cmpl	$0, (%rsi)
	je	LBB0_2
## %bb.4:
	movq	%r14, %rdi
	movq	%r15, %r9
	pushq	%rax
	pushq	%r12
	callq	_getMNP_double
	addq	$16, %rsp
	movl	%eax, %ebx
	jmp	LBB0_5
LBB0_2:
	movq	%r14, %rdi
	movq	%rax, %r9
	callq	_getMNP_single
	movl	%eax, %ebx
	testq	%r15, %r15
	je	LBB0_5
## %bb.3:
	movl	$1, (%r15)
	movl	$1, (%r12)
LBB0_5:
	testl	%ebx, %ebx
	jne	LBB0_7
## %bb.6:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_nvkm_error
LBB0_7:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to compute acceptable pll values\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nv04_pll_calc                  ; -- Begin function nv04_pll_calc
	.p2align	2
_nv04_pll_calc:                         ; @nv04_pll_calc
	.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	x20, x6
	mov	x21, x5
	mov	x19, x0
	cbz	x5, LBB0_3
; %bb.1:
	ldr	w8, [x1]
	cbz	w8, LBB0_3
; %bb.2:
	mov	x0, x19
	mov	x5, x21
	mov	x6, x20
	bl	_getMNP_double
	mov	x22, x0
	b	LBB0_5
LBB0_3:
	mov	x0, x19
	mov	x5, x7
	bl	_getMNP_single
	mov	x22, x0
	cbz	x21, LBB0_5
; %bb.4:
	mov	w8, #1
	str	w8, [x21]
	str	w8, [x20]
LBB0_5:
	cbnz	w22, LBB0_7
; %bb.6:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_nvkm_error
LBB0_7:
	mov	x0, x22
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to compute acceptable pll values\n"

.subsections_via_symbols
