	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_shadow_pdps
_update_shadow_pdps:                    ## @update_shadow_pdps
	.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	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %r14
	xorl	%edi, %edi
	cmpq	$0, (%rbx)
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	(%rbx), %rdi
	addq	$8, %rdi
	callq	_atomic_read
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_3
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movq	_LRC_STATE_PN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_i915_gem_object_get_page
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_kmap
	movq	(%rbx), %rcx
	movq	(%rcx), %rsi
	movq	%rax, %rdi
	callq	_set_context_pdp_root_pointer
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_kunmap                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LRC_STATE_PN,4,2               ## @LRC_STATE_PN
	.no_dead_strip	_update_shadow_pdps
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_shadow_pdps
_update_shadow_pdps:                    ; @update_shadow_pdps
	.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	x19, x0
	ldp	x9, x8, [x0]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x20, [x8]
	cmp	x9, #0
	cset	w0, eq
	bl	_WARN_ON
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x19]
	add	x0, x8, #8
	bl	_atomic_read
	cmp	w0, #0
	cset	w0, eq
	bl	_WARN_ON
	cbz	x0, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh0:
	adrp	x8, _LRC_STATE_PN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LRC_STATE_PN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_i915_gem_object_get_page
	mov	x20, x0
	bl	_kmap
	ldr	x8, [x19]
	ldr	x1, [x8]
	bl	_set_context_pdp_root_pointer
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_kunmap
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LRC_STATE_PN,4,2               ; @LRC_STATE_PN
	.no_dead_strip	_update_shadow_pdps
.subsections_via_symbols
