	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gm20b_pllg_enable
_gm20b_pllg_enable:                     ## @gm20b_pllg_enable
	.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	(%rdi), %rbx
	movq	_GPCPLL_CFG@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_GPCPLL_CFG_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	%ecx, %edx
	callq	_nvkm_mask
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_nvkm_rd32
	movl	$40, %edi
	callq	_udelay
	movl	(%r14), %esi
	movq	_GPCPLL_CFG_SYNC_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	%ecx, %edx
	callq	_nvkm_mask
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_nvkm_rd32
	movq	_SEL_VCO@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_SEL_VCO_GPC2CLK_OUT_SHIFT@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_BIT
	movl	%eax, %r15d
	movl	(%r12), %edi
	callq	_BIT
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_nvkm_mask
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GPCPLL_CFG,4,2                 ## @GPCPLL_CFG
	.comm	_GPCPLL_CFG_ENABLE,4,2          ## @GPCPLL_CFG_ENABLE
	.comm	_GPCPLL_CFG_SYNC_MODE,4,2       ## @GPCPLL_CFG_SYNC_MODE
	.comm	_SEL_VCO,4,2                    ## @SEL_VCO
	.comm	_SEL_VCO_GPC2CLK_OUT_SHIFT,4,2  ## @SEL_VCO_GPC2CLK_OUT_SHIFT
	.no_dead_strip	_gm20b_pllg_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gm20b_pllg_enable
_gm20b_pllg_enable:                     ; @gm20b_pllg_enable
	.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
	ldr	x19, [x0]
Lloh0:
	adrp	x20, _GPCPLL_CFG@GOTPAGE
Lloh1:
	ldr	x20, [x20, _GPCPLL_CFG@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh2:
	adrp	x8, _GPCPLL_CFG_ENABLE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GPCPLL_CFG_ENABLE@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x2
	bl	_nvkm_mask
	ldr	w1, [x20]
	mov	x0, x19
	bl	_nvkm_rd32
	mov	w0, #40
	bl	_udelay
	ldr	w1, [x20]
Lloh5:
	adrp	x8, _GPCPLL_CFG_SYNC_MODE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GPCPLL_CFG_SYNC_MODE@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x2
	bl	_nvkm_mask
	ldr	w1, [x20]
	mov	x0, x19
	bl	_nvkm_rd32
Lloh8:
	adrp	x8, _SEL_VCO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SEL_VCO@GOTPAGEOFF]
Lloh10:
	ldr	w20, [x8]
Lloh11:
	adrp	x22, _SEL_VCO_GPC2CLK_OUT_SHIFT@GOTPAGE
Lloh12:
	ldr	x22, [x22, _SEL_VCO_GPC2CLK_OUT_SHIFT@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_BIT
	mov	x21, x0
	ldr	w0, [x22]
	bl	_BIT
	mov	x3, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_nvkm_mask
	mov	w0, #0
	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 AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_GPCPLL_CFG,4,2                 ; @GPCPLL_CFG
	.comm	_GPCPLL_CFG_ENABLE,4,2          ; @GPCPLL_CFG_ENABLE
	.comm	_GPCPLL_CFG_SYNC_MODE,4,2       ; @GPCPLL_CFG_SYNC_MODE
	.comm	_SEL_VCO,4,2                    ; @SEL_VCO
	.comm	_SEL_VCO_GPC2CLK_OUT_SHIFT,4,2  ; @SEL_VCO_GPC2CLK_OUT_SHIFT
	.no_dead_strip	_gm20b_pllg_enable
.subsections_via_symbols
