	.file	"extr_arm32-stub.c_check_platform_features.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"This LPAE kernel is not supported by your CPU\n"
	.text
	.p2align 4
	.globl	check_platform_features
	.type	check_platform_features, @function
check_platform_features:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	mov	edi, DWORD PTR CONFIG_ARM_LPAE[rip]
	call	IS_ENABLED@PLT
	test	eax, eax
	jne	.L2
	mov	eax, DWORD PTR EFI_SUCCESS[rip]
.L1:
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edi, DWORD PTR CPUID_EXT_MMFR0[rip]
	xor	esi, esi
	call	cpuid_feature_extract@PLT
	mov	r8d, eax
	mov	eax, DWORD PTR EFI_SUCCESS[rip]
	cmp	r8d, 4
	jg	.L1
	mov	rdi, rbp
	lea	rsi, .LC0[rip]
	call	pr_efi_err@PLT
	mov	eax, DWORD PTR EFI_UNSUPPORTED[rip]
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	check_platform_features, .-check_platform_features
	.comm	EFI_UNSUPPORTED,4,4
	.comm	EFI_SUCCESS,4,4
	.comm	CPUID_EXT_MMFR0,4,4
	.comm	CONFIG_ARM_LPAE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_arm32-stub.c_check_platform_features.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"This LPAE kernel is not supported by your CPU\012\000"
	.text
	.align	2
	.global	check_platform_features
	.syntax unified
	.arm
	.fpu softvfp
	.type	check_platform_features, %function
check_platform_features:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L7
	push	{r4, lr}
	mov	r4, r0
	ldr	r0, [r3]
	bl	IS_ENABLED
	cmp	r0, #0
	bne	.L2
.L4:
	ldr	r3, .L7+4
	ldr	r0, [r3]
	pop	{r4, pc}
.L2:
	ldr	r3, .L7+8
	mov	r1, #0
	ldr	r0, [r3]
	bl	cpuid_feature_extract
	cmp	r0, #4
	bgt	.L4
	mov	r0, r4
	ldr	r1, .L7+12
	bl	pr_efi_err
	ldr	r3, .L7+16
	ldr	r0, [r3]
	pop	{r4, pc}
.L8:
	.align	2
.L7:
	.word	CONFIG_ARM_LPAE
	.word	EFI_SUCCESS
	.word	CPUID_EXT_MMFR0
	.word	.LC0
	.word	EFI_UNSUPPORTED
	.size	check_platform_features, .-check_platform_features
	.comm	EFI_UNSUPPORTED,4,4
	.comm	EFI_SUCCESS,4,4
	.comm	CPUID_EXT_MMFR0,4,4
	.comm	CONFIG_ARM_LPAE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
