	.file	"extr_ocs_hw_queues.c_hw_del_rq.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	hw_del_rq
	.type	hw_del_rq, @function
hw_del_rq:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L1
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rdi, QWORD PTR 16[rdi]
	mov	rsi, QWORD PTR 24[rbp]
	mov	rax, QWORD PTR 8[rdi]
	mov	rbx, QWORD PTR [rax]
	test	rsi, rsi
	je	.L3
	mov	eax, DWORD PTR 0[rbp]
	mov	edi, DWORD PTR [rbx]
	lea	edx, 0[0+rax*8]
	call	ocs_free@PLT
	mov	QWORD PTR 24[rbp], 0
	mov	rdi, QWORD PTR 16[rbp]
.L3:
	mov	rsi, rbp
	call	ocs_list_remove@PLT
	mov	rdx, QWORD PTR 8[rbp]
	mov	rax, QWORD PTR 8[rbx]
	mov	rsi, rbp
	mov	edi, DWORD PTR [rbx]
	mov	QWORD PTR [rax+rdx*8], 0
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	edx, 32
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 8
	jmp	ocs_free@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	ret
	.cfi_endproc
.LFE0:
	.size	hw_del_rq, .-hw_del_rq
	.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_ocs_hw_queues.c_hw_del_rq.c"
	.text
	.align	2
	.global	hw_del_rq
	.syntax unified
	.arm
	.fpu softvfp
	.type	hw_del_rq, %function
hw_del_rq:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	subs	r4, r0, #0
	popeq	{r4, r5, r6, pc}
	ldr	r0, [r4, #8]
	ldr	r1, [r4, #12]
	ldr	r3, [r0, #4]
	cmp	r1, #0
	ldr	r5, [r3]
	beq	.L3
	ldr	r2, [r4]
	ldr	r0, [r5]
	lsl	r2, r2, #2
	bl	ocs_free
	mov	r3, #0
	ldr	r0, [r4, #8]
	str	r3, [r4, #12]
.L3:
	mov	r1, r4
	bl	ocs_list_remove
	mov	r0, #0
	ldr	r2, [r4, #4]
	ldr	r3, [r5, #4]
	mov	r1, r4
	str	r0, [r3, r2, lsl #2]
	ldr	r0, [r5]
	mov	r2, #16
	pop	{r4, r5, r6, lr}
	b	ocs_free
	.size	hw_del_rq, .-hw_del_rq
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
