	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dce110_init_pte
_dce110_init_pte:                       ## @dce110_init_pte
	.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	%rdi, %r15
	movq	_mmUNP_DVMM_PTE_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r14d, %esi
	callq	_dm_read_reg
	movl	%eax, %ebx
	movq	_DVMM_PTE_CONTROL@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	_DVMM_USE_SINGLE_PTE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_set_reg_field_value
	movl	(%r12), %edx
	movq	_DVMM_PTE_BUFFER_MODE0@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_set_reg_field_value
	movl	(%r12), %edx
	movq	_DVMM_PTE_BUFFER_MODE1@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_set_reg_field_value
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_dm_write_reg
	movq	_mmDVMM_PTE_REQ@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_dm_read_reg
	movl	%eax, %ebx
	movq	_DVMM_PTE_REQ@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_HFLIP_PTEREQ_PER_CHUNK_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	callq	_get_reg_field_value
	movl	%eax, %r12d
	movl	(%r13), %esi
	movq	_HFLIP_PTEREQ_PER_CHUNK_MULTIPLIER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	callq	_get_reg_field_value
	cmpl	$4, %r12d
	jne	LBB0_3
## %bb.1:
	cmpl	$4, %eax
	jne	LBB0_3
## %bb.2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	(%r13), %edx
	movq	_MAX_PTEREQ_TO_ISSUE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	movl	$255, %esi
	callq	_set_reg_field_value
	movl	(%r13), %edx
	movq	_HFLIP_PTEREQ_PER_CHUNK_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	movl	$4, %esi
	callq	_set_reg_field_value
	movl	(%r13), %edx
	movq	_HFLIP_PTEREQ_PER_CHUNK_MULTIPLIER@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	movl	$4, %esi
	callq	_set_reg_field_value
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dm_write_reg                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_mmUNP_DVMM_PTE_CONTROL,4,2     ## @mmUNP_DVMM_PTE_CONTROL
	.comm	_DVMM_PTE_CONTROL,4,2           ## @DVMM_PTE_CONTROL
	.comm	_DVMM_USE_SINGLE_PTE,4,2        ## @DVMM_USE_SINGLE_PTE
	.comm	_DVMM_PTE_BUFFER_MODE0,4,2      ## @DVMM_PTE_BUFFER_MODE0
	.comm	_DVMM_PTE_BUFFER_MODE1,4,2      ## @DVMM_PTE_BUFFER_MODE1
	.comm	_mmDVMM_PTE_REQ,4,2             ## @mmDVMM_PTE_REQ
	.comm	_DVMM_PTE_REQ,4,2               ## @DVMM_PTE_REQ
	.comm	_HFLIP_PTEREQ_PER_CHUNK_INT,4,2 ## @HFLIP_PTEREQ_PER_CHUNK_INT
	.comm	_HFLIP_PTEREQ_PER_CHUNK_MULTIPLIER,4,2 ## @HFLIP_PTEREQ_PER_CHUNK_MULTIPLIER
	.comm	_MAX_PTEREQ_TO_ISSUE,4,2        ## @MAX_PTEREQ_TO_ISSUE
	.no_dead_strip	_dce110_init_pte
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dce110_init_pte
_dce110_init_pte:                       ; @dce110_init_pte
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
Lloh0:
	adrp	x8, _mmUNP_DVMM_PTE_CONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mmUNP_DVMM_PTE_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	mov	x1, x20
	bl	_dm_read_reg
	mov	x21, x0
Lloh3:
	adrp	x22, _DVMM_PTE_CONTROL@GOTPAGE
