	.file	"961352.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Please enter your input:"
.LC1:
	.string	"%d"
.LC2:
	.string	"Please enter your score:"
.LC3:
	.string	"Error"
.LC4:
	.string	"The rank for %d is: %c\n"
.LC5:
	.string	"Please enter three numbers:"
.LC6:
	.string	"%d %d %d"
.LC8:
	.string	"The minimal value is: %d\n"
.LC9:
	.string	"The maximal value is: %d\n"
.LC10:
	.string	"The average is: %.2f\n"
.LC11:
	.string	"Please enter three chars:"
.LC12:
	.string	"%c"
.LC13:
	.string	"%c %c %c"
.LC14:
	.string	"%c\n"
.LC15:
	.string	"%c\n%c\n%c\n"
.LC16:
	.string	"%c@%c@%c\n"
.LC17:
	.string	"%c#%c#%c\n"
	.align 8
.LC18:
	.string	"Please enter two course details:"
.LC19:
	.string	"%lf %lf %c"
	.align 8
.LC24:
	.string	"The final grade of %c is: %.2f\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
	add	rsp, -128
	mov	DWORD PTR -116[rbp], edi
	mov	QWORD PTR -128[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rax, -96[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -96[rbp]
	cmp	eax, 4
	ja	.L40
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L4[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L4[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L41-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
.L7:
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rax, -92[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -92[rbp]
	cmp	eax, 100
	jg	.L9
	mov	eax, DWORD PTR -92[rbp]
	test	eax, eax
	jns	.L10
.L9:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L17
.L10:
	mov	eax, DWORD PTR -92[rbp]
	cmp	eax, 89
	jle	.L12
	mov	BYTE PTR -97[rbp], 65
	jmp	.L13
.L12:
	mov	eax, DWORD PTR -92[rbp]
	cmp	eax, 79
	jle	.L14
	mov	BYTE PTR -97[rbp], 66
	jmp	.L13
.L14:
	mov	eax, DWORD PTR -92[rbp]
	cmp	eax, 69
	jle	.L15
	mov	BYTE PTR -97[rbp], 67
	jmp	.L13
.L15:
	mov	eax, DWORD PTR -92[rbp]
	cmp	eax, 59
	jle	.L16
	mov	BYTE PTR -97[rbp], 68
	jmp	.L13
.L16:
	mov	BYTE PTR -97[rbp], 69
.L13:
	movsx	edx, BYTE PTR -97[rbp]
	mov	eax, DWORD PTR -92[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L17
.L6:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rcx, -80[rbp]
	lea	rdx, -84[rbp]
	lea	rax, -88[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR -88[rbp]
	mov	eax, DWORD PTR -84[rbp]
	cmp	edx, eax
	jle	.L18
	mov	edx, DWORD PTR -88[rbp]
	mov	eax, DWORD PTR -80[rbp]
	cmp	edx, eax
	jle	.L19
	mov	eax, DWORD PTR -88[rbp]
	mov	DWORD PTR -72[rbp], eax
	jmp	.L20
.L19:
	mov	eax, DWORD PTR -80[rbp]
	mov	DWORD PTR -72[rbp], eax
	jmp	.L20
.L18:
	mov	edx, DWORD PTR -84[rbp]
	mov	eax, DWORD PTR -80[rbp]
	cmp	edx, eax
	jle	.L21
	mov	eax, DWORD PTR -84[rbp]
	mov	DWORD PTR -72[rbp], eax
	jmp	.L20
.L21:
	mov	eax, DWORD PTR -80[rbp]
	mov	DWORD PTR -72[rbp], eax
.L20:
	mov	edx, DWORD PTR -88[rbp]
	mov	eax, DWORD PTR -84[rbp]
	cmp	edx, eax
	jge	.L22
	mov	edx, DWORD PTR -88[rbp]
	mov	eax, DWORD PTR -80[rbp]
	cmp	edx, eax
	jge	.L23
	mov	eax, DWORD PTR -88[rbp]
	mov	DWORD PTR -76[rbp], eax
	jmp	.L24
.L23:
	mov	eax, DWORD PTR -80[rbp]
	mov	DWORD PTR -76[rbp], eax
	jmp	.L24
.L22:
	mov	edx, DWORD PTR -84[rbp]
	mov	eax, DWORD PTR -80[rbp]
	cmp	edx, eax
	jge	.L25
	mov	eax, DWORD PTR -84[rbp]
	mov	DWORD PTR -76[rbp], eax
	jmp	.L24
.L25:
	mov	eax, DWORD PTR -80[rbp]
	mov	DWORD PTR -76[rbp], eax
.L24:
	mov	edx, DWORD PTR -88[rbp]
	mov	eax, DWORD PTR -84[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -80[rbp]
	add	eax, edx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	QWORD PTR -16[rbp], xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	movsd	xmm1, QWORD PTR .LC7[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	mov	eax, DWORD PTR -76[rbp]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -72[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rax
	lea	rdi, .LC10[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L17
.L5:
	lea	rdi, .LC11[rip]
	call	puts@PLT
	lea	rax, -103[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rcx, -100[rbp]
	lea	rdx, -101[rbp]
	lea	rax, -102[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -102[rbp]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, BYTE PTR -100[rbp]
	movsx	ecx, al
	movzx	eax, BYTE PTR -101[rbp]
	movsx	edx, al
	movzx	eax, BYTE PTR -102[rbp]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, BYTE PTR -100[rbp]
	movsx	ecx, al
	movzx	eax, BYTE PTR -101[rbp]
	movsx	edx, al
	movzx	eax, BYTE PTR -102[rbp]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, BYTE PTR -100[rbp]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, BYTE PTR -102[rbp]
	movsx	ecx, al
	movzx	eax, BYTE PTR -101[rbp]
	movsx	edx, al
	movzx	eax, BYTE PTR -100[rbp]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L17
.L3:
	mov	DWORD PTR -68[rbp], 1
	lea	rdi, .LC18[rip]
	call	puts@PLT
	lea	rcx, -99[rbp]
	lea	rdx, -48[rbp]
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rcx, -98[rbp]
	lea	rdx, -40[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movsd	xmm0, QWORD PTR -64[rbp]
	comisd	xmm0, QWORD PTR .LC20[rip]
	ja	.L26
	movsd	xmm1, QWORD PTR -64[rbp]
	pxor	xmm0, xmm0
	comisd	xmm0, xmm1
	ja	.L26
	movsd	xmm0, QWORD PTR -48[rbp]
	comisd	xmm0, QWORD PTR .LC20[rip]
	ja	.L26
	movsd	xmm1, QWORD PTR -48[rbp]
	pxor	xmm0, xmm0
	comisd	xmm0, xmm1
	jbe	.L39
.L26:
	mov	DWORD PTR -68[rbp], 0
	jmp	.L29
.L39:
	movsd	xmm0, QWORD PTR -56[rbp]
	comisd	xmm0, QWORD PTR .LC20[rip]
	ja	.L30
	movsd	xmm1, QWORD PTR -56[rbp]
	pxor	xmm0, xmm0
	comisd	xmm0, xmm1
	ja	.L30
	movsd	xmm0, QWORD PTR -40[rbp]
	comisd	xmm0, QWORD PTR .LC20[rip]
	ja	.L30
	movsd	xmm1, QWORD PTR -40[rbp]
	pxor	xmm0, xmm0
	comisd	xmm0, xmm1
	jbe	.L29
.L30:
	mov	DWORD PTR -68[rbp], 0
.L29:
	mov	rax, QWORD PTR -64[rbp]
	movq	xmm0, rax
	call	sqrt@PLT
	movsd	xmm1, QWORD PTR .LC22[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -48[rbp]
	movsd	xmm2, QWORD PTR .LC23[rip]
	divsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	mov	rax, QWORD PTR -56[rbp]
	movq	xmm0, rax
	call	sqrt@PLT
	movsd	xmm1, QWORD PTR .LC22[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	movsd	xmm2, QWORD PTR .LC23[rip]
	divsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	xmm0, QWORD PTR -32[rbp]
	comisd	xmm0, QWORD PTR .LC20[rip]
	ja	.L32
	pxor	xmm0, xmm0
	comisd	xmm0, QWORD PTR -32[rbp]
	ja	.L32
	movsd	xmm0, QWORD PTR -24[rbp]
	comisd	xmm0, QWORD PTR .LC20[rip]
	ja	.L32
	pxor	xmm0, xmm0
	comisd	xmm0, QWORD PTR -24[rbp]
	jbe	.L33
.L32:
	mov	DWORD PTR -68[rbp], 0
.L33:
	cmp	DWORD PTR -68[rbp], 0
	je	.L35
	movzx	eax, BYTE PTR -99[rbp]
	movsx	eax, al
	mov	rdx, QWORD PTR -32[rbp]
	movq	xmm0, rdx
	mov	esi, eax
	lea	rdi, .LC24[rip]
	mov	eax, 1
	call	printf@PLT
	movzx	eax, BYTE PTR -98[rbp]
	movsx	eax, al
	mov	rdx, QWORD PTR -24[rbp]
	movq	xmm0, rdx
	mov	esi, eax
	lea	rdi, .LC24[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L17
.L35:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L17
.L40:
	nop
	jmp	.L17
.L41:
	nop
.L17:
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L38
	call	__stack_chk_fail@PLT
.L38:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC7:
	.long	0
	.long	1074266112
	.align 8
.LC20:
	.long	0
	.long	1079574528
	.align 8
.LC22:
	.long	0
	.long	1075838976
	.align 8
.LC23:
	.long	0
	.long	1076101120
	.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	"961352.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Please enter your input:\000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"Please enter your score:\000"
	.align	2
.LC3:
	.ascii	"Error\000"
	.align	2
.LC4:
	.ascii	"The rank for %d is: %c\012\000"
	.align	2
.LC5:
	.ascii	"Please enter three numbers:\000"
	.align	2
.LC6:
	.ascii	"%d %d %d\000"
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.align	2
.LC7:
	.ascii	"The minimal value is: %d\012\000"
	.align	2
.LC8:
	.ascii	"The maximal value is: %d\012\000"
	.align	2
.LC9:
	.ascii	"The average is: %.2f\012\000"
	.align	2
.LC10:
	.ascii	"Please enter three chars:\000"
	.align	2
.LC11:
	.ascii	"%c\000"
	.align	2
.LC12:
	.ascii	"%c %c %c\000"
	.align	2
.LC13:
	.ascii	"%c\012\000"
	.align	2
.LC14:
	.ascii	"%c\012%c\012%c\012\000"
	.align	2
.LC15:
	.ascii	"%c@%c@%c\012\000"
	.align	2
.LC16:
	.ascii	"%c#%c#%c\012\000"
	.align	2
.LC17:
	.ascii	"Please enter two course details:\000"
	.align	2
.LC18:
	.ascii	"%lf %lf %c\000"
	.global	__aeabi_dcmpgt
	.global	__aeabi_dcmplt
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.align	2
.LC19:
	.ascii	"The final grade of %c is: %.2f\012\000"
	.align	2
.LC20:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #112
	str	r0, [fp, #-120]
	str	r1, [fp, #-124]
	ldr	r3, .L41
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r0, .L41+4
	bl	puts
	sub	r3, fp, #108
	mov	r1, r3
	ldr	r0, .L41+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-108]
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L40
.L4:
	.word	.L40
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L7:
	ldr	r0, .L41+12
	bl	puts
	sub	r3, fp, #104
	mov	r1, r3
	ldr	r0, .L41+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-104]
	cmp	r3, #100
	bgt	.L9
	ldr	r3, [fp, #-104]
	cmp	r3, #0
	bge	.L10
.L9:
	ldr	r0, .L41+16
	bl	puts
	b	.L17
.L10:
	ldr	r3, [fp, #-104]
	cmp	r3, #89
	ble	.L12
	mov	r3, #65
	strb	r3, [fp, #-109]
	b	.L13
.L12:
	ldr	r3, [fp, #-104]
	cmp	r3, #79
	ble	.L14
	mov	r3, #66
	strb	r3, [fp, #-109]
	b	.L13
.L14:
	ldr	r3, [fp, #-104]
	cmp	r3, #69
	ble	.L15
	mov	r3, #67
	strb	r3, [fp, #-109]
	b	.L13
.L15:
	ldr	r3, [fp, #-104]
	cmp	r3, #59
	ble	.L16
	mov	r3, #68
	strb	r3, [fp, #-109]
	b	.L13
.L16:
	mov	r3, #69
	strb	r3, [fp, #-109]
.L13:
	ldr	r3, [fp, #-104]
	ldrb	r2, [fp, #-109]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L41+20
	bl	printf
	b	.L17
.L6:
	ldr	r0, .L41+24
	bl	puts
	sub	r3, fp, #92
	sub	r2, fp, #96
	sub	r1, fp, #100
	ldr	r0, .L41+28
	bl	__isoc99_scanf
	ldr	r2, [fp, #-100]
	ldr	r3, [fp, #-96]
	cmp	r2, r3
	ble	.L18
	ldr	r2, [fp, #-100]
	ldr	r3, [fp, #-92]
	cmp	r2, r3
	ble	.L19
	ldr	r3, [fp, #-100]
	str	r3, [fp, #-84]
	b	.L20
.L19:
	ldr	r3, [fp, #-92]
	str	r3, [fp, #-84]
	b	.L20
.L18:
	ldr	r2, [fp, #-96]
	ldr	r3, [fp, #-92]
	cmp	r2, r3
	ble	.L21
	ldr	r3, [fp, #-96]
	str	r3, [fp, #-84]
	b	.L20
.L21:
	ldr	r3, [fp, #-92]
	str	r3, [fp, #-84]
.L20:
	ldr	r2, [fp, #-100]
	ldr	r3, [fp, #-96]
	cmp	r2, r3
	bge	.L22
	ldr	r2, [fp, #-100]
	ldr	r3, [fp, #-92]
	cmp	r2, r3
	bge	.L23
	ldr	r3, [fp, #-100]
	str	r3, [fp, #-88]
	b	.L24
.L23:
	ldr	r3, [fp, #-92]
	str	r3, [fp, #-88]
	b	.L24
.L22:
	ldr	r2, [fp, #-96]
	ldr	r3, [fp, #-92]
	cmp	r2, r3
	bge	.L25
	ldr	r3, [fp, #-96]
	str	r3, [fp, #-88]
	b	.L24
.L25:
	ldr	r3, [fp, #-92]
	str	r3, [fp, #-88]
.L24:
	ldr	r2, [fp, #-100]
	ldr	r3, [fp, #-96]
	add	r2, r2, r3
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r2, #0
	ldr	r3, .L41+32
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r1, [fp, #-88]
	ldr	r0, .L41+36
	bl	printf
	ldr	r1, [fp, #-84]
	ldr	r0, .L41+40
	bl	printf
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	ldr	r0, .L41+44
	bl	printf
	b	.L17
.L5:
	ldr	r0, .L41+48
	bl	puts
	sub	r3, fp, #115
	mov	r1, r3
	ldr	r0, .L41+52
	bl	__isoc99_scanf
	sub	r3, fp, #112
	sub	r2, fp, #113
	sub	r1, fp, #114
	ldr	r0, .L41+56
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-114]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L41+60
	bl	printf
	ldrb	r3, [fp, #-114]	@ zero_extendqisi2
	mov	r1, r3
	ldrb	r3, [fp, #-113]	@ zero_extendqisi2
	mov	r2, r3
	ldrb	r3, [fp, #-112]	@ zero_extendqisi2
	ldr	r0, .L41+64
	bl	printf
	ldrb	r3, [fp, #-114]	@ zero_extendqisi2
	mov	r1, r3
	ldrb	r3, [fp, #-113]	@ zero_extendqisi2
	mov	r2, r3
	ldrb	r3, [fp, #-112]	@ zero_extendqisi2
	ldr	r0, .L41+68
	bl	printf
	ldrb	r3, [fp, #-112]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L41+60
	bl	printf
	ldrb	r3, [fp, #-112]	@ zero_extendqisi2
	mov	r1, r3
	ldrb	r3, [fp, #-113]	@ zero_extendqisi2
	mov	r2, r3
	ldrb	r3, [fp, #-114]	@ zero_extendqisi2
	ldr	r0, .L41+72
	bl	printf
	b	.L17
.L3:
	mov	r3, #1
	str	r3, [fp, #-80]
	ldr	r0, .L41+76
	bl	puts
	sub	r3, fp, #111
	sub	r2, fp, #60
	sub	r1, fp, #76
	ldr	r0, .L41+80
	bl	__isoc99_scanf
	sub	r3, fp, #110
	sub	r2, fp, #52
	sub	r1, fp, #68
	ldr	r0, .L41+80
	bl	__isoc99_scanf
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	mov	r2, #0
	ldr	r3, .L41+84
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L26
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L26
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	mov	r2, #0
	ldr	r3, .L41+84
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L26
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L39
.L26:
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L29
.L39:
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	mov	r2, #0
	ldr	r3, .L41+84
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L30
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L30
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	mov	r2, #0
	ldr	r3, .L41+84
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L30
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L29
.L30:
	mov	r3, #0
	str	r3, [fp, #-80]
.L29:
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r2, #0
	ldr	r3, .L41+88
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	mov	r2, #0
	ldr	r3, .L41+92
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r2, #0
	ldr	r3, .L41+88
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	mov	r2, #0
	ldr	r3, .L41+92
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	mov	r2, #0
	ldr	r3, .L41+84
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L32
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L32
	mov	r2, #0
	ldr	r3, .L41+84
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L32
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L33
.L32:
	mov	r3, #0
	str	r3, [fp, #-80]
.L33:
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	beq	.L35
	ldrb	r3, [fp, #-111]	@ zero_extendqisi2
	mov	r1, r3
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	ldr	r0, .L41+96
	bl	printf
	ldrb	r3, [fp, #-110]	@ zero_extendqisi2
	mov	r1, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	ldr	r0, .L41+96
	bl	printf
	b	.L17
.L35:
	ldr	r0, .L41+16
	bl	puts
	b	.L17
.L40:
	nop
.L17:
	mov	r3, #0
	ldr	r2, .L41
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L38
	bl	__stack_chk_fail
.L38:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L42:
	.align	2
.L41:
	.word	.LC20
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	1074266112
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	1079574528
	.word	1075838976
	.word	1076101120
	.word	.LC19
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
