	.file	"160871.c"
	.intel_syntax noprefix
	.text
	.type	bmp_iter_and_compl_init, @function
bmp_iter_and_compl_init:
.LFB0:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	DWORD PTR -28[rbp], ecx
	mov	QWORD PTR -40[rbp], r8
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	bmp_iter_and_compl_init, .-bmp_iter_and_compl_init
	.type	bmp_iter_next, @function
bmp_iter_next:
.LFB1:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	bmp_iter_next, .-bmp_iter_next
	.type	bmp_iter_and_compl, @function
bmp_iter_and_compl:
.LFB2:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	je	.L4
	jmp	.L5
.L6:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
.L5:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L4
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 8[rax]
	cmp	edx, eax
	jb	.L6
.L4:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	bmp_iter_and_compl, .-bmp_iter_and_compl
	.globl	compute_idf
	.type	compute_idf, @function
compute_idf:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	jmp	.L8
.L13:
	lea	rcx, -52[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rsi, QWORD PTR -80[rbp]
	lea	rax, -32[rbp]
	mov	r8, rcx
	mov	ecx, 0
	mov	rdi, rax
	call	bmp_iter_and_compl_init
	jmp	.L9
.L10:
	lea	rdx, -52[rbp]
	lea	rax, -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	bmp_iter_next
.L9:
	lea	rdx, -52[rbp]
	lea	rax, -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	bmp_iter_and_compl
	test	al, al
	jne	.L10
.L8:
	cmp	QWORD PTR -48[rbp], 0
	je	.L11
	mov	rax, QWORD PTR -48[rbp]
	jmp	.L12
.L11:
	mov	eax, 0
.L12:
	mov	rdi, rax
	call	VEC_int_base_length@PLT
	test	eax, eax
	jg	.L13
	nop
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	compute_idf, .-compute_idf
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"160871.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bmp_iter_and_compl_init, %function
bmp_iter_and_compl_init:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	bmp_iter_and_compl_init, .-bmp_iter_and_compl_init
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bmp_iter_next, %function
bmp_iter_next:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	bmp_iter_next, .-bmp_iter_next
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bmp_iter_and_compl, %function
bmp_iter_and_compl:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	beq	.L4
	b	.L5
.L6:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #4]
.L5:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L4
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bcc	.L6
.L4:
	nop
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	bmp_iter_and_compl, .-bmp_iter_and_compl
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	compute_idf
	.syntax unified
	.arm
	.fpu softvfp
	.type	compute_idf, %function
compute_idf:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	b	.L8
.L13:
	sub	r0, fp, #20
	sub	r3, fp, #32
	str	r3, [sp]
	mov	r3, #0
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-44]
	bl	bmp_iter_and_compl_init
	b	.L9
.L10:
	sub	r2, fp, #32
	sub	r3, fp, #20
	mov	r1, r2
	mov	r0, r3
	bl	bmp_iter_next
.L9:
	sub	r2, fp, #32
	sub	r3, fp, #20
	mov	r1, r2
	mov	r0, r3
	bl	bmp_iter_and_compl
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
.L8:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L11
	ldr	r3, [fp, #-28]
	b	.L12
.L11:
	mov	r3, #0
.L12:
	mov	r0, r3
	bl	VEC_int_base_length
	mov	r3, r0
	cmp	r3, #0
	bgt	.L13
	nop
	ldr	r2, .L15
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC0
	.size	compute_idf, .-compute_idf
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
