	.file	"438881.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC1:
	.string	"The g.c.d. of 8 and 12 is: %d\n"
	.align 8
.LC2:
	.string	"The absolute value of -3 is: %.2f\n"
	.align 8
.LC3:
	.string	"The square root of 16 is: %.2f\n"
	.align 8
.LC4:
	.string	"===================================================="
.LC5:
	.string	"Testing for expected errors:"
	.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	esi, 12
	mov	edi, 8
	call	gcd
	mov	DWORD PTR -20[rbp], eax
	movss	xmm0, DWORD PTR .LC0[rip]
	call	absoluteValue
	movd	eax, xmm0
	mov	DWORD PTR -16[rbp], eax
	mov	edi, 16
	call	squareroot
	movd	eax, xmm0
	mov	DWORD PTR -12[rbp], eax
	mov	edi, -16
	call	squareroot
	movd	eax, xmm0
	mov	DWORD PTR -8[rbp], eax
	mov	esi, 12
	mov	edi, -8
	call	gcd
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -16[rbp]
	movq	rax, xmm1
	movq	xmm0, rax
	lea	rdi, .LC2[rip]
	mov	eax, 1
	call	printf@PLT
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -12[rbp]
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC3[rip]
	mov	eax, 1
	call	printf@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -8[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	lea	rdi, .LC3[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	gcd
	.type	gcd, @function
gcd:
.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 -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -4[rbp], 0
	cmp	DWORD PTR -20[rbp], 0
	jle	.L4
	cmp	DWORD PTR -24[rbp], 0
	jg	.L7
.L4:
	mov	eax, -1
	jmp	.L6
.L9:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jle	.L8
	mov	eax, DWORD PTR -24[rbp]
	sub	DWORD PTR -20[rbp], eax
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -20[rbp]
	sub	DWORD PTR -24[rbp], eax
.L7:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jne	.L9
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
.L6:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	gcd, .-gcd
	.globl	absoluteValue
	.type	absoluteValue, @function
absoluteValue:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movss	DWORD PTR -4[rbp], xmm0
	pxor	xmm0, xmm0
	comiss	xmm0, DWORD PTR -4[rbp]
	jbe	.L16
	movss	xmm0, DWORD PTR -4[rbp]
	movss	xmm1, DWORD PTR .LC7[rip]
	xorps	xmm0, xmm1
	jmp	.L14
.L16:
	movss	xmm0, DWORD PTR -4[rbp]
.L14:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	absoluteValue, .-absoluteValue
	.globl	squareroot
	.type	squareroot, @function
squareroot:
.LFB3:
	.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
	cmp	DWORD PTR -20[rbp], 0
	jns	.L18
	movss	xmm0, DWORD PTR .LC8[rip]
	jmp	.L19
.L18:
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movss	DWORD PTR -8[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -4[rbp], xmm0
	jmp	.L20
.L21:
	movss	xmm0, DWORD PTR -8[rbp]
	movss	DWORD PTR -4[rbp], xmm0
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -20[rbp]
	divss	xmm0, DWORD PTR -4[rbp]
	addss	xmm0, DWORD PTR -4[rbp]
	movss	xmm1, DWORD PTR .LC9[rip]
	divss	xmm0, xmm1
	movss	DWORD PTR -8[rbp], xmm0
.L20:
	movss	xmm0, DWORD PTR -8[rbp]
	ucomiss	xmm0, DWORD PTR -4[rbp]
	jp	.L21
	movss	xmm0, DWORD PTR -8[rbp]
	comiss	xmm0, DWORD PTR -4[rbp]
	jne	.L21
	movss	xmm0, DWORD PTR -8[rbp]
.L19:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	squareroot, .-squareroot
	.section	.rodata
	.align 4
.LC0:
	.long	-1069547520
	.align 16
.LC7:
	.long	-2147483648
	.long	0
	.long	0
	.long	0
	.align 4
.LC8:
	.long	-1082130432
	.align 4
.LC9:
	.long	1073741824
	.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	"438881.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"The g.c.d. of 8 and 12 is: %d\012\000"
	.global	__aeabi_f2d
	.align	2
.LC1:
	.ascii	"The absolute value of -3 is: %.2f\012\000"
	.align	2
.LC2:
	.ascii	"The square root of 16 is: %.2f\012\000"
	.align	2
.LC3:
	.ascii	"==================================================="
	.ascii	"=\000"
	.align	2
.LC4:
	.ascii	"Testing for expected errors:\000"
	.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
	mov	r1, #12
	mov	r0, #8
	bl	gcd
	str	r0, [fp, #-24]
	ldr	r0, .L3
	bl	absoluteValue
	str	r0, [fp, #-20]	@ float
	mov	r0, #16
	bl	squareroot
	str	r0, [fp, #-16]	@ float
	mvn	r0, #15
	bl	squareroot
	str	r0, [fp, #-12]	@ float
	mov	r1, #12
	mvn	r0, #7
	bl	gcd
	str	r0, [fp, #-8]
	ldr	r1, [fp, #-24]
	ldr	r0, .L3+4
	bl	printf
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L3+8
	bl	printf
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L3+12
	bl	printf
	ldr	r0, .L3+16
	bl	puts
	ldr	r0, .L3+20
	bl	puts
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L3+12
	bl	printf
	ldr	r1, [fp, #-8]
	ldr	r0, .L3+4
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	-1069547520
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.align	2
	.global	gcd
	.syntax unified
	.arm
	.fpu softvfp
	.type	gcd, %function
gcd:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	ble	.L6
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bgt	.L9
.L6:
	mvn	r3, #0
	b	.L8
.L11:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	ble	.L10
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	sub	r3, r2, r3
	str	r3, [fp, #-16]
	b	.L9
.L10:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	str	r3, [fp, #-20]
.L9:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bne	.L11
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
.L8:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	gcd, .-gcd
	.global	__aeabi_fcmplt
	.align	2
	.global	absoluteValue
	.syntax unified
	.arm
	.fpu softvfp
	.type	absoluteValue, %function
absoluteValue:
	@ 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]	@ float
	mov	r1, #0
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L18
	ldr	r3, [fp, #-8]
	eor	r3, r3, #-2147483648
	b	.L16
.L18:
	ldr	r3, [fp, #-8]	@ float
.L16:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	absoluteValue, .-absoluteValue
	.global	__aeabi_i2f
	.global	__aeabi_fdiv
	.global	__aeabi_fadd
	.global	__aeabi_fcmpeq
	.align	2
	.global	squareroot
	.syntax unified
	.arm
	.fpu softvfp
	.type	squareroot, %function
squareroot:
	@ 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	r3, [fp, #-16]
	cmp	r3, #0
	bge	.L20
	ldr	r3, .L24
	b	.L21
.L20:
	ldr	r3, [fp, #-16]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	str	r3, [fp, #-12]	@ float
	mov	r3, #0
	str	r3, [fp, #-8]	@ float
	b	.L22
.L23:
	ldr	r3, [fp, #-12]	@ float
	str	r3, [fp, #-8]	@ float
	ldr	r0, [fp, #-16]
	bl	__aeabi_i2f
	mov	r3, r0
	ldr	r1, [fp, #-8]	@ float
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	ldr	r1, [fp, #-8]	@ float
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r1, #1073741824
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-12]	@ float
.L22:
	ldr	r1, [fp, #-8]	@ float
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L23
	ldr	r3, [fp, #-12]	@ float
.L21:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	-1082130432
	.size	squareroot, .-squareroot
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
