	.file	"extr_sock.c_sock_def_write_space.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sock_def_write_space, @function
sock_def_write_space:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	eax, eax
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	rcu_read_lock@PLT
	lea	rdi, 8[rbp]
	call	refcount_read@PLT
	mov	edi, DWORD PTR 4[rbp]
	mov	ebx, eax
	call	READ_ONCE@PLT
	add	ebx, ebx
	cmp	ebx, eax
	jle	.L14
.L3:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	rcu_read_unlock@PLT
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	edi, DWORD PTR 0[rbp]
	call	rcu_dereference@PLT
	mov	rdi, rax
	mov	r12, rax
	call	skwq_has_sleeper@PLT
	test	rax, rax
	jne	.L15
.L4:
	mov	rdi, rbp
	call	sock_writeable@PLT
	test	rax, rax
	je	.L3
	mov	edx, DWORD PTR POLL_OUT[rip]
	mov	esi, DWORD PTR SOCK_WAKE_SPACE[rip]
	mov	rdi, rbp
	call	sk_wake_async@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	rcu_read_unlock@PLT
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	esi, DWORD PTR EPOLLOUT[rip]
	mov	rdi, r12
	or	esi, DWORD PTR EPOLLWRNORM[rip]
	or	esi, DWORD PTR EPOLLWRBAND[rip]
	call	wake_up_interruptible_sync_poll@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	sock_def_write_space, .-sock_def_write_space
	.comm	SOCK_WAKE_SPACE,4,4
	.comm	POLL_OUT,4,4
	.comm	EPOLLWRNORM,4,4
	.comm	EPOLLWRBAND,4,4
	.comm	EPOLLOUT,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_sock.c_sock_def_write_space.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sock_def_write_space, %function
sock_def_write_space:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	bl	rcu_read_lock
	add	r0, r4, #8
	bl	refcount_read
	mov	r5, r0
	ldr	r0, [r4, #4]
	bl	READ_ONCE
	cmp	r0, r5, lsl #1
	bge	.L14
.L3:
	pop	{r4, r5, r6, lr}
	b	rcu_read_unlock
.L14:
	ldr	r0, [r4]
	bl	rcu_dereference
	mov	r5, r0
	bl	skwq_has_sleeper
	cmp	r0, #0
	bne	.L15
.L4:
	mov	r0, r4
	bl	sock_writeable
	cmp	r0, #0
	beq	.L3
	ldr	r3, .L16
	ldr	r2, .L16+4
	mov	r0, r4
	ldr	r2, [r2]
	ldr	r1, [r3]
	bl	sk_wake_async
	pop	{r4, r5, r6, lr}
	b	rcu_read_unlock
.L15:
	ldr	r3, .L16+8
	ldr	r2, .L16+12
	ldr	r1, .L16+16
	ldr	r2, [r2]
	ldr	r3, [r3]
	ldr	r1, [r1]
	orr	r3, r3, r2
	mov	r0, r5
	orr	r1, r3, r1
	bl	wake_up_interruptible_sync_poll
	b	.L4
.L17:
	.align	2
.L16:
	.word	SOCK_WAKE_SPACE
	.word	POLL_OUT
	.word	EPOLLOUT
	.word	EPOLLWRNORM
	.word	EPOLLWRBAND
	.size	sock_def_write_space, .-sock_def_write_space
	.comm	SOCK_WAKE_SPACE,4,4
	.comm	POLL_OUT,4,4
	.comm	EPOLLWRNORM,4,4
	.comm	EPOLLWRBAND,4,4
	.comm	EPOLLOUT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
