	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_apply_DEDCN21_142_wa_for_hostvm_deadline ## -- Begin function apply_DEDCN21_142_wa_for_hostvm_deadline
	.p2align	4, 0x90
_apply_DEDCN21_142_wa_for_hostvm_deadline: ## @apply_DEDCN21_142_wa_for_hostvm_deadline
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	callq	_TO_DCN21_HUBP
	movq	_VBLANK_PARAMETERS_5@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_REFCYC_PER_VM_GROUP_VBLANK@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-32(%rbp), %rdx
	callq	_REG_GET
	movq	(%rbx), %rcx
	cmpq	%rcx, -32(%rbp)
	jle	LBB0_2
## %bb.1:
	movl	(%r14), %edi
	movl	(%r15), %edx
	xorl	%esi, %esi
	callq	_REG_SET
LBB0_2:
	movq	_VBLANK_PARAMETERS_6@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_REFCYC_PER_VM_REQ_VBLANK@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-32(%rbp), %rdx
	callq	_REG_GET
	movq	8(%rbx), %rcx
	cmpq	%rcx, -32(%rbp)
	jle	LBB0_4
## %bb.3:
	movl	(%r14), %edi
	movl	(%r15), %edx
	xorl	%esi, %esi
	callq	_REG_SET
LBB0_4:
	movq	_FLIP_PARAMETERS_3@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_REFCYC_PER_VM_GROUP_FLIP@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-32(%rbp), %rdx
	callq	_REG_GET
	movq	16(%rbx), %rcx
	cmpq	%rcx, -32(%rbp)
	jle	LBB0_6
## %bb.5:
	movl	(%r14), %edi
	movl	(%r15), %edx
	xorl	%esi, %esi
	callq	_REG_SET
LBB0_6:
	movq	_FLIP_PARAMETERS_4@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_REFCYC_PER_VM_REQ_FLIP@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-32(%rbp), %rdx
	callq	_REG_GET
	movq	24(%rbx), %rcx
	cmpq	%rcx, -32(%rbp)
	jle	LBB0_8
## %bb.7:
	movl	(%r14), %edi
	movl	(%r15), %edx
	xorl	%esi, %esi
	callq	_REG_SET
LBB0_8:
	movq	_FLIP_PARAMETERS_5@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_REFCYC_PER_PTE_GROUP_FLIP_C@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	32(%rbx), %rcx
	xorl	%esi, %esi
	callq	_REG_SET
	movq	_FLIP_PARAMETERS_6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_REFCYC_PER_META_CHUNK_FLIP_C@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	40(%rbx), %rcx
	xorl	%esi, %esi
	callq	_REG_SET
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VBLANK_PARAMETERS_5,4,2        ## @VBLANK_PARAMETERS_5
	.comm	_REFCYC_PER_VM_GROUP_VBLANK,4,2 ## @REFCYC_PER_VM_GROUP_VBLANK
	.comm	_VBLANK_PARAMETERS_6,4,2        ## @VBLANK_PARAMETERS_6
	.comm	_REFCYC_PER_VM_REQ_VBLANK,4,2   ## @REFCYC_PER_VM_REQ_VBLANK
	.comm	_FLIP_PARAMETERS_3,4,2          ## @FLIP_PARAMETERS_3
	.comm	_REFCYC_PER_VM_GROUP_FLIP,4,2   ## @REFCYC_PER_VM_GROUP_FLIP
	.comm	_FLIP_PARAMETERS_4,4,2          ## @FLIP_PARAMETERS_4
	.comm	_REFCYC_PER_VM_REQ_FLIP,4,2     ## @REFCYC_PER_VM_REQ_FLIP
	.comm	_FLIP_PARAMETERS_5,4,2          ## @FLIP_PARAMETERS_5
	.comm	_REFCYC_PER_PTE_GROUP_FLIP_C,4,2 ## @REFCYC_PER_PTE_GROUP_FLIP_C
	.comm	_FLIP_PARAMETERS_6,4,2          ## @FLIP_PARAMETERS_6
	.comm	_REFCYC_PER_META_CHUNK_FLIP_C,4,2 ## @REFCYC_PER_META_CHUNK_FLIP_C
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_apply_DEDCN21_142_wa_for_hostvm_deadline ; -- Begin function apply_DEDCN21_142_wa_for_hostvm_deadline
	.p2align	2
_apply_DEDCN21_142_wa_for_hostvm_deadline: ; @apply_DEDCN21_142_wa_for_hostvm_deadline
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	bl	_TO_DCN21_HUBP
Lloh0:
	adrp	x20, _VBLANK_PARAMETERS_5@GOTPAGE
