	.file	"125139271.c"
	.intel_syntax noprefix
	.text
	.globl	prime_x
	.bss
	.align 4
	.type	prime_x, @object
	.size	prime_x, 4
prime_x:
	.zero	4
	.globl	prime_y
	.align 4
	.type	prime_y, @object
	.size	prime_y, 4
prime_y:
	.zero	4
	.globl	prime_result
	.align 4
	.type	prime_result, @object
	.size	prime_result, 4
prime_result:
	.zero	4
	.globl	prime_seed
	.align 4
	.type	prime_seed, @object
	.size	prime_seed, 4
prime_seed:
	.zero	4
	.text
	.globl	prime_initSeed
	.type	prime_initSeed, @function
prime_initSeed:
.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 prime_seed[rip], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	prime_initSeed, .-prime_initSeed
	.globl	prime_randomInteger
	.type	prime_randomInteger, @function
prime_randomInteger:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR prime_seed[rip]
	imul	eax, eax, 133
	lea	edx, 81[rax]
	movsx	rax, edx
	imul	rax, rax, 271652039
	shr	rax, 32
	sar	eax, 9
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	imul	ecx, eax, 8095
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR prime_seed[rip], eax
	mov	eax, DWORD PTR prime_seed[rip]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	prime_randomInteger, .-prime_randomInteger
	.globl	prime_init
	.type	prime_init, @function
prime_init:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	call	prime_initSeed
	mov	eax, 0
	call	prime_randomInteger
	mov	DWORD PTR prime_x[rip], eax
	mov	eax, 0
	call	prime_randomInteger
	mov	DWORD PTR prime_y[rip], eax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	prime_init, .-prime_init
	.globl	prime_return
	.type	prime_return, @function
prime_return:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR prime_result[rip]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	prime_return, .-prime_return
	.globl	prime_divides
	.type	prime_divides, @function
prime_divides:
.LFB4:
	.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 -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	eax, DWORD PTR -8[rbp]
	mov	edx, 0
	div	DWORD PTR -4[rbp]
	mov	eax, edx
	test	eax, eax
	sete	al
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	prime_divides, .-prime_divides
	.globl	prime_even
	.type	prime_even, @function
prime_even:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 8
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	mov	edi, 2
	call	prime_divides
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	prime_even, .-prime_even
	.globl	prime_prime
	.type	prime_prime, @function
prime_prime:
.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, 24
	mov	DWORD PTR -20[rbp], edi
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	prime_even
	test	al, al
	je	.L12
	cmp	DWORD PTR -20[rbp], 2
	sete	al
	jmp	.L13
.L12:
	mov	DWORD PTR -4[rbp], 3
	jmp	.L14
.L16:
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, edx
	mov	edi, eax
	call	prime_divides
	test	al, al
	je	.L15
	mov	eax, 0
	jmp	.L13
.L15:
	add	DWORD PTR -4[rbp], 2
.L14:
	mov	eax, DWORD PTR -4[rbp]
	imul	eax, eax
	cmp	DWORD PTR -20[rbp], eax
	jnb	.L16
	cmp	DWORD PTR -20[rbp], 1
	seta	al
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	prime_prime, .-prime_prime
	.globl	prime_swap
	.type	prime_swap, @function
prime_swap:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -4[rbp]
	mov	DWORD PTR [rax], edx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	prime_swap, .-prime_swap
	.globl	prime_main
	.type	prime_main, @function
prime_main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rsi, prime_y[rip]
	lea	rdi, prime_x[rip]
	call	prime_swap
	mov	eax, DWORD PTR prime_x[rip]
	mov	edi, eax
	call	prime_prime
	test	al, al
	jne	.L19
	mov	eax, DWORD PTR prime_y[rip]
	mov	edi, eax
	call	prime_prime
	test	al, al
	je	.L20
.L19:
	mov	eax, 1
	jmp	.L21
.L20:
	mov	eax, 0
.L21:
	mov	DWORD PTR prime_result[rip], eax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	prime_main, .-prime_main
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	call	prime_init
	mov	eax, 0
	call	prime_main
	mov	eax, 0
	call	prime_return
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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	"125139271.c"
	.text
	.comm	prime_x,4,4
	.comm	prime_y,4,4
	.comm	prime_result,4,4
	.comm	prime_seed,4,4
	.align	2
	.global	prime_initSeed
	.syntax unified
	.arm
	.fpu softvfp
	.type	prime_initSeed, %function
