	.file	"extr_resource.c_c4iw_init_qid_table.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	c4iw_init_qid_table, @function
c4iw_init_qid_table:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	r12, 4[rdi]
	xor	r8d, r8d
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rax, QWORD PTR 8[rdi]
	mov	rdi, r12
	mov	edx, DWORD PTR 4[rax]
	mov	esi, DWORD PTR [rax]
	mov	ecx, edx
	call	c4iw_id_table_alloc@PLT
	test	rax, rax
	jne	.L10
	mov	rdx, QWORD PTR 8[rbp]
	mov	eax, DWORD PTR 4[rdx]
	mov	ebx, DWORD PTR [rdx]
	test	eax, eax
	jg	.L6
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	mov	eax, DWORD PTR 4[rdx]
	add	ebx, 1
	add	eax, DWORD PTR [rdx]
	cmp	eax, ebx
	jle	.L4
.L6:
	test	DWORD PTR 0[rbp], ebx
	jne	.L5
	mov	esi, ebx
	mov	rdi, r12
	add	ebx, 1
	call	c4iw_id_free@PLT
	mov	rdx, QWORD PTR 8[rbp]
	mov	eax, DWORD PTR 4[rdx]
	add	eax, DWORD PTR [rdx]
	cmp	eax, ebx
	jg	.L6
.L4:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	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	eax, DWORD PTR ENOMEM[rip]
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	c4iw_init_qid_table, .-c4iw_init_qid_table
	.comm	ENOMEM,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_resource.c_c4iw_init_qid_table.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	c4iw_init_qid_table, %function
c4iw_init_qid_table:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, #0
	push	{r4, r5, r6, r7, lr}
	ldr	r2, [r0, #8]
	sub	sp, sp, #12
	add	r7, r0, #4
	ldm	r2, {r1, r3}
	mov	r5, r0
	mov	r2, r3
	mov	r0, r7
	str	ip, [sp]
	bl	c4iw_id_table_alloc
	subs	r6, r0, #0
	bne	.L10
	ldr	r2, [r5, #8]
	ldr	r3, [r2, #4]
	ldr	r4, [r2]
	cmp	r3, #0
	bgt	.L6
	b	.L1
.L5:
	add	r4, r4, #1
	ldm	r2, {r1, r3}
	add	r3, r3, r1
	cmp	r3, r4
	ble	.L1
.L6:
	ldr	r3, [r5]
	tst	r4, r3
	bne	.L5
	mov	r1, r4
	mov	r0, r7
	bl	c4iw_id_free
	ldr	r2, [r5, #8]
	b	.L5
.L10:
	ldr	r3, .L11
	ldr	r6, [r3]
	rsb	r6, r6, #0
.L1:
	mov	r0, r6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L12:
	.align	2
.L11:
	.word	ENOMEM
	.size	c4iw_init_qid_table, .-c4iw_init_qid_table
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
