	.file	"extr_mac_mls.c_mls_dominate_element.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"mls_dominate_element: b->mme_type invalid"
	.align 8
.LC1:
	.string	"mls_dominate_element: a->mme_type invalid"
	.text
	.p2align 4
	.type	mls_dominate_element, @function
mls_dominate_element:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	eax, DWORD PTR [rdi]
	cmp	eax, 129
	je	.L2
	jg	.L3
	cmp	eax, 128
	jne	.L5
	mov	eax, DWORD PTR [rsi]
	cmp	eax, 130
	jg	.L7
	cmp	eax, 128
	jg	.L37
	je	.L6
	lea	rdi, .LC0[rip]
	call	panic@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	mov	eax, DWORD PTR 0[r13]
	cmp	eax, 130
	je	.L37
	jg	.L11
	cmp	eax, 128
	je	.L6
	cmp	eax, 129
	jne	.L13
	mov	eax, DWORD PTR MAC_MLS_MAX_COMPARTMENTS[rip]
	mov	ebp, 1
	test	eax, eax
	jg	.L14
	.p2align 4,,10
	.p2align 3
.L15:
	xor	r12d, r12d
	mov	eax, DWORD PTR 4[r13]
	cmp	DWORD PTR 4[rbx], eax
	setge	r12b
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	sub	eax, 130
	cmp	eax, 1
	ja	.L5
.L6:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	r12d, 1
	pop	rbx
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	cmp	eax, 131
	je	.L6
.L13:
	lea	rdi, .LC0[rip]
	call	panic@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	lea	rdi, .LC1[rip]
	call	panic@PLT
.L37:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	r12d, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	cmp	eax, 131
	je	.L6
	lea	rdi, .LC0[rip]
	call	panic@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L16:
	mov	esi, DWORD PTR 8[r13]
	mov	edi, ebp
	call	MAC_MLS_BIT_TEST@PLT
	test	eax, eax
	jne	.L1
.L17:
	add	ebp, 1
	cmp	DWORD PTR MAC_MLS_MAX_COMPARTMENTS[rip], ebp
	jl	.L15
.L14:
	mov	esi, DWORD PTR 8[rbx]
	mov	edi, ebp
	call	MAC_MLS_BIT_TEST@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L17
	jmp	.L16
	.cfi_endproc
.LFE0:
	.size	mls_dominate_element, .-mls_dominate_element
	.comm	MAC_MLS_MAX_COMPARTMENTS,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_mac_mls.c_mls_dominate_element.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"mls_dominate_element: b->mme_type invalid\000"
	.align	2
.LC1:
	.ascii	"mls_dominate_element: a->mme_type invalid\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mls_dominate_element, %function
mls_dominate_element:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	push	{r4, r5, r6, r7, r8, lr}
	cmp	r3, #129
	mov	r5, r0
	mov	r7, r1
	beq	.L2
	bgt	.L3
	cmp	r3, #128
	bne	.L5
	ldr	r3, [r1]
	cmp	r3, #130
	bgt	.L7
	cmp	r3, #128
	bgt	.L25
.L24:
	beq	.L6
	ldr	r0, .L27
	bl	panic
.L2:
	ldr	r3, [r7]
	sub	r3, r3, #128
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L11
.L12:
	.word	.L6
	.word	.L13
	.word	.L25
	.word	.L6
.L3:
	sub	r3, r3, #130
	cmp	r3, #1
	bhi	.L5
.L6:
	mov	r4, #1
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	ldr	r0, .L27
	bl	panic
.L5:
	ldr	r0, .L27+4
	bl	panic
.L25:
	mov	r4, #0
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	cmp	r3, #131
	b	.L24
.L13:
	ldr	r8, .L27+8
	ldr	r3, [r8]
	cmp	r3, #0
	movgt	r6, #1
	bgt	.L14
	b	.L15
.L17:
	ldr	r3, [r8]
	add	r6, r6, #1
	cmp	r3, r6
	blt	.L15
.L14:
	mov	r0, r6
	ldr	r1, [r5, #8]
	bl	MAC_MLS_BIT_TEST
	subs	r4, r0, #0
	bne	.L17
	mov	r0, r6
	ldr	r1, [r7, #8]
	bl	MAC_MLS_BIT_TEST
	cmp	r0, #0
	beq	.L17
	b	.L1
.L15:
	ldr	r4, [r7, #4]
	ldr	r0, [r5, #4]
	cmp	r0, r4
	movlt	r4, #0
	movge	r4, #1
	b	.L1
.L28:
	.align	2
.L27:
	.word	.LC0
	.word	.LC1
	.word	MAC_MLS_MAX_COMPARTMENTS
	.size	mls_dominate_element, .-mls_dominate_element
	.comm	MAC_MLS_MAX_COMPARTMENTS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
