	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gt215_clk_prog
_gt215_clk_prog:                        ## @gt215_clk_prog
	.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
	callq	_gt215_clk
	movq	%rax, %rbx
	movq	8(%rax), %r13
	movq	_nv_clk_src_core@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	leaq	-48(%rbp), %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_gt215_clk_pre
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	cmpq	$0, (%r13,%r12,8)
	je	LBB0_3
## %bb.2:
	movq	_nv_clk_src_core_intm@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_prog_core
LBB0_3:
	movq	_nv_clk_src_core@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_prog_core
	movq	_nv_clk_src_shader@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$16928, %edx                    ## imm = 0x4220
	callq	_prog_pll
	movq	_nv_clk_src_disp@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$32, %esi
	callq	_prog_clk
	movq	_nv_clk_src_vdec@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$33, %esi
	callq	_prog_clk
	movq	%rbx, %rdi
	callq	_prog_host
LBB0_4:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	movl	(%rax), %eax
	addl	%r15d, %eax
	cmoveq	%rcx, %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_gt215_clk_post
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nv_clk_src_core,8,3            ## @nv_clk_src_core
	.comm	_nv_clk_src_core_intm,8,3       ## @nv_clk_src_core_intm
	.comm	_nv_clk_src_shader,4,2          ## @nv_clk_src_shader
	.comm	_nv_clk_src_disp,4,2            ## @nv_clk_src_disp
	.comm	_nv_clk_src_vdec,4,2            ## @nv_clk_src_vdec
	.comm	_EBUSY,4,2                      ## @EBUSY
	.no_dead_strip	_gt215_clk_prog
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gt215_clk_prog
_gt215_clk_prog:                        ; @gt215_clk_prog
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	bl	_gt215_clk
	mov	x19, x0
	ldr	x23, [x0, #8]
Lloh0:
	adrp	x22, _nv_clk_src_core@GOTPAGE
Lloh1:
	ldr	x22, [x22, _nv_clk_src_core@GOTPAGEOFF]
	ldr	x24, [x22]
	add	x21, sp, #8
	add	x1, sp, #8
	bl	_gt215_clk_pre
	mov	x20, x0
	cbnz	w0, LBB0_4
; %bb.1:
	ldr	x8, [x23, x24, lsl #3]
	cbz	x8, LBB0_3
; %bb.2:
Lloh2:
	adrp	x8, _nv_clk_src_core_intm@GOTPAGE
Lloh3:
	ldr	x8, [x8, _nv_clk_src_core_intm@GOTPAGEOFF]
Lloh4:
	ldr	x1, [x8]
	mov	x0, x19
	bl	_prog_core
LBB0_3:
	ldr	x1, [x22]
	mov	x0, x19
	bl	_prog_core
Lloh5:
	adrp	x8, _nv_clk_src_shader@GOTPAGE
Lloh6:
	ldr	x8, [x8, _nv_clk_src_shader@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w1, #1
	mov	w2, #16928
	bl	_prog_pll
Lloh8:
	adrp	x8, _nv_clk_src_disp@GOTPAGE
Lloh9:
	ldr	x8, [x8, _nv_clk_src_disp@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #32
	bl	_prog_clk
Lloh11:
	adrp	x8, _nv_clk_src_vdec@GOTPAGE
Lloh12:
	ldr	x8, [x8, _nv_clk_src_vdec@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #33
	bl	_prog_clk
	mov	x0, x19
	bl	_prog_host
LBB0_4:
Lloh14:
	adrp	x8, _EBUSY@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmn	w20, w8
	csel	x1, xzr, x21, eq
	mov	x0, x19
	bl	_gt215_clk_post
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_nv_clk_src_core,8,3            ; @nv_clk_src_core
	.comm	_nv_clk_src_core_intm,8,3       ; @nv_clk_src_core_intm
	.comm	_nv_clk_src_shader,4,2          ; @nv_clk_src_shader
	.comm	_nv_clk_src_disp,4,2            ; @nv_clk_src_disp
	.comm	_nv_clk_src_vdec,4,2            ; @nv_clk_src_vdec
	.comm	_EBUSY,4,2                      ; @EBUSY
	.no_dead_strip	_gt215_clk_prog
.subsections_via_symbols
