	.file	"extr_partition.c_esp_partition_verify.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	esp_partition_verify
	.type	esp_partition_verify, @function
esp_partition_verify:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	test	rdi, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	setne	dil
	movzx	edi, dil
	call	assert@PLT
	mov	r12, QWORD PTR [rbx]
	mov	rdi, r12
	call	strlen@PLT
	mov	esi, DWORD PTR 40[rbx]
	mov	edi, DWORD PTR 44[rbx]
	test	rax, rax
	mov	eax, 0
	cmove	r12, rax
	mov	rdx, r12
	call	esp_partition_find@PLT
	test	rax, rax
	je	.L3
	mov	rbp, rax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdi, rbp
	call	esp_partition_next@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L3
.L6:
	mov	rdi, rbp
	call	esp_partition_get@PLT
	mov	r12, rax
	mov	rax, QWORD PTR 8[rbx]
	cmp	QWORD PTR 8[r12], rax
	jne	.L4
	mov	rax, QWORD PTR 16[rbx]
	cmp	QWORD PTR 16[r12], rax
	jne	.L4
	mov	rax, QWORD PTR 24[r12]
	cmp	QWORD PTR 24[rbx], rax
	jne	.L4
	mov	rax, QWORD PTR 32[r12]
	cmp	QWORD PTR 32[rbx], rax
	jne	.L4
	mov	rdi, rbp
	call	esp_partition_iterator_release@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L3:
	xor	edi, edi
	xor	r12d, r12d
	call	esp_partition_iterator_release@PLT
.L1:
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	esp_partition_verify, .-esp_partition_verify
	.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_partition.c_esp_partition_verify.c"
	.text
	.align	2
	.global	esp_partition_verify
	.syntax unified
	.arm
	.fpu softvfp
	.type	esp_partition_verify, %function
esp_partition_verify:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r0
	subs	r0, r0, #0
	movne	r0, #1
	bl	assert
	ldr	r4, [r6]
	mov	r0, r4
	bl	strlen
	cmp	r0, #0
	movne	r2, r4
	moveq	r2, #0
	ldr	r1, [r6, #20]
	ldr	r0, [r6, #24]
	bl	esp_partition_find
	subs	r4, r0, #0
	bne	.L6
	b	.L3
.L4:
	mov	r0, r4
	bl	esp_partition_next
	subs	r4, r0, #0
	beq	.L3
.L6:
	mov	r0, r4
	bl	esp_partition_get
	ldr	r3, [r6, #4]
	ldr	r2, [r0, #4]
	mov	r5, r0
	cmp	r2, r3
	bne	.L4
	ldr	r2, [r0, #8]
	ldr	r3, [r6, #8]
	cmp	r2, r3
	bne	.L4
	ldr	r2, [r6, #12]
	ldr	r3, [r0, #12]
	cmp	r2, r3
	bne	.L4
	ldr	r2, [r6, #16]
	ldr	r3, [r0, #16]
	cmp	r2, r3
	bne	.L4
	mov	r0, r4
	bl	esp_partition_iterator_release
	b	.L1
.L3:
	mov	r0, #0
	bl	esp_partition_iterator_release
	mov	r5, #0
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, pc}
	.size	esp_partition_verify, .-esp_partition_verify
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
