	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gt215_clk_calc
_gt215_clk_calc:                        ## @gt215_clk_calc
	.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	%rsi, %r14
	callq	_gt215_clk
	movq	%rax, %rbx
	movq	(%rax), %r12
	movq	_nv_clk_src_core@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$16, %edx
	movl	$16896, %ecx                    ## imm = 0x4200
	movq	%r15, %r8
	callq	_calc_clk
	testl	%eax, %eax
	jne	LBB0_8
## %bb.1:
	movq	_nv_clk_src_shader@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$17, %edx
	movl	$16928, %ecx                    ## imm = 0x4220
	callq	_calc_clk
	testl	%eax, %eax
	jne	LBB0_8
## %bb.2:
	movq	_nv_clk_src_disp@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$32, %edx
	xorl	%ecx, %ecx
	callq	_calc_clk
	testl	%eax, %eax
	jne	LBB0_8
## %bb.3:
	movq	_nv_clk_src_vdec@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$33, %edx
	xorl	%ecx, %ecx
	callq	_calc_clk
	testl	%eax, %eax
	jne	LBB0_8
## %bb.4:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_calc_host
	testl	%eax, %eax
	jne	LBB0_8
## %bb.5:
	cmpq	$0, (%r12,%r15,8)
	je	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	addq	$8, %rdi
	movq	(%r14), %rax
	movq	_nv_clk_src_core_intm@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edx
	shlq	$3, %rcx
	addq	(%rbx), %rcx
	movl	$16, %esi
	callq	_gt215_clk_info
	testl	%eax, %eax
	js	LBB0_8
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	popq	%rbx
	popq	%r12
	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_shader,8,3          ## @nv_clk_src_shader
	.comm	_nv_clk_src_disp,8,3            ## @nv_clk_src_disp
	.comm	_nv_clk_src_vdec,8,3            ## @nv_clk_src_vdec
	.comm	_nv_clk_src_core_intm,8,3       ## @nv_clk_src_core_intm
	.no_dead_strip	_gt215_clk_calc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gt215_clk_calc
_gt215_clk_calc:                        ; @gt215_clk_calc
	.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
	mov	x20, x1
	bl	_gt215_clk
	mov	x19, x0
	ldr	x22, [x0]
Lloh0:
	adrp	x8, _nv_clk_src_core@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nv_clk_src_core@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	mov	x1, x20
	mov	w2, #16
	mov	w3, #16896
	mov	x4, x21
	bl	_calc_clk
	cbnz	w0, LBB0_8
; %bb.1:
Lloh3:
	adrp	x8, _nv_clk_src_shader@GOTPAGE
Lloh4:
	ldr	x8, [x8, _nv_clk_src_shader@GOTPAGEOFF]
Lloh5:
	ldr	x4, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #17
	mov	w3, #16928
	bl	_calc_clk
	cbnz	w0, LBB0_8
; %bb.2:
Lloh6:
	adrp	x8, _nv_clk_src_disp@GOTPAGE
Lloh7:
	ldr	x8, [x8, _nv_clk_src_disp@GOTPAGEOFF]
Lloh8:
	ldr	x4, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #32
	mov	w3, #0
	bl	_calc_clk
	cbnz	w0, LBB0_8
; %bb.3:
Lloh9:
	adrp	x8, _nv_clk_src_vdec@GOTPAGE
Lloh10:
	ldr	x8, [x8, _nv_clk_src_vdec@GOTPAGEOFF]
Lloh11:
	ldr	x4, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #33
	mov	w3, #0
	bl	_calc_clk
	cbnz	w0, LBB0_8
; %bb.4:
	mov	x0, x19
	mov	x1, x20
	bl	_calc_host
	cbnz	w0, LBB0_8
; %bb.5:
	ldr	x8, [x22, x21, lsl #3]
	cbz	x8, LBB0_7
; %bb.6:
	ldr	x8, [x20]
Lloh12:
	adrp	x9, _nv_clk_src_core_intm@GOTPAGE
Lloh13:
	ldr	x9, [x9, _nv_clk_src_core_intm@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	ldr	w2, [x8, x9, lsl #2]
	ldr	x8, [x19], #8
	add	x3, x8, x9, lsl #3
	mov	x0, x19
	mov	w1, #16
	bl	_gt215_clk_info
	tbnz	w0, #31, LBB0_8
LBB0_7:
	mov	w0, #0
LBB0_8:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_nv_clk_src_core,8,3            ; @nv_clk_src_core
	.comm	_nv_clk_src_shader,8,3          ; @nv_clk_src_shader
	.comm	_nv_clk_src_disp,8,3            ; @nv_clk_src_disp
	.comm	_nv_clk_src_vdec,8,3            ; @nv_clk_src_vdec
	.comm	_nv_clk_src_core_intm,8,3       ; @nv_clk_src_core_intm
	.no_dead_strip	_gt215_clk_calc
.subsections_via_symbols