prime_initSeed:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L2
	mov	r2, #0
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L3:
	.align	2
.L2:
	.word	prime_seed
	.size	prime_initSeed, .-prime_initSeed
	.align	2
	.global	prime_randomInteger
	.syntax unified
	.arm
	.fpu softvfp
	.type	prime_randomInteger, %function
prime_randomInteger:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L6
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	add	r1, r3, #81
	ldr	r3, .L6+4
	smull	r2, r3, r1, r3
	asr	r2, r3, #9
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	sub	r2, r1, r3
	ldr	r3, .L6
	str	r2, [r3]
	ldr	r3, .L6
	ldr	r3, [r3]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L7:
	.align	2
.L6:
	.word	prime_seed
	.word	271652039
	.size	prime_randomInteger, .-prime_randomInteger
	.align	2
	.global	prime_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	prime_init, %function
prime_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	prime_initSeed
	bl	prime_randomInteger
	mov	r3, r0
	ldr	r2, .L9
	str	r3, [r2]
	bl	prime_randomInteger
	mov	r3, r0
	ldr	r2, .L9+4
	str	r3, [r2]
	nop
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	prime_x
	.word	prime_y
	.size	prime_init, .-prime_init
	.align	2
	.global	prime_return
	.syntax unified
	.arm
	.fpu softvfp
	.type	prime_return, %function
prime_return:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L13
	ldr	r3, [r3]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L14:
	.align	2
.L13:
	.word	prime_result
	.size	prime_return, .-prime_return
	.global	__aeabi_uidivmod
	.align	2
	.global	prime_divides
	.syntax unified
	.arm
	.fpu softvfp
	.type	prime_divides, %function
prime_divides:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r1, [fp, #-8]
	mov	r0, r3
	bl	__aeabi_uidivmod
	mov	r3, r1
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	prime_divides, .-prime_divides
	.align	2
	.global	prime_even
	.syntax unified
	.arm
	.fpu softvfp
	.type	prime_even, %function
prime_even:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r1, [fp, #-8]
	mov	r0, #2
	bl	prime_divides
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	prime_even, .-prime_even
	.align	2
	.global	prime_prime
	.syntax unified
	.arm
	.fpu softvfp
	.type	prime_prime, %function
prime_prime:
	@ 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	r0, [fp, #-16]
	bl	prime_even
	mov	r3, r0
	cmp	r3, #0
	beq	.L20
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	b	.L21
.L20:
	mov	r3, #3
	str	r3, [fp, #-8]
	b	.L22
.L24:
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-8]
	bl	prime_divides
	mov	r3, r0
	cmp	r3, #0
	beq	.L23
	mov	r3, #0
	b	.L21
.L23:
	ldr	r3, [fp, #-8]
	add	r3, r3, #2
	str	r3, [fp, #-8]
.L22:
	ldr	r3, [fp, #-8]
	mov	r2, r3
	mul	r2, r3, r2
	mov	r3, r2
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bcs	.L24
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	movhi	r3, #1
	movls	r3, #0
	and	r3, r3, #255
.L21:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	prime_prime, .-prime_prime
	.align	2
	.global	prime_swap
	.syntax unified
	.arm
	.fpu softvfp
	.type	prime_swap, %function
prime_swap:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	prime_swap, .-prime_swap
	.align	2
	.global	prime_main
	.syntax unified
	.arm
	.fpu softvfp
	.type	prime_main, %function
prime_main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r1, .L30
	ldr	r0, .L30+4
	bl	prime_swap
	ldr	r3, .L30+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	prime_prime
	mov	r3, r0
	cmp	r3, #0
	bne	.L27
	ldr	r3, .L30
	ldr	r3, [r3]
	mov	r0, r3
	bl	prime_prime
	mov	r3, r0
	cmp	r3, #0
	beq	.L28
.L27:
	mov	r3, #1
	b	.L29
.L28:
	mov	r3, #0
.L29:
	ldr	r2, .L30+8
	str	r3, [r2]
	nop
	pop	{fp, pc}
.L31:
	.align	2
.L30:
	.word	prime_y
	.word	prime_x
	.word	prime_result
	.size	prime_main, .-prime_main
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	prime_init
	bl	prime_main
	bl	prime_return
	mov	r3, r0
	mov	r0, r3
	pop	{fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
