	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dcn21_dchvm_init               ## -- Begin function dcn21_dchvm_init
	.p2align	4, 0x90
_dcn21_dchvm_init:                      ## @dcn21_dchvm_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	callq	_TO_DCN20_HUBBUB
	movq	_DCHVM_CTRL0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_HOSTVM_INIT_REQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_REG_UPDATE
	movq	_DCHVM_RIOMMU_STAT0@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_RIOMMU_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	movl	$5, %ecx
	movl	$100, %r8d
	callq	_REG_WAIT
	movq	_DCHVM_RIOMMU_CTRL0@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_HOSTVM_POWERSTATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_REG_UPDATE
	movl	(%rbx), %edi
	movq	_HOSTVM_PREFETCH_REQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_REG_UPDATE
	movq	_DCHVM_CLK_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_HVM_DISPCLK_R_GATE_DIS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HVM_DISPCLK_G_GATE_DIS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_HVM_DCFCLK_R_GATE_DIS@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_HVM_DCFCLK_G_GATE_DIS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	pushq	$0
	pushq	%rax
	pushq	$0
	callq	_REG_UPDATE_4
	addq	$32, %rsp
	movl	(%r14), %edi
	movq	_HOSTVM_PREFETCH_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	movl	$5, %ecx
	movl	$100, %r8d
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_REG_WAIT                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DCHVM_CTRL0,4,2                ## @DCHVM_CTRL0
	.comm	_HOSTVM_INIT_REQ,4,2            ## @HOSTVM_INIT_REQ
	.comm	_DCHVM_RIOMMU_STAT0,4,2         ## @DCHVM_RIOMMU_STAT0
	.comm	_RIOMMU_ACTIVE,4,2              ## @RIOMMU_ACTIVE
	.comm	_DCHVM_RIOMMU_CTRL0,4,2         ## @DCHVM_RIOMMU_CTRL0
	.comm	_HOSTVM_POWERSTATUS,4,2         ## @HOSTVM_POWERSTATUS
	.comm	_HOSTVM_PREFETCH_REQ,4,2        ## @HOSTVM_PREFETCH_REQ
	.comm	_DCHVM_CLK_CTRL,4,2             ## @DCHVM_CLK_CTRL
	.comm	_HVM_DISPCLK_R_GATE_DIS,4,2     ## @HVM_DISPCLK_R_GATE_DIS
	.comm	_HVM_DISPCLK_G_GATE_DIS,4,2     ## @HVM_DISPCLK_G_GATE_DIS
	.comm	_HVM_DCFCLK_R_GATE_DIS,4,2      ## @HVM_DCFCLK_R_GATE_DIS
	.comm	_HVM_DCFCLK_G_GATE_DIS,4,2      ## @HVM_DCFCLK_G_GATE_DIS
	.comm	_HOSTVM_PREFETCH_DONE,4,2       ## @HOSTVM_PREFETCH_DONE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dcn21_dchvm_init               ; -- Begin function dcn21_dchvm_init
	.p2align	2
_dcn21_dchvm_init:                      ; @dcn21_dchvm_init
	.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
	bl	_TO_DCN20_HUBBUB
Lloh0:
	adrp	x8, _DCHVM_CTRL0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DCHVM_CTRL0@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _HOSTVM_INIT_REQ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HOSTVM_INIT_REQ@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #1
	bl	_REG_UPDATE
Lloh6:
	adrp	x19, _DCHVM_RIOMMU_STAT0@GOTPAGE
Lloh7:
	ldr	x19, [x19, _DCHVM_RIOMMU_STAT0@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh8:
	adrp	x8, _RIOMMU_ACTIVE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RIOMMU_ACTIVE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	w2, #1
	mov	w3, #5
	mov	w4, #100
	bl	_REG_WAIT
Lloh11:
	adrp	x20, _DCHVM_RIOMMU_CTRL0@GOTPAGE
Lloh12:
	ldr	x20, [x20, _DCHVM_RIOMMU_CTRL0@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh13:
	adrp	x8, _HOSTVM_POWERSTATUS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _HOSTVM_POWERSTATUS@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	w2, #1
	bl	_REG_UPDATE
	ldr	w0, [x20]
Lloh16:
	adrp	x8, _HOSTVM_PREFETCH_REQ@GOTPAGE
Lloh17:
	ldr	x8, [x8, _HOSTVM_PREFETCH_REQ@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	w2, #1
	bl	_REG_UPDATE
Lloh19:
	adrp	x8, _DCHVM_CLK_CTRL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _DCHVM_CLK_CTRL@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x8, _HVM_DISPCLK_R_GATE_DIS@GOTPAGE
Lloh23:
	ldr	x8, [x8, _HVM_DISPCLK_R_GATE_DIS@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
Lloh25:
	adrp	x8, _HVM_DISPCLK_G_GATE_DIS@GOTPAGE
Lloh26:
	ldr	x8, [x8, _HVM_DISPCLK_G_GATE_DIS@GOTPAGEOFF]
Lloh27:
	ldr	w3, [x8]
Lloh28:
	adrp	x8, _HVM_DCFCLK_R_GATE_DIS@GOTPAGE
Lloh29:
	ldr	x8, [x8, _HVM_DCFCLK_R_GATE_DIS@GOTPAGEOFF]
Lloh30:
	ldr	w5, [x8]
Lloh31:
	adrp	x8, _HVM_DCFCLK_G_GATE_DIS@GOTPAGE
Lloh32:
	ldr	x8, [x8, _HVM_DCFCLK_G_GATE_DIS@GOTPAGEOFF]
Lloh33:
	ldr	w7, [x8]
	str	wzr, [sp]
	mov	w2, #0
	mov	w4, #0
	mov	w6, #0
	bl	_REG_UPDATE_4
	ldr	w0, [x19]
Lloh34:
	adrp	x8, _HOSTVM_PREFETCH_DONE@GOTPAGE
Lloh35:
	ldr	x8, [x8, _HOSTVM_PREFETCH_DONE@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	mov	w2, #1
	mov	w3, #5
	mov	w4, #100
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_REG_WAIT
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DCHVM_CTRL0,4,2                ; @DCHVM_CTRL0
	.comm	_HOSTVM_INIT_REQ,4,2            ; @HOSTVM_INIT_REQ
	.comm	_DCHVM_RIOMMU_STAT0,4,2         ; @DCHVM_RIOMMU_STAT0
	.comm	_RIOMMU_ACTIVE,4,2              ; @RIOMMU_ACTIVE
	.comm	_DCHVM_RIOMMU_CTRL0,4,2         ; @DCHVM_RIOMMU_CTRL0
	.comm	_HOSTVM_POWERSTATUS,4,2         ; @HOSTVM_POWERSTATUS
	.comm	_HOSTVM_PREFETCH_REQ,4,2        ; @HOSTVM_PREFETCH_REQ
	.comm	_DCHVM_CLK_CTRL,4,2             ; @DCHVM_CLK_CTRL
	.comm	_HVM_DISPCLK_R_GATE_DIS,4,2     ; @HVM_DISPCLK_R_GATE_DIS
	.comm	_HVM_DISPCLK_G_GATE_DIS,4,2     ; @HVM_DISPCLK_G_GATE_DIS
	.comm	_HVM_DCFCLK_R_GATE_DIS,4,2      ; @HVM_DCFCLK_R_GATE_DIS
	.comm	_HVM_DCFCLK_G_GATE_DIS,4,2      ; @HVM_DCFCLK_G_GATE_DIS
	.comm	_HOSTVM_PREFETCH_DONE,4,2       ; @HOSTVM_PREFETCH_DONE
.subsections_via_symbols