Lloh4:
	ldr	x22, [x22, _DVMM_PTE_CONTROL@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh5:
	adrp	x8, _DVMM_USE_SINGLE_PTE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DVMM_USE_SINGLE_PTE@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	mov	w1, #0
	bl	_set_reg_field_value
	ldr	w2, [x22]
Lloh8:
	adrp	x8, _DVMM_PTE_BUFFER_MODE0@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DVMM_PTE_BUFFER_MODE0@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	mov	x0, x21
	mov	w1, #1
	bl	_set_reg_field_value
	ldr	w2, [x22]
Lloh11:
	adrp	x8, _DVMM_PTE_BUFFER_MODE1@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DVMM_PTE_BUFFER_MODE1@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	mov	x0, x21
	mov	w1, #1
	bl	_set_reg_field_value
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_dm_write_reg
Lloh14:
	adrp	x8, _mmDVMM_PTE_REQ@GOTPAGE
Lloh15:
	ldr	x8, [x8, _mmDVMM_PTE_REQ@GOTPAGEOFF]
Lloh16:
	ldr	w20, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_dm_read_reg
	mov	x21, x0
Lloh17:
	adrp	x23, _DVMM_PTE_REQ@GOTPAGE
Lloh18:
	ldr	x23, [x23, _DVMM_PTE_REQ@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh19:
	adrp	x24, _HFLIP_PTEREQ_PER_CHUNK_INT@GOTPAGE
Lloh20:
	ldr	x24, [x24, _HFLIP_PTEREQ_PER_CHUNK_INT@GOTPAGEOFF]
	ldr	w2, [x24]
	bl	_get_reg_field_value
	mov	x22, x0
	ldr	w1, [x23]
Lloh21:
	adrp	x25, _HFLIP_PTEREQ_PER_CHUNK_MULTIPLIER@GOTPAGE
Lloh22:
	ldr	x25, [x25, _HFLIP_PTEREQ_PER_CHUNK_MULTIPLIER@GOTPAGEOFF]
	ldr	w2, [x25]
	mov	x0, x21
	bl	_get_reg_field_value
	cmp	w22, #4
	ccmp	w0, #4, #0, eq
	b.eq	LBB0_2
; %bb.1:
	ldr	w2, [x23]
Lloh23:
	adrp	x8, _MAX_PTEREQ_TO_ISSUE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MAX_PTEREQ_TO_ISSUE@GOTPAGEOFF]
Lloh25:
	ldr	w3, [x8]
	mov	x0, x21
	mov	w1, #255
	bl	_set_reg_field_value
	ldr	w2, [x23]
	ldr	w3, [x24]
	mov	x0, x21
	mov	w1, #4
	bl	_set_reg_field_value
	ldr	w2, [x23]
	ldr	w3, [x25]
	mov	x0, x21
	mov	w1, #4
	bl	_set_reg_field_value
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_dm_write_reg
LBB0_2:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_mmUNP_DVMM_PTE_CONTROL,4,2     ; @mmUNP_DVMM_PTE_CONTROL
	.comm	_DVMM_PTE_CONTROL,4,2           ; @DVMM_PTE_CONTROL
	.comm	_DVMM_USE_SINGLE_PTE,4,2        ; @DVMM_USE_SINGLE_PTE
	.comm	_DVMM_PTE_BUFFER_MODE0,4,2      ; @DVMM_PTE_BUFFER_MODE0
	.comm	_DVMM_PTE_BUFFER_MODE1,4,2      ; @DVMM_PTE_BUFFER_MODE1
	.comm	_mmDVMM_PTE_REQ,4,2             ; @mmDVMM_PTE_REQ
	.comm	_DVMM_PTE_REQ,4,2               ; @DVMM_PTE_REQ
	.comm	_HFLIP_PTEREQ_PER_CHUNK_INT,4,2 ; @HFLIP_PTEREQ_PER_CHUNK_INT
	.comm	_HFLIP_PTEREQ_PER_CHUNK_MULTIPLIER,4,2 ; @HFLIP_PTEREQ_PER_CHUNK_MULTIPLIER
	.comm	_MAX_PTEREQ_TO_ISSUE,4,2        ; @MAX_PTEREQ_TO_ISSUE
	.no_dead_strip	_dce110_init_pte
.subsections_via_symbols
