	.file	"extr_regress.c_test_simpleread.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Simple read: "
.LC1:
	.string	"write"
	.text
	.p2align 4
	.type	test_simpleread, @function
test_simpleread:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	lea	rdi, .LC0[rip]
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	setup_test@PLT
	mov	edi, DWORD PTR TEST1[rip]
	call	strlen@PLT
	mov	esi, DWORD PTR TEST1[rip]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR pair[rip]
	mov	edi, DWORD PTR [rax]
	call	write@PLT
	test	rax, rax
	js	.L7
.L2:
	mov	rax, QWORD PTR pair[rip]
	mov	esi, DWORD PTR EVUTIL_SHUT_WR[rip]
	lea	rbp, 4[rsp]
	mov	edi, DWORD PTR [rax]
	call	shutdown@PLT
	mov	rax, QWORD PTR pair[rip]
	mov	rdi, rbp
	mov	r8, rbp
	mov	ecx, DWORD PTR simple_read_cb[rip]
	mov	edx, DWORD PTR EV_READ[rip]
	mov	esi, DWORD PTR 4[rax]
	call	event_set@PLT
	xor	esi, esi
	mov	rdi, rbp
	call	event_add@PLT
	cmp	eax, -1
	je	.L8
.L3:
	xor	eax, eax
	call	event_dispatch@PLT
	xor	eax, eax
	call	cleanup_test@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L9
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	lea	rdi, .LC1[rip]
	call	tt_fail_perror@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L8:
	mov	edi, 1
	call	exit@PLT
	jmp	.L3
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	test_simpleread, .-test_simpleread
	.comm	simple_read_cb,4,4
	.comm	pair,8,8
	.comm	TEST1,4,4
	.comm	EV_READ,4,4
	.comm	EVUTIL_SHUT_WR,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_regress.c_test_simpleread.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Simple read: \000"
	.align	2
.LC1:
	.ascii	"write\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_simpleread, %function
test_simpleread:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L10
	sub	sp, sp, #16
	ldr	r0, .L10+4
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	setup_test
	ldr	r3, .L10+8
	ldr	r4, .L10+12
	ldr	r5, [r3]
	ldr	r3, [r4]
	mov	r0, r5
	ldr	r6, [r3]
	bl	strlen
	mov	r2, r0
	mov	r1, r5
	mov	r0, r6
	add	r2, r2, #1
	bl	write
	cmp	r0, #0
	blt	.L7
.L2:
	ldr	r3, [r4]
	ldr	r2, .L10+16
	ldr	r0, [r3]
	ldr	r1, [r2]
	bl	shutdown
	ldr	r2, [r4]
	ldr	r3, .L10+20
	ldr	r1, [r2, #4]
	ldr	r2, .L10+24
	add	r4, sp, #8
	ldr	r3, [r3]
	ldr	r2, [r2]
	mov	r0, r4
	str	r4, [sp]
	bl	event_set
	mov	r0, r4
	mov	r1, #0
	bl	event_add
	cmn	r0, #1
	beq	.L8
.L3:
	bl	event_dispatch
	bl	cleanup_test
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L7:
	ldr	r0, .L10+28
	bl	tt_fail_perror
	b	.L2
.L8:
	mov	r0, #1
	bl	exit
	b	.L3
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	.LC2
	.word	.LC0
	.word	TEST1
	.word	pair
	.word	EVUTIL_SHUT_WR
	.word	simple_read_cb
	.word	EV_READ
	.word	.LC1
	.size	test_simpleread, .-test_simpleread
	.comm	simple_read_cb,4,4
	.comm	pair,4,4
	.comm	TEST1,4,4
	.comm	EV_READ,4,4
	.comm	EVUTIL_SHUT_WR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
