	.file	"extr_mps_mapping.c__mapping_get_high_missing_et_idx.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	_mapping_get_high_missing_et_idx, @function
_mapping_get_high_missing_et_idx:
.LFB0:
	.cfi_startproc
	endbr64
	mov	r9, QWORD PTR [rdi]
	mov	r8, QWORD PTR MPS_ENCTABLE_BAD_IDX[rip]
	test	r9, r9
	je	.L1
	mov	rax, QWORD PTR 8[rdi]
	xor	edx, edx
	xor	esi, esi
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rcx, QWORD PTR [rax]
	cmp	rcx, rsi
	jbe	.L3
	mov	edi, DWORD PTR 8[rax]
	test	edi, edi
	cmove	r8, rdx
	cmove	rsi, rcx
.L3:
	add	rdx, 1
	add	rax, 16
	cmp	rdx, r9
	jne	.L4
.L1:
	mov	rax, r8
	ret
	.cfi_endproc
.LFE0:
	.size	_mapping_get_high_missing_et_idx, .-_mapping_get_high_missing_et_idx
	.comm	MPS_ENCTABLE_BAD_IDX,8,8
	.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_mps_mapping.c__mapping_get_high_missing_et_idx.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_mapping_get_high_missing_et_idx, %function
_mapping_get_high_missing_et_idx:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	ip, [r0]
	ldr	r3, .L14
	cmp	ip, #0
	mov	r2, r0
	ldr	r0, [r3]
	bxeq	lr
	mov	r3, #0
	mov	r1, r3
	push	{r4, r5, lr}
	ldr	lr, [r2, #4]
	add	r5, lr, #4
.L4:
	ldr	r2, [lr, r3, lsl #3]
	cmp	r2, r1
	bls	.L3
	ldr	r4, [r5, r3, lsl #3]
	cmp	r4, #0
	moveq	r0, r3
	moveq	r1, r2
.L3:
	add	r3, r3, #1
	cmp	r3, ip
	bne	.L4
	pop	{r4, r5, pc}
.L15:
	.align	2
.L14:
	.word	MPS_ENCTABLE_BAD_IDX
	.size	_mapping_get_high_missing_et_idx, .-_mapping_get_high_missing_et_idx
	.comm	MPS_ENCTABLE_BAD_IDX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
