	.file	"915240.c"
	.intel_syntax noprefix
	.text
	.globl	result
	.bss
	.align 8
	.type	result, @object
	.size	result, 8
result:
	.zero	8
	.globl	result_even
	.align 8
	.type	result_even, @object
	.size	result_even, 8
result_even:
	.zero	8
	.globl	result_odd
	.align 8
	.type	result_odd, @object
	.size	result_odd, 8
result_odd:
	.zero	8
	.section	.rodata
	.align 8
.LC0:
	.string	"Values for even and odd are %ld and %ld, respectively\n"
.LC1:
	.string	"result = %ld\n"
	.align 8
.LC2:
	.string	"To double check ... result = %ld\n"
	.text
	.globl	foo
	.type	foo, @function
foo:
.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, 16
	mov	QWORD PTR -8[rbp], 0
	jmp	.L2
.L5:
	mov	rax, QWORD PTR -8[rbp]
	and	eax, 1
	test	rax, rax
	je	.L3
	mov	rax, QWORD PTR result_even[rip]
	add	rax, 1
	mov	QWORD PTR result_even[rip], rax
	jmp	.L4
.L3:
	mov	rax, QWORD PTR result_odd[rip]
	add	rax, 1
	mov	QWORD PTR result_odd[rip], rax
.L4:
	add	QWORD PTR -8[rbp], 1
.L2:
	cmp	QWORD PTR -8[rbp], 9
	jle	.L5
	mov	rdx, QWORD PTR result_odd[rip]
	mov	rax, QWORD PTR result_even[rip]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR result_even[rip]
	mov	rax, QWORD PTR result_odd[rip]
	add	rdx, rax
	mov	rax, QWORD PTR result[rip]
	add	rax, rdx
	mov	QWORD PTR result[rip], rax
	mov	rax, QWORD PTR result[rip]
	add	rax, 1
	mov	QWORD PTR result[rip], rax
	mov	rax, QWORD PTR result[rip]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR result[rip]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	foo, .-foo
	.globl	main
	.type	main, @function
main:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	eax, 0
	call	foo
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"915240.c"
	.text
	.global	result
	.bss
	.align	2
	.type	result, %object
	.size	result, 4
result:
	.space	4
	.global	result_even
	.align	2
	.type	result_even, %object
	.size	result_even, 4
result_even:
	.space	4
	.global	result_odd
	.align	2
	.type	result_odd, %object
	.size	result_odd, 4
result_odd:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Values for even and odd are %ld and %ld, respective"
	.ascii	"ly\012\000"
	.align	2
.LC1:
	.ascii	"result = %ld\012\000"
	.align	2
.LC2:
	.ascii	"To double check ... result = %ld\012\000"
	.text
	.align	2
	.global	foo
	.syntax unified
	.arm
	.fpu softvfp
	.type	foo, %function
foo:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L5:
	ldr	r3, [fp, #-8]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L3
	ldr	r3, .L6
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L6
	str	r3, [r2]
	b	.L4
.L3:
	ldr	r3, .L6+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L6+4
	str	r3, [r2]
.L4:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r3, [fp, #-8]
	cmp	r3, #9
	ble	.L5
	ldr	r3, .L6
	ldr	r3, [r3]
	ldr	r2, .L6+4
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, .L6+8
	bl	printf
	ldr	r3, .L6
	ldr	r2, [r3]
	ldr	r3, .L6+4
	ldr	r3, [r3]
	add	r2, r2, r3
	ldr	r3, .L6+12
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L6+12
	str	r3, [r2]
	ldr	r3, .L6+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L6+12
	str	r3, [r2]
	ldr	r3, .L6+12
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L6+16
	bl	printf
	ldr	r3, .L6+12
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L6+20
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	result_even
	.word	result_odd
	.word	.LC0
	.word	result
	.word	.LC1
	.word	.LC2
	.size	foo, .-foo
	.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
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	bl	foo
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
