	.file	"extr_iterator.c_do_for_each_repo_ref_iterator.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	do_for_each_repo_ref_iterator
	.type	do_for_each_repo_ref_iterator, @function
do_for_each_repo_ref_iterator:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rcx
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR current_ref_iter[rip]
	mov	QWORD PTR current_ref_iter[rip], rsi
	mov	QWORD PTR 8[rsp], rax
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	mov	edx, DWORD PTR 4[rbp]
	mov	esi, DWORD PTR 8[rbp]
	mov	r8, rbx
	mov	rdi, r14
	mov	ecx, DWORD PTR 0[rbp]
	call	r13
	mov	r12d, eax
	test	eax, eax
	jne	.L10
.L2:
	mov	rdi, rbp
	call	ref_iterator_advance@PLT
	cmp	DWORD PTR ITER_OK[rip], eax
	mov	r15d, eax
	je	.L4
	xor	r12d, r12d
.L3:
	mov	rax, QWORD PTR 8[rsp]
	cmp	DWORD PTR ITER_ERROR[rip], r15d
	mov	QWORD PTR current_ref_iter[rip], rax
	mov	eax, -1
	cmove	r12d, eax
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rdi, rbp
	call	ref_iterator_abort@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	do_for_each_repo_ref_iterator, .-do_for_each_repo_ref_iterator
	.comm	current_ref_iter,8,8
	.comm	ITER_OK,4,4
	.comm	ITER_ERROR,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_iterator.c_do_for_each_repo_ref_iterator.c"
	.text
	.align	2
	.global	do_for_each_repo_ref_iterator
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_for_each_repo_ref_iterator, %function
do_for_each_repo_ref_iterator:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r10, .L11
	mov	r4, r1
	ldr	fp, [r10]
	mov	r8, r0
	mov	r7, r2
	mov	r6, r3
	ldr	r9, .L11+4
	sub	sp, sp, #20
	str	r1, [r10]
	b	.L2
.L4:
	str	r6, [sp]
	ldr	r3, [r4]
	mov	r0, r8
	ldr	r2, [r4, #4]
	ldr	r1, [r4, #8]
	blx	r7
	subs	r3, r0, #0
	bne	.L10
.L2:
	mov	r0, r4
	bl	ref_iterator_advance
	ldr	r3, [r9]
	mov	r5, r0
	cmp	r3, r0
	beq	.L4
	mov	r3, #0
.L3:
	ldr	r2, .L11+8
	str	fp, [r10]
	ldr	r2, [r2]
	cmp	r2, r5
	movne	r0, r3
	mvneq	r0, #0
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L10:
	mov	r0, r4
	str	r3, [sp, #12]
	bl	ref_iterator_abort
	ldr	r3, [sp, #12]
	b	.L3
.L12:
	.align	2
.L11:
	.word	current_ref_iter
	.word	ITER_OK
	.word	ITER_ERROR
	.size	do_for_each_repo_ref_iterator, .-do_for_each_repo_ref_iterator
	.comm	current_ref_iter,4,4
	.comm	ITER_OK,4,4
	.comm	ITER_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
