	.file	"extr_aio_test.c_poll_signaled.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	poll_signaled, @function
poll_signaled:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	lea	rdi, completions[rip]
	call	sem_wait@PLT
	xor	edi, edi
	mov	esi, eax
	call	ATF_REQUIRE_EQ@PLT
	mov	rdi, rbp
	call	aio_error@PLT
	test	eax, eax
	je	.L2
	cmp	eax, 128
	jne	.L1
	mov	eax, DWORD PTR EINTR[rip]
	mov	DWORD PTR errno[rip], eax
	mov	eax, -1
.L1:
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	aio_return@PLT
	.cfi_endproc
.LFE0:
	.size	poll_signaled, .-poll_signaled
	.comm	errno,4,4
	.comm	completions,4,4
	.comm	EINTR,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_aio_test.c_poll_signaled.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	poll_signaled, %function
poll_signaled:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	ldr	r0, .L6
	bl	sem_wait
	mov	r1, r0
	mov	r0, #0
	bl	ATF_REQUIRE_EQ
	mov	r0, r4
	bl	aio_error
	cmp	r0, #0
	beq	.L2
	cmp	r0, #128
	popne	{r4, pc}
	ldr	r2, .L6+4
	ldr	r3, .L6+8
	ldr	r2, [r2]
	mvn	r0, #0
	str	r2, [r3]
	pop	{r4, pc}
.L2:
	mov	r0, r4
	pop	{r4, lr}
	b	aio_return
.L7:
	.align	2
.L6:
	.word	completions
	.word	EINTR
	.word	errno
	.size	poll_signaled, .-poll_signaled
	.comm	errno,4,4
	.comm	completions,4,4
	.comm	EINTR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
