	.file	"extr_atomicio.c_atomicio6.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	atomicio6
	.type	atomicio6, @function
atomicio6:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	QWORD PTR [rsp], r9
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR POLLIN[rip]
	cmp	rdi, QWORD PTR read@GOTPCREL[rip]
	mov	DWORD PTR 16[rsp], esi
	cmovne	eax, DWORD PTR POLLOUT[rip]
	mov	DWORD PTR 20[rsp], eax
	test	rcx, rcx
	je	.L4
	lea	rax, 16[rsp]
	mov	rbp, rdi
	mov	r14d, esi
	mov	r12, rdx
	mov	QWORD PTR 8[rsp], rax
	mov	rbx, rcx
	mov	r13, r8
	xor	r15d, r15d
.L11:
	mov	rdx, rbx
	lea	rsi, [r12+r15]
	mov	edi, r14d
	sub	rdx, r15
	call	rbp
	cmp	eax, -1
	je	.L5
	test	eax, eax
	je	.L6
	movsx	rsi, eax
	add	r15, rsi
	test	r13, r13
	je	.L8
	mov	rdi, QWORD PTR [rsp]
	call	r13
	cmp	eax, -1
	je	.L23
.L8:
	cmp	rbx, r15
	ja	.L11
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L24
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r15
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	eax, DWORD PTR EPIPE[rip]
	mov	DWORD PTR errno[rip], eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	eax, DWORD PTR errno[rip]
	cmp	eax, DWORD PTR EINTR[rip]
	je	.L8
	cmp	eax, DWORD PTR EAGAIN[rip]
	je	.L9
	cmp	eax, DWORD PTR EWOULDBLOCK[rip]
	je	.L9
.L4:
	xor	r15d, r15d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rdi, QWORD PTR 8[rsp]
	mov	edx, -1
	mov	esi, 1
	call	poll@PLT
	cmp	rbx, r15
	ja	.L11
	jmp	.L1
.L23:
	mov	eax, DWORD PTR EINTR[rip]
	mov	DWORD PTR errno[rip], eax
	jmp	.L1
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	atomicio6, .-atomicio6
	.comm	errno,4,4
	.comm	POLLOUT,4,4
	.comm	POLLIN,4,4
	.comm	EWOULDBLOCK,4,4
	.comm	EPIPE,4,4
	.comm	EINTR,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_atomicio.c_atomicio6.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	atomicio6
	.syntax unified
	.arm
	.fpu softvfp
	.type	atomicio6, %function
atomicio6:
	@ args = 8, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r1
	mov	r4, r3
	sub	sp, sp, #28
	ldr	r3, .L25
	str	r6, [sp, #12]
	ldr	r1, .L25+4
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	ldr	r3, [sp, #68]
	cmp	r0, r1
	str	r3, [sp, #4]
	ldreq	r3, .L25+8
	ldrne	r3, .L25+12
	cmp	r4, #0
	ldr	r3, [r3]
	mov	r5, r0
	mov	r7, r2
	ldr	r8, [sp, #64]
	str	r3, [sp, #16]
	beq	.L4
	mov	fp, #0
	ldr	r9, .L25+16
	ldr	r10, .L25+20
.L11:
	mov	r0, r6
	sub	r2, r4, fp
	add	r1, r7, fp
	blx	r5
	cmn	r0, #1
	beq	.L5
	cmp	r0, #0
	beq	.L6
	cmp	r8, #0
	add	fp, fp, r0
	beq	.L8
	mov	r1, r0
	ldr	r0, [sp, #4]
	blx	r8
	cmn	r0, #1
	beq	.L23
.L8:
	cmp	r4, fp
	bhi	.L11
.L1:
	ldr	r3, .L25
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L24
	mov	r0, fp
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L6:
	ldr	r1, .L25+24
	ldr	r2, .L25+28
	ldr	r1, [r1]
	str	r1, [r2]
	b	.L1
.L5:
	ldr	r3, .L25+28
	ldr	r2, [r9]
	ldr	r3, [r3]
	cmp	r3, r2
	beq	.L8
	ldr	r2, [r10]
	cmp	r3, r2
	beq	.L9
	ldr	r2, .L25+32
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L9
.L4:
	mov	fp, #0
	b	.L1
.L9:
	mvn	r2, #0
	mov	r1, #1
	add	r0, sp, #12
	bl	poll
	cmp	r4, fp
	bhi	.L11
	b	.L1
.L23:
	ldr	r1, .L25+16
	ldr	r2, .L25+28
	ldr	r1, [r1]
	str	r1, [r2]
	b	.L1
.L24:
	bl	__stack_chk_fail
.L26:
	.align	2
.L25:
	.word	.LC0
	.word	read
	.word	POLLIN
	.word	POLLOUT
	.word	EINTR
	.word	EAGAIN
	.word	EPIPE
	.word	errno
	.word	EWOULDBLOCK
	.size	atomicio6, .-atomicio6
	.comm	errno,4,4
	.comm	POLLOUT,4,4
	.comm	POLLIN,4,4
	.comm	EWOULDBLOCK,4,4
	.comm	EPIPE,4,4
	.comm	EINTR,4,4
	.comm	EAGAIN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
