	.file	"368551.c"
	.intel_syntax noprefix
	.text
	.globl	sieve
	.bss
	.align 32
	.type	sieve, @object
	.size	sieve, 10000
sieve:
	.zero	10000
	.section	.rodata
.LC0:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.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	init_sieve
	mov	DWORD PTR -4[rbp], 35
	jmp	.L2
.L5:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, sieve[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	test	al, al
	jne	.L3
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	is_goldbach
	test	eax, eax
	jne	.L3
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L4
.L3:
	add	DWORD PTR -4[rbp], 2
.L2:
	cmp	DWORD PTR -4[rbp], 9999
	jle	.L5
.L4:
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	init_sieve
	.type	init_sieve, @function
init_sieve:
.LFB1:
	.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 -12[rbp], 0
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -12[rbp]
	lea	rdx, sieve[rip]
	mov	BYTE PTR [rax+rdx], 1
	add	DWORD PTR -12[rbp], 1
.L8:
	cmp	DWORD PTR -12[rbp], 9999
	jbe	.L9
	mov	BYTE PTR sieve[rip+1], 0
	movzx	eax, BYTE PTR sieve[rip+1]
	mov	BYTE PTR sieve[rip], al
	mov	DWORD PTR -8[rbp], 2
	jmp	.L10
.L14:
	mov	eax, DWORD PTR -8[rbp]
	lea	rdx, sieve[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	test	al, al
	je	.L11
	mov	eax, DWORD PTR -8[rbp]
	add	eax, eax
	mov	DWORD PTR -4[rbp], eax
	jmp	.L12
.L13:
	mov	eax, DWORD PTR -4[rbp]
	lea	rdx, sieve[rip]
	mov	BYTE PTR [rax+rdx], 0
	mov	eax, DWORD PTR -8[rbp]
	add	DWORD PTR -4[rbp], eax
.L12:
	cmp	DWORD PTR -4[rbp], 9999
	jbe	.L13
.L11:
	add	DWORD PTR -8[rbp], 1
.L10:
	cmp	DWORD PTR -8[rbp], 9999
	jbe	.L14
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	init_sieve, .-init_sieve
	.globl	is_goldbach
	.type	is_goldbach, @function
is_goldbach:
.LFB2:
	.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 -4[rbp], 1
	jmp	.L16
.L19:
	mov	eax, DWORD PTR -4[rbp]
	imul	eax, eax
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, edx
	cdqe
	lea	rdx, sieve[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	test	al, al
	je	.L17
	mov	eax, 1
	jmp	.L18
.L17:
	add	DWORD PTR -4[rbp], 1
.L16:
	mov	eax, DWORD PTR -4[rbp]
	imul	eax, eax
	add	eax, eax
	cmp	DWORD PTR -20[rbp], eax
	jg	.L19
	mov	eax, 0
.L18:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	is_goldbach, .-is_goldbach
	.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	"368551.c"
	.text
	.comm	sieve,10000,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	bl	init_sieve
	mov	r3, #35
	str	r3, [fp, #-8]
	b	.L2
.L5:
	ldr	r2, .L7
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L3
	ldr	r0, [fp, #-8]
	bl	is_goldbach
	mov	r3, r0
	cmp	r3, #0
	bne	.L3
	ldr	r1, [fp, #-8]
	ldr	r0, .L7+4
	bl	printf
	b	.L4
.L3:
	ldr	r3, [fp, #-8]
	add	r3, r3, #2
	str	r3, [fp, #-8]
.L2:
	ldr	r3, [fp, #-8]
	ldr	r2, .L7+8
	cmp	r3, r2
	ble	.L5
.L4:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	sieve
	.word	.LC0
	.word	9999
	.size	main, .-main
	.align	2
	.global	init_sieve
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_sieve, %function
init_sieve:
	@ 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
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L10
.L11:
	ldr	r2, .L17
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L10:
	ldr	r3, [fp, #-16]
	ldr	r2, .L17+4
	cmp	r3, r2
	bls	.L11
	ldr	r3, .L17
	mov	r2, #0
	strb	r2, [r3, #1]
	ldr	r3, .L17
	ldrb	r2, [r3, #1]	@ zero_extendqisi2
	ldr	r3, .L17
	strb	r2, [r3]
	mov	r3, #2
	str	r3, [fp, #-12]
	b	.L12
.L16:
	ldr	r2, .L17
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L13
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L14
.L15:
	ldr	r2, .L17
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-8]
.L14:
	ldr	r3, [fp, #-8]
	ldr	r2, .L17+4
	cmp	r3, r2
	bls	.L15
.L13:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L12:
	ldr	r3, [fp, #-12]
	ldr	r2, .L17+4
	cmp	r3, r2
	bls	.L16
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L18:
	.align	2
.L17:
	.word	sieve
	.word	9999
	.size	init_sieve, .-init_sieve
	.align	2
	.global	is_goldbach
	.syntax unified
	.arm
	.fpu softvfp
	.type	is_goldbach, %function
is_goldbach:
	@ 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]
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L20
.L23:
	ldr	r3, [fp, #-8]
	mov	r2, r3
	mul	r2, r3, r2
	mov	r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-16]
	sub	r3, r2, r3
	ldr	r2, .L24
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L21
	mov	r3, #1
	b	.L22
.L21:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L20:
	ldr	r3, [fp, #-8]
	mov	r2, r3
	mul	r2, r3, r2
	mov	r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bgt	.L23
	mov	r3, #0
.L22:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L25:
	.align	2
.L24:
	.word	sieve
	.size	is_goldbach, .-is_goldbach
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
