	.file	"extr_firestream.c_fs_close.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"--==**[%d]**==--"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"Waiting for skb %p to be sent.\n"
	.section	.rodata.str1.1
.LC2:
	.string	"Free vcc: %p\n"
	.text
	.p2align 4
	.type	fs_close, @function
fs_close:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	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
	mov	edi, DWORD PTR 12[rdi]
	call	FS_DEV@PLT
	mov	rdi, rbp
	mov	r13, rax
	call	FS_VCC@PLT
	mov	r12, rax
	xor	eax, eax
	call	func_enter@PLT
	mov	edi, DWORD PTR ATM_VF_READY[rip]
	lea	rsi, 8[rbp]
	call	clear_bit@PLT
	mov	rdx, QWORD PTR 24[r13]
	mov	edi, DWORD PTR FS_DEBUG_QSIZE[rip]
	lea	rsi, .LC0[rip]
	call	fs_dprintk@PLT
	mov	rdx, QWORD PTR 8[r12]
	test	rdx, rdx
	je	.L2
	mov	edi, DWORD PTR FS_DEBUG_QUEUE[rip]
	lea	rsi, .LC1[rip]
	call	fs_dprintk@PLT
	lea	rdi, 4[r12]
	call	interruptible_sleep_on@PLT
.L2:
	lea	rdi, 4[rbp]
	call	DO_DIRECTION@PLT
	test	rax, rax
	jne	.L18
	mov	rdi, rbp
	call	DO_DIRECTION@PLT
	test	rax, rax
	jne	.L19
.L5:
	mov	edi, DWORD PTR FS_DEBUG_ALLOC[rip]
	mov	rdx, r12
	lea	rsi, .LC2[rip]
	call	fs_dprintk@PLT
	mov	rdi, r12
	call	kfree@PLT
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	func_exit@PLT
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	xor	r9d, r9d
	xor	r8d, r8d
	xor	ecx, ecx
	mov	edx, DWORD PTR [r12]
	mov	rsi, r13
	or	edx, DWORD PTR QE_CMD_TX_PURGE_INH[rip]
	mov	rdi, r13
	call	submit_command@PLT
	mov	edi, DWORD PTR [r12]
	mov	rsi, QWORD PTR 16[r13]
	call	clear_bit@PLT
	mov	rdi, rbp
	call	DO_DIRECTION@PLT
	test	rax, rax
	je	.L5
.L19:
	mov	edx, DWORD PTR QE_CMD_RX_PURGE_INH[rip]
	xor	r9d, r9d
	xor	r8d, r8d
	xor	ecx, ecx
	or	edx, DWORD PTR QE_CMD_IMM_INQ[rip]
	mov	rdi, r13
	or	edx, DWORD PTR [r12]
	mov	rsi, r13
	call	submit_command@PLT
	movsx	rdx, DWORD PTR [r12]
	mov	rax, QWORD PTR 8[r13]
	mov	rdi, r13
	mov	QWORD PTR [rax+rdx*8], 0
	call	IS_FS50@PLT
	test	rax, rax
	je	.L5
	mov	eax, DWORD PTR [r12]
	mov	edx, DWORD PTR QE_CMD_REG_WR[rip]
	xor	r9d, r9d
	mov	rsi, r13
	or	edx, DWORD PTR QE_CMD_IMM_INQ[rip]
	mov	r8d, -1
	mov	rdi, r13
	lea	ecx, 128[rax]
	call	submit_command@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	fs_close, .-fs_close
	.comm	QE_CMD_TX_PURGE_INH,4,4
	.comm	QE_CMD_RX_PURGE_INH,4,4
	.comm	QE_CMD_REG_WR,4,4
	.comm	QE_CMD_IMM_INQ,4,4
	.comm	FS_DEBUG_QUEUE,4,4
	.comm	FS_DEBUG_QSIZE,4,4
	.comm	FS_DEBUG_ALLOC,4,4
	.comm	ATM_VF_READY,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_firestream.c_fs_close.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"--==**[%d]**==--\000"
	.align	2
