	.file	"extr_lowcomms.c_lowcomms_write_space.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	lowcomms_write_space, @function
lowcomms_write_space:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	read_lock_bh@PLT
	mov	rdi, r12
	call	sock2con@PLT
	test	rax, rax
	je	.L2
	mov	rsi, QWORD PTR 8[rax]
	mov	edi, DWORD PTR SOCK_NOSPACE[rip]
	mov	rbp, rax
	call	clear_bit@PLT
	mov	edi, DWORD PTR CF_APP_LIMITED[rip]
	lea	rsi, 16[rbp]
	call	test_and_clear_bit@PLT
	test	rax, rax
	jne	.L12
.L3:
	mov	edi, DWORD PTR send_workqueue[rip]
	mov	rsi, rbp
	call	queue_work@PLT
.L2:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	read_unlock_bh@PLT
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	rsi, QWORD PTR 8[rbp]
	mov	rax, QWORD PTR 8[rsi]
	sub	DWORD PTR [rax], 1
	mov	edi, DWORD PTR SOCKWQ_ASYNC_NOSPACE[rip]
	call	clear_bit@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	lowcomms_write_space, .-lowcomms_write_space
	.comm	send_workqueue,4,4
	.comm	SOCK_NOSPACE,4,4
	.comm	SOCKWQ_ASYNC_NOSPACE,4,4
	.comm	CF_APP_LIMITED,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_lowcomms.c_lowcomms_write_space.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lowcomms_write_space, %function
lowcomms_write_space:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	bl	read_lock_bh
	mov	r0, r5
	bl	sock2con
	subs	r4, r0, #0
	beq	.L2
	ldr	r3, .L13
	ldr	r1, [r4, #4]
	ldr	r0, [r3]
	bl	clear_bit
	ldr	r3, .L13+4
	add	r1, r4, #8
	ldr	r0, [r3]
	bl	test_and_clear_bit
	cmp	r0, #0
	bne	.L12
.L3:
	ldr	r3, .L13+8
	mov	r1, r4
	ldr	r0, [r3]
	bl	queue_work
.L2:
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	read_unlock_bh
.L12:
	ldr	r1, [r4, #4]
	ldr	r0, .L13+12
	ldr	r2, [r1, #4]
	ldr	r3, [r2]
	sub	r3, r3, #1
	str	r3, [r2]
	ldr	r0, [r0]
	bl	clear_bit
	b	.L3
.L14:
	.align	2
.L13:
	.word	SOCK_NOSPACE
	.word	CF_APP_LIMITED
	.word	send_workqueue
	.word	SOCKWQ_ASYNC_NOSPACE
	.size	lowcomms_write_space, .-lowcomms_write_space
	.comm	send_workqueue,4,4
	.comm	SOCK_NOSPACE,4,4
	.comm	SOCKWQ_ASYNC_NOSPACE,4,4
	.comm	CF_APP_LIMITED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
