	.file	"extr_eventpoll.c_ep_ptable_queue_proc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ep_ptable_queue_proc, @function
ep_ptable_queue_proc:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	mov	rdi, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	ep_item_from_epqueue@PLT
	mov	rbx, rax
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jns	.L13
.L2:
	mov	DWORD PTR [rbx], -1
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, DWORD PTR pwq_cache[rip]
	call	kmem_cache_alloc@PLT
	mov	r13, rax
	test	rax, rax
	je	.L2
	lea	r14, 4[rax]
	mov	esi, DWORD PTR ep_poll_callback[rip]
	mov	rdi, r14
	call	init_waitqueue_func_entry@PLT
	mov	QWORD PTR 16[r13], rbp
	mov	eax, DWORD PTR [r12]
	mov	QWORD PTR 8[r13], rbx
	test	DWORD PTR FMODE_SINGLE_WAKEUP[rip], eax
	je	.L3
	mov	eax, DWORD PTR WQ_FLAG_LOADBALANCE[rip]
	or	DWORD PTR 4[r13], eax
.L3:
	mov	rsi, r14
	mov	rdi, rbp
	call	add_wait_queue@PLT
	lea	rsi, 4[rbx]
	mov	rdi, r13
	call	list_add_tail@PLT
	add	DWORD PTR [rbx], 1
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ep_ptable_queue_proc, .-ep_ptable_queue_proc
	.comm	pwq_cache,4,4
	.comm	ep_poll_callback,4,4
	.comm	WQ_FLAG_LOADBALANCE,4,4
	.comm	GFP_KERNEL,4,4
	.comm	FMODE_SINGLE_WAKEUP,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_eventpoll.c_ep_ptable_queue_proc.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ep_ptable_queue_proc, %function
ep_ptable_queue_proc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r0
	mov	r0, r2
	mov	r6, r1
	bl	ep_item_from_epqueue
	ldr	r3, [r0]
	mov	r4, r0
	cmp	r3, #0
	bge	.L13
.L2:
	mvn	r3, #0
	str	r3, [r4]
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	ldr	r2, .L14
	ldr	r3, .L14+4
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	kmem_cache_alloc
	subs	r5, r0, #0
	beq	.L2
	ldr	r3, .L14+8
	add	r8, r5, #4
	ldr	r1, [r3]
	mov	r0, r8
	bl	init_waitqueue_func_entry
	ldr	r3, .L14+12
	ldr	r2, [r7]
	ldr	r3, [r3]
	mov	r1, r8
	tst	r2, r3
	ldrne	r2, .L14+16
	ldrne	r3, [r5, #4]
	ldrne	r2, [r2]
	mov	r0, r6
	orrne	r3, r3, r2
	strne	r3, [r5, #4]
	str	r6, [r5, #12]
	str	r4, [r5, #8]
	bl	add_wait_queue
	mov	r0, r5
	add	r1, r4, #4
	bl	list_add_tail
	ldr	r3, [r4]
	add	r3, r3, #1
	str	r3, [r4]
	pop	{r4, r5, r6, r7, r8, pc}
.L15:
	.align	2
.L14:
	.word	GFP_KERNEL
	.word	pwq_cache
	.word	ep_poll_callback
	.word	FMODE_SINGLE_WAKEUP
	.word	WQ_FLAG_LOADBALANCE
	.size	ep_ptable_queue_proc, .-ep_ptable_queue_proc
	.comm	pwq_cache,4,4
	.comm	ep_poll_callback,4,4
	.comm	WQ_FLAG_LOADBALANCE,4,4
	.comm	GFP_KERNEL,4,4
	.comm	FMODE_SINGLE_WAKEUP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
