	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gk20a_pllg_slide
_gk20a_pllg_slide:                      ## @gk20a_pllg_slide
	.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	%rsi, %r12
	movq	%rdi, %r15
	movq	(%rdi), %r14
	leaq	-48(%rbp), %rsi
	callq	_gk20a_pllg_read_mnp
	xorl	%ebx, %ebx
	cmpq	%r12, -48(%rbp)
	je	LBB0_2
## %bb.1:
	movq	_GPCPLL_NDIV_SLOWDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_GPCPLL_NDIV_SLOWDOWN_SLOWDOWN_USING_PLL_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %ebx
	movq	_GPCPLL_NDIV_SLOWDOWN_SLOWDOWN_USING_PLL_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movq	%r14, %rdi
	movl	%r13d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_nvkm_mask
	movq	%r12, -48(%rbp)
	movl	$1, %edi
	callq	_udelay
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_gk20a_pllg_write_mnp
	movl	$1, %edi
	callq	_udelay
	movq	_GPCPLL_NDIV_SLOWDOWN@GOTPCREL(%rip), %r12
	movl	(%r12), %r15d
	movq	_GPCPLL_NDIV_SLOWDOWN_EN_DYNRAMP_SHIFT@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_BIT
	movl	%eax, %ebx
	movl	(%r13), %edi
	callq	_BIT
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_nvkm_mask
	movq	_GPC_BCAST_NDIV_SLOWDOWN_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GPC_BCAST_NDIV_SLOWDOWN_DEBUG_PLL_DYNRAMP_DONE_SYNCED_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	$500, %esi                      ## imm = 0x1F4
	movl	%ecx, %r8d
	callq	_nvkm_wait_usec
	movq	%rax, %rbx
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	sarq	$63, %rbx
	andl	%ecx, %ebx
	movl	(%r12), %r15d
	movq	_GPCPLL_NDIV_SLOWDOWN_SLOWDOWN_USING_PLL_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %r12d
	movl	(%r13), %edi
	callq	_BIT
	orl	%eax, %r12d
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	xorl	%ecx, %ecx
	callq	_nvkm_mask
	movq	_GPCPLL_NDIV_SLOWDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_nvkm_rd32
LBB0_2:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GPCPLL_NDIV_SLOWDOWN,4,2       ## @GPCPLL_NDIV_SLOWDOWN
	.comm	_GPCPLL_NDIV_SLOWDOWN_SLOWDOWN_USING_PLL_SHIFT,4,2 ## @GPCPLL_NDIV_SLOWDOWN_SLOWDOWN_USING_PLL_SHIFT
	.comm	_GPCPLL_NDIV_SLOWDOWN_EN_DYNRAMP_SHIFT,4,2 ## @GPCPLL_NDIV_SLOWDOWN_EN_DYNRAMP_SHIFT
	.comm	_GPC_BCAST_NDIV_SLOWDOWN_DEBUG,4,2 ## @GPC_BCAST_NDIV_SLOWDOWN_DEBUG
	.comm	_GPC_BCAST_NDIV_SLOWDOWN_DEBUG_PLL_DYNRAMP_DONE_SYNCED_MASK,4,2 ## @GPC_BCAST_NDIV_SLOWDOWN_DEBUG_PLL_DYNRAMP_DONE_SYNCED_MASK
	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.no_dead_strip	_gk20a_pllg_slide
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gk20a_pllg_slide
_gk20a_pllg_slide:                      ; @gk20a_pllg_slide
	.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	x21, x1
	mov	x20, x0
	ldr	x19, [x0]
	add	x1, sp, #8
	bl	_gk20a_pllg_read_mnp
	ldr	x8, [sp, #8]
	cmp	x8, x21
	b.ne	LBB0_2
; %bb.1:
	mov	w20, #0
	b	LBB0_3
LBB0_2:
Lloh0:
	adrp	x24, _GPCPLL_NDIV_SLOWDOWN@GOTPAGE
Lloh1:
	ldr	x24, [x24, _GPCPLL_NDIV_SLOWDOWN@GOTPAGEOFF]
	ldr	w22, [x24]
Lloh2:
	adrp	x25, _GPCPLL_NDIV_SLOWDOWN_SLOWDOWN_USING_PLL_SHIFT@GOTPAGE
Lloh3:
	ldr	x25, [x25, _GPCPLL_NDIV_SLOWDOWN_SLOWDOWN_USING_PLL_SHIFT@GOTPAGEOFF]
	ldr	w0, [x25]
	bl	_BIT
	mov	x23, x0
	ldr	w0, [x25]
	bl	_BIT
	mov	x3, x0
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	bl	_nvkm_mask
	str	x21, [sp, #8]
	mov	w0, #1
	bl	_udelay
	add	x1, sp, #8
	mov	x0, x20
	bl	_gk20a_pllg_write_mnp
	mov	w0, #1
	bl	_udelay
	ldr	w20, [x24]
Lloh4:
	adrp	x23, _GPCPLL_NDIV_SLOWDOWN_EN_DYNRAMP_SHIFT@GOTPAGE
Lloh5:
	ldr	x23, [x23, _GPCPLL_NDIV_SLOWDOWN_EN_DYNRAMP_SHIFT@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_BIT
	mov	x21, x0
	ldr	w0, [x23]
	bl	_BIT
	mov	x3, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_nvkm_mask
Lloh6:
	adrp	x8, _GPC_BCAST_NDIV_SLOWDOWN_DEBUG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GPC_BCAST_NDIV_SLOWDOWN_DEBUG@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _GPC_BCAST_NDIV_SLOWDOWN_DEBUG_PLL_DYNRAMP_DONE_SYNCED_MASK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GPC_BCAST_NDIV_SLOWDOWN_DEBUG_PLL_DYNRAMP_DONE_SYNCED_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w1, #500
	mov	x4, x3
	bl	_nvkm_wait_usec
Lloh12:
	adrp	x8, _ETIMEDOUT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	asr	x9, x0, #63
	neg	w8, w8
	and	w20, w9, w8
	ldr	w21, [x24]
	ldr	w0, [x25]
	bl	_BIT
	mov	x22, x0
	ldr	w0, [x23]
	bl	_BIT
	orr	w2, w0, w22
	mov	x0, x19
	mov	x1, x21
	mov	w3, #0
	bl	_nvkm_mask
	ldr	w1, [x24]
	mov	x0, x19
	bl	_nvkm_rd32
LBB0_3:
	mov	x0, x20
	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
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_GPCPLL_NDIV_SLOWDOWN,4,2       ; @GPCPLL_NDIV_SLOWDOWN
	.comm	_GPCPLL_NDIV_SLOWDOWN_SLOWDOWN_USING_PLL_SHIFT,4,2 ; @GPCPLL_NDIV_SLOWDOWN_SLOWDOWN_USING_PLL_SHIFT
	.comm	_GPCPLL_NDIV_SLOWDOWN_EN_DYNRAMP_SHIFT,4,2 ; @GPCPLL_NDIV_SLOWDOWN_EN_DYNRAMP_SHIFT
	.comm	_GPC_BCAST_NDIV_SLOWDOWN_DEBUG,4,2 ; @GPC_BCAST_NDIV_SLOWDOWN_DEBUG
	.comm	_GPC_BCAST_NDIV_SLOWDOWN_DEBUG_PLL_DYNRAMP_DONE_SYNCED_MASK,4,2 ; @GPC_BCAST_NDIV_SLOWDOWN_DEBUG_PLL_DYNRAMP_DONE_SYNCED_MASK
	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.no_dead_strip	_gk20a_pllg_slide
.subsections_via_symbols
