	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dce_mi_program_pte_vm
_dce_mi_program_pte_vm:                 ## @dce_mi_program_pte_vm
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r15
	movl	%esi, %ebx
	callq	_TO_DCE_MEM_INPUT
	movl	%ebx, %edi
	callq	_get_mi_bpp
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_get_mi_tiling
	movq	_pte_settings@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, %eax
	movq	(%rcx,%rax,8), %r13
	movl	%r12d, %eax
	leaq	(%rax,%rax,4), %rbx
	leaq	(,%rbx,4), %r14
	addq	%r13, %r14
	movl	16(%r13,%rbx,4), %edi
	callq	_log_2
	movl	%eax, %r15d
	movl	12(%r13,%rbx,4), %edi
	callq	_log_2
	movl	%eax, %r12d
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_is_vert_scan
	testq	%rax, %rax
	leaq	4(%r13,%rbx,4), %rax
	cmovneq	%r14, %rax
	movl	(%rax), %r14d
	movq	_GRPH_PIPE_OUTSTANDING_REQUEST_LIMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, %esi
	movl	$127, %edx
	callq	_REG_UPDATE
	movq	_DVMM_PTE_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DVMM_PAGE_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DVMM_PAGE_HEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_DVMM_MIN_PTE_BEFORE_FLIP@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	%r14d, (%rsp)
	movl	%r15d, %edx
	movl	%r12d, %r8d
	callq	_REG_UPDATE_3
	movq	_DVMM_PTE_ARB_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DVMM_PTE_REQ_PER_CHUNK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r13,%rbx,4), %edx
	movq	_DVMM_MAX_PTE_REQ_OUTSTANDING@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$127, %r8d
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_REG_UPDATE_2                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_settings,8,3               ## @pte_settings
	.comm	_GRPH_PIPE_OUTSTANDING_REQUEST_LIMIT,4,2 ## @GRPH_PIPE_OUTSTANDING_REQUEST_LIMIT
	.comm	_DVMM_PTE_CONTROL,4,2           ## @DVMM_PTE_CONTROL
	.comm	_DVMM_PAGE_WIDTH,4,2            ## @DVMM_PAGE_WIDTH
	.comm	_DVMM_PAGE_HEIGHT,4,2           ## @DVMM_PAGE_HEIGHT
	.comm	_DVMM_MIN_PTE_BEFORE_FLIP,4,2   ## @DVMM_MIN_PTE_BEFORE_FLIP
	.comm	_DVMM_PTE_ARB_CONTROL,4,2       ## @DVMM_PTE_ARB_CONTROL
	.comm	_DVMM_PTE_REQ_PER_CHUNK,4,2     ## @DVMM_PTE_REQ_PER_CHUNK
	.comm	_DVMM_MAX_PTE_REQ_OUTSTANDING,4,2 ## @DVMM_MAX_PTE_REQ_OUTSTANDING
	.no_dead_strip	_dce_mi_program_pte_vm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dce_mi_program_pte_vm
_dce_mi_program_pte_vm:                 ; @dce_mi_program_pte_vm
	.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	x19, x3
	mov	x20, x2
	mov	x21, x1
	bl	_TO_DCE_MEM_INPUT
	mov	x0, x21
	bl	_get_mi_bpp
	mov	x21, x0
	mov	x0, x20
	bl	_get_mi_tiling
Lloh0:
	adrp	x8, _pte_settings@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pte_settings@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8, w0, uxtw #3]
	mov	w9, #20
	umaddl	x22, w21, w9, x8
	ldr	w0, [x22, #16]
	bl	_log_2
	mov	x20, x0
	ldr	w0, [x22, #12]
	bl	_log_2
	mov	x21, x0
	mov	x0, x19
	bl	_is_vert_scan
	add	x8, x22, #4
	cmp	x0, #0
	csel	x8, x8, x22, eq
	ldr	w19, [x8]
Lloh3:
	adrp	x8, _GRPH_PIPE_OUTSTANDING_REQUEST_LIMIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GRPH_PIPE_OUTSTANDING_REQUEST_LIMIT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x0
	mov	w2, #127
	bl	_REG_UPDATE
Lloh6:
	adrp	x8, _DVMM_PTE_CONTROL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DVMM_PTE_CONTROL@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _DVMM_PAGE_WIDTH@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DVMM_PAGE_WIDTH@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _DVMM_PAGE_HEIGHT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DVMM_PAGE_HEIGHT@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
Lloh15:
	adrp	x8, _DVMM_MIN_PTE_BEFORE_FLIP@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DVMM_MIN_PTE_BEFORE_FLIP@GOTPAGEOFF]
Lloh17:
	ldr	w5, [x8]
	mov	x2, x20
	mov	x4, x21
	mov	x6, x19
	bl	_REG_UPDATE_3
Lloh18:
	adrp	x8, _DVMM_PTE_ARB_CONTROL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DVMM_PTE_ARB_CONTROL@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x8, _DVMM_PTE_REQ_PER_CHUNK@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DVMM_PTE_REQ_PER_CHUNK@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	ldr	w2, [x22, #8]
Lloh24:
	adrp	x8, _DVMM_MAX_PTE_REQ_OUTSTANDING@GOTPAGE
Lloh25:
	ldr	x8, [x8, _DVMM_MAX_PTE_REQ_OUTSTANDING@GOTPAGEOFF]
Lloh26:
	ldr	w3, [x8]
	mov	w4, #127
	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
	b	_REG_UPDATE_2
	.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	_pte_settings,8,3               ; @pte_settings
	.comm	_GRPH_PIPE_OUTSTANDING_REQUEST_LIMIT,4,2 ; @GRPH_PIPE_OUTSTANDING_REQUEST_LIMIT
	.comm	_DVMM_PTE_CONTROL,4,2           ; @DVMM_PTE_CONTROL
	.comm	_DVMM_PAGE_WIDTH,4,2            ; @DVMM_PAGE_WIDTH
	.comm	_DVMM_PAGE_HEIGHT,4,2           ; @DVMM_PAGE_HEIGHT
	.comm	_DVMM_MIN_PTE_BEFORE_FLIP,4,2   ; @DVMM_MIN_PTE_BEFORE_FLIP
	.comm	_DVMM_PTE_ARB_CONTROL,4,2       ; @DVMM_PTE_ARB_CONTROL
	.comm	_DVMM_PTE_REQ_PER_CHUNK,4,2     ; @DVMM_PTE_REQ_PER_CHUNK
	.comm	_DVMM_MAX_PTE_REQ_OUTSTANDING,4,2 ; @DVMM_MAX_PTE_REQ_OUTSTANDING
	.no_dead_strip	_dce_mi_program_pte_vm
.subsections_via_symbols
