	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gk20a_pllg_program_mnp
_gk20a_pllg_program_mnp:                ## @gk20a_pllg_program_mnp
	.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	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	(%rdi), %r14
	leaq	-56(%rbp), %rsi
	callq	_gk20a_pllg_read_mnp
	movq	_GPC2CLK_OUT@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_GPC2CLK_OUT_VCODIV_MASK@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	_GPC2CLK_OUT_VCODIV2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_GPC2CLK_OUT_VCODIV_SHIFT@GOTPCREL(%rip), %r15
	movb	(%r15), %cl
	shll	%cl, %eax
	movq	%r14, %rdi
	movl	%eax, %ecx
	callq	_nvkm_mask
	movl	(%r13), %esi
	movl	(%r12), %edx
	movq	_GPC2CLK_OUT_VCODIV2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movb	(%r15), %cl
	shll	%cl, %eax
	movq	%r14, %rdi
	movl	%eax, %ecx
	callq	_nvkm_mask
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_nvkm_rd32
	movl	$2, %edi
	callq	_udelay
	movq	%rbx, %rdi
	callq	_gk20a_pllg_disable
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_gk20a_pllg_write_mnp
	movq	%rbx, %rdi
	callq	_gk20a_pllg_enable
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	$2, %edi
	callq	_udelay
	movl	(%r13), %esi
	movq	_GPC2CLK_OUT_VCODIV_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GPC2CLK_OUT_VCODIV1@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	movq	_GPC2CLK_OUT_VCODIV_SHIFT@GOTPCREL(%rip), %r12
	movb	(%r12), %cl
	shll	%cl, %eax
	movq	%r14, %rdi
	movl	%eax, %ecx
	callq	_nvkm_mask
	movl	(%r13), %esi
	movq	_GPC2CLK_OUT_VCODIV_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r15), %eax
	movb	(%r12), %cl
	shll	%cl, %eax
	movq	%r14, %rdi
	movl	%eax, %ecx
	callq	_nvkm_mask
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_nvkm_rd32
LBB0_2:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GPC2CLK_OUT,4,2                ## @GPC2CLK_OUT
	.comm	_GPC2CLK_OUT_VCODIV_MASK,4,2    ## @GPC2CLK_OUT_VCODIV_MASK
	.comm	_GPC2CLK_OUT_VCODIV2,4,2        ## @GPC2CLK_OUT_VCODIV2
	.comm	_GPC2CLK_OUT_VCODIV_SHIFT,4,2   ## @GPC2CLK_OUT_VCODIV_SHIFT
	.comm	_GPC2CLK_OUT_VCODIV1,4,2        ## @GPC2CLK_OUT_VCODIV1
	.no_dead_strip	_gk20a_pllg_program_mnp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gk20a_pllg_program_mnp
_gk20a_pllg_program_mnp:                ; @gk20a_pllg_program_mnp
	.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
Lloh0:
	adrp	x22, _GPC2CLK_OUT@GOTPAGE
Lloh1:
	ldr	x22, [x22, _GPC2CLK_OUT@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh2:
	adrp	x23, _GPC2CLK_OUT_VCODIV_MASK@GOTPAGE
Lloh3:
	ldr	x23, [x23, _GPC2CLK_OUT_VCODIV_MASK@GOTPAGEOFF]
Lloh4:
	adrp	x25, _GPC2CLK_OUT_VCODIV2@GOTPAGE
Lloh5:
	ldr	x25, [x25, _GPC2CLK_OUT_VCODIV2@GOTPAGEOFF]
	ldr	w2, [x23]
	ldr	w8, [x25]
Lloh6:
	adrp	x24, _GPC2CLK_OUT_VCODIV_SHIFT@GOTPAGE
Lloh7:
	ldr	x24, [x24, _GPC2CLK_OUT_VCODIV_SHIFT@GOTPAGEOFF]
	ldr	w9, [x24]
	lsl	w3, w8, w9
	mov	x0, x19
	bl	_nvkm_mask
	ldr	w1, [x22]
	ldr	w2, [x23]
	ldr	w8, [x25]
	ldr	w9, [x24]
	lsl	w3, w8, w9
	mov	x0, x19
	bl	_nvkm_mask
	ldr	w1, [x22]
	mov	x0, x19
	bl	_nvkm_rd32
	mov	w0, #2
	bl	_udelay
	mov	x0, x20
	bl	_gk20a_pllg_disable
	mov	x0, x20
	mov	x1, x21
	bl	_gk20a_pllg_write_mnp
	mov	x0, x20
	bl	_gk20a_pllg_enable
	mov	x20, x0
	cbnz	w0, LBB0_2
; %bb.1:
	mov	w0, #2
	bl	_udelay
	ldr	w1, [x22]
	ldr	w2, [x23]
Lloh8:
	adrp	x21, _GPC2CLK_OUT_VCODIV1@GOTPAGE
Lloh9:
	ldr	x21, [x21, _GPC2CLK_OUT_VCODIV1@GOTPAGEOFF]
	ldr	w8, [x21]
	ldr	w9, [x24]
	lsl	w3, w8, w9
	mov	x0, x19
	bl	_nvkm_mask
	ldr	w1, [x22]
	ldr	w2, [x23]
	ldr	w8, [x21]
	ldr	w9, [x24]
	lsl	w3, w8, w9
	mov	x0, x19
	bl	_nvkm_mask
	ldr	w1, [x22]
	mov	x0, x19
	bl	_nvkm_rd32
LBB0_2:
	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 AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_GPC2CLK_OUT,4,2                ; @GPC2CLK_OUT
	.comm	_GPC2CLK_OUT_VCODIV_MASK,4,2    ; @GPC2CLK_OUT_VCODIV_MASK
	.comm	_GPC2CLK_OUT_VCODIV2,4,2        ; @GPC2CLK_OUT_VCODIV2
	.comm	_GPC2CLK_OUT_VCODIV_SHIFT,4,2   ; @GPC2CLK_OUT_VCODIV_SHIFT
	.comm	_GPC2CLK_OUT_VCODIV1,4,2        ; @GPC2CLK_OUT_VCODIV1
	.no_dead_strip	_gk20a_pllg_program_mnp
.subsections_via_symbols
