	.file	"403039.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Make a selection:\n1. Even/Odd Test on an Integer\n2. Greater of 2 Integers\n3. Absolute Value of an Integer"
.LC1:
	.string	"%c"
.LC2:
	.string	"Enter an Integer to test"
.LC3:
	.string	"%d"
.LC4:
	.string	"Even"
.LC5:
	.string	"Odd"
.LC6:
	.string	"Enter two Integers to compare"
.LC7:
	.string	"%d %d"
.LC8:
	.string	"%d is greater\n"
.LC9:
	.string	"Enter an Integer"
.LC10:
	.string	"abs value is %d\n"
	.align 8
.LC11:
	.string	"That number is not an option. Try again"
	.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -16[rbp], 1
	lea	rdi, .LC0[rip]
	call	puts@PLT
	jmp	.L2
.L12:
	lea	rax, -25[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -25[rbp]
	movsx	eax, al
	cmp	eax, 51
	je	.L3
	cmp	eax, 51
	jg	.L4
	cmp	eax, 49
	je	.L5
	cmp	eax, 50
	je	.L6
	jmp	.L4
.L5:
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -24[rbp]
	cdq
	shr	edx, 31
	add	eax, edx
	and	eax, 1
	sub	eax, edx
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	jne	.L7
	lea	rdi, .LC4[rip]
	call	puts@PLT
	jmp	.L8
.L7:
	lea	rdi, .LC5[rip]
	call	puts@PLT
.L8:
	mov	DWORD PTR -16[rbp], 0
	jmp	.L2
.L6:
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdx, -20[rbp]
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -20[rbp]
	cmp	edx, eax
	jle	.L9
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L10
.L9:
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
.L10:
	mov	DWORD PTR -16[rbp], 0
	jmp	.L2
.L3:
	lea	rdi, .LC9[rip]
	call	puts@PLT
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -24[rbp]
	test	eax, eax
	jns	.L11
	mov	eax, DWORD PTR -24[rbp]
	neg	eax
	mov	DWORD PTR -24[rbp], eax
.L11:
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -16[rbp], 0
	jmp	.L2
.L4:
	lea	rdi, .LC11[rip]
	call	puts@PLT
	lea	rax, -25[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L2:
	cmp	DWORD PTR -16[rbp], 0
	jne	.L12
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"403039.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Make a selection:\0121. Even/Odd Test on an Integer"
	.ascii	"\0122. Greater of 2 Integers\0123. Absolute Value o"
	.ascii	"f an Integer\000"
	.align	2
.LC1:
	.ascii	"%c\000"
	.align	2
.LC2:
	.ascii	"Enter an Integer to test\000"
	.align	2
.LC3:
	.ascii	"%d\000"
	.align	2
.LC4:
	.ascii	"Even\000"
	.align	2
.LC5:
	.ascii	"Odd\000"
	.align	2
.LC6:
	.ascii	"Enter two Integers to compare\000"
	.align	2
.LC7:
	.ascii	"%d %d\000"
	.align	2
.LC8:
	.ascii	"%d is greater\012\000"
	.align	2
.LC9:
	.ascii	"Enter an Integer\000"
	.align	2
.LC10:
	.ascii	"abs value is %d\012\000"
	.align	2
.LC11:
	.ascii	"That number is not an option. Try again\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #1
	str	r3, [fp, #-16]
	ldr	r0, .L15+4
	bl	puts
	b	.L2
.L12:
	sub	r3, fp, #25
	mov	r1, r3
	ldr	r0, .L15+8
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #51
	beq	.L3
	cmp	r3, #51
	bgt	.L4
	cmp	r3, #49
	beq	.L5
	cmp	r3, #50
	beq	.L6
	b	.L4
.L5:
	ldr	r0, .L15+12
	bl	puts
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L15+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L7
	ldr	r0, .L15+20
	bl	puts
	b	.L8
.L7:
	ldr	r0, .L15+24
	bl	puts
.L8:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L2
.L6:
	ldr	r0, .L15+28
	bl	puts
	sub	r2, fp, #20
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L15+32
	bl	__isoc99_scanf
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	ble	.L9
	ldr	r3, [fp, #-24]
	mov	r1, r3
	ldr	r0, .L15+36
	bl	printf
	b	.L10
.L9:
	ldr	r3, [fp, #-20]
	mov	r1, r3
	ldr	r0, .L15+36
	bl	printf
.L10:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L2
.L3:
	ldr	r0, .L15+40
	bl	puts
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L15+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bge	.L11
	ldr	r3, [fp, #-24]
	rsb	r3, r3, #0
	str	r3, [fp, #-24]
.L11:
	ldr	r3, [fp, #-24]
	mov	r1, r3
	ldr	r0, .L15+44
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L2
.L4:
	ldr	r0, .L15+48
	bl	puts
	sub	r3, fp, #25
	mov	r1, r3
	ldr	r0, .L15+8
	bl	__isoc99_scanf
.L2:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L12
	mov	r3, #0
	ldr	r2, .L15
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC12
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
