	.file	"57949639.c"
	.intel_syntax noprefix
	.text
	.local	my_base
	.comm	my_base,8,8
	.local	progress_thread
	.comm	progress_thread,8,8
	.local	progress_thread_stop
	.comm	progress_thread_stop,1,1
	.local	progress_thread_pipe
	.comm	progress_thread_pipe,8,8
	.local	lock
	.comm	lock,40,32
	.local	write_event
	.comm	write_event,128,32
	.local	my_fd
	.comm	my_fd,4,4
	.local	fd_written
	.comm	fd_written,1,1
	.section	.rodata
.LC0:
	.string	"pthread_mutex_init failed\n"
.LC1:
	.string	"pthread_create failed\n"
.LC2:
	.string	"opening the file"
.LC3:
	.string	"foo"
.LC4:
	.string	"open"
.LC5:
	.string	"write"
.LC6:
	.string	"Waiting...\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -37[rbp], 97
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 100
	mov	DWORD PTR -36[rbp], 0
	call	evthread_use_pthreads@PLT
	call	event_base_new@PLT
	mov	QWORD PTR my_base[rip], rax
	lea	rdi, progress_thread_pipe[rip]
	call	pipe@PLT
	mov	esi, 0
	lea	rdi, lock[rip]
	call	pthread_mutex_init@PLT
	test	eax, eax
	je	.L2
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 26
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	ecx, 0
	lea	rdx, progress_engine[rip]
	mov	esi, 0
	lea	rdi, progress_thread[rip]
	call	pthread_create@PLT
	test	eax, eax
	je	.L4
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L5:
	lea	rax, -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	nanosleep@PLT
	add	DWORD PTR -36[rbp], 1
