	.file	"701797.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%d\t"
.LC2:
	.string	"\n\347\224\250\346\227\266%f second\n"
.LC3:
	.string	"count=%d"
	.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, -36864[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 3200
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	clock@PLT
	mov	QWORD PTR -40040[rbp], rax
	mov	DWORD PTR -40044[rbp], 10000
	lea	rax, -40016[rbp]
	mov	edx, 40000
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -40016[rbp], 2
	mov	DWORD PTR -40056[rbp], 1
	mov	DWORD PTR -40052[rbp], 3
	jmp	.L2
.L4:
	mov	eax, DWORD PTR -40052[rbp]
	mov	edi, eax
	call	isPrime
	test	eax, eax
	je	.L3
	mov	eax, DWORD PTR -40056[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -40056[rbp], edx
	cdqe
	mov	edx, DWORD PTR -40052[rbp]
	mov	DWORD PTR -40016[rbp+rax*4], edx
.L3:
	add	DWORD PTR -40052[rbp], 1
.L2:
	mov	eax, DWORD PTR -40052[rbp]
	cmp	eax, DWORD PTR -40044[rbp]
	jle	.L4
	mov	DWORD PTR -40048[rbp], 0
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -40048[rbp]
	cdqe
	mov	eax, DWORD PTR -40016[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -40048[rbp], 1
.L5:
	mov	eax, DWORD PTR -40048[rbp]
	cmp	eax, DWORD PTR -40056[rbp]
	jl	.L6
	call	clock@PLT
	mov	QWORD PTR -40032[rbp], rax
	mov	rax, QWORD PTR -40032[rbp]
	sub	rax, QWORD PTR -40040[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm1, QWORD PTR .LC1[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -40024[rbp], xmm0
	mov	rax, QWORD PTR -40024[rbp]
	movq	xmm0, rax
	lea	rdi, .LC2[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, DWORD PTR -40056[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	isPrime
	.type	isPrime, @function
isPrime:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -8[rbp], 1
	mov	DWORD PTR -4[rbp], 2
	jmp	.L10
.L13:
	mov	eax, DWORD PTR -20[rbp]
	cdq
	idiv	DWORD PTR -4[rbp]
	mov	eax, edx
	test	eax, eax
	jne	.L11
	mov	DWORD PTR -8[rbp], 0
	jmp	.L12
.L11:
	add	DWORD PTR -4[rbp], 1
.L10:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L13
.L12:
	mov	eax, DWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	isPrime, .-isPrime
	.section	.rodata
	.align 8
.LC1:
	.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	"701797.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\011\000"
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.align	2
.LC1:
	.ascii	"\012\347\224\250\346\227\266%f second\012\000"
	.align	2
.LC2:
	.ascii	"count=%d\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40040
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #39936
	sub	sp, sp, #108
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #36864
	sub	r3, r3, #12
	mov	r4, r3
	bl	clock
	str	r0, [r4, #-3164]
	sub	r3, fp, #36864
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L9+4
	str	r3, [r2, #-3160]
	sub	r3, fp, #36864
	sub	r3, r3, #12
	sub	r3, r3, #3136
	sub	r3, r3, #4
	ldr	r2, .L9+8
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #36864
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #2
	str	r3, [r2, #-3140]
	sub	r3, fp, #36864
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-3176]
	sub	r3, fp, #36864
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #3
	str	r3, [r2, #-3172]
	b	.L2
.L4:
	sub	r3, fp, #36864
	sub	r3, r3, #12
	ldr	r0, [r3, #-3172]
	bl	isPrime
	mov	r3, r0
	cmp	r3, #0
	beq	.L3
	sub	r3, fp, #36864
	sub	r3, r3, #12
	ldr	r3, [r3, #-3176]
	sub	r2, fp, #36864
	sub	r2, r2, #12
	mov	r1, r2
	add	r2, r3, #1
	str	r2, [r1, #-3176]
	sub	r2, fp, #36864
	sub	r2, r2, #12
	lsl	r3, r3, #2
	add	r3, r2, r3
	sub	r2, fp, #36864
	sub	r2, r2, #12
	ldr	r2, [r2, #-3172]
	str	r2, [r3, #-3140]
.L3:
	sub	r3, fp, #36864
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #12
	ldr	r3, [r3, #-3172]
	add	r3, r3, #1
	str	r3, [r2, #-3172]
.L2:
	sub	r3, fp, #36864
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #12
	ldr	r2, [r2, #-3172]
	ldr	r3, [r3, #-3160]
	cmp	r2, r3
	ble	.L4
	sub	r3, fp, #36864
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3168]
	b	.L5
.L6:
	sub	r3, fp, #36864
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #12
	ldr	r3, [r3, #-3168]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-3140]
	mov	r1, r3
	ldr	r0, .L9+12
	bl	printf
	sub	r3, fp, #36864
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #12
	ldr	r3, [r3, #-3168]
	add	r3, r3, #1
	str	r3, [r2, #-3168]
.L5:
	sub	r3, fp, #36864
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #12
	ldr	r2, [r2, #-3168]
	ldr	r3, [r3, #-3176]
	cmp	r2, r3
	blt	.L6
	sub	r3, fp, #36864
	sub	r3, r3, #12
	mov	r4, r3
	bl	clock
	str	r0, [r4, #-3156]
	sub	r3, fp, #36864
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #12
	ldr	r2, [r2, #-3156]
	ldr	r3, [r3, #-3164]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	sub	r3, fp, #39936
	sub	r3, r3, #12
	sub	r3, r3, #80
	mov	r4, r3
	mov	r2, #0
	ldr	r3, .L9+16
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	sub	r3, fp, #39936
	sub	r3, r3, #12
	sub	r3, r3, #80
	ldmia	r3, {r2-r3}
	ldr	r0, .L9+20
	bl	printf
	sub	r3, fp, #36864
	sub	r3, r3, #12
	ldr	r1, [r3, #-3176]
	ldr	r0, .L9+24
	bl	printf
	mov	r3, #0
	ldr	r2, .L9
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC3
	.word	10000
	.word	40000
	.word	.LC0
	.word	1093567616
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.global	__aeabi_idivmod
	.align	2
	.global	isPrime
	.syntax unified
	.arm
	.fpu softvfp
	.type	isPrime, %function
isPrime:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r3, #1
	str	r3, [fp, #-12]
	mov	r3, #2
	str	r3, [fp, #-8]
	b	.L12
.L15:
	ldr	r3, [fp, #-16]
	ldr	r1, [fp, #-8]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	cmp	r3, #0
	bne	.L13
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L14
.L13:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L12:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L15
.L14:
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	isPrime, .-isPrime
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
