	.file	"extr_ncsi-manage.c_ncsi_free_request.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ncsi_free_request
	.type	ncsi_free_request, @function
ncsi_free_request:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	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
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	eax, DWORD PTR [rdi]
	mov	rbp, QWORD PTR 40[rdi]
	test	eax, eax
	jne	.L12
.L2:
	xor	r15d, r15d
	lea	r13, 12[rbp]
	mov	rsi, r15
	mov	rdi, r13
	call	spin_lock_irqsave@PLT
	mov	r12, QWORD PTR 24[rbx]
	mov	r14, QWORD PTR 16[rbx]
	mov	rsi, r15
	mov	QWORD PTR 24[rbx], 0
	mov	eax, DWORD PTR 8[rbx]
	mov	rdi, r13
	mov	QWORD PTR 16[rbx], 0
	test	DWORD PTR NCSI_REQ_FLAG_EVENT_DRIVEN[rip], eax
	mov	DWORD PTR 4[rbx], 0
	setne	bl
	call	spin_unlock_irqrestore@PLT
	test	r12, r12
	je	.L5
	test	bl, bl
	je	.L5
	sub	QWORD PTR 0[rbp], 1
	je	.L13
.L5:
	mov	rdi, r12
	call	consume_skb@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdi, r14
	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
	jmp	consume_skb@PLT
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	DWORD PTR [rdi], 0
	lea	rdi, 32[rdi]
	call	del_timer_sync@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L13:
	lea	rdi, 8[rbp]
	call	schedule_work@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	ncsi_free_request, .-ncsi_free_request
	.comm	NCSI_REQ_FLAG_EVENT_DRIVEN,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_ncsi-manage.c_ncsi_free_request.c"
	.text
	.align	2
	.global	ncsi_free_request
	.syntax unified
	.arm
	.fpu softvfp
	.type	ncsi_free_request, %function
ncsi_free_request:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	cmp	r3, #0
	mov	r4, r0
	ldr	r7, [r0, #24]
	bne	.L11
.L2:
	mov	r9, #0
	add	r5, r7, #8
	mov	r1, r9
	mov	r0, r5
	bl	spin_lock_irqsave
	ldr	r3, .L13
	ldr	r1, [r4, #8]
	ldr	r2, [r3]
	ldr	r8, [r4, #16]
	tst	r1, r2
	mov	r0, r5
	mov	r1, r9
	ldr	r5, [r4, #12]
	str	r9, [r4, #4]
	str	r9, [r4, #16]
	str	r9, [r4, #12]
	movne	r6, #1
	moveq	r6, r9
	bl	spin_unlock_irqrestore
	cmp	r8, r9
	moveq	r6, r9
	cmp	r6, r9
	beq	.L4
	ldr	r3, [r7]
	sub	r3, r3, #1
	cmp	r3, r9
	str	r3, [r7]
	beq	.L12
.L4:
	mov	r0, r8
	bl	consume_skb
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	consume_skb
.L11:
	mov	r3, #0
	str	r3, [r0], #20
	bl	del_timer_sync
	b	.L2
.L12:
	add	r0, r7, #4
	bl	schedule_work
	b	.L4
.L14:
	.align	2
.L13:
	.word	NCSI_REQ_FLAG_EVENT_DRIVEN
	.size	ncsi_free_request, .-ncsi_free_request
	.comm	NCSI_REQ_FLAG_EVENT_DRIVEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