.L4:
	cmp	DWORD PTR -36[rbp], 99
	jle	.L5
	mov	DWORD PTR -36[rbp], 0
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 16
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	mov	edx, 420
	mov	esi, 578
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR my_fd[rip], eax
	mov	eax, DWORD PTR my_fd[rip]
	test	eax, eax
	jns	.L6
	lea	rdi, .LC4[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L6:
	mov	edx, DWORD PTR my_fd[rip]
	mov	rax, QWORD PTR my_base[rip]
	mov	r9d, 0
	lea	r8, send_handler[rip]
	mov	ecx, 20
	mov	rsi, rax
	lea	rdi, write_event[rip]
	call	event_assign@PLT
	mov	esi, 0
	lea	rdi, write_event[rip]
	call	event_add@PLT
	mov	eax, DWORD PTR progress_thread_pipe[rip+4]
	lea	rcx, -37[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	test	rax, rax
	jns	.L8
	lea	rdi, .LC5[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L11:
	mov	edx, DWORD PTR -36[rbp]
	movsx	rax, edx
	imul	rax, rax, 1374389535
	shr	rax, 32
	sar	eax, 5
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	imul	ecx, eax, 100
	mov	eax, edx
	sub	eax, ecx
	test	eax, eax
	jne	.L9
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 11
	mov	esi, 1
	lea	rdi, .LC6[rip]
	call	fwrite@PLT
.L9:
	lea	rax, -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	nanosleep@PLT
	add	DWORD PTR -36[rbp], 1
.L8:
	movzx	eax, BYTE PTR fd_written[rip]
	xor	eax, 1
	test	al, al
	je	.L10
	cmp	DWORD PTR -36[rbp], 999
	jle	.L11
.L10:
	lea	rdi, lock[rip]
	call	pthread_mutex_lock@PLT
	mov	BYTE PTR progress_thread_stop[rip], 1
	lea	rdi, lock[rip]
	call	pthread_mutex_unlock@PLT
	mov	eax, DWORD PTR progress_thread_pipe[rip+4]
	lea	rcx, -37[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	rax, QWORD PTR progress_thread[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.local	stop_event
	.comm	stop_event,128,32
	.section	.rodata
.LC7:
	.string	"got a close\n"
.LC8:
	.string	"read"
	.text
	.type	stop_handler, @function
stop_handler:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	eax, esi
	mov	QWORD PTR -32[rbp], rdx
	mov	WORD PTR -24[rbp], ax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR progress_thread_pipe[rip]
	lea	rcx, -13[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	jg	.L15
	cmp	DWORD PTR -12[rbp], 0
	jne	.L16
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 12
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	jmp	.L15
.L16:
	lea	rdi, .LC8[rip]
	call	perror@PLT
.L15:
	mov	esi, 0
	lea	rdi, stop_event[rip]
	call	event_add@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	stop_handler, .-stop_handler
	.section	.rodata
.LC9:
	.string	"Thread stopping\n"
.LC10:
	.string	"Looping...\n"
	.text
	.type	progress_engine, @function
progress_engine:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	edx, DWORD PTR progress_thread_pipe[rip]
	mov	rax, QWORD PTR my_base[rip]
	mov	r9d, 0
	lea	r8, stop_handler[rip]
	mov	ecx, 2
	mov	rsi, rax
	lea	rdi, stop_event[rip]
	call	event_assign@PLT
	mov	esi, 0
	lea	rdi, stop_event[rip]
	call	event_add@PLT
.L22:
	lea	rdi, lock[rip]
	call	pthread_mutex_lock@PLT
	movzx	eax, BYTE PTR progress_thread_stop[rip]
	test	al, al
	je	.L20
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 16
	mov	esi, 1
	lea	rdi, .LC9[rip]
	call	fwrite@PLT
	lea	rdi, lock[rip]
	call	pthread_mutex_unlock@PLT
	lea	rdi, stop_event[rip]
	call	event_del@PLT
	mov	eax, 1
	jmp	.L23
.L20:
	lea	rdi, lock[rip]
	call	pthread_mutex_unlock@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 11
	mov	esi, 1
	lea	rdi, .LC10[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR my_base[rip]
	mov	esi, 1
	mov	rdi, rax
	call	event_base_loop@PLT
	jmp	.L22
.L23:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	progress_engine, .-progress_engine
	.section	.rodata
.LC11:
	.string	"This is an output string\n"
.LC12:
	.string	"Write event fired\n"
	.text
	.type	send_handler, @function
send_handler:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	eax, esi
	mov	QWORD PTR -32[rbp], rdx
	mov	WORD PTR -24[rbp], ax
	lea	rax, .LC11[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 18
	mov	esi, 1
	lea	rdi, .LC12[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	eax, DWORD PTR my_fd[rip]
	mov	rcx, QWORD PTR -8[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	test	rax, rax
	jns	.L25
	lea	rdi, .LC5[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L25:
	lea	rdi, write_event[rip]
	call	event_del@PLT
	mov	BYTE PTR fd_written[rip], 1
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	send_handler, .-send_handler
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"57949639.c"
	.text
	.local	my_base
	.comm	my_base,4,4
	.local	progress_thread
	.comm	progress_thread,4,4
	.local	progress_thread_stop
	.comm	progress_thread_stop,1,1
	.local	progress_thread_pipe
	.comm	progress_thread_pipe,8,4
	.local	lock
	.comm	lock,24,4
	.local	write_event
	.comm	write_event,64,4
	.local	my_fd
	.comm	my_fd,4,4
	.local	fd_written
	.comm	fd_written,1,1
	.section	.rodata
	.align	2
.LC0:
	.ascii	"pthread_mutex_init failed\012\000"
	.align	2
.LC1:
	.ascii	"pthread_create failed\012\000"
	.align	2
.LC2:
	.ascii	"opening the file\000"
	.align	2
.LC3:
	.ascii	"foo\000"
	.align	2
.LC4:
	.ascii	"open\000"
	.align	2
.LC5:
	.ascii	"write\000"
	.align	2
.LC6:
	.ascii	"Waiting...\012\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #97
	strb	r3, [fp, #-21]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #100
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-20]
	bl	evthread_use_pthreads
	bl	event_base_new
	mov	r3, r0
	ldr	r2, .L14+4
	str	r3, [r2]
	ldr	r0, .L14+8
	bl	pipe
	mov	r1, #0
	ldr	r0, .L14+12
	bl	pthread_mutex_init
	mov	r3, r0
	cmp	r3, #0
	beq	.L2
	ldr	r3, .L14+16
	ldr	r3, [r3]
	mov	r2, #26
	mov	r1, #1
	ldr	r0, .L14+20
	bl	fwrite
	mov	r0, #1
	bl	exit
.L2:
	mov	r3, #0
	ldr	r2, .L14+24
	mov	r1, #0
	ldr	r0, .L14+28
	bl	pthread_create
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
	ldr	r3, .L14+16
	ldr	r3, [r3]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L14+32
	bl	fwrite
	mov	r0, #1
	bl	exit
.L5:
	sub	r3, fp, #16
	mov	r1, #0
	mov	r0, r3
	bl	nanosleep
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L4:
	ldr	r3, [fp, #-20]
	cmp	r3, #99
	ble	.L5
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, .L14+16
	ldr	r3, [r3]
	mov	r2, #16
	mov	r1, #1
	ldr	r0, .L14+36
	bl	fwrite
	mov	r2, #420
	ldr	r1, .L14+40
	ldr	r0, .L14+44
	bl	open
	mov	r3, r0
	ldr	r2, .L14+48
	str	r3, [r2]
	ldr	r3, .L14+48
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L6
	ldr	r0, .L14+52
	bl	perror
	mov	r0, #1
	bl	exit
.L6:
	ldr	r3, .L14+4
	ldr	r1, [r3]
	ldr	r3, .L14+48
	ldr	r2, [r3]
	mov	r3, #0
	str	r3, [sp, #4]
	ldr	r3, .L14+56
	str	r3, [sp]
	mov	r3, #20
	ldr	r0, .L14+60
	bl	event_assign
	mov	r1, #0
	ldr	r0, .L14+60
	bl	event_add
	ldr	r3, .L14+8
	ldr	r3, [r3, #4]
	sub	r1, fp, #21
	mov	r2, #1
	mov	r0, r3
	bl	write
	mov	r3, r0
	cmp	r3, #0
	bge	.L8
	ldr	r0, .L14+64
	bl	perror
	mov	r0, #1
	bl	exit
.L11:
	ldr	r1, [fp, #-20]
	ldr	r3, .L14+68
	smull	r2, r3, r1, r3
	asr	r2, r3, #5
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, r1, r3
	cmp	r2, #0
	bne	.L9
	ldr	r3, .L14+16
	ldr	r3, [r3]
	mov	r2, #11
	mov	r1, #1
	ldr	r0, .L14+72
	bl	fwrite
.L9:
	sub	r3, fp, #16
	mov	r1, #0
	mov	r0, r3
	bl	nanosleep
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L8:
	ldr	r3, .L14+76
	ldrb	r3, [r3]	@ zero_extendqisi2
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-20]
	cmp	r3, #1000
	blt	.L11
.L10:
	ldr	r0, .L14+12
	bl	pthread_mutex_lock
	ldr	r3, .L14+80
	mov	r2, #1
	strb	r2, [r3]
	ldr	r0, .L14+12
	bl	pthread_mutex_unlock
	ldr	r3, .L14+8
	ldr	r3, [r3, #4]
	sub	r1, fp, #21
	mov	r2, #1
	mov	r0, r3
	bl	write
	ldr	r3, .L14+28
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	mov	r3, #0
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC7
	.word	my_base
	.word	progress_thread_pipe
	.word	lock
	.word	stderr
	.word	.LC0
	.word	progress_engine
	.word	progress_thread
	.word	.LC1
	.word	.LC2
	.word	578
	.word	.LC3
	.word	my_fd
	.word	.LC4
	.word	send_handler
	.word	write_event
	.word	.LC5
	.word	1374389535
	.word	.LC6
	.word	fd_written
	.word	progress_thread_stop
	.size	main, .-main
	.local	stop_event
	.comm	stop_event,64,4
	.section	.rodata
	.align	2
.LC8:
	.ascii	"got a close\012\000"
	.align	2
.LC9:
	.ascii	"read\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	stop_handler, %function
stop_handler:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	mov	r3, r1
	str	r2, [fp, #-32]
	strh	r3, [fp, #-26]	@ movhi
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L21+4
	ldr	r3, [r3]
	sub	r1, fp, #13
	mov	r2, #1
	mov	r0, r3
	bl	read
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bgt	.L17
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L18
	ldr	r3, .L21+8
	ldr	r3, [r3]
	mov	r2, #12
	mov	r1, #1
	ldr	r0, .L21+12
	bl	fwrite
	b	.L17
.L18:
	ldr	r0, .L21+16
	bl	perror
.L17:
	mov	r1, #0
	ldr	r0, .L21+20
	bl	event_add
	nop
	ldr	r3, .L21
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC10
	.word	progress_thread_pipe
	.word	stderr
	.word	.LC8
	.word	.LC9
	.word	stop_event
	.size	stop_handler, .-stop_handler
	.section	.rodata
	.align	2
.LC11:
	.ascii	"Thread stopping\012\000"
	.align	2
.LC12:
	.ascii	"Looping...\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	progress_engine, %function
progress_engine:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	ldr	r3, .L28
	ldr	r1, [r3]
	ldr	r3, .L28+4
	ldr	r2, [r3]
	mov	r3, #0
	str	r3, [sp, #4]
	ldr	r3, .L28+8
	str	r3, [sp]
	mov	r3, #2
	ldr	r0, .L28+12
	bl	event_assign
	mov	r1, #0
	ldr	r0, .L28+12
	bl	event_add
.L26:
	ldr	r0, .L28+16
	bl	pthread_mutex_lock
	ldr	r3, .L28+20
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L24
	ldr	r3, .L28+24
	ldr	r3, [r3]
	mov	r2, #16
	mov	r1, #1
	ldr	r0, .L28+28
	bl	fwrite
	ldr	r0, .L28+16
	bl	pthread_mutex_unlock
	ldr	r0, .L28+12
	bl	event_del
	mov	r3, #1
	b	.L27
.L24:
	ldr	r0, .L28+16
	bl	pthread_mutex_unlock
	ldr	r3, .L28+24
	ldr	r3, [r3]
	mov	r2, #11
	mov	r1, #1
	ldr	r0, .L28+32
	bl	fwrite
	ldr	r3, .L28
	ldr	r3, [r3]
	mov	r1, #1
	mov	r0, r3
	bl	event_base_loop
	b	.L26
.L27:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	my_base
	.word	progress_thread_pipe
	.word	stop_handler
	.word	stop_event
	.word	lock
	.word	progress_thread_stop
	.word	stderr
	.word	.LC11
	.word	.LC12
	.size	progress_engine, .-progress_engine
	.section	.rodata
	.align	2
.LC13:
	.ascii	"This is an output string\012\000"
	.align	2
.LC14:
	.ascii	"Write event fired\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	send_handler, %function
send_handler:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	mov	r3, r1
	str	r2, [fp, #-32]
	strh	r3, [fp, #-26]	@ movhi
	ldr	r3, .L32
	str	r3, [fp, #-16]
	ldr	r3, .L32+4
	ldr	r3, [r3]
	mov	r2, #18
	mov	r1, #1
	ldr	r0, .L32+8
	bl	fwrite
	ldr	r3, .L32+12
	ldr	r4, [r3]
	ldr	r0, [fp, #-16]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-16]
	mov	r0, r4
	bl	write
	mov	r3, r0
	cmp	r3, #0
	bge	.L31
	ldr	r0, .L32+16
	bl	perror
	mov	r0, #1
	bl	exit
.L31:
	ldr	r0, .L32+20
	bl	event_del
	ldr	r3, .L32+24
	mov	r2, #1
	strb	r2, [r3]
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L33:
	.align	2
.L32:
	.word	.LC13
	.word	stderr
	.word	.LC14
	.word	my_fd
	.word	.LC5
	.word	write_event
	.word	fd_written
	.size	send_handler, .-send_handler
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
