	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mock_ppgtt                     ## -- Begin function mock_ppgtt
	.p2align	4, 0x90
_mock_ppgtt:                            ## @mock_ppgtt
	.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, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$48, %edi
	callq	_kzalloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r14, 40(%rbx)
	movq	_U64_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_round_down
	movl	%eax, 36(%rbx)
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	callq	_ERR_PTR
	movl	%eax, 32(%rbx)
	movq	_VM_CLASS_PPGTT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_i915_address_space_init
	movq	_nop_clear_range@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_mock_insert_page@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_mock_insert_entries@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_mock_cleanup@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_mock_bind_ppgtt@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	_mock_unbind_ppgtt@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_ppgtt_set_pages@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_clear_pages@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
LBB0_2:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_U64_MAX,4,2                    ## @U64_MAX
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_VM_CLASS_PPGTT,4,2             ## @VM_CLASS_PPGTT
	.comm	_nop_clear_range,4,2            ## @nop_clear_range
	.comm	_mock_insert_page,4,2           ## @mock_insert_page
	.comm	_mock_insert_entries,4,2        ## @mock_insert_entries
	.comm	_mock_cleanup,4,2               ## @mock_cleanup
	.comm	_mock_bind_ppgtt,4,2            ## @mock_bind_ppgtt
	.comm	_mock_unbind_ppgtt,4,2          ## @mock_unbind_ppgtt
	.comm	_ppgtt_set_pages,4,2            ## @ppgtt_set_pages
	.comm	_clear_pages,4,2                ## @clear_pages
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mock_ppgtt                     ; -- Begin function mock_ppgtt
	.p2align	2
_mock_ppgtt:                            ; @mock_ppgtt
	.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	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #48
	bl	_kzalloc
	mov	x19, x0
	cbz	x0, LBB0_2
; %bb.1:
	str	x20, [x19, #40]
Lloh3:
	adrp	x8, _U64_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _U64_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_round_down
	str	w0, [x19, #36]
Lloh9:
	adrp	x8, _ENODEV@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
	bl	_ERR_PTR
	str	w0, [x19, #32]
Lloh12:
	adrp	x8, _VM_CLASS_PPGTT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VM_CLASS_PPGTT@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_i915_address_space_init
Lloh15:
	adrp	x8, _nop_clear_range@GOTPAGE
Lloh16:
	ldr	x8, [x8, _nop_clear_range@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _mock_insert_page@GOTPAGE
Lloh19:
	ldr	x9, [x9, _mock_insert_page@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #24]
Lloh21:
	adrp	x8, _mock_insert_entries@GOTPAGE
Lloh22:
	ldr	x8, [x8, _mock_insert_entries@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _mock_cleanup@GOTPAGE
Lloh25:
	ldr	x9, [x9, _mock_cleanup@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #16]
Lloh27:
	adrp	x8, _mock_bind_ppgtt@GOTPAGE
Lloh28:
	ldr	x8, [x8, _mock_bind_ppgtt@GOTPAGEOFF]
Lloh29:
	adrp	x9, _mock_unbind_ppgtt@GOTPAGE
Lloh30:
	ldr	x9, [x9, _mock_unbind_ppgtt@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
Lloh32:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #8]
Lloh33:
	adrp	x8, _ppgtt_set_pages@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ppgtt_set_pages@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
Lloh36:
	adrp	x9, _clear_pages@GOTPAGE
Lloh37:
	ldr	x9, [x9, _clear_pages@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	stp	w9, w8, [x19]
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh31
	.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
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_U64_MAX,4,2                    ; @U64_MAX
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_VM_CLASS_PPGTT,4,2             ; @VM_CLASS_PPGTT
	.comm	_nop_clear_range,4,2            ; @nop_clear_range
	.comm	_mock_insert_page,4,2           ; @mock_insert_page
	.comm	_mock_insert_entries,4,2        ; @mock_insert_entries
	.comm	_mock_cleanup,4,2               ; @mock_cleanup
	.comm	_mock_bind_ppgtt,4,2            ; @mock_bind_ppgtt
	.comm	_mock_unbind_ppgtt,4,2          ; @mock_unbind_ppgtt
	.comm	_ppgtt_set_pages,4,2            ; @ppgtt_set_pages
	.comm	_clear_pages,4,2                ; @clear_pages
.subsections_via_symbols
