	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function calc_host
_calc_host:                             ## @calc_host
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %rcx
	movq	_nv_clk_src_host@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rcx,%rax,4), %edx
	movq	8(%rdi), %rsi
	shlq	$4, %rax
	leaq	(%rsi,%rax), %rcx
	cmpl	$277000, %edx                   ## imm = 0x43A08
	jne	LBB0_2
## %bb.1:
	movq	$0, 8(%rsi,%rax)
	movq	_NVA3_HOST_277@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_2:
	movq	_NVA3_HOST_CLK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rcx)
	movl	$29, %esi
	callq	_gt215_clk_info
	movl	%eax, %ecx
	sarl	$31, %ecx
	andl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nv_clk_src_host,8,3            ## @nv_clk_src_host
	.comm	_NVA3_HOST_277,4,2              ## @NVA3_HOST_277
	.comm	_NVA3_HOST_CLK,4,2              ## @NVA3_HOST_CLK
	.no_dead_strip	_calc_host
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function calc_host
_calc_host:                             ; @calc_host
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _nv_clk_src_host@GOTPAGE
Lloh1:
	ldr	x9, [x9, _nv_clk_src_host@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w2, [x8, x9, lsl #2]
	ldr	x8, [x0, #8]
	add	x3, x8, x9, lsl #4
	sub	w8, w2, #67, lsl #12            ; =274432
	cmp	w8, #2568
	b.ne	LBB0_2
; %bb.1:
	str	xzr, [x3, #8]
Lloh3:
	adrp	x8, _NVA3_HOST_277@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NVA3_HOST_277@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x3]
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh6:
	adrp	x8, _NVA3_HOST_CLK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NVA3_HOST_CLK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x3]
	mov	w1, #29
	bl	_gt215_clk_info
	cmp	w0, #0
	csel	w0, w0, wzr, lt
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_nv_clk_src_host,8,3            ; @nv_clk_src_host
	.comm	_NVA3_HOST_277,4,2              ; @NVA3_HOST_277
	.comm	_NVA3_HOST_CLK,4,2              ; @NVA3_HOST_CLK
	.no_dead_strip	_calc_host
.subsections_via_symbols
