	.file	"extr_ubsec.c_ubsec_free_q.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ubsec_free_q, @function
ubsec_free_q:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rsi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	eax, DWORD PTR [rsi]
	test	eax, eax
	jle	.L5
	sub	eax, 1
	xor	ebx, ebx
	lea	r14, 8[0+rax*8]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rdi, QWORD PTR 16[rbp]
	test	rdi, rdi
	je	.L6
	cmp	rdi, QWORD PTR 24[rbp]
	je	.L6
	call	m_freem@PLT
.L6:
	mov	edx, DWORD PTR q_next[rip]
	mov	rsi, rbp
	mov	rdi, r13
	mov	r12, QWORD PTR 8[rbp]
	add	rbx, 8
	call	SIMPLEQ_INSERT_TAIL@PLT
	mov	rax, QWORD PTR EFAULT[rip]
	mov	rdi, r12
	mov	QWORD PTR [r12], rax
	call	crypto_done@PLT
	cmp	r14, rbx
	je	.L5
.L7:
	mov	rax, QWORD PTR 32[r15]
	mov	rbp, QWORD PTR [rax+rbx]
	test	rbp, rbp
	jne	.L17
.L5:
	mov	rdi, QWORD PTR 16[r15]
	test	rdi, rdi
	je	.L4
	cmp	rdi, QWORD PTR 24[r15]
	je	.L4
	call	m_freem@PLT
.L4:
	mov	edx, DWORD PTR q_next[rip]
	mov	rsi, r15
	mov	rdi, r13
	mov	rbp, QWORD PTR 8[r15]
	call	SIMPLEQ_INSERT_TAIL@PLT
	mov	rax, QWORD PTR EFAULT[rip]
	mov	rdi, rbp
	mov	QWORD PTR 0[rbp], rax
	call	crypto_done@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 56
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ubsec_free_q, .-ubsec_free_q
	.comm	q_next,4,4
	.comm	EFAULT,8,8
	.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_ubsec.c_ubsec_free_q.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ubsec_free_q, %function
ubsec_free_q:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r7, [r1]
	mov	r10, r1
	cmp	r7, #0
	mov	r6, r0
	ble	.L17
	mov	r5, #0
	ldr	r9, .L19
	ldr	r8, .L19+4
	b	.L2
.L18:
	ldr	r0, [r4, #8]
	cmp	r0, #0
	beq	.L6
	ldr	r3, [r4, #12]
	cmp	r0, r3
	beq	.L6
	bl	m_freem
.L6:
	mov	r1, r4
	ldr	r2, [r9]
	mov	r0, r6
	ldr	r4, [r4, #4]
	bl	SIMPLEQ_INSERT_TAIL
	ldr	r3, [r8]
	mov	r0, r4
	str	r3, [r4]
	bl	crypto_done
	cmp	r7, r5
	beq	.L5
.L2:
	ldr	r3, [r10, #16]
	ldr	r4, [r3, r5, lsl #2]
	add	r5, r5, #1
	cmp	r4, #0
	bne	.L18
.L5:
	ldr	r0, [r10, #8]
	cmp	r0, #0
	beq	.L4
	ldr	r3, [r10, #12]
	cmp	r0, r3
	beq	.L4
	bl	m_freem
.L4:
	mov	r1, r10
	ldr	r2, [r9]
	mov	r0, r6
	ldr	r4, [r10, #4]
	bl	SIMPLEQ_INSERT_TAIL
	ldr	r3, [r8]
	mov	r0, r4
	str	r3, [r4]
	bl	crypto_done
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L17:
	ldr	r9, .L19
	ldr	r8, .L19+4
	b	.L5
.L20:
	.align	2
.L19:
	.word	q_next
	.word	EFAULT
	.size	ubsec_free_q, .-ubsec_free_q
	.comm	q_next,4,4
	.comm	EFAULT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
