	.file	"113874.c"
	.intel_syntax noprefix
	.text
	.globl	fill_array
	.type	fill_array, @function
fill_array:
.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	QWORD PTR -56[rbp], rdi
	mov	DWORD PTR -60[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -40[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -40[rbp]
	mov	DWORD PTR [rdx], eax
	movabs	rax, 5711500206521275209
	movabs	rdx, 13565981462909005
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -24[rbp], rdx
	mov	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	lea	rdx, 4[rax]
	lea	rax, -32[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	add	DWORD PTR -36[rbp], 1
	add	DWORD PTR -40[rbp], 1
.L2:
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, DWORD PTR -60[rbp]
	jl	.L3
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L4
	call	__stack_chk_fail@PLT
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	fill_array, .-fill_array
	.section	.rodata
	.align 8
.LC1:
	.string	"Pipe took %f to finish being written and read\n"
.LC2:
	.string	"/ex03"
	.align 8
.LC3:
	.string	"Error opening shared memory. Please check writer.c!"
	.align 8
.LC4:
	.string	"Could not retreive info from shared memory! -Exiting-"
	.align 8
.LC5:
	.string	"Writer(ex03.c) took %f to finish transfer to shared memory\n"
.LC6:
	.string	"Error unmapping at munmap()!"
.LC7:
	.string	"Error at close()!"
	.align 8
.LC8:
	.string	"-------------- Writer exiting ----------------"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -4796416[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 3696
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -4800108[rbp], 24
	lea	rax, -4800016[rbp]
	mov	esi, 100000
	mov	rdi, rax
	call	fill_array
	lea	rax, -4800024[rbp]
	mov	rdi, rax
	call	pipe@PLT
	call	fork@PLT
	mov	DWORD PTR -4800104[rbp], eax
	lea	rax, -4800048[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	rax, QWORD PTR -4800048[rbp]
	imul	rdx, rax, 1000000
	mov	rax, QWORD PTR -4800040[rbp]
	add	rax, rdx
	mov	QWORD PTR -4800096[rbp], rax
	cmp	DWORD PTR -4800104[rbp], 0
	jne	.L6
	mov	DWORD PTR -4800112[rbp], 0
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -4800020[rbp]
	mov	edi, eax
	call	close@PLT
	lea	rcx, -2400016[rbp]
	mov	eax, DWORD PTR -4800112[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rcx, rax
	mov	eax, DWORD PTR -4800024[rbp]
	mov	edx, 2400000
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	eax, DWORD PTR -4800024[rbp]
	mov	edi, eax
	call	close@PLT
	add	DWORD PTR -4800112[rbp], 1
.L7:
	cmp	DWORD PTR -4800112[rbp], 99999
	jle	.L8
	mov	eax, DWORD PTR -4800024[rbp]
	mov	edi, eax
	call	close@PLT
	mov	edi, 0
	call	exit@PLT
.L6:
	cmp	DWORD PTR -4800104[rbp], 0
	jle	.L9
	mov	DWORD PTR -4800112[rbp], 0
	jmp	.L10
.L11:
	mov	eax, DWORD PTR -4800024[rbp]
	mov	edi, eax
	call	close@PLT
	lea	rcx, -4800016[rbp]
	mov	eax, DWORD PTR -4800112[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rcx, rax
	mov	eax, DWORD PTR -4800020[rbp]
	mov	edx, 2400000
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	eax, DWORD PTR -4800020[rbp]
	mov	edi, eax
	call	close@PLT
	add	DWORD PTR -4800112[rbp], 1
.L10:
	cmp	DWORD PTR -4800112[rbp], 99999
	jle	.L11
	mov	eax, DWORD PTR -4800020[rbp]
	mov	edi, eax
	call	close@PLT
.L9:
	mov	edi, 0
	call	wait@PLT
	lea	rax, -4800048[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	rax, QWORD PTR -4800048[rbp]
	imul	rdx, rax, 1000000
	mov	rax, QWORD PTR -4800040[rbp]
	add	rax, rdx
	mov	QWORD PTR -4800088[rbp], rax
	mov	rax, QWORD PTR -4800088[rbp]
	sub	rax, QWORD PTR -4800096[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm1, QWORD PTR .LC0[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -4800080[rbp], xmm0
	mov	rax, QWORD PTR -4800080[rbp]
	movq	xmm0, rax
	lea	rdi, .LC1[rip]
	mov	eax, 1
	call	printf@PLT
	lea	rdi, .LC2[rip]
	call	shm_unlink@PLT
	mov	edx, 384
	mov	esi, 194
	lea	rdi, .LC2[rip]
	call	shm_open@PLT
	mov	DWORD PTR -4800100[rbp], eax
	cmp	DWORD PTR -4800100[rbp], -1
	jne	.L12
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L12:
	mov	eax, DWORD PTR -4800108[rbp]
	imul	eax, eax, 100000
	movsx	rdx, eax
	mov	eax, DWORD PTR -4800100[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	ftruncate@PLT
	mov	eax, DWORD PTR -4800108[rbp]
	imul	eax, eax, 100000
	cdqe
	mov	edx, DWORD PTR -4800100[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 -4800072[rbp], rax
	cmp	QWORD PTR -4800072[rbp], 0
	jne	.L13
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L19
.L13:
	lea	rax, -4800048[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	rax, QWORD PTR -4800048[rbp]
	imul	rdx, rax, 1000000
	mov	rax, QWORD PTR -4800040[rbp]
	add	rax, rdx
	mov	QWORD PTR -4800064[rbp], rax
	mov	DWORD PTR -4800112[rbp], 0
	jmp	.L15
.L16:
	mov	eax, DWORD PTR -4800112[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -4800072[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -4800112[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 4800016
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rcx], eax
	lea	rcx, -4800016[rbp]
	mov	eax, DWORD PTR -4800112[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	lea	rdx, 4[rax]
	mov	eax, DWORD PTR -4800112[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	mov	rcx, rax
	mov	rax, QWORD PTR -4800072[rbp]
	add	rax, rcx
	add	rax, 4
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	add	DWORD PTR -4800112[rbp], 1
.L15:
	cmp	DWORD PTR -4800112[rbp], 99999
	jle	.L16
	lea	rax, -4800048[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	rax, QWORD PTR -4800048[rbp]
	imul	rdx, rax, 1000000
	mov	rax, QWORD PTR -4800040[rbp]
	add	rax, rdx
	mov	QWORD PTR -4800056[rbp], rax
	mov	rax, QWORD PTR -4800056[rbp]
	sub	rax, QWORD PTR -4800064[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm1, QWORD PTR .LC0[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -4800080[rbp], xmm0
	mov	rax, QWORD PTR -4800080[rbp]
	movq	xmm0, rax
	lea	rdi, .LC5[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, DWORD PTR -4800108[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -4800072[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	munmap@PLT
	test	eax, eax
	jns	.L17
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L17:
	mov	eax, DWORD PTR -4800100[rbp]
	mov	edi, eax
	call	close@PLT
	test	eax, eax
	jns	.L18
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L18:
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	eax, 0
.L19:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1093567616
	.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	"113874.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"ISEP-SCOMP 2020\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	fill_array
	.syntax unified
	.arm
	.fpu softvfp
	.type	fill_array, %function
fill_array:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L5
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L2
.L3:
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldr	r2, [fp, #-32]
	str	r2, [r3]
	ldr	r3, .L5+4
	sub	ip, fp, #24
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	add	r3, r3, #4
	sub	r2, fp, #24
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L2:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L3
	nop
	ldr	r3, .L5
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L4
	bl	__stack_chk_fail
.L4:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC1
	.word	.LC0
	.size	fill_array, .-fill_array
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.section	.rodata
	.align	2
.LC2:
	.ascii	"Pipe took %f to finish being written and read\012\000"
	.align	2
.LC3:
	.ascii	"/ex03\000"
	.align	2
.LC4:
	.ascii	"Error opening shared memory. Please check writer.c!"
	.ascii	"\000"
	.align	2
.LC5:
	.ascii	"Could not retreive info from shared memory! -Exitin"
	.ascii	"g-\000"
	.align	2
.LC6:
	.ascii	"Writer(ex03.c) took %f to finish transfer to shared"
	.ascii	" memory\012\000"
	.align	2
.LC7:
	.ascii	"Error unmapping at munmap()!\000"
	.align	2
.LC8:
	.ascii	"Error at close()!\000"
	.align	2
.LC9:
	.ascii	"-------------- Writer exiting ----------------\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 4800072
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #4784128
	sub	sp, sp, #15936
	sub	sp, sp, #20
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	mov	r3, #24
	str	r3, [r2, #-3648]
	ldr	r3, .L23+4
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r1, .L23+8
	mov	r0, r3
	bl	fill_array
	ldr	r3, .L23+12
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r0, r3
	bl	pipe
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r4, r3
	bl	fork
	mov	r3, r0
	str	r3, [r4, #-3644]
	ldr	r3, .L23+16
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r1, [r3, #-3604]
	mov	r2, r1
	lsl	r2, r2, #5
	sub	r2, r2, r1
	lsl	r3, r2, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #6
	mov	r0, r3
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r2, [r3, #-3600]
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r1, r3
	add	r3, r0, r2
	str	r3, [r1, #-3640]
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-3644]
	cmp	r3, #0
	bne	.L8
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3652]
	b	.L9
.L10:
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-3592]
	mov	r0, r3
	bl	close
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r0, [r3, #-3596]
	ldr	r2, .L23+20
	sub	r3, fp, #12
	add	r2, r3, r2
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r1, [r3, #-3652]
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, .L23+24
	mov	r1, r3
	bl	read
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-3596]
	mov	r0, r3
	bl	close
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-3652]
	add	r3, r3, #1
	str	r3, [r2, #-3652]
.L9:
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-3652]
	ldr	r2, .L23+8
	cmp	r3, r2
	blt	.L10
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-3596]
	mov	r0, r3
	bl	close
	mov	r0, #0
	bl	exit
.L8:
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-3644]
	cmp	r3, #0
	ble	.L11
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3652]
	b	.L12
.L13:
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-3596]
	mov	r0, r3
	bl	close
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r0, [r3, #-3592]
	ldr	r2, .L23+4
	sub	r3, fp, #12
	add	r2, r3, r2
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r1, [r3, #-3652]
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, .L23+24
	mov	r1, r3
	bl	write
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-3592]
	mov	r0, r3
	bl	close
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-3652]
	add	r3, r3, #1
	str	r3, [r2, #-3652]
.L12:
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-3652]
	ldr	r2, .L23+8
	cmp	r3, r2
	blt	.L13
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-3592]
	mov	r0, r3
	bl	close
.L11:
	mov	r0, #0
	bl	wait
	ldr	r3, .L23+16
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r1, [r3, #-3604]
	mov	r2, r1
	lsl	r2, r2, #5
	sub	r2, r2, r1
	lsl	r3, r2, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #6
	mov	r0, r3
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r2, [r3, #-3600]
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r1, r3
	add	r3, r0, r2
	str	r3, [r1, #-3636]
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r2, [r2, #-3636]
	ldr	r3, [r3, #-3640]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r3, .L23+28
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r4, r3
	mov	r2, #0
	ldr	r3, .L23+32
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, .L23+28
	sub	r2, fp, #12
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r0, .L23+36
	bl	printf
	ldr	r0, .L23+40
	bl	shm_unlink
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r4, r3
	mov	r2, #384
	mov	r1, #194
	ldr	r0, .L23+40
	bl	shm_open
	str	r0, [r4, #-3632]
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-3632]
	cmn	r3, #1
	bne	.L14
	ldr	r0, .L23+44
	bl	puts
	mov	r0, #1
	bl	exit
.L14:
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-3648]
	ldr	r2, .L23+8
	mul	r2, r3, r2
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r1, r2
	ldr	r0, [r3, #-3632]
	bl	ftruncate
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-3648]
	ldr	r2, .L23+8
	mul	r3, r2, r3
	mov	r1, r3
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r4, r3
	mov	r3, #0
	str	r3, [sp, #4]
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-3632]
	str	r3, [sp]
	mov	r3, #1
	mov	r2, #3
	mov	r0, #0
	bl	mmap
	str	r0, [r4, #-3628]
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-3628]
	cmp	r3, #0
	bne	.L15
	ldr	r0, .L23+48
	bl	puts
	mvn	r3, #0
	b	.L21
.L15:
	ldr	r3, .L23+16
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r1, [r3, #-3604]
	mov	r2, r1
	lsl	r2, r2, #5
	sub	r2, r2, r1
	lsl	r3, r2, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #6
	mov	r0, r3
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r2, [r3, #-3600]
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r1, r3
	add	r3, r0, r2
	str	r3, [r1, #-3624]
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3652]
	b	.L17
.L18:
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r2, [r3, #-3652]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-3628]
	add	r1, r3, r2
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r0, r3
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r2, [r3, #-3652]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	sub	r3, r3, #3584
	sub	r3, r3, #4
	ldr	r3, [r3]
	str	r3, [r1]
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r2, [r3, #-3652]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-3628]
	add	r3, r3, r2
	add	r0, r3, #4
	ldr	r2, .L23+4
	sub	r3, fp, #12
	add	r2, r3, r2
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r1, [r3, #-3652]
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r2, r3
	add	r3, r3, #4
	mov	r1, r3
	bl	strcpy
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-3652]
	add	r3, r3, #1
	str	r3, [r2, #-3652]
.L17:
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-3652]
	ldr	r2, .L23+8
	cmp	r3, r2
	blt	.L18
	ldr	r3, .L23+16
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r1, [r3, #-3604]
	mov	r2, r1
	lsl	r2, r2, #5
	sub	r2, r2, r1
	lsl	r3, r2, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #6
	mov	r0, r3
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r2, [r3, #-3600]
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r1, r3
	add	r3, r0, r2
	str	r3, [r1, #-3620]
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r2, [r2, #-3620]
	ldr	r3, [r3, #-3624]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r3, .L23+28
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r4, r3
	mov	r2, #0
	ldr	r3, .L23+32
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, .L23+28
	sub	r2, fp, #12
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r0, .L23+52
	bl	printf
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r2, [r3, #-3648]
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r1, r2
	ldr	r0, [r3, #-3628]
	bl	munmap
	mov	r3, r0
	cmp	r3, #0
	bge	.L19
	ldr	r0, .L23+56
	bl	puts
	mov	r0, #1
	bl	exit
.L19:
	sub	r3, fp, #4784128
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r0, [r3, #-3632]
	bl	close
	mov	r3, r0
	cmp	r3, #0
	bge	.L20
	ldr	r0, .L23+60
	bl	puts
	mov	r0, #1
	bl	exit
.L20:
	ldr	r0, .L23+64
	bl	puts
	mov	r3, #0
.L21:
	ldr	r2, .L23
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC10
	.word	-4800004
	.word	100000
	.word	-4800012
	.word	-4800020
	.word	-2400004
	.word	2400000
	.word	-4800032
	.word	1093567616
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
