	.file	"extr_be_main.c_is_comp_in_ufi.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	is_comp_in_ufi, @function
is_comp_in_ufi:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, 0
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	BE2_chip@PLT
	test	rax, rax
	mov	eax, DWORD PTR MAX_FLASH_COMP[rip]
	cmovne	r13, r12
	xor	ebx, ebx
	test	eax, eax
	jg	.L3
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rax, QWORD PTR 0[r13]
	mov	edi, DWORD PTR [rax+rbx*4]
	call	le32_to_cpu@PLT
	cmp	eax, ebp
	je	.L10
.L17:
	add	rbx, 1
	cmp	DWORD PTR MAX_FLASH_COMP[rip], ebx
	jle	.L7
.L3:
	test	r13, r13
	jne	.L16
	mov	rax, QWORD PTR [r12]
	mov	edi, DWORD PTR [rax+rbx*4]
	call	le32_to_cpu@PLT
	cmp	eax, ebp
	jne	.L17
.L10:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, 1
	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
.L7:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 40
	xor	eax, eax
	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
	.cfi_endproc
.LFE0:
	.size	is_comp_in_ufi, .-is_comp_in_ufi
	.comm	MAX_FLASH_COMP,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_be_main.c_is_comp_in_ufi.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	is_comp_in_ufi, %function
is_comp_in_ufi:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r1
	mov	r6, r2
	bl	BE2_chip
	ldr	r8, .L15
	cmp	r0, #0
	ldr	r3, [r8]
	movne	r5, r7
	moveq	r5, #0
	cmp	r3, #0
	movgt	r4, #0
	bgt	.L3
	b	.L7
.L14:
	ldr	r3, [r8]
	cmp	r3, r4
	ble	.L7
.L3:
	cmp	r5, #0
	ldrne	r3, [r5]
	ldreq	r3, [r7]
	ldr	r0, [r3, r4, lsl #2]
	bl	le32_to_cpu
	cmp	r0, r6
	add	r4, r4, #1
	bne	.L14
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L16:
	.align	2
.L15:
	.word	MAX_FLASH_COMP
	.size	is_comp_in_ufi, .-is_comp_in_ufi
	.comm	MAX_FLASH_COMP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
