	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gk20a_clk_fini                 ## -- Begin function gk20a_clk_fini
	.p2align	4, 0x90
_gk20a_clk_fini:                        ## @gk20a_clk_fini
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r14
	callq	_gk20a_clk
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_gk20a_pllg_is_enabled
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	-32(%rbp), %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_gk20a_pllg_read_mnp
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_gk20a_pllg_n_lo
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_gk20a_pllg_slide
LBB0_2:
	movq	%rbx, %rdi
	callq	_gk20a_pllg_disable
	movq	_GPCPLL_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GPCPLL_CFG_IDDQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$1, %ecx
	callq	_nvkm_mask
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GPCPLL_CFG,4,2                 ## @GPCPLL_CFG
	.comm	_GPCPLL_CFG_IDDQ,4,2            ## @GPCPLL_CFG_IDDQ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gk20a_clk_fini                 ; -- Begin function gk20a_clk_fini
	.p2align	2
_gk20a_clk_fini:                        ; @gk20a_clk_fini
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	ldr	x19, [x0]
	bl	_gk20a_clk
	mov	x20, x0
	bl	_gk20a_pllg_is_enabled
	cbz	x0, LBB0_2
; %bb.1:
	add	x1, sp, #8
	mov	x0, x20
	bl	_gk20a_pllg_read_mnp
	add	x1, sp, #8
	mov	x0, x20
	bl	_gk20a_pllg_n_lo
	mov	x1, x0
	mov	x0, x20
	bl	_gk20a_pllg_slide
LBB0_2:
	mov	x0, x20
	bl	_gk20a_pllg_disable
Lloh0:
	adrp	x8, _GPCPLL_CFG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GPCPLL_CFG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _GPCPLL_CFG_IDDQ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GPCPLL_CFG_IDDQ@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #1
	bl	_nvkm_mask
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GPCPLL_CFG,4,2                 ; @GPCPLL_CFG
	.comm	_GPCPLL_CFG_IDDQ,4,2            ; @GPCPLL_CFG_IDDQ
.subsections_via_symbols
