	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_fake_agp_fetch_size
_intel_fake_agp_fetch_size:             ## @intel_fake_agp_fetch_size
	.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	_intel_fake_agp_sizes@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %r14d
	movq	_intel_private@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %ebx
	movl	$1, %edi
	callq	_MB
	movl	%eax, %ecx
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	%ecx
	testl	%r14d, %r14d
	jle	LBB0_5
## %bb.1:
	movq	(%r15), %rcx
	movl	%r14d, %edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	(%rcx), %eax
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$4, %rcx
	decq	%rdx
	jne	LBB0_2
LBB0_5:
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_6:
	movq	_agp_bridge@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rcx, (%rdx)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_intel_fake_agp_sizes,8,3       ## @intel_fake_agp_sizes
	.comm	_intel_private,4,2              ## @intel_private
	.comm	_PAGE_SHIFT,4,2                 ## @PAGE_SHIFT
	.comm	_agp_bridge,8,3                 ## @agp_bridge
	.no_dead_strip	_intel_fake_agp_fetch_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_fake_agp_fetch_size
_intel_fake_agp_fetch_size:             ; @intel_fake_agp_fetch_size
	.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
Lloh0:
	adrp	x20, _intel_fake_agp_sizes@GOTPAGE
Lloh1:
	ldr	x20, [x20, _intel_fake_agp_sizes@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	mov	x19, x0
Lloh2:
	adrp	x8, _intel_private@GOTPAGE
Lloh3:
	ldr	x8, [x8, _intel_private@GOTPAGEOFF]
Lloh4:
	ldr	w21, [x8]
Lloh5:
	adrp	x8, _PAGE_SHIFT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PAGE_SHIFT@GOTPAGEOFF]
Lloh7:
	ldr	w22, [x8]
	mov	w0, #1
	bl	_MB
	cmp	w19, #1
	b.lt	LBB0_4
; %bb.1:
	lsl	w10, w21, w22
	ldr	x8, [x20]
	mov	w9, w19
	udiv	w0, w10, w0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x8]
	cmp	w0, w10
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x8, #4
	subs	x9, x9, #1
	b.ne	LBB0_2
LBB0_4:
	mov	w0, #0
	b	LBB0_6
LBB0_5:
Lloh8:
	adrp	x9, _agp_bridge@GOTPAGE
Lloh9:
	ldr	x9, [x9, _agp_bridge@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	str	x8, [x9]
LBB0_6:
	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	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_intel_fake_agp_sizes,8,3       ; @intel_fake_agp_sizes
	.comm	_intel_private,4,2              ; @intel_private
	.comm	_PAGE_SHIFT,4,2                 ; @PAGE_SHIFT
	.comm	_agp_bridge,8,3                 ; @agp_bridge
	.no_dead_strip	_intel_fake_agp_fetch_size
.subsections_via_symbols
