	.file	"extr_if_ipw.c_ipw_start.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ipw_start, @function
ipw_start:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	lea	r12, 12[rbx]
	call	IPW_LOCK_ASSERT@PLT
	mov	rax, QWORD PTR IPW_MAX_NSEG[rip]
	cmp	QWORD PTR [rbx], rax
	jg	.L4
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rbp, QWORD PTR [rsi]
	mov	rdi, rbx
	mov	rdx, rbp
	call	ipw_tx_start@PLT
	test	rax, rax
	jne	.L12
	mov	DWORD PTR 8[rbx], 5
	mov	rax, QWORD PTR IPW_MAX_NSEG[rip]
	cmp	QWORD PTR [rbx], rax
	jle	.L1
.L4:
	mov	rdi, r12
	call	mbufq_dequeue@PLT
	mov	rsi, rax
	test	rax, rax
	jne	.L7
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	rax, QWORD PTR 0[rbp]
	mov	esi, DWORD PTR IFCOUNTER_OERRORS[rip]
	mov	edx, 1
	mov	edi, DWORD PTR [rax]
	call	if_inc_counter@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	ieee80211_free_node@PLT
	.cfi_endproc
.LFE0:
	.size	ipw_start, .-ipw_start
	.comm	IPW_MAX_NSEG,8,8
	.comm	IFCOUNTER_OERRORS,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_ipw.c_ipw_start.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ipw_start, %function
ipw_start:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r6, .L10
	bl	IPW_LOCK_ASSERT
	ldr	r2, [r4]
	ldr	r3, [r6]
	cmp	r2, r3
	pople	{r4, r5, r6, r7, r8, pc}
	mov	r8, #5
	add	r7, r4, #8
	b	.L4
.L5:
	ldr	r2, [r4]
	ldr	r3, [r6]
	str	r8, [r4, #4]
	cmp	r2, r3
	pople	{r4, r5, r6, r7, r8, pc}
.L4:
	mov	r0, r7
	bl	mbufq_dequeue
	subs	r1, r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r5, [r1]
	mov	r0, r4
	mov	r2, r5
	bl	ipw_tx_start
	cmp	r0, #0
	beq	.L5
	ldr	r3, [r5]
	ldr	r2, .L10+4
	ldr	r0, [r3]
	ldr	r1, [r2]
	mov	r2, #1
	bl	if_inc_counter
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	ieee80211_free_node
.L11:
	.align	2
.L10:
	.word	IPW_MAX_NSEG
	.word	IFCOUNTER_OERRORS
	.size	ipw_start, .-ipw_start
	.comm	IPW_MAX_NSEG,4,4
	.comm	IFCOUNTER_OERRORS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