.LC1:
	.ascii	"Waiting for skb %p to be sent.\012\000"
	.align	2
.LC2:
	.ascii	"Free vcc: %p\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fs_close, %function
fs_close:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r0
	sub	sp, sp, #12
	ldr	r0, [r0, #12]
	bl	FS_DEV
	mov	r6, r0
	mov	r0, r4
	bl	FS_VCC
	mov	r5, r0
	bl	func_enter
	ldr	r3, .L20
	add	r1, r4, #8
	ldr	r0, [r3]
	bl	clear_bit
	ldr	r3, .L20+4
	ldr	r2, [r6, #12]
	ldr	r0, [r3]
	ldr	r1, .L20+8
	bl	fs_dprintk
	ldr	r2, [r5, #8]
	cmp	r2, #0
	beq	.L2
	ldr	r3, .L20+12
	ldr	r1, .L20+16
	ldr	r0, [r3]
	bl	fs_dprintk
	add	r0, r5, #4
	bl	interruptible_sleep_on
.L2:
	add	r0, r4, #4
	bl	DO_DIRECTION
	cmp	r0, #0
	bne	.L18
	mov	r0, r4
	bl	DO_DIRECTION
	cmp	r0, #0
	bne	.L19
.L5:
	ldr	r3, .L20+20
	mov	r2, r5
	ldr	r0, [r3]
	ldr	r1, .L20+24
	bl	fs_dprintk
	mov	r0, r5
	bl	kfree
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	func_exit
.L18:
	mov	r3, #0
	ldr	r2, .L20+28
	ldr	r1, [r5]
	ldr	r2, [r2]
	mov	r0, r6
	orr	r2, r1, r2
	str	r3, [sp, #4]
	str	r3, [sp]
	mov	r1, r6
	bl	submit_command
	ldr	r1, [r6, #8]
	ldr	r0, [r5]
	bl	clear_bit
	mov	r0, r4
	bl	DO_DIRECTION
	cmp	r0, #0
	beq	.L5
.L19:
	mov	r4, #0
	ldr	r3, .L20+32
	ldr	r7, .L20+36
	ldr	r3, [r3]
	ldr	r1, [r7]
	ldr	r2, [r5]
	orr	r3, r3, r1
	orr	r2, r3, r2
	mov	r1, r6
	mov	r3, r4
	mov	r0, r6
	str	r4, [sp, #4]
	str	r4, [sp]
	bl	submit_command
	ldr	r2, [r5]
	ldr	r3, [r6, #4]
	mov	r0, r6
	str	r4, [r3, r2, lsl #2]
	bl	IS_FS50
	cmp	r0, r4
	beq	.L5
	mvn	r1, #0
	ldr	r3, .L20+40
	ldr	r2, [r7]
	ldr	r0, [r3]
	ldr	r3, [r5]
	orr	r2, r0, r2
	str	r1, [sp]
	mov	r0, r6
	mov	r1, r6
	add	r3, r3, #128
	str	r4, [sp, #4]
	bl	submit_command
	b	.L5
.L21:
	.align	2
.L20:
	.word	ATM_VF_READY
	.word	FS_DEBUG_QSIZE
	.word	.LC0
	.word	FS_DEBUG_QUEUE
	.word	.LC1
	.word	FS_DEBUG_ALLOC
	.word	.LC2
	.word	QE_CMD_TX_PURGE_INH
	.word	QE_CMD_RX_PURGE_INH
	.word	QE_CMD_IMM_INQ
	.word	QE_CMD_REG_WR
	.size	fs_close, .-fs_close
	.comm	QE_CMD_TX_PURGE_INH,4,4
	.comm	QE_CMD_RX_PURGE_INH,4,4
	.comm	QE_CMD_REG_WR,4,4
	.comm	QE_CMD_IMM_INQ,4,4
	.comm	FS_DEBUG_QUEUE,4,4
	.comm	FS_DEBUG_QSIZE,4,4
	.comm	FS_DEBUG_ALLOC,4,4
	.comm	ATM_VF_READY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
