	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_stolen_size_gen3
_intel_stolen_size_gen3:                ## @intel_stolen_size_gen3
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_I830_GMCH_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	$2, %r8d
	callq	_pci_cfgregread
	movq	_I855_GMCH_GMS_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	addl	$-128, %eax
	cmpl	$12, %eax
	ja	LBB0_1
## %bb.2:
	cltq
	leaq	l_switch.table.intel_stolen_size_gen3(%rip), %rcx
	movl	(%rcx,%rax,4), %edi
	popq	%rbp
	jmp	_MiB                            ## TAILCALL
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I830_GMCH_CTRL,4,2             ## @I830_GMCH_CTRL
	.comm	_I855_GMCH_GMS_MASK,4,2         ## @I855_GMCH_GMS_MASK
	.no_dead_strip	_intel_stolen_size_gen3
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.intel_stolen_size_gen3
l_switch.table.intel_stolen_size_gen3:
	.long	96                              ## 0x60
	.long	352                             ## 0x160
	.long	224                             ## 0xe0
	.long	160                             ## 0xa0
	.long	64                              ## 0x40
	.long	48                              ## 0x30
	.long	8                               ## 0x8
	.long	4                               ## 0x4
	.long	32                              ## 0x20
	.long	1                               ## 0x1
	.long	16                              ## 0x10
	.long	256                             ## 0x100
	.long	128                             ## 0x80

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_stolen_size_gen3
_intel_stolen_size_gen3:                ; @intel_stolen_size_gen3
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _I830_GMCH_CTRL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I830_GMCH_CTRL@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	mov	w4, #2
	bl	_pci_cfgregread
Lloh3:
	adrp	x8, _I855_GMCH_GMS_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I855_GMCH_GMS_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w0
	sub	w8, w8, #128
	cmp	w8, #12
	b.hi	LBB0_2
; %bb.1:
Lloh6:
	adrp	x9, l_switch.table.intel_stolen_size_gen3@PAGE
Lloh7:
	add	x9, x9, l_switch.table.intel_stolen_size_gen3@PAGEOFF
	ldr	w0, [x9, w8, sxtw #2]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_MiB
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_I830_GMCH_CTRL,4,2             ; @I830_GMCH_CTRL
	.comm	_I855_GMCH_GMS_MASK,4,2         ; @I855_GMCH_GMS_MASK
	.no_dead_strip	_intel_stolen_size_gen3
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.intel_stolen_size_gen3
l_switch.table.intel_stolen_size_gen3:
	.long	96                              ; 0x60
	.long	352                             ; 0x160
	.long	224                             ; 0xe0
	.long	160                             ; 0xa0
	.long	64                              ; 0x40
	.long	48                              ; 0x30
	.long	8                               ; 0x8
	.long	4                               ; 0x4
	.long	32                              ; 0x20
	.long	1                               ; 0x1
	.long	16                              ; 0x10
	.long	256                             ; 0x100
	.long	128                             ; 0x80

.subsections_via_symbols
