	.file	"126704094.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"An error ocurred with opening the pipe"
.LC1:
	.string	"An error ocurred with fork"
	.align 8
.LC2:
	.string	"An error ocurred with writing to the pipe"
	.align 8
.LC3:
	.string	"An error ocurred with reading from the pipe"
.LC5:
	.string	"\tPIPES"
	.align 8
.LC6:
	.string	"Come\303\247ou a escrita de dados em %.Lf pulsos\n"
	.align 8
.LC7:
	.string	"Terminou a leitura de dados em %.Lf pulsos\n"
	.align 8
.LC8:
	.string	"A transfer\303\252ncia de dados em %.6Lf segundos\n\n"
.LC9:
	.string	"/shmpipes"
.LC10:
	.string	"In shm_open()"
.LC11:
	.string	"\tSHARED MEMORY"
	.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
	lea	r11, -3997696[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 2432
	mov	DWORD PTR -4000100[rbp], edi
	mov	QWORD PTR -4000112[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -4000088[rbp], 4000004
	lea	rax, -4000024[rbp]
	mov	rdi, rax
	call	pipe@PLT
	cmp	eax, -1
	jne	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L26
.L2:
	mov	DWORD PTR -4000092[rbp], 0
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -4000092[rbp]
	cdqe
	mov	edx, DWORD PTR -4000092[rbp]
	mov	DWORD PTR -4000016[rbp+rax*4], edx
	add	DWORD PTR -4000092[rbp], 1
.L4:
	cmp	DWORD PTR -4000092[rbp], 999999
	jle	.L5
	call	fork@PLT
	mov	DWORD PTR -4000084[rbp], eax
	cmp	DWORD PTR -4000084[rbp], -1
	jne	.L6
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, 2
	jmp	.L26
.L6:
	call	clock@PLT
	mov	QWORD PTR -4000072[rbp], rax
	cmp	DWORD PTR -4000084[rbp], 0
	jne	.L7
	mov	eax, DWORD PTR -4000024[rbp]
	mov	edi, eax
	call	close@PLT
	mov	DWORD PTR -4000092[rbp], 0
	jmp	.L8
.L10:
	lea	rdx, -4000016[rbp]
	mov	eax, DWORD PTR -4000092[rbp]
	cdqe
	sal	rax, 2
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -4000020[rbp]
	mov	edx, 4
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	cmp	rax, -1
	jne	.L9
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	eax, 3
	jmp	.L26
.L9:
	add	DWORD PTR -4000092[rbp], 1
.L8:
	cmp	DWORD PTR -4000092[rbp], 999999
	jle	.L10
	mov	eax, DWORD PTR -4000020[rbp]
	mov	edi, eax
	call	close@PLT
	mov	edi, 0
	call	exit@PLT
.L7:
	mov	eax, DWORD PTR -4000020[rbp]
	mov	edi, eax
	call	close@PLT
	mov	DWORD PTR -4000092[rbp], 0
	jmp	.L11
.L13:
	lea	rdx, -4000016[rbp]
	mov	eax, DWORD PTR -4000092[rbp]
	cdqe
	sal	rax, 2
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -4000024[rbp]
	mov	edx, 4
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	cmp	rax, -1
	jne	.L12
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, 3
	jmp	.L26
.L12:
	add	DWORD PTR -4000092[rbp], 1
.L11:
	cmp	DWORD PTR -4000092[rbp], 999999
	jle	.L13
	mov	eax, DWORD PTR -4000024[rbp]
	mov	edi, eax
	call	close@PLT
	call	clock@PLT
	mov	QWORD PTR -4000064[rbp], rax
	mov	rax, QWORD PTR -4000064[rbp]
	sub	rax, QWORD PTR -4000072[rbp]
	mov	QWORD PTR -4000120[rbp], rax
	fild	QWORD PTR -4000120[rbp]
	fld	TBYTE PTR .LC4[rip]
	fdivp	st(1), st
	fstp	TBYTE PTR -4000048[rbp]
	lea	rdi, .LC5[rip]
	call	puts@PLT
	fild	QWORD PTR -4000072[rbp]
	lea	rsp, -16[rsp]
	fstp	TBYTE PTR [rsp]
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	fild	QWORD PTR -4000064[rbp]
	lea	rsp, -16[rsp]
	fstp	TBYTE PTR [rsp]
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	push	QWORD PTR -4000040[rbp]
	push	QWORD PTR -4000048[rbp]
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	mov	edx, 384
	mov	esi, 194
	lea	rdi, .LC9[rip]
	call	shm_open@PLT
	mov	DWORD PTR -4000080[rbp], eax
	cmp	DWORD PTR -4000080[rbp], 0
	jns	.L14
	lea	rdi, .LC10[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L14:
	mov	eax, DWORD PTR -4000088[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -4000080[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	ftruncate@PLT
	mov	eax, DWORD PTR -4000088[rbp]
	cdqe
	mov	edx, DWORD PTR -4000080[rbp]
	mov	r9d, 0
	mov	r8d, edx
	mov	ecx, 1
	mov	edx, 3
	mov	rsi, rax
	mov	edi, 0
	call	mmap@PLT
	mov	QWORD PTR -4000056[rbp], rax
	mov	rax, QWORD PTR -4000056[rbp]
	mov	DWORD PTR 4000000[rax], 0
	call	fork@PLT
	mov	DWORD PTR -4000084[rbp], eax
	cmp	DWORD PTR -4000084[rbp], -1
	jne	.L15
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, 2
	jmp	.L26
.L15:
	call	clock@PLT
	mov	QWORD PTR -4000072[rbp], rax
	cmp	DWORD PTR -4000084[rbp], 0
	jle	.L29
	mov	DWORD PTR -4000092[rbp], 0
	jmp	.L17
.L18:
	mov	eax, DWORD PTR -4000092[rbp]
	cdqe
	mov	ecx, DWORD PTR -4000016[rbp+rax*4]
	mov	rax, QWORD PTR -4000056[rbp]
	mov	edx, DWORD PTR -4000092[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], ecx
	add	DWORD PTR -4000092[rbp], 1
.L17:
	cmp	DWORD PTR -4000092[rbp], 999999
	jle	.L18
	mov	rax, QWORD PTR -4000056[rbp]
	mov	DWORD PTR 4000000[rax], 1
	call	clock@PLT
	mov	QWORD PTR -4000064[rbp], rax
	mov	rax, QWORD PTR -4000064[rbp]
	sub	rax, QWORD PTR -4000072[rbp]
	mov	QWORD PTR -4000120[rbp], rax
	fild	QWORD PTR -4000120[rbp]
	fld	TBYTE PTR .LC4[rip]
	fdivp	st(1), st
	fstp	TBYTE PTR -4000048[rbp]
	lea	rdi, .LC11[rip]
	call	puts@PLT
	fild	QWORD PTR -4000072[rbp]
	lea	rsp, -16[rsp]
	fstp	TBYTE PTR [rsp]
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	fild	QWORD PTR -4000064[rbp]
	lea	rsp, -16[rsp]
	fstp	TBYTE PTR [rsp]
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	push	QWORD PTR -4000040[rbp]
	push	QWORD PTR -4000048[rbp]
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	mov	eax, DWORD PTR -4000088[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -4000056[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	munmap@PLT
	mov	DWORD PTR -4000076[rbp], eax
	cmp	DWORD PTR -4000076[rbp], 0
	jns	.L23
	jmp	.L28
.L29:
	nop
.L20:
	mov	rax, QWORD PTR -4000056[rbp]
	mov	eax, DWORD PTR 4000000[rax]
	test	eax, eax
	je	.L20
	mov	DWORD PTR -4000092[rbp], 0
	jmp	.L21
.L22:
	mov	rax, QWORD PTR -4000056[rbp]
	mov	edx, DWORD PTR -4000092[rbp]
	movsx	rdx, edx
	mov	edx, DWORD PTR [rax+rdx*4]
	mov	eax, DWORD PTR -4000092[rbp]
	cdqe
	mov	DWORD PTR -4000016[rbp+rax*4], edx
	add	DWORD PTR -4000092[rbp], 1
.L21:
	cmp	DWORD PTR -4000092[rbp], 999999
	jle	.L22
	mov	edi, 0
	call	exit@PLT
.L28:
	mov	eax, 1
	jmp	.L26
.L23:
	mov	eax, DWORD PTR -4000080[rbp]
	mov	edi, eax
	call	close@PLT
	cmp	DWORD PTR -4000076[rbp], 0
	jns	.L24
	mov	eax, 1
	jmp	.L26
.L24:
	lea	rdi, .LC9[rip]
	call	shm_unlink@PLT
	mov	DWORD PTR -4000076[rbp], eax
	cmp	DWORD PTR -4000076[rbp], 0
	jns	.L25
	mov	eax, 1
	jmp	.L26
.L25:
	mov	eax, 0
.L26:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L27
	call	__stack_chk_fail@PLT
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 16
.LC4:
	.long	0
	.long	-198967296
	.long	16402
	.long	0
	.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	"126704094.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"An error ocurred with opening the pipe\000"
	.align	2
.LC1:
	.ascii	"An error ocurred with fork\000"
	.align	2
.LC2:
	.ascii	"An error ocurred with writing to the pipe\000"
	.align	2
.LC3:
	.ascii	"An error ocurred with reading from the pipe\000"
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.align	2
.LC4:
	.ascii	"\011PIPES\000"
	.align	2
.LC5:
	.ascii	"Come\303\247ou a escrita de dados em %.Lf pulsos\012"
	.ascii	"\000"
	.align	2
.LC6:
	.ascii	"Terminou a leitura de dados em %.Lf pulsos\012\000"
	.align	2
.LC7:
	.ascii	"A transfer\303\252ncia de dados em %.6Lf segundos\012"
	.ascii	"\012\000"
	.align	2
.LC8:
	.ascii	"/shmpipes\000"
	.align	2
.LC9:
	.ascii	"In shm_open()\000"
	.align	2
.LC10:
	.ascii	"\011SHARED MEMORY\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 4000064
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #3997696
	sub	sp, sp, #2368
	sub	sp, sp, #12
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	str	r0, [r3, #-2364]
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	str	r1, [r3, #-2368]
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L30+4
	str	r3, [r2, #-2356]
	ldr	r3, .L30+8
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r0, r3
	bl	pipe
	mov	r3, r0
	cmn	r3, #1
	bne	.L2
	ldr	r0, .L30+12
	bl	puts
	mov	r3, #1
	b	.L26
.L2:
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2360]
	b	.L4
.L5:
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r3, [r3, #-2360]
	lsl	r3, r3, #2
	add	r3, r2, r3
	sub	r2, fp, #3997696
	sub	r2, r2, #12
	ldr	r2, [r2, #-2360]
	str	r2, [r3, #-2308]
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r3, [r3, #-2360]
	add	r3, r3, #1
	str	r3, [r2, #-2360]
.L4:
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r3, [r3, #-2360]
	ldr	r2, .L30+16
	cmp	r3, r2
	blt	.L5
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	mov	r4, r3
	bl	fork
	mov	r3, r0
	str	r3, [r4, #-2352]
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r3, [r3, #-2352]
	cmn	r3, #1
	bne	.L6
	ldr	r0, .L30+20
	bl	puts
	mov	r3, #2
	b	.L26
.L6:
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	mov	r4, r3
	bl	clock
	str	r0, [r4, #-2348]
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r3, [r3, #-2352]
	cmp	r3, #0
	bne	.L7
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r3, [r3, #-2316]
	mov	r0, r3
	bl	close
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2360]
	b	.L8
.L10:
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r0, [r3, #-2312]
	ldr	r3, .L30+24
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r2, fp, #3997696
	sub	r2, r2, #12
	ldr	r2, [r2, #-2360]
	lsl	r2, r2, #2
	add	r3, r3, r2
	mov	r2, #4
	mov	r1, r3
	bl	write
	mov	r3, r0
	cmn	r3, #1
	bne	.L9
	ldr	r0, .L30+28
	bl	puts
	mov	r3, #3
	b	.L26
.L9:
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r3, [r3, #-2360]
	add	r3, r3, #1
	str	r3, [r2, #-2360]
.L8:
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r3, [r3, #-2360]
	ldr	r2, .L30+16
	cmp	r3, r2
	blt	.L10
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r3, [r3, #-2312]
	mov	r0, r3
	bl	close
	mov	r0, #0
	bl	exit
.L7:
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r3, [r3, #-2312]
	mov	r0, r3
	bl	close
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2360]
	b	.L11
.L13:
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r0, [r3, #-2316]
	ldr	r3, .L30+24
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r2, fp, #3997696
	sub	r2, r2, #12
	ldr	r2, [r2, #-2360]
	lsl	r2, r2, #2
	add	r3, r3, r2
	mov	r2, #4
	mov	r1, r3
	bl	read
	mov	r3, r0
	cmn	r3, #1
	bne	.L12
	ldr	r0, .L30+32
	bl	puts
	mov	r3, #3
	b	.L26
.L12:
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r3, [r3, #-2360]
	add	r3, r3, #1
	str	r3, [r2, #-2360]
.L11:
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r3, [r3, #-2360]
	ldr	r2, .L30+16
	cmp	r3, r2
	blt	.L13
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r3, [r3, #-2316]
	mov	r0, r3
	bl	close
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	mov	r4, r3
	bl	clock
	str	r0, [r4, #-2344]
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r2, [r2, #-2344]
	ldr	r3, [r3, #-2348]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	sub	r3, r3, #2320
	mov	r4, r3
	mov	r2, #0
	ldr	r3, .L30+36
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stmdb	r4, {r2-r3}
	ldr	r0, .L30+40
	bl	puts
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r0, [r3, #-2348]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L30+44
	bl	printf
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r0, [r3, #-2344]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L30+48
	bl	printf
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	sub	r3, r3, #2320
	ldmdb	r3, {r2-r3}
	ldr	r0, .L30+52
	bl	printf
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	mov	r4, r3
	mov	r2, #384
	mov	r1, #194
	ldr	r0, .L30+56
	bl	shm_open
	str	r0, [r4, #-2340]
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r3, [r3, #-2340]
	cmp	r3, #0
	bge	.L14
	ldr	r0, .L30+60
	bl	perror
	mov	r0, #1
	bl	exit
.L14:
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r1, [r2, #-2356]
	ldr	r0, [r3, #-2340]
	bl	ftruncate
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r1, [r3, #-2356]
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	mov	r4, r3
	mov	r3, #0
	str	r3, [sp, #4]
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r3, [r3, #-2340]
	str	r3, [sp]
	mov	r3, #1
	mov	r2, #3
	mov	r0, #0
	bl	mmap
	str	r0, [r4, #-2336]
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r3, [r3, #-2336]
	add	r3, r3, #3997696
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #2304]
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	mov	r4, r3
	bl	fork
	mov	r3, r0
	str	r3, [r4, #-2352]
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r3, [r3, #-2352]
	cmn	r3, #1
	bne	.L15
	ldr	r0, .L30+20
	bl	puts
	mov	r3, #2
	b	.L26
.L15:
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	mov	r4, r3
	bl	clock
	str	r0, [r4, #-2348]
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r3, [r3, #-2352]
	cmp	r3, #0
	ble	.L29
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2360]
	b	.L17
.L18:
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r3, [r3, #-2360]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3, #-2308]
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r3, [r3, #-2336]
	sub	r2, fp, #3997696
	sub	r2, r2, #12
	ldr	r2, [r2, #-2360]
	str	r1, [r3, r2, lsl #2]
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r3, [r3, #-2360]
	add	r3, r3, #1
	str	r3, [r2, #-2360]
.L17:
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r3, [r3, #-2360]
	ldr	r2, .L30+16
	cmp	r3, r2
	blt	.L18
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r3, [r3, #-2336]
	add	r3, r3, #3997696
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #2304]
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	mov	r4, r3
	bl	clock
	str	r0, [r4, #-2344]
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r2, [r2, #-2344]
	ldr	r3, [r3, #-2348]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	sub	r3, r3, #2320
	mov	r4, r3
	mov	r2, #0
	ldr	r3, .L30+36
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stmdb	r4, {r2-r3}
	ldr	r0, .L30+64
	bl	puts
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r0, [r3, #-2348]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L30+44
	bl	printf
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r0, [r3, #-2344]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L30+48
	bl	printf
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	sub	r3, r3, #2320
	ldmdb	r3, {r2-r3}
	ldr	r0, .L30+52
	bl	printf
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r3, [r3, #-2356]
	sub	r2, fp, #3997696
	sub	r2, r2, #12
	mov	r4, r2
	sub	r2, fp, #3997696
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-2336]
	bl	munmap
	str	r0, [r4, #-2332]
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r3, [r3, #-2332]
	cmp	r3, #0
	bge	.L23
	b	.L28
.L29:
	nop
.L20:
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r3, [r3, #-2336]
	add	r3, r3, #3997696
	ldr	r3, [r3, #2304]
	cmp	r3, #0
	beq	.L20
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2360]
	b	.L21
.L22:
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r3, [r3, #-2336]
	sub	r2, fp, #3997696
	sub	r2, r2, #12
	ldr	r2, [r2, #-2360]
	ldr	r2, [r3, r2, lsl #2]
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r3, [r3, #-2360]
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r2, [r3, #-2308]
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r3, [r3, #-2360]
	add	r3, r3, #1
	str	r3, [r2, #-2360]
.L21:
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r3, [r3, #-2360]
	ldr	r2, .L30+16
	cmp	r3, r2
	blt	.L22
	mov	r0, #0
	bl	exit
.L28:
	mov	r3, #1
	b	.L26
.L23:
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r0, [r3, #-2340]
	bl	close
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r3, [r3, #-2332]
	cmp	r3, #0
	bge	.L24
	mov	r3, #1
	b	.L26
.L24:
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r0, .L30+56
	bl	shm_unlink
	str	r0, [r4, #-2332]
	sub	r3, fp, #3997696
	sub	r3, r3, #12
	ldr	r3, [r3, #-2332]
	cmp	r3, #0
	bge	.L25
	mov	r3, #1
	b	.L26
.L25:
	mov	r3, #0
.L26:
	ldr	r2, .L30
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L27
	bl	__stack_chk_fail
.L27:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC11
	.word	4000004
	.word	-4000012
	.word	.LC0
	.word	1000000
	.word	.LC1
	.word	-4000004
	.word	.LC2
	.word	.LC3
	.word	1093567616
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
