	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gm20b_dvfs_program_dfs_detection
_gm20b_dvfs_program_dfs_detection:      ## @gm20b_dvfs_program_dfs_detection
	.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
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movq	_GPC_BCAST_GPCPLL_DVFS2@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_GPC_BCAST_GPCPLL_DVFS2_DFS_EXT_STROBE_BIT@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movq	%rbx, %rdi
	movl	%ecx, %edx
	callq	_nvkm_mask
	movq	_GPCPLL_DVFS0@GOTPCREL(%rip), %rax
	movq	_GPCPLL_DVFS0_DFS_COEFF_MASK@GOTPCREL(%rip), %rcx
	movq	_GPCPLL_DVFS0_DFS_DET_MAX_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_GPCPLL_DVFS0_DFS_COEFF_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	(%r15), %edi
	shll	%cl, %edi
	movl	(%rax), %esi
	movl	4(%r15), %eax
	movq	_GPCPLL_DVFS0_DFS_DET_MAX_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	%edi, %eax
	movq	%rbx, %rdi
	movl	%eax, %ecx
	callq	_nvkm_mask
	movl	$1, %edi
	callq	_udelay
	movl	(%r12), %esi
	movl	(%r13), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_nvkm_mask
	movl	8(%r15), %esi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gm20b_dvfs_program_ext_cal     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GPC_BCAST_GPCPLL_DVFS2,4,2     ## @GPC_BCAST_GPCPLL_DVFS2
	.comm	_GPC_BCAST_GPCPLL_DVFS2_DFS_EXT_STROBE_BIT,4,2 ## @GPC_BCAST_GPCPLL_DVFS2_DFS_EXT_STROBE_BIT
	.comm	_GPCPLL_DVFS0,4,2               ## @GPCPLL_DVFS0
	.comm	_GPCPLL_DVFS0_DFS_COEFF_MASK,4,2 ## @GPCPLL_DVFS0_DFS_COEFF_MASK
	.comm	_GPCPLL_DVFS0_DFS_DET_MAX_MASK,4,2 ## @GPCPLL_DVFS0_DFS_DET_MAX_MASK
	.comm	_GPCPLL_DVFS0_DFS_COEFF_SHIFT,4,2 ## @GPCPLL_DVFS0_DFS_COEFF_SHIFT
	.comm	_GPCPLL_DVFS0_DFS_DET_MAX_SHIFT,4,2 ## @GPCPLL_DVFS0_DFS_DET_MAX_SHIFT
	.no_dead_strip	_gm20b_dvfs_program_dfs_detection
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gm20b_dvfs_program_dfs_detection
_gm20b_dvfs_program_dfs_detection:      ; @gm20b_dvfs_program_dfs_detection
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x21, [x0]
Lloh0:
	adrp	x22, _GPC_BCAST_GPCPLL_DVFS2@GOTPAGE
Lloh1:
	ldr	x22, [x22, _GPC_BCAST_GPCPLL_DVFS2@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh2:
	adrp	x23, _GPC_BCAST_GPCPLL_DVFS2_DFS_EXT_STROBE_BIT@GOTPAGE
Lloh3:
	ldr	x23, [x23, _GPC_BCAST_GPCPLL_DVFS2_DFS_EXT_STROBE_BIT@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x0, x21
	mov	x3, x2
	bl	_nvkm_mask
Lloh4:
	adrp	x8, _GPCPLL_DVFS0@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GPCPLL_DVFS0@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x8, _GPCPLL_DVFS0_DFS_COEFF_MASK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GPCPLL_DVFS0_DFS_COEFF_MASK@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _GPCPLL_DVFS0_DFS_DET_MAX_MASK@GOTPAGE
Lloh11:
	ldr	x9, [x9, _GPCPLL_DVFS0_DFS_DET_MAX_MASK@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w2, w9, w8
Lloh13:
	adrp	x8, _GPCPLL_DVFS0_DFS_COEFF_SHIFT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _GPCPLL_DVFS0_DFS_COEFF_SHIFT@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	ldp	w9, w10, [x19]
	lsl	w8, w9, w8
Lloh16:
	adrp	x9, _GPCPLL_DVFS0_DFS_DET_MAX_SHIFT@GOTPAGE
Lloh17:
	ldr	x9, [x9, _GPCPLL_DVFS0_DFS_DET_MAX_SHIFT@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	lsl	w9, w10, w9
	orr	w3, w9, w8
	mov	x0, x21
	bl	_nvkm_mask
	mov	w0, #1
	bl	_udelay
	ldr	w1, [x22]
	ldr	w2, [x23]
	mov	x0, x21
	mov	w3, #0
	bl	_nvkm_mask
	ldr	w1, [x19, #8]
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_gm20b_dvfs_program_ext_cal
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_GPC_BCAST_GPCPLL_DVFS2,4,2     ; @GPC_BCAST_GPCPLL_DVFS2
	.comm	_GPC_BCAST_GPCPLL_DVFS2_DFS_EXT_STROBE_BIT,4,2 ; @GPC_BCAST_GPCPLL_DVFS2_DFS_EXT_STROBE_BIT
	.comm	_GPCPLL_DVFS0,4,2               ; @GPCPLL_DVFS0
	.comm	_GPCPLL_DVFS0_DFS_COEFF_MASK,4,2 ; @GPCPLL_DVFS0_DFS_COEFF_MASK
	.comm	_GPCPLL_DVFS0_DFS_DET_MAX_MASK,4,2 ; @GPCPLL_DVFS0_DFS_DET_MAX_MASK
	.comm	_GPCPLL_DVFS0_DFS_COEFF_SHIFT,4,2 ; @GPCPLL_DVFS0_DFS_COEFF_SHIFT
	.comm	_GPCPLL_DVFS0_DFS_DET_MAX_SHIFT,4,2 ; @GPCPLL_DVFS0_DFS_DET_MAX_SHIFT
	.no_dead_strip	_gm20b_dvfs_program_dfs_detection
.subsections_via_symbols
