	.file	"extr_ext2.c_iterate.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	iterate, @function
iterate:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdx
	mov	edx, 12
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, esi
	xor	esi, esi
	sub	rsp, 32
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	r14, 12[rsp]
	mov	rdi, r14
	call	grub_memset@PLT
	mov	eax, DWORD PTR 0[rbp]
	test	eax, eax
	je	.L2
.L5:
	mov	edi, DWORD PTR 4[rbp]
	mov	DWORD PTR 12[rsp], 1
	call	grub_le_to_cpu32@PLT
	mov	DWORD PTR 20[rsp], eax
.L3:
	and	ebx, DWORD PTR GRUB_FSHELP_TYPE_MASK[rip]
	xor	eax, eax
	cmp	ebx, DWORD PTR GRUB_FSHELP_DIR[rip]
	mov	rdi, rbp
	sete	al
	mov	DWORD PTR 16[rsp], eax
	call	grub_free@PLT
	mov	rcx, QWORD PTR [r12]
	xor	eax, eax
	test	rcx, rcx
	je	.L1
	mov	edx, DWORD PTR 8[r12]
	mov	rsi, r14
	mov	rdi, r13
	call	rcx
.L1:
	mov	rbx, QWORD PTR 24[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L12
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR 8[rbp]
	mov	edi, DWORD PTR 12[r12]
	lea	rdx, 4[rbp]
	call	grub_ext2_read_inode@PLT
	cmp	QWORD PTR grub_errno[rip], 0
	jne	.L13
	mov	rax, QWORD PTR GRUB_ERR_NONE[rip]
	mov	DWORD PTR 0[rbp], 1
	mov	QWORD PTR grub_errno[rip], rax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L13:
	mov	eax, DWORD PTR 0[rbp]
	mov	rdx, QWORD PTR GRUB_ERR_NONE[rip]
	mov	QWORD PTR grub_errno[rip], rdx
	test	eax, eax
	je	.L3
	jmp	.L5
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	iterate, .-iterate
	.comm	grub_errno,8,8
	.comm	GRUB_FSHELP_TYPE_MASK,4,4
	.comm	GRUB_FSHELP_DIR,4,4
	.comm	GRUB_ERR_NONE,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_ext2.c_iterate.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	iterate, %function
iterate:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r5, r2
	sub	sp, sp, #20
	mov	r6, r3
	ldr	r3, .L13
	mov	r7, r0
	mov	r4, r1
	mov	r0, sp
	mov	r2, #12
	mov	r1, #0
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	grub_memset
	ldr	r3, [r5]
	cmp	r3, #0
	beq	.L2
.L5:
	mov	r3, #1
	ldr	r0, [r5, #4]
	str	r3, [sp]
	bl	grub_le_to_cpu32
	str	r0, [sp, #8]
.L3:
	ldr	r2, .L13+4
	ldr	r3, .L13+8
	ldr	r2, [r2]
	ldr	r3, [r3]
	and	r4, r4, r2
	sub	r4, r4, r3
	clz	r4, r4
	mov	r0, r5
	lsr	r4, r4, #5
	str	r4, [sp, #4]
	bl	grub_free
	ldr	r4, [r6]
	cmp	r4, #0
	moveq	r0, r4
	beq	.L1
	mov	r1, sp
	mov	r0, r7
	ldr	r2, [r6, #4]
	blx	r4
.L1:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L2:
	add	r2, r5, #4
	ldr	r1, [r5, #8]
	ldr	r0, [r6, #8]
	bl	grub_ext2_read_inode
	ldr	r3, .L13+12
	ldr	r2, [r3]
	cmp	r2, #0
	bne	.L12
	mov	r1, #1
	ldr	r2, .L13+16
	str	r1, [r5]
	ldr	r2, [r2]
	str	r2, [r3]
	b	.L5
.L12:
	ldr	r2, .L13+16
	ldr	r1, [r5]
	ldr	r2, [r2]
	cmp	r1, #0
	str	r2, [r3]
	beq	.L3
	b	.L5
.L11:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC0
	.word	GRUB_FSHELP_TYPE_MASK
	.word	GRUB_FSHELP_DIR
	.word	grub_errno
	.word	GRUB_ERR_NONE
	.size	iterate, .-iterate
	.comm	grub_errno,4,4
	.comm	GRUB_FSHELP_TYPE_MASK,4,4
	.comm	GRUB_FSHELP_DIR,4,4
	.comm	GRUB_ERR_NONE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
