	.file	"692255.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"pipe"
.LC1:
	.string	"fcntl"
.LC2:
	.string	"fork"
.LC3:
	.string	"%d"
.LC4:
	.string	"snprintf failed\n"
.LC5:
	.string	"write"
.LC6:
	.string	"read"
.LC7:
	.string	""
.LC8:
	.string	"not "
.LC9:
	.string	"%d is %sa prime\n"
.LC10:
	.string	"child failed\n"
.LC11:
	.string	"close() failed\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, 80
	mov	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -48[rbp], 0
	mov	QWORD PTR -36[rbp], 0
	mov	QWORD PTR -28[rbp], 0
	mov	QWORD PTR -18[rbp], 0
	mov	WORD PTR -10[rbp], 0
	mov	DWORD PTR -44[rbp], 0
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -52[rbp], 0
	lea	rax, -36[rbp]
	mov	rdi, rax
	call	pipe@PLT
	test	eax, eax
	jns	.L2
	lea	rdi, .LC0[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L26
.L2:
	lea	rax, -28[rbp]
	mov	rdi, rax
	call	pipe@PLT
	test	eax, eax
	jns	.L4
	mov	DWORD PTR -52[rbp], 1
	jmp	.L5
.L4:
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, 3
	mov	edi, eax
	mov	eax, 0
	call	fcntl@PLT
	or	ah, 8
	mov	edx, eax
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, 4
	mov	edi, eax
	mov	eax, 0
	call	fcntl@PLT
	test	eax, eax
	jns	.L6
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L26
.L6:
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, 3
	mov	edi, eax
	mov	eax, 0
	call	fcntl@PLT
	or	ah, 8
	mov	edx, eax
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, 4
	mov	edi, eax
	mov	eax, 0
	call	fcntl@PLT
	test	eax, eax
	jns	.L7
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L26
.L7:
	call	fork@PLT
	mov	DWORD PTR -48[rbp], eax
	cmp	DWORD PTR -48[rbp], 0
	jns	.L8
	lea	rdi, .LC2[rip]
	call	perror@PLT
	mov	DWORD PTR -52[rbp], 1
	jmp	.L9
.L8:
	cmp	DWORD PTR -48[rbp], 0
	jle	.L10
	mov	DWORD PTR -56[rbp], 0
	mov	edi, 128
	call	get_rand
	mov	DWORD PTR -44[rbp], eax
	mov	edx, DWORD PTR -44[rbp]
	lea	rax, -18[rbp]
	mov	ecx, edx
	lea	rdx, .LC3[rip]
	mov	esi, 10
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	test	eax, eax
	jns	.L11
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 16
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	mov	DWORD PTR -52[rbp], 1
	jmp	.L9
.L11:
	mov	eax, DWORD PTR -32[rbp]
	lea	rcx, -18[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	cmp	rax, 10
	je	.L13
	lea	rdi, .LC5[rip]
	call	perror@PLT
	mov	DWORD PTR -52[rbp], 1
	jmp	.L9
.L13:
	mov	eax, DWORD PTR -28[rbp]
	lea	rcx, -18[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	cmp	rax, 10
	je	.L14
	lea	rdi, .LC6[rip]
	call	perror@PLT
	mov	DWORD PTR -52[rbp], 1
	jmp	.L9
.L14:
	lea	rax, -18[rbp]
	mov	rdi, rax
	call	read_int
	mov	DWORD PTR -40[rbp], eax
	cmp	DWORD PTR -40[rbp], 0
	jns	.L15
	mov	DWORD PTR -52[rbp], 1
	jmp	.L9
.L15:
	cmp	DWORD PTR -40[rbp], 0
	je	.L16
	lea	rax, .LC7[rip]
	jmp	.L17
.L16:
	lea	rax, .LC8[rip]
.L17:
	mov	ecx, DWORD PTR -44[rbp]
	mov	rdx, rax
	mov	esi, ecx
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -56[rbp]
	mov	rdi, rax
	call	wait@PLT
	mov	eax, DWORD PTR -56[rbp]
	and	eax, 127
	test	eax, eax
	jne	.L9
	mov	eax, DWORD PTR -56[rbp]
	sar	eax, 8
	movzx	eax, al
	test	eax, eax
	je	.L9
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 13
	mov	esi, 1
	lea	rdi, .LC10[rip]
	call	fwrite@PLT
	mov	DWORD PTR -52[rbp], 1
	jmp	.L9
.L10:
	mov	eax, DWORD PTR -36[rbp]
	lea	rcx, -18[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	cmp	rax, 10
	je	.L19
	lea	rdi, .LC6[rip]
	call	perror@PLT
	mov	DWORD PTR -52[rbp], 1
	jmp	.L9
.L19:
	lea	rax, -18[rbp]
	mov	rdi, rax
	call	read_int
	mov	DWORD PTR -44[rbp], eax
	cmp	DWORD PTR -44[rbp], 0
	jns	.L20
	mov	DWORD PTR -52[rbp], 1
	jmp	.L9
.L20:
	mov	eax, DWORD PTR -44[rbp]
	mov	edi, eax
	call	is_prime
	mov	edx, eax
	lea	rax, -18[rbp]
	mov	ecx, edx
	lea	rdx, .LC3[rip]
	mov	esi, 10
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	test	eax, eax
	jns	.L21
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 16
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	mov	DWORD PTR -52[rbp], 1
	jmp	.L9
.L21:
	mov	eax, DWORD PTR -24[rbp]
	lea	rcx, -18[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	cmp	rax, 10
	je	.L28
	lea	rdi, .LC5[rip]
	call	perror@PLT
	mov	DWORD PTR -52[rbp], 1
	jmp	.L9
.L28:
	nop
.L9:
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	call	close@PLT
	test	eax, eax
	je	.L22
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 15
	mov	esi, 1
	lea	rdi, .LC11[rip]
	call	fwrite@PLT
	mov	DWORD PTR -52[rbp], 1
.L22:
	mov	eax, DWORD PTR -24[rbp]
	mov	edi, eax
	call	close@PLT
	test	eax, eax
	je	.L29
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 15
	mov	esi, 1
	lea	rdi, .LC11[rip]
	call	fwrite@PLT
	mov	DWORD PTR -52[rbp], 1
	jmp	.L5
.L29:
	nop
.L5:
	mov	eax, DWORD PTR -36[rbp]
	mov	edi, eax
	call	close@PLT
	test	eax, eax
	je	.L23
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 15
	mov	esi, 1
	lea	rdi, .LC11[rip]
	call	fwrite@PLT
	mov	DWORD PTR -52[rbp], 1
.L23:
	mov	eax, DWORD PTR -32[rbp]
	mov	edi, eax
	call	close@PLT
	test	eax, eax
	je	.L24
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 15
	mov	esi, 1
	lea	rdi, .LC11[rip]
	call	fwrite@PLT
	mov	DWORD PTR -52[rbp], 1
.L24:
	cmp	DWORD PTR -52[rbp], 0
	je	.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
.LC12:
	.string	"gettimeofday"
	.align 8
.LC13:
	.string	"Warning: get_rand: No seed value is provided."
	.text
	.globl	get_rand
	.type	get_rand, @function
get_rand:
.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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -36[rbp], 0
	jg	.L31
	mov	eax, 0
	jmp	.L32
.L31:
	mov	eax, DWORD PTR seeded.0[rip]
	test	eax, eax
	jne	.L33
	lea	rax, -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	test	eax, eax
	je	.L34
	lea	rdi, .LC12[rip]
	call	perror@PLT
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 45
	mov	esi, 1
	lea	rdi, .LC13[rip]
	call	fwrite@PLT
	mov	QWORD PTR -24[rbp], 1
	mov	QWORD PTR -32[rbp], 1
.L34:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	imul	eax, edx
	mov	edi, eax
	call	srand@PLT
	mov	DWORD PTR seeded.0[rip], 1
.L33:
	call	rand@PLT
	cdq
	idiv	DWORD PTR -36[rbp]
	mov	eax, edx
.L32:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L35
	call	__stack_chk_fail@PLT
.L35:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	get_rand, .-get_rand
	.globl	is_prime
	.type	is_prime, @function
is_prime:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -8[rbp], 2
	mov	DWORD PTR -4[rbp], 0
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jge	.L37
	mov	eax, 0
	jmp	.L38
.L37:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jne	.L39
	mov	eax, 1
	jmp	.L38
.L39:
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -20[rbp]
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -4[rbp], eax
	add	DWORD PTR -4[rbp], 1
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -12[rbp], eax
	jmp	.L40
.L42:
	mov	eax, DWORD PTR -20[rbp]
	cdq
	idiv	DWORD PTR -12[rbp]
	mov	eax, edx
	test	eax, eax
	jne	.L41
	mov	eax, 0
	jmp	.L38
.L41:
	add	DWORD PTR -12[rbp], 1
.L40:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jle	.L42
	mov	eax, 1
.L38:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	is_prime, .-is_prime
	.section	.rodata
.LC14:
	.string	"strtod failed\n"
	.text
	.globl	read_int
	.type	read_int, @function
read_int:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -20[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	lea	rdx, -16[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strtod@PLT
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L44
	cmp	DWORD PTR -20[rbp], 0
	jns	.L45
.L44:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 14
	mov	esi, 1
	lea	rdi, .LC14[rip]
	call	fwrite@PLT
	mov	DWORD PTR -20[rbp], -1
.L45:
	mov	eax, DWORD PTR -20[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L47
	call	__stack_chk_fail@PLT
.L47:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	read_int, .-read_int
	.local	seeded.0
	.comm	seeded.0,4,4
	.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	"692255.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"pipe\000"
	.align	2
.LC1:
	.ascii	"fcntl\000"
	.align	2
.LC2:
	.ascii	"fork\000"
	.align	2
.LC3:
	.ascii	"%d\000"
	.align	2
.LC4:
	.ascii	"snprintf failed\012\000"
	.align	2
.LC5:
	.ascii	"write\000"
	.align	2
.LC6:
	.ascii	"read\000"
	.align	2
.LC7:
	.ascii	"\000"
	.align	2
.LC8:
	.ascii	"not \000"
	.align	2
.LC9:
	.ascii	"%d is %sa prime\012\000"
	.align	2
.LC10:
	.ascii	"child failed\012\000"
	.align	2
.LC11:
	.ascii	"close() failed\012\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #68
	str	r0, [fp, #-72]
	str	r1, [fp, #-76]
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-56]
	sub	r3, fp, #44
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	sub	r3, fp, #36
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	mov	r3, #0
	str	r3, [fp, #-28]
	sub	r3, fp, #24
	mov	r2, #0
	str	r2, [r3]
	strh	r2, [r3, #4]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-60]
	sub	r3, fp, #44
	mov	r0, r3
	bl	pipe
	mov	r3, r0
	cmp	r3, #0
	bge	.L2
	ldr	r0, .L30+4
	bl	perror
	mov	r3, #1
	b	.L26
.L2:
	sub	r3, fp, #36
	mov	r0, r3
	bl	pipe
	mov	r3, r0
	cmp	r3, #0
	bge	.L4
	mov	r3, #1
	str	r3, [fp, #-60]
	b	.L5
.L4:
	ldr	r4, [fp, #-44]
	ldr	r3, [fp, #-44]
	mov	r1, #3
	mov	r0, r3
	bl	fcntl
	mov	r3, r0
	orr	r3, r3, #2048
	mov	r2, r3
	mov	r1, #4
	mov	r0, r4
	bl	fcntl
	mov	r3, r0
	cmp	r3, #0
	bge	.L6
	ldr	r0, .L30+8
	bl	perror
	mov	r3, #1
	b	.L26
.L6:
	ldr	r4, [fp, #-40]
	ldr	r3, [fp, #-40]
	mov	r1, #3
	mov	r0, r3
	bl	fcntl
	mov	r3, r0
	orr	r3, r3, #2048
	mov	r2, r3
	mov	r1, #4
	mov	r0, r4
	bl	fcntl
	mov	r3, r0
	cmp	r3, #0
	bge	.L7
	ldr	r0, .L30+8
	bl	perror
	mov	r3, #1
	b	.L26
.L7:
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bge	.L8
	ldr	r0, .L30+12
	bl	perror
	mov	r3, #1
	str	r3, [fp, #-60]
	b	.L9
.L8:
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	ble	.L10
	mov	r3, #0
	str	r3, [fp, #-64]
	mov	r0, #128
	bl	get_rand
	str	r0, [fp, #-52]
	sub	r0, fp, #28
	ldr	r3, [fp, #-52]
	ldr	r2, .L30+16
	mov	r1, #10
	bl	snprintf
	mov	r3, r0
	cmp	r3, #0
	bge	.L11
	ldr	r3, .L30+20
	ldr	r3, [r3]
	mov	r2, #16
	mov	r1, #1
	ldr	r0, .L30+24
	bl	fwrite
	mov	r3, #1
	str	r3, [fp, #-60]
	b	.L9
.L11:
	ldr	r3, [fp, #-40]
	sub	r1, fp, #28
	mov	r2, #10
	mov	r0, r3
	bl	write
	mov	r3, r0
	cmp	r3, #10
	beq	.L13
	ldr	r0, .L30+28
	bl	perror
	mov	r3, #1
	str	r3, [fp, #-60]
	b	.L9
.L13:
	ldr	r3, [fp, #-36]
	sub	r1, fp, #28
	mov	r2, #10
	mov	r0, r3
	bl	read
	mov	r3, r0
	cmp	r3, #10
	beq	.L14
	ldr	r0, .L30+32
	bl	perror
	mov	r3, #1
	str	r3, [fp, #-60]
	b	.L9
.L14:
	sub	r3, fp, #28
	mov	r0, r3
	bl	read_int
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bge	.L15
	mov	r3, #1
	str	r3, [fp, #-60]
	b	.L9
.L15:
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L16
	ldr	r3, .L30+36
	b	.L17
.L16:
	ldr	r3, .L30+40
.L17:
	mov	r2, r3
	ldr	r1, [fp, #-52]
	ldr	r0, .L30+44
	bl	printf
	sub	r3, fp, #64
	mov	r0, r3
	bl	wait
	ldr	r3, [fp, #-64]
	and	r3, r3, #127
	cmp	r3, #0
	bne	.L9
	ldr	r3, [fp, #-64]
	asr	r3, r3, #8
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L9
	ldr	r3, .L30+20
	ldr	r3, [r3]
	mov	r2, #13
	mov	r1, #1
	ldr	r0, .L30+48
	bl	fwrite
	mov	r3, #1
	str	r3, [fp, #-60]
	b	.L9
.L10:
	ldr	r3, [fp, #-44]
	sub	r1, fp, #28
	mov	r2, #10
	mov	r0, r3
	bl	read
	mov	r3, r0
	cmp	r3, #10
	beq	.L19
	ldr	r0, .L30+32
	bl	perror
	mov	r3, #1
	str	r3, [fp, #-60]
	b	.L9
.L19:
	sub	r3, fp, #28
	mov	r0, r3
	bl	read_int
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	bge	.L20
	mov	r3, #1
	str	r3, [fp, #-60]
	b	.L9
.L20:
	ldr	r0, [fp, #-52]
	bl	is_prime
	mov	r3, r0
	sub	r0, fp, #28
	ldr	r2, .L30+16
	mov	r1, #10
	bl	snprintf
	mov	r3, r0
	cmp	r3, #0
	bge	.L21
	ldr	r3, .L30+20
	ldr	r3, [r3]
	mov	r2, #16
	mov	r1, #1
	ldr	r0, .L30+24
	bl	fwrite
	mov	r3, #1
	str	r3, [fp, #-60]
	b	.L9
.L21:
	ldr	r3, [fp, #-32]
	sub	r1, fp, #28
	mov	r2, #10
	mov	r0, r3
	bl	write
	mov	r3, r0
	cmp	r3, #10
	beq	.L28
	ldr	r0, .L30+28
	bl	perror
	mov	r3, #1
	str	r3, [fp, #-60]
	b	.L9
.L28:
	nop
.L9:
	ldr	r3, [fp, #-36]
	mov	r0, r3
	bl	close
	mov	r3, r0
	cmp	r3, #0
	beq	.L22
	ldr	r3, .L30+20
	ldr	r3, [r3]
	mov	r2, #15
	mov	r1, #1
	ldr	r0, .L30+52
	bl	fwrite
	mov	r3, #1
	str	r3, [fp, #-60]
.L22:
	ldr	r3, [fp, #-32]
	mov	r0, r3
	bl	close
	mov	r3, r0
	cmp	r3, #0
	beq	.L29
	ldr	r3, .L30+20
	ldr	r3, [r3]
	mov	r2, #15
	mov	r1, #1
	ldr	r0, .L30+52
	bl	fwrite
	mov	r3, #1
	str	r3, [fp, #-60]
	b	.L5
.L29:
	nop
.L5:
	ldr	r3, [fp, #-44]
	mov	r0, r3
	bl	close
	mov	r3, r0
	cmp	r3, #0
	beq	.L23
	ldr	r3, .L30+20
	ldr	r3, [r3]
	mov	r2, #15
	mov	r1, #1
	ldr	r0, .L30+52
	bl	fwrite
	mov	r3, #1
	str	r3, [fp, #-60]
.L23:
	ldr	r3, [fp, #-40]
	mov	r0, r3
	bl	close
	mov	r3, r0
	cmp	r3, #0
	beq	.L24
	ldr	r3, .L30+20
	ldr	r3, [r3]
	mov	r2, #15
	mov	r1, #1
	ldr	r0, .L30+52
	bl	fwrite
	mov	r3, #1
	str	r3, [fp, #-60]
.L24:
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	beq	.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	.LC12
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	stderr
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	main, .-main
	.section	.rodata
	.align	2
.LC13:
	.ascii	"gettimeofday\000"
	.align	2
.LC14:
	.ascii	"Warning: get_rand: No seed value is provided.\000"
	.global	__aeabi_idivmod
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_rand
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_rand, %function
get_rand:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	ldr	r3, .L38
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bgt	.L33
	mov	r3, #0
	b	.L34
.L33:
	ldr	r3, .L38+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L35
	sub	r3, fp, #16
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	mov	r3, r0
	cmp	r3, #0
	beq	.L36
	ldr	r0, .L38+8
	bl	perror
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L38+12
	ldr	r3, [r3]
	mov	r2, #45
	mov	r1, #1
	ldr	r0, .L38+16
	bl	fwrite
	mov	r3, #1
	str	r3, [fp, #-12]
	mov	r3, #1
	str	r3, [fp, #-16]
.L36:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	mul	r3, r2, r3
	mov	r0, r3
	bl	srand
	ldr	r3, .L38+4
	mov	r2, #1
	str	r2, [r3]
.L35:
	bl	rand
	mov	r3, r0
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
.L34:
	ldr	r2, .L38
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L37
	bl	__stack_chk_fail
.L37:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC15
	.word	seeded.7410
	.word	.LC13
	.word	stderr
	.word	.LC14
	.size	get_rand, .-get_rand
	.global	__aeabi_i2d
	.global	__aeabi_d2iz
	.align	2
	.global	is_prime
	.syntax unified
	.arm
	.fpu softvfp
	.type	is_prime, %function
is_prime:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	mov	r3, #2
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bge	.L41
	mov	r3, #0
	b	.L42
.L41:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bne	.L43
	mov	r3, #1
	b	.L42
.L43:
	ldr	r0, [fp, #-24]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-16]
	b	.L44
.L46:
	ldr	r3, [fp, #-24]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	cmp	r3, #0
	bne	.L45
	mov	r3, #0
	b	.L42
.L45:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L44:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	ble	.L46
	mov	r3, #1
.L42:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	is_prime, .-is_prime
	.section	.rodata
	.align	2
.LC16:
	.ascii	"strtod failed\012\000"
	.align	2
.LC17:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	read_int
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_int, %function
read_int:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	ldr	r3, .L52
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-16]
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	strtod
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L48
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L49
.L48:
	ldr	r3, .L52+4
	ldr	r3, [r3]
	mov	r2, #14
	mov	r1, #1
	ldr	r0, .L52+8
	bl	fwrite
	mvn	r3, #0
	str	r3, [fp, #-12]
.L49:
	ldr	r3, [fp, #-12]
	ldr	r2, .L52
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L51
	bl	__stack_chk_fail
.L51:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L53:
	.align	2
.L52:
	.word	.LC17
	.word	stderr
	.word	.LC16
	.size	read_int, .-read_int
	.local	seeded.7410
	.comm	seeded.7410,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
