	.file	"extr_splice.c_splice_from_pipe_next.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	splice_from_pipe_next, @function
splice_from_pipe_next:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edi, DWORD PTR current[rip]
	call	signal_pending@PLT
	test	rax, rax
	je	.L16
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rdi, rbx
	call	pipe_wait@PLT
.L16:
	mov	eax, DWORD PTR 8[rbx]
	test	eax, eax
	jne	.L19
	mov	eax, DWORD PTR 4[rbx]
	test	eax, eax
	je	.L1
	mov	eax, DWORD PTR [rbx]
	test	eax, eax
	jne	.L6
	cmp	QWORD PTR 8[rbp], 0
	jne	.L1
.L6:
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR SPLICE_F_NONBLOCK[rip], eax
	jne	.L20
	mov	edi, DWORD PTR current[rip]
	call	signal_pending@PLT
	test	rax, rax
	jne	.L17
	mov	edx, DWORD PTR 4[rbp]
	test	edx, edx
	je	.L9
	mov	rdi, rbx
	call	wakeup_pipe_writers@PLT
	mov	DWORD PTR 4[rbp], 0
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L19:
	mov	eax, 1
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	mov	eax, DWORD PTR ERESTARTSYS[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	mov	eax, DWORD PTR EAGAIN[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	splice_from_pipe_next, .-splice_from_pipe_next
	.comm	current,4,4
	.comm	SPLICE_F_NONBLOCK,4,4
	.comm	ERESTARTSYS,4,4
	.comm	EAGAIN,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_splice.c_splice_from_pipe_next.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	splice_from_pipe_next, %function
splice_from_pipe_next:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, .L23
	mov	r4, r0
	ldr	r0, [r7]
	mov	r6, r1
	bl	signal_pending
	cmp	r0, #0
	bne	.L20
	ldr	r3, [r4, #8]
	cmp	r3, #0
	bne	.L4
	ldr	r8, .L23+4
	b	.L3
.L9:
	mov	r0, r4
	bl	pipe_wait
	ldr	r3, [r4, #8]
	cmp	r3, #0
	bne	.L4
.L3:
	ldr	r0, [r4, #4]
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r0, [r4]
	cmp	r0, #0
	bne	.L6
	ldr	r3, [r6, #8]
	cmp	r3, #0
	popne	{r4, r5, r6, r7, r8, pc}
.L6:
	ldr	r2, [r6]
	ldr	r3, [r8]
	tst	r2, r3
	bne	.L22
	ldr	r0, [r7]
	bl	signal_pending
	subs	r5, r0, #0
	bne	.L20
	ldr	r3, [r6, #4]
	cmp	r3, #0
	beq	.L9
	mov	r0, r4
	bl	wakeup_pipe_writers
	str	r5, [r6, #4]
	b	.L9
.L20:
	ldr	r3, .L23+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
.L22:
	ldr	r3, .L23+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L24:
	.align	2
.L23:
	.word	current
	.word	SPLICE_F_NONBLOCK
	.word	ERESTARTSYS
	.word	EAGAIN
	.size	splice_from_pipe_next, .-splice_from_pipe_next
	.comm	current,4,4
	.comm	SPLICE_F_NONBLOCK,4,4
	.comm	ERESTARTSYS,4,4
	.comm	EAGAIN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
