	.file	"extr_if_urtw.c_urtw_alloc_rx_data_list.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	urtw_alloc_rx_data_list, @function
urtw_alloc_rx_data_list:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xor	r8d, r8d
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	ecx, DWORD PTR MCLBYTES[rip]
	mov	edx, DWORD PTR URTW_RX_DATA_LIST_COUNT[rip]
	mov	rsi, QWORD PTR [rdi]
	call	urtw_alloc_data_list@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L10
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	lea	rdi, 12[rbp]
	lea	r13, 8[rbp]
	xor	ebx, ebx
	call	STAILQ_INIT@PLT
	mov	rdi, r13
	call	STAILQ_INIT@PLT
	mov	eax, DWORD PTR URTW_RX_DATA_LIST_COUNT[rip]
	test	eax, eax
	jle	.L1
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR 0[rbp]
	mov	edx, DWORD PTR next[rip]
	mov	rdi, r13
	lea	rsi, [rax+rbx*4]
	add	rbx, 1
	call	STAILQ_INSERT_HEAD@PLT
	cmp	DWORD PTR URTW_RX_DATA_LIST_COUNT[rip], ebx
	jg	.L3
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	urtw_alloc_rx_data_list, .-urtw_alloc_rx_data_list
	.comm	next,4,4
	.comm	URTW_RX_DATA_LIST_COUNT,4,4
	.comm	MCLBYTES,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_if_urtw.c_urtw_alloc_rx_data_list.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	urtw_alloc_rx_data_list, %function
urtw_alloc_rx_data_list:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r2, #0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L10
	sub	sp, sp, #12
	ldr	r6, .L10+4
	ldr	r1, [r0]
	str	r2, [sp]
	ldr	r3, [r3]
	ldr	r2, [r6]
	mov	r5, r0
	bl	urtw_alloc_data_list
	subs	r8, r0, #0
	beq	.L9
.L1:
	mov	r0, r8
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L9:
	add	r0, r5, #8
	add	r9, r5, #4
	bl	STAILQ_INIT
	mov	r0, r9
	bl	STAILQ_INIT
	ldr	r3, [r6]
	cmp	r3, #0
	ble	.L1
	mov	r4, r8
	ldr	r7, .L10+8
.L3:
	ldr	r1, [r5]
	mov	r0, r9
	add	r1, r1, r4, lsl #2
	ldr	r2, [r7]
	bl	STAILQ_INSERT_HEAD
	ldr	r3, [r6]
	add	r4, r4, #1
	cmp	r3, r4
	bgt	.L3
	mov	r0, r8
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L11:
	.align	2
.L10:
	.word	MCLBYTES
	.word	URTW_RX_DATA_LIST_COUNT
	.word	next
	.size	urtw_alloc_rx_data_list, .-urtw_alloc_rx_data_list
	.comm	next,4,4
	.comm	URTW_RX_DATA_LIST_COUNT,4,4
	.comm	MCLBYTES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
