	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_gtt_insert_pages
_intel_gtt_insert_pages:                ## @intel_gtt_insert_pages
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%esi, %esi
	je	LBB0_4
## %bb.1:
	movl	%ecx, %r12d
	movq	%rdx, %r13
	movl	%esi, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movl	%edi, %r15d
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%r15,%r14), %ebx
	movq	(%r13,%r14,8), %rdi
	callq	_page_to_phys
	movq	_intel_private@GOTPCREL(%rip), %rcx
	movq	8(%rcx), %rcx
	movl	%eax, %edi
	movl	%ebx, %esi
	movl	%r12d, %edx
	callq	*(%rcx)
	incq	%r14
	cmpq	%r14, -56(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_2
## %bb.3:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	addl	%r14d, %edi
LBB0_4:
	movq	_intel_private@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edi, %rcx
	leaq	(%rcx,%rax), %rdi
	decq	%rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_readl                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_intel_private,16,3             ## @intel_private
	.no_dead_strip	_intel_gtt_insert_pages
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_gtt_insert_pages
_intel_gtt_insert_pages:                ; @intel_gtt_insert_pages
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x22, _intel_private@GOTPAGE
Lloh1:
	ldr	x22, [x22, _intel_private@GOTPAGEOFF]
	cbz	w1, LBB0_3
; %bb.1:
	mov	x20, x3
	mov	x21, x2
	mov	w23, w1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x21], #8
	bl	_page_to_phys
	ldr	x8, [x22, #8]
	ldr	x8, [x8]
	mov	x1, x19
	mov	x2, x20
	blr	x8
	add	w19, w19, #1
	subs	x23, x23, #1
	b.ne	LBB0_2
LBB0_3:
	ldr	x8, [x22]
	add	x8, x8, w19, sxtw
	sub	x0, x8, #1
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_readl
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_intel_private,16,3             ; @intel_private
	.no_dead_strip	_intel_gtt_insert_pages
.subsections_via_symbols
