	.file	"270550.c"
	.intel_syntax noprefix
	.text
	.globl	isPrime
	.type	isPrime, @function
isPrime:
.LFB0:
	.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
	cmp	DWORD PTR -20[rbp], 1
	jg	.L2
	mov	eax, 0
	jmp	.L3
.L2:
	mov	DWORD PTR -4[rbp], 2
	jmp	.L4
.L6:
	mov	eax, DWORD PTR -20[rbp]
	cdq
	idiv	DWORD PTR -4[rbp]
	mov	eax, edx
	test	eax, eax
	jne	.L5
	mov	eax, 0
	jmp	.L3
.L5:
	add	DWORD PTR -4[rbp], 1
.L4:
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	add	eax, 1
	cmp	DWORD PTR -4[rbp], eax
	jle	.L6
	mov	eax, 1
.L3:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	isPrime, .-isPrime
	.globl	main
	.type	main, @function
main:
.LFB1:
	.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	eax, 0
	call	__VERIFIER_nondet_int@PLT
	mov	DWORD PTR -12[rbp], eax
	mov	edx, DWORD PTR -12[rbp]
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	esi, edx
	sar	esi, 31
	sub	eax, esi
	mov	ecx, eax
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	sub	edx, eax
	mov	DWORD PTR -8[rbp], edx
	mov	eax, DWORD PTR -8[rbp]
	mov	edi, eax
	call	isPrime
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jne	.L8
	cmp	DWORD PTR -8[rbp], 0
	jle	.L22
.L8:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L10
	cmp	DWORD PTR -8[rbp], 1
	je	.L22
.L10:
	cmp	DWORD PTR -4[rbp], 1
	jne	.L11
	cmp	DWORD PTR -8[rbp], 2
	je	.L22
.L11:
	cmp	DWORD PTR -4[rbp], 1
	jne	.L12
	cmp	DWORD PTR -8[rbp], 3
	je	.L22
.L12:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L13
	cmp	DWORD PTR -8[rbp], 4
	je	.L22
.L13:
	cmp	DWORD PTR -4[rbp], 1
	jne	.L14
	cmp	DWORD PTR -8[rbp], 5
	je	.L22
.L14:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L15
	cmp	DWORD PTR -8[rbp], 6
	je	.L22
.L15:
	cmp	DWORD PTR -4[rbp], 1
	jne	.L16
	cmp	DWORD PTR -8[rbp], 7
	je	.L22
.L16:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L17
	cmp	DWORD PTR -8[rbp], 8
	je	.L22
.L17:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L23
	cmp	DWORD PTR -8[rbp], 9
	jne	.L23
.L22:
	nop
.L19:
	mov	eax, 0
	jmp	.L21
.L23:
	nop
.L20:
	mov	eax, 1
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.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	"270550.c"
	.text
	.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]
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	bgt	.L2
	mov	r3, #0
	b	.L3
.L2:
	mov	r3, #2
	str	r3, [fp, #-8]
	b	.L4
.L6:
	ldr	r3, [fp, #-16]
	ldr	r1, [fp, #-8]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	cmp	r3, #0
	bne	.L5
	mov	r3, #0
	b	.L3
.L5:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L4:
	ldr	r3, [fp, #-16]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	add	r3, r3, #1
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	ble	.L6
	mov	r3, #1
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	isPrime, .-isPrime
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	bl	__VERIFIER_nondet_int
	str	r0, [fp, #-16]
	ldr	r2, [fp, #-16]
	ldr	r3, .L24
	smull	r1, r3, r2, r3
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #1
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r0, [fp, #-12]
	bl	isPrime
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L8
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	ble	.L22
.L8:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L10
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	beq	.L22
.L10:
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L11
	ldr	r3, [fp, #-12]
	cmp	r3, #2
	beq	.L22
.L11:
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L12
	ldr	r3, [fp, #-12]
	cmp	r3, #3
	beq	.L22
.L12:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L13
	ldr	r3, [fp, #-12]
	cmp	r3, #4
	beq	.L22
.L13:
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L14
	ldr	r3, [fp, #-12]
	cmp	r3, #5
	beq	.L22
.L14:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L15
	ldr	r3, [fp, #-12]
	cmp	r3, #6
	beq	.L22
.L15:
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L16
	ldr	r3, [fp, #-12]
	cmp	r3, #7
	beq	.L22
.L16:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L17
	ldr	r3, [fp, #-12]
	cmp	r3, #8
	beq	.L22
.L17:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L23
	ldr	r3, [fp, #-12]
	cmp	r3, #9
	bne	.L23
.L22:
	nop
.L19:
	mov	r3, #0
	b	.L21
.L23:
	nop
.L20:
	mov	r3, #1
.L21:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	1717986919
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
