	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function load_pd_dir
_load_pd_dir:                           ## @load_pd_dir
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	(%rdi), %r12
	movl	$6, %esi
	callq	_intel_ring_begin
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movl	$1, %edi
	callq	_MI_LOAD_REGISTER_IMM
	movl	%eax, (%rbx)
	movl	(%r12), %edi
	callq	_RING_PP_DIR_DCLV
	movl	%eax, %edi
	callq	_i915_mmio_reg_offset
	movl	%eax, 4(%rbx)
	movq	_PP_DIR_DCLV_2G@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movl	$1, %edi
	callq	_MI_LOAD_REGISTER_IMM
	movl	%eax, 12(%rbx)
	movl	(%r12), %edi
	callq	_RING_PP_DIR_BASE
	movl	%eax, %edi
	callq	_i915_mmio_reg_offset
	movl	%eax, 16(%rbx)
	movl	(%r15), %edi
	callq	_px_base
	movl	(%rax), %eax
	shll	$10, %eax
	movq	%rbx, %rsi
	addq	$24, %rsi
	movl	%eax, 20(%rbx)
	movq	%r14, %rdi
	callq	_intel_ring_advance
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PP_DIR_DCLV_2G,4,2             ## @PP_DIR_DCLV_2G
	.no_dead_strip	_load_pd_dir
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function load_pd_dir
_load_pd_dir:                           ; @load_pd_dir
	.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	x21, x1
	mov	x19, x0
	ldr	x22, [x0]
	mov	w1, #6
	bl	_intel_ring_begin
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	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	_PTR_ERR
LBB0_2:
	mov	w0, #1
	bl	_MI_LOAD_REGISTER_IMM
	str	w0, [x20]
	ldr	w0, [x22]
	bl	_RING_PP_DIR_DCLV
	bl	_i915_mmio_reg_offset
Lloh0:
	adrp	x8, _PP_DIR_DCLV_2G@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PP_DIR_DCLV_2G@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w0, w8, [x20, #4]
	mov	w0, #1
	bl	_MI_LOAD_REGISTER_IMM
	str	w0, [x20, #12]
	ldr	w0, [x22]
	bl	_RING_PP_DIR_BASE
	bl	_i915_mmio_reg_offset
	str	w0, [x20, #16]
	ldr	w0, [x21]
	bl	_px_base
	ldr	w8, [x0]
	lsl	w8, w8, #10
	add	x1, x20, #24
	str	w8, [x20, #20]
	mov	x0, x19
	bl	_intel_ring_advance
	mov	w0, #0
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PP_DIR_DCLV_2G,4,2             ; @PP_DIR_DCLV_2G
	.no_dead_strip	_load_pd_dir
.subsections_via_symbols
