	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dcn20_vmid_setup               ## -- Begin function dcn20_vmid_setup
	.p2align	4, 0x90
_dcn20_vmid_setup:                      ## @dcn20_vmid_setup
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_PAGE_TABLE_START_ADDR_HI32@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_VM_CONTEXT0_START_LOGICAL_PAGE_NUMBER_HI4@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_REG_SET
	movq	_PAGE_TABLE_START_ADDR_LO32@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_VM_CONTEXT0_START_LOGICAL_PAGE_NUMBER_LO32@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rbx), %ecx
	xorl	%esi, %esi
	callq	_REG_SET
	movq	_PAGE_TABLE_END_ADDR_HI32@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_VM_CONTEXT0_END_LOGICAL_PAGE_NUMBER_HI4@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_REG_SET
	movq	_PAGE_TABLE_END_ADDR_LO32@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_VM_CONTEXT0_END_LOGICAL_PAGE_NUMBER_LO32@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	4(%rbx), %ecx
	xorl	%esi, %esi
	callq	_REG_SET
	movq	_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_VM_CONTEXT0_PAGE_TABLE_DEPTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	12(%rbx), %r9d
	movl	16(%rbx), %ecx
	movq	_VM_CONTEXT0_PAGE_TABLE_BLOCK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%esi, %esi
	callq	_REG_SET_2
	movq	_PAGE_TABLE_BASE_ADDR_HI32@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_VM_CONTEXT0_PAGE_DIRECTORY_ENTRY_HI32@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_REG_SET
	movq	_PAGE_TABLE_BASE_ADDR_LO32@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_VM_CONTEXT0_PAGE_DIRECTORY_ENTRY_LO32@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	8(%rbx), %ecx
	xorl	%esi, %esi
	callq	_REG_SET
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dcn20_wait_for_vmid_ready      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_TABLE_START_ADDR_HI32,4,2 ## @PAGE_TABLE_START_ADDR_HI32
	.comm	_VM_CONTEXT0_START_LOGICAL_PAGE_NUMBER_HI4,4,2 ## @VM_CONTEXT0_START_LOGICAL_PAGE_NUMBER_HI4
	.comm	_PAGE_TABLE_START_ADDR_LO32,4,2 ## @PAGE_TABLE_START_ADDR_LO32
	.comm	_VM_CONTEXT0_START_LOGICAL_PAGE_NUMBER_LO32,4,2 ## @VM_CONTEXT0_START_LOGICAL_PAGE_NUMBER_LO32
	.comm	_PAGE_TABLE_END_ADDR_HI32,4,2   ## @PAGE_TABLE_END_ADDR_HI32
	.comm	_VM_CONTEXT0_END_LOGICAL_PAGE_NUMBER_HI4,4,2 ## @VM_CONTEXT0_END_LOGICAL_PAGE_NUMBER_HI4
	.comm	_PAGE_TABLE_END_ADDR_LO32,4,2   ## @PAGE_TABLE_END_ADDR_LO32
	.comm	_VM_CONTEXT0_END_LOGICAL_PAGE_NUMBER_LO32,4,2 ## @VM_CONTEXT0_END_LOGICAL_PAGE_NUMBER_LO32
	.comm	_CNTL,4,2                       ## @CNTL
	.comm	_VM_CONTEXT0_PAGE_TABLE_DEPTH,4,2 ## @VM_CONTEXT0_PAGE_TABLE_DEPTH
	.comm	_VM_CONTEXT0_PAGE_TABLE_BLOCK_SIZE,4,2 ## @VM_CONTEXT0_PAGE_TABLE_BLOCK_SIZE
	.comm	_PAGE_TABLE_BASE_ADDR_HI32,4,2  ## @PAGE_TABLE_BASE_ADDR_HI32
	.comm	_VM_CONTEXT0_PAGE_DIRECTORY_ENTRY_HI32,4,2 ## @VM_CONTEXT0_PAGE_DIRECTORY_ENTRY_HI32
	.comm	_PAGE_TABLE_BASE_ADDR_LO32,4,2  ## @PAGE_TABLE_BASE_ADDR_LO32
	.comm	_VM_CONTEXT0_PAGE_DIRECTORY_ENTRY_LO32,4,2 ## @VM_CONTEXT0_PAGE_DIRECTORY_ENTRY_LO32
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dcn20_vmid_setup               ; -- Begin function dcn20_vmid_setup
	.p2align	2
_dcn20_vmid_setup:                      ; @dcn20_vmid_setup
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _PAGE_TABLE_START_ADDR_HI32@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE_TABLE_START_ADDR_HI32@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _VM_CONTEXT0_START_LOGICAL_PAGE_NUMBER_HI4@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VM_CONTEXT0_START_LOGICAL_PAGE_NUMBER_HI4@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_REG_SET
Lloh6:
	adrp	x8, _PAGE_TABLE_START_ADDR_LO32@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PAGE_TABLE_START_ADDR_LO32@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _VM_CONTEXT0_START_LOGICAL_PAGE_NUMBER_LO32@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VM_CONTEXT0_START_LOGICAL_PAGE_NUMBER_LO32@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	ldr	w3, [x20]
	mov	w1, #0
	bl	_REG_SET
