	.file	"extr_iterator.c_overlay_ref_iterator_begin.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"overlay_ref_iterator requires ordered inputs"
	.text
	.p2align 4
	.globl	overlay_ref_iterator_begin
	.type	overlay_ref_iterator_begin, @function
overlay_ref_iterator_begin:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	is_empty_ref_iterator@PLT
	test	rax, rax
	jne	.L9
	mov	rdi, r12
	call	is_empty_ref_iterator@PLT
	test	rax, rax
	jne	.L10
	mov	edx, DWORD PTR 0[rbp]
	test	edx, edx
	je	.L5
	mov	eax, DWORD PTR [r12]
	test	eax, eax
	jne	.L6
.L5:
	lea	rdi, .LC0[rip]
	call	BUG@PLT
.L6:
	mov	ecx, DWORD PTR overlay_iterator_select[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdx, r12
	mov	rsi, rbp
	xor	r8d, r8d
	pop	rbp
	.cfi_def_cfa_offset 16
	mov	edi, 1
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	merge_ref_iterator_begin@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rdi, rbp
	call	ref_iterator_abort@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rdi, r12
	call	ref_iterator_abort@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rax, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	overlay_ref_iterator_begin, .-overlay_ref_iterator_begin
	.comm	overlay_iterator_select,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_overlay_ref_iterator_begin.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"overlay_ref_iterator requires ordered inputs\000"
	.text
	.align	2
	.global	overlay_ref_iterator_begin
	.syntax unified
	.arm
	.fpu softvfp
	.type	overlay_ref_iterator_begin, %function
overlay_ref_iterator_begin:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	sub	sp, sp, #12
	mov	r4, r1
	mov	r5, r0
	bl	is_empty_ref_iterator
	cmp	r0, #0
	bne	.L12
	mov	r0, r4
	bl	is_empty_ref_iterator
	cmp	r0, #0
	bne	.L13
	ldr	r3, [r5]
	cmp	r3, #0
	beq	.L5
	ldr	r3, [r4]
	cmp	r3, #0
	beq	.L5
.L6:
	mov	r0, #0
	ldr	r3, .L14
	str	r0, [sp]
	mov	r2, r4
	mov	r1, r5
	ldr	r3, [r3]
	mov	r0, #1
	bl	merge_ref_iterator_begin
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L5:
	ldr	r0, .L14+4
	bl	BUG
	b	.L6
.L12:
	mov	r0, r5
	bl	ref_iterator_abort
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L13:
	mov	r0, r4
	bl	ref_iterator_abort
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L15:
	.align	2
.L14:
	.word	overlay_iterator_select
	.word	.LC0
	.size	overlay_ref_iterator_begin, .-overlay_ref_iterator_begin
	.comm	overlay_iterator_select,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
