	.file	"15761572.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Enter a value: "
.LC1:
	.string	"\n%f"
.LC2:
	.string	"%.2f %s(s) is %.2f %s(s)\n\n"
	.text
	.globl	conversion
	.type	conversion, @function
conversion:
.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, 48
	mov	eax, esi
	mov	QWORD PTR -32[rbp], rdx
	mov	QWORD PTR -40[rbp], rcx
	movss	DWORD PTR -44[rbp], xmm0
	mov	edx, edi
	mov	BYTE PTR -20[rbp], dl
	mov	BYTE PTR -24[rbp], al
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -20[rbp]
	cmp	al, BYTE PTR -24[rbp]
	jne	.L2
	movss	xmm0, DWORD PTR -12[rbp]
	mulss	xmm0, DWORD PTR -44[rbp]
	cvtss2sd	xmm0, xmm0
	movss	xmm1, DWORD PTR -12[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm1
	movq	rax, xmm2
	mov	rdx, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	movapd	xmm1, xmm0
	mov	rsi, rcx
	movq	xmm0, rax
	lea	rdi, .LC2[rip]
	mov	eax, 2
	call	printf@PLT
	jmp	.L5
.L2:
	movss	xmm0, DWORD PTR -12[rbp]
	divss	xmm0, DWORD PTR -44[rbp]
	cvtss2sd	xmm0, xmm0
	movss	xmm1, DWORD PTR -12[rbp]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm1
	movq	rax, xmm3
	mov	rdx, QWORD PTR -32[rbp]
	mov	rcx, QWORD PTR -40[rbp]
	movapd	xmm1, xmm0
	mov	rsi, rcx
	movq	xmm0, rax
	lea	rdi, .LC2[rip]
	mov	eax, 2
	call	printf@PLT
.L5:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L4
	call	__stack_chk_fail@PLT
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	conversion, .-conversion
	.section	.rodata
	.align 8
.LC3:
	.string	"%c for conversion from %s to %s | %c for conversion from %s to %s\nSelect one of the above options: "
.LC4:
	.string	"\n%c"
.LC5:
	.string	"Invalid Input, try again: "
	.text
	.globl	subMenuSelector
	.type	subMenuSelector, @function
subMenuSelector:
.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, 48
	mov	QWORD PTR -32[rbp], rsi
	mov	eax, edx
	mov	QWORD PTR -40[rbp], rcx
	mov	edx, edi
	mov	BYTE PTR -20[rbp], dl
	mov	BYTE PTR -24[rbp], al
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movsx	esi, BYTE PTR -24[rbp]
	movsx	eax, BYTE PTR -20[rbp]
	mov	rdi, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	sub	rsp, 8
	push	QWORD PTR -32[rbp]
	mov	r9, rdi
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	lea	rax, -9[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L7
.L9:
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -9[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L7:
	movzx	eax, BYTE PTR -9[rbp]
	cmp	BYTE PTR -20[rbp], al
	je	.L8
	movzx	eax, BYTE PTR -9[rbp]
	cmp	BYTE PTR -24[rbp], al
	jne	.L9
.L8:
	movzx	eax, BYTE PTR -9[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	subMenuSelector, .-subMenuSelector
	.section	.rodata
	.align 8
.LC6:
	.string	"1 for conversion between Kilometres and Miles\n2 for conversion between Liters and Gallons\n3 for conversion between Hectares and Acres\n4 for conversion between Kilograms and Pounds\n5 to Quit\nEnter one of the above options: "
.LC7:
	.string	"\n%d"
.LC8:
	.string	"miles"
.LC9:
	.string	"kilometers"
.LC10:
	.string	"mile"
.LC11:
	.string	"kilometer"
.LC13:
	.string	"gallons"
.LC14:
	.string	"liters"
.LC15:
	.string	"gallon"
.LC16:
	.string	"liter"
.LC18:
	.string	"acres"
.LC19:
	.string	"hectares"
.LC20:
	.string	"acre"
.LC21:
	.string	"hectare"
.LC23:
	.string	"pounds"
.LC24:
	.string	"kilograms"
.LC25:
	.string	"pound"
.LC26:
	.string	"kilogram"
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L21:
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L13
.L14:
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L13:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 5
	jg	.L14
	mov	eax, DWORD PTR -12[rbp]
	test	eax, eax
	jle	.L14
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 1
	jne	.L15
	lea	rcx, .LC8[rip]
	mov	edx, 77
	lea	rsi, .LC9[rip]
	mov	edi, 75
	call	subMenuSelector
	movsx	eax, al
	movss	xmm0, DWORD PTR .LC12[rip]
	lea	rcx, .LC10[rip]
	lea	rdx, .LC11[rip]
	mov	esi, 75
	mov	edi, eax
	call	conversion
	jmp	.L21
.L15:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 2
	jne	.L17
	lea	rcx, .LC13[rip]
	mov	edx, 71
	lea	rsi, .LC14[rip]
	mov	edi, 76
	call	subMenuSelector
	movsx	eax, al
	movss	xmm0, DWORD PTR .LC17[rip]
	lea	rcx, .LC15[rip]
	lea	rdx, .LC16[rip]
	mov	esi, 76
	mov	edi, eax
	call	conversion
	jmp	.L21
.L17:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 3
	jne	.L18
	lea	rcx, .LC18[rip]
	mov	edx, 65
	lea	rsi, .LC19[rip]
	mov	edi, 72
	call	subMenuSelector
	movsx	eax, al
	movss	xmm0, DWORD PTR .LC22[rip]
	lea	rcx, .LC20[rip]
	lea	rdx, .LC21[rip]
	mov	esi, 72
	mov	edi, eax
	call	conversion
	jmp	.L21
.L18:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 4
	jne	.L19
	lea	rcx, .LC23[rip]
	mov	edx, 80
	lea	rsi, .LC24[rip]
	mov	edi, 75
	call	subMenuSelector
	movsx	eax, al
	movss	xmm0, DWORD PTR .LC27[rip]
	lea	rcx, .LC25[rip]
	lea	rdx, .LC26[rip]
	mov	esi, 75
	mov	edi, eax
	call	conversion
	jmp	.L21
.L19:
	mov	eax, 1
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L22
	call	__stack_chk_fail@PLT
.L22:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC12:
	.long	1059000875
	.align 4
.LC17:
	.long	1049051533
	.align 4
.LC22:
	.long	1075717551
	.align 4
.LC27:
	.long	1074600062
	.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	"15761572.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter a value: \000"
	.align	2
.LC1:
	.ascii	"\012%f\000"
	.global	__aeabi_f2d
	.global	__aeabi_fmul
	.align	2
.LC2:
	.ascii	"%.2f %s(s) is %.2f %s(s)\012\012\000"
	.global	__aeabi_fdiv
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	conversion
	.syntax unified
	.arm
	.fpu softvfp
	.type	conversion, %function
conversion:
	@ args = 4, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #48
	str	r2, [fp, #-28]
	str	r3, [fp, #-32]
	mov	r3, r0
	strb	r3, [fp, #-21]
	mov	r3, r1
	strb	r3, [fp, #-22]
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r0, .L6+4
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L6+8
	bl	__isoc99_scanf
	ldrb	r2, [fp, #-21]	@ zero_extendqisi2
	ldrb	r3, [fp, #-22]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L2
	ldr	r3, [fp, #-20]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-20]	@ float
	ldr	r1, [fp, #4]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-32]
	str	r1, [sp, #16]
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	ldr	r3, [fp, #-28]
	str	r3, [sp]
	mov	r2, r4
	mov	r3, r5
	ldr	r0, .L6+12
	bl	printf
	b	.L5
.L2:
	ldr	r3, [fp, #-20]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-20]	@ float
	ldr	r1, [fp, #4]	@ float
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-28]
	str	r1, [sp, #16]
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	ldr	r3, [fp, #-32]
	str	r3, [sp]
	mov	r2, r4
	mov	r3, r5
	ldr	r0, .L6+12
	bl	printf
.L5:
	nop
	ldr	r3, .L6
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L4
	bl	__stack_chk_fail
.L4:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	conversion, .-conversion
	.section	.rodata
	.align	2
.LC4:
	.ascii	"%c for conversion from %s to %s | %c for conversion"
	.ascii	" from %s to %s\012Select one of the above options: "
	.ascii	"\000"
	.align	2
.LC5:
	.ascii	"\012%c\000"
	.align	2
.LC6:
	.ascii	"Invalid Input, try again: \000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	subMenuSelector
	.syntax unified
	.arm
	.fpu softvfp
	.type	subMenuSelector, %function
subMenuSelector:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r1, [fp, #-20]
	str	r3, [fp, #-24]
	mov	r3, r0
	strb	r3, [fp, #-13]
	mov	r3, r2
	strb	r3, [fp, #-14]
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldrb	r1, [fp, #-13]	@ zero_extendqisi2
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	ldr	r2, [fp, #-20]
	str	r2, [sp, #8]
	ldr	r2, [fp, #-24]
	str	r2, [sp, #4]
	str	r3, [sp]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	ldr	r0, .L14+4
	bl	printf
	sub	r3, fp, #9
	mov	r1, r3
	ldr	r0, .L14+8
	bl	__isoc99_scanf
	b	.L9
.L11:
	ldr	r0, .L14+12
	bl	printf
	sub	r3, fp, #9
	mov	r1, r3
	ldr	r0, .L14+8
	bl	__isoc99_scanf
.L9:
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	ldrb	r2, [fp, #-13]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L10
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	ldrb	r2, [fp, #-14]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L11
.L10:
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC7
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	subMenuSelector, .-subMenuSelector
	.section	.rodata
	.align	2
.LC8:
	.ascii	"1 for conversion between Kilometres and Miles\0122 "
	.ascii	"for conversion between Liters and Gallons\0123 for "
	.ascii	"conversion between Hectares and Acres\0124 for conv"
	.ascii	"ersion between Kilograms and Pounds\0125 to Quit\012"
	.ascii	"Enter one of the above options: \000"
	.align	2
.LC9:
	.ascii	"\012%d\000"
	.align	2
.LC10:
	.ascii	"miles\000"
	.align	2
.LC11:
	.ascii	"kilometers\000"
	.align	2
.LC12:
	.ascii	"mile\000"
	.align	2
.LC13:
	.ascii	"kilometer\000"
	.align	2
.LC14:
	.ascii	"gallons\000"
	.align	2
.LC15:
	.ascii	"liters\000"
	.align	2
.LC16:
	.ascii	"gallon\000"
	.align	2
.LC17:
	.ascii	"liter\000"
	.align	2
.LC18:
	.ascii	"acres\000"
	.align	2
.LC19:
	.ascii	"hectares\000"
	.align	2
.LC20:
	.ascii	"acre\000"
	.align	2
.LC21:
	.ascii	"hectare\000"
	.align	2
.LC22:
	.ascii	"pounds\000"
	.align	2
.LC23:
	.ascii	"kilograms\000"
	.align	2
.LC24:
	.ascii	"pound\000"
	.align	2
.LC25:
	.ascii	"kilogram\000"
	.align	2
.LC26:
	.word	__stack_chk_guard
	.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, #16
	ldr	r3, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L25:
	ldr	r0, .L28+4
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L28+8
	bl	__isoc99_scanf
	b	.L17
.L18:
	ldr	r0, .L28+12
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L28+8
	bl	__isoc99_scanf
.L17:
	ldr	r3, [fp, #-12]
	cmp	r3, #5
	bgt	.L18
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	ble	.L18
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	bne	.L19
	ldr	r3, .L28+16
	mov	r2, #77
	ldr	r1, .L28+20
	mov	r0, #75
	bl	subMenuSelector
	mov	r3, r0
	mov	r0, r3
	ldr	r3, .L28+24
	str	r3, [sp]	@ float
	ldr	r3, .L28+28
	ldr	r2, .L28+32
	mov	r1, #75
	bl	conversion
	b	.L25
.L19:
	ldr	r3, [fp, #-12]
	cmp	r3, #2
	bne	.L21
	ldr	r3, .L28+36
	mov	r2, #71
	ldr	r1, .L28+40
	mov	r0, #76
	bl	subMenuSelector
	mov	r3, r0
	mov	r0, r3
	ldr	r3, .L28+44
	str	r3, [sp]	@ float
	ldr	r3, .L28+48
	ldr	r2, .L28+52
	mov	r1, #76
	bl	conversion
	b	.L25
.L21:
	ldr	r3, [fp, #-12]
	cmp	r3, #3
	bne	.L22
	ldr	r3, .L28+56
	mov	r2, #65
	ldr	r1, .L28+60
	mov	r0, #72
	bl	subMenuSelector
	mov	r3, r0
	mov	r0, r3
	ldr	r3, .L28+64
	str	r3, [sp]	@ float
	ldr	r3, .L28+68
	ldr	r2, .L28+72
	mov	r1, #72
	bl	conversion
	b	.L25
.L22:
	ldr	r3, [fp, #-12]
	cmp	r3, #4
	bne	.L23
	ldr	r3, .L28+76
	mov	r2, #80
	ldr	r1, .L28+80
	mov	r0, #75
	bl	subMenuSelector
	mov	r3, r0
	mov	r0, r3
	ldr	r3, .L28+84
	str	r3, [sp]	@ float
	ldr	r3, .L28+88
	ldr	r2, .L28+92
	mov	r1, #75
	bl	conversion
	b	.L25
.L23:
	mov	r3, #1
	ldr	r2, .L28
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L26
	bl	__stack_chk_fail
.L26:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC26
	.word	.LC8
	.word	.LC9
	.word	.LC6
	.word	.LC10
	.word	.LC11
	.word	1059000875
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	1049051533
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	1075717551
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	1074600062
	.word	.LC24
	.word	.LC25
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