Lloh12:
	adrp	x8, _PAGE_TABLE_END_ADDR_HI32@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PAGE_TABLE_END_ADDR_HI32@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x8, _VM_CONTEXT0_END_LOGICAL_PAGE_NUMBER_HI4@GOTPAGE
Lloh16:
	ldr	x8, [x8, _VM_CONTEXT0_END_LOGICAL_PAGE_NUMBER_HI4@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_REG_SET
Lloh18:
	adrp	x8, _PAGE_TABLE_END_ADDR_LO32@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PAGE_TABLE_END_ADDR_LO32@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x8, _VM_CONTEXT0_END_LOGICAL_PAGE_NUMBER_LO32@GOTPAGE
Lloh22:
	ldr	x8, [x8, _VM_CONTEXT0_END_LOGICAL_PAGE_NUMBER_LO32@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	ldr	w3, [x20, #4]
	mov	w1, #0
	bl	_REG_SET
Lloh24:
	adrp	x8, _CNTL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _CNTL@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
Lloh27:
	adrp	x8, _VM_CONTEXT0_PAGE_TABLE_DEPTH@GOTPAGE
Lloh28:
	ldr	x8, [x8, _VM_CONTEXT0_PAGE_TABLE_DEPTH@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
Lloh30:
	adrp	x8, _VM_CONTEXT0_PAGE_TABLE_BLOCK_SIZE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _VM_CONTEXT0_PAGE_TABLE_BLOCK_SIZE@GOTPAGEOFF]
Lloh32:
	ldr	w4, [x8]
	ldp	w5, w3, [x20, #12]
	mov	w1, #0
	bl	_REG_SET_2
Lloh33:
	adrp	x8, _PAGE_TABLE_BASE_ADDR_HI32@GOTPAGE
Lloh34:
	ldr	x8, [x8, _PAGE_TABLE_BASE_ADDR_HI32@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
Lloh36:
	adrp	x8, _VM_CONTEXT0_PAGE_DIRECTORY_ENTRY_HI32@GOTPAGE
Lloh37:
	ldr	x8, [x8, _VM_CONTEXT0_PAGE_DIRECTORY_ENTRY_HI32@GOTPAGEOFF]
Lloh38:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_REG_SET
Lloh39:
	adrp	x8, _PAGE_TABLE_BASE_ADDR_LO32@GOTPAGE
Lloh40:
	ldr	x8, [x8, _PAGE_TABLE_BASE_ADDR_LO32@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
Lloh42:
	adrp	x8, _VM_CONTEXT0_PAGE_DIRECTORY_ENTRY_LO32@GOTPAGE
Lloh43:
	ldr	x8, [x8, _VM_CONTEXT0_PAGE_DIRECTORY_ENTRY_LO32@GOTPAGEOFF]
Lloh44:
	ldr	w2, [x8]
	ldr	w3, [x20, #8]
	mov	w1, #0
	bl	_REG_SET
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dcn20_wait_for_vmid_ready
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_TABLE_START_ADDR_HI32,4,2 ; @PAGE_TABLE_START_ADDR_HI32
	.comm	_VM_CONTEXT0_START_LOGICAL_PAGE_NUMBER_HI4,4,2 ; @VM_CONTEXT0_START_LOGICAL_PAGE_NUMBER_HI4
	.comm	_PAGE_TABLE_START_ADDR_LO32,4,2 ; @PAGE_TABLE_START_ADDR_LO32
	.comm	_VM_CONTEXT0_START_LOGICAL_PAGE_NUMBER_LO32,4,2 ; @VM_CONTEXT0_START_LOGICAL_PAGE_NUMBER_LO32
	.comm	_PAGE_TABLE_END_ADDR_HI32,4,2   ; @PAGE_TABLE_END_ADDR_HI32
	.comm	_VM_CONTEXT0_END_LOGICAL_PAGE_NUMBER_HI4,4,2 ; @VM_CONTEXT0_END_LOGICAL_PAGE_NUMBER_HI4
	.comm	_PAGE_TABLE_END_ADDR_LO32,4,2   ; @PAGE_TABLE_END_ADDR_LO32
	.comm	_VM_CONTEXT0_END_LOGICAL_PAGE_NUMBER_LO32,4,2 ; @VM_CONTEXT0_END_LOGICAL_PAGE_NUMBER_LO32
	.comm	_CNTL,4,2                       ; @CNTL
	.comm	_VM_CONTEXT0_PAGE_TABLE_DEPTH,4,2 ; @VM_CONTEXT0_PAGE_TABLE_DEPTH
	.comm	_VM_CONTEXT0_PAGE_TABLE_BLOCK_SIZE,4,2 ; @VM_CONTEXT0_PAGE_TABLE_BLOCK_SIZE
	.comm	_PAGE_TABLE_BASE_ADDR_HI32,4,2  ; @PAGE_TABLE_BASE_ADDR_HI32
	.comm	_VM_CONTEXT0_PAGE_DIRECTORY_ENTRY_HI32,4,2 ; @VM_CONTEXT0_PAGE_DIRECTORY_ENTRY_HI32
	.comm	_PAGE_TABLE_BASE_ADDR_LO32,4,2  ; @PAGE_TABLE_BASE_ADDR_LO32
	.comm	_VM_CONTEXT0_PAGE_DIRECTORY_ENTRY_LO32,4,2 ; @VM_CONTEXT0_PAGE_DIRECTORY_ENTRY_LO32
.subsections_via_symbols