Lloh1:
	ldr	x20, [x20, _VBLANK_PARAMETERS_5@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh2:
	adrp	x21, _REFCYC_PER_VM_GROUP_VBLANK@GOTPAGE
Lloh3:
	ldr	x21, [x21, _REFCYC_PER_VM_GROUP_VBLANK@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #8
	bl	_REG_GET
	ldr	x8, [sp, #8]
	ldr	x3, [x19]
	cmp	x8, x3
	b.le	LBB0_2
; %bb.1:
	ldr	w0, [x20]
	ldr	w2, [x21]
	mov	w1, #0
	bl	_REG_SET
LBB0_2:
Lloh4:
	adrp	x20, _VBLANK_PARAMETERS_6@GOTPAGE
Lloh5:
	ldr	x20, [x20, _VBLANK_PARAMETERS_6@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh6:
	adrp	x21, _REFCYC_PER_VM_REQ_VBLANK@GOTPAGE
Lloh7:
	ldr	x21, [x21, _REFCYC_PER_VM_REQ_VBLANK@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #8
	bl	_REG_GET
	ldr	x8, [sp, #8]
	ldr	x3, [x19, #8]
	cmp	x8, x3
	b.le	LBB0_4
; %bb.3:
	ldr	w0, [x20]
	ldr	w2, [x21]
	mov	w1, #0
	bl	_REG_SET
LBB0_4:
Lloh8:
	adrp	x20, _FLIP_PARAMETERS_3@GOTPAGE
Lloh9:
	ldr	x20, [x20, _FLIP_PARAMETERS_3@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh10:
	adrp	x21, _REFCYC_PER_VM_GROUP_FLIP@GOTPAGE
Lloh11:
	ldr	x21, [x21, _REFCYC_PER_VM_GROUP_FLIP@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #8
	bl	_REG_GET
	ldr	x8, [sp, #8]
	ldr	x3, [x19, #16]
	cmp	x8, x3
	b.le	LBB0_6
; %bb.5:
	ldr	w0, [x20]
	ldr	w2, [x21]
	mov	w1, #0
	bl	_REG_SET
LBB0_6:
Lloh12:
	adrp	x20, _FLIP_PARAMETERS_4@GOTPAGE
Lloh13:
	ldr	x20, [x20, _FLIP_PARAMETERS_4@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh14:
	adrp	x21, _REFCYC_PER_VM_REQ_FLIP@GOTPAGE
Lloh15:
	ldr	x21, [x21, _REFCYC_PER_VM_REQ_FLIP@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #8
	bl	_REG_GET
	ldr	x8, [sp, #8]
	ldr	x3, [x19, #24]
	cmp	x8, x3
	b.le	LBB0_8
; %bb.7:
	ldr	w0, [x20]
	ldr	w2, [x21]
	mov	w1, #0
	bl	_REG_SET
LBB0_8:
Lloh16:
	adrp	x8, _FLIP_PARAMETERS_5@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FLIP_PARAMETERS_5@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x8, _REFCYC_PER_PTE_GROUP_FLIP_C@GOTPAGE
Lloh20:
	ldr	x8, [x8, _REFCYC_PER_PTE_GROUP_FLIP_C@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	ldr	x3, [x19, #32]
	mov	w1, #0
	bl	_REG_SET
Lloh22:
	adrp	x8, _FLIP_PARAMETERS_6@GOTPAGE
Lloh23:
	ldr	x8, [x8, _FLIP_PARAMETERS_6@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x8, _REFCYC_PER_META_CHUNK_FLIP_C@GOTPAGE
Lloh26:
	ldr	x8, [x8, _REFCYC_PER_META_CHUNK_FLIP_C@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
	ldr	x3, [x19, #40]
	mov	w1, #0
	bl	_REG_SET
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_VBLANK_PARAMETERS_5,4,2        ; @VBLANK_PARAMETERS_5
	.comm	_REFCYC_PER_VM_GROUP_VBLANK,4,2 ; @REFCYC_PER_VM_GROUP_VBLANK
	.comm	_VBLANK_PARAMETERS_6,4,2        ; @VBLANK_PARAMETERS_6
	.comm	_REFCYC_PER_VM_REQ_VBLANK,4,2   ; @REFCYC_PER_VM_REQ_VBLANK
	.comm	_FLIP_PARAMETERS_3,4,2          ; @FLIP_PARAMETERS_3
	.comm	_REFCYC_PER_VM_GROUP_FLIP,4,2   ; @REFCYC_PER_VM_GROUP_FLIP
	.comm	_FLIP_PARAMETERS_4,4,2          ; @FLIP_PARAMETERS_4
	.comm	_REFCYC_PER_VM_REQ_FLIP,4,2     ; @REFCYC_PER_VM_REQ_FLIP
	.comm	_FLIP_PARAMETERS_5,4,2          ; @FLIP_PARAMETERS_5
	.comm	_REFCYC_PER_PTE_GROUP_FLIP_C,4,2 ; @REFCYC_PER_PTE_GROUP_FLIP_C
	.comm	_FLIP_PARAMETERS_6,4,2          ; @FLIP_PARAMETERS_6
	.comm	_REFCYC_PER_META_CHUNK_FLIP_C,4,2 ; @REFCYC_PER_META_CHUNK_FLIP_C
.subsections_via_symbols
