	.file	"25337.c"
	.intel_syntax noprefix
	.text
	.globl	center
	.type	center, @function
center:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	eax, 72
	sub	rax, rdx
	shr	rax
	mov	QWORD PTR -8[rbp], rax
	mov	QWORD PTR -16[rbp], 0
	jmp	.L2
.L3:
	mov	edi, 32
	call	putchar@PLT
	add	QWORD PTR -16[rbp], 1
.L2:
	mov	rax, QWORD PTR -16[rbp]
	cmp	rax, QWORD PTR -8[rbp]
	jb	.L3
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	center, .-center
	.section	.rodata
.LC0:
	.string	"CHEMIST"
	.align 8
.LC1:
	.string	"Creative Computing  Morristown, New Jersey"
.LC2:
	.string	"\n\n"
	.align 8
.LC3:
	.string	"The fictitious checmical kryptocyanic acid can only be"
	.align 8
.LC4:
	.string	"diluted by the ratio of 7 parts water to 3 parts acid."
	.align 8
.LC5:
	.string	"If any other ratio is attempted, the acid becomes unstable"
	.align 8
.LC6:
	.string	"and soon explodes.  Given the amount of acid, you must"
	.align 8
.LC7:
	.string	"decide who much water to add for dilution.  If you miss"
.LC8:
	.string	"you face the consequences.\n"
	.align 8
.LC11:
	.string	"%d liters of kryptocyanic acid.  How much water? "
	.align 8
.LC14:
	.string	" Sizzle!  You have just been desalinated into a blob"
.LC15:
	.string	" of quivering protoplasm!"
	.align 8
.LC16:
	.string	" However, you may try again with another life.\n"
	.align 8
.LC17:
	.string	" Your 9 lives are used, but you will be long remembered for"
	.align 8
.LC18:
	.string	" your contributions to the field of comic book chemistry."
	.align 8
.LC19:
	.string	" Good job! You may breathe now, but don't inhale the fumes!\n"
	.text
	.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, 2080
	mov	DWORD PTR -2068[rbp], edi
	mov	QWORD PTR -2080[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	center
	lea	rdi, .LC1[rip]
	call	center
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	QWORD PTR -2048[rbp], 0
.L11:
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, 1374389535
	shr	rdx, 32
	sar	edx, 4
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	DWORD PTR -2052[rbp], edx
	mov	edx, DWORD PTR -2052[rbp]
	imul	edx, edx, 50
	sub	eax, edx
	mov	DWORD PTR -2052[rbp], eax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -2052[rbp]
	movsd	xmm0, QWORD PTR .LC9[rip]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC10[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -2040[rbp], xmm0
	mov	eax, DWORD PTR -2052[rbp]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -2016[rbp]
	mov	esi, 2000
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L5
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L12
	jmp	.L14
.L5:
	lea	rax, -2016[rbp]
	mov	rdi, rax
	call	atof@PLT
	movq	rax, xmm0
	mov	QWORD PTR -2032[rbp], rax
	movsd	xmm0, QWORD PTR -2040[rbp]
	subsd	xmm0, QWORD PTR -2032[rbp]
	movq	xmm1, QWORD PTR .LC12[rip]
	andpd	xmm0, xmm1
	movsd	QWORD PTR -2024[rbp], xmm0
	movsd	xmm0, QWORD PTR -2040[rbp]
	movsd	xmm2, QWORD PTR .LC13[rip]
	movapd	xmm1, xmm0
	divsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR -2024[rbp]
	comisd	xmm0, xmm1
	jbe	.L15
	lea	rdi, .LC14[rip]
	call	puts@PLT
	lea	rdi, .LC15[rip]
	call	puts@PLT
	add	QWORD PTR -2048[rbp], 1
	cmp	QWORD PTR -2048[rbp], 8
	ja	.L9
	lea	rdi, .LC16[rip]
	call	puts@PLT
	jmp	.L11
.L9:
	lea	rdi, .LC17[rip]
	call	puts@PLT
	lea	rdi, .LC18[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L15:
	lea	rdi, .LC19[rip]
	call	puts@PLT
	jmp	.L11
.L14:
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC9:
	.long	0
	.long	1075576832
	.align 8
.LC10:
	.long	0
	.long	1074266112
	.align 16
.LC12:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.align 8
.LC13:
	.long	0
	.long	1077149696
	.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	"25337.c"
	.text
	.align	2
	.global	center
	.syntax unified
	.arm
	.fpu softvfp
	.type	center, %function
center:
	@ 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	r0, [fp, #-16]
	bl	strlen
	mov	r3, r0
	rsb	r3, r3, #72
	lsr	r3, r3, #1
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L2
.L3:
	mov	r0, #32
	bl	putchar
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bcc	.L3
	ldr	r0, [fp, #-16]
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	center, .-center
	.section	.rodata
	.align	2
.LC0:
	.ascii	"CHEMIST\000"
	.align	2
.LC1:
	.ascii	"Creative Computing  Morristown, New Jersey\000"
	.align	2
.LC2:
	.ascii	"\012\012\000"
	.align	2
.LC3:
	.ascii	"The fictitious checmical kryptocyanic acid can only"
	.ascii	" be\000"
	.align	2
.LC4:
	.ascii	"diluted by the ratio of 7 parts water to 3 parts ac"
	.ascii	"id.\000"
	.align	2
.LC5:
	.ascii	"If any other ratio is attempted, the acid becomes u"
	.ascii	"nstable\000"
	.align	2
.LC6:
	.ascii	"and soon explodes.  Given the amount of acid, you m"
	.ascii	"ust\000"
	.align	2
.LC7:
	.ascii	"decide who much water to add for dilution.  If you "
	.ascii	"miss\000"
	.align	2
.LC8:
	.ascii	"you face the consequences.\012\000"
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.global	__aeabi_ddiv
	.align	2
.LC9:
	.ascii	"%d liters of kryptocyanic acid.  How much water? \000"
	.global	__aeabi_dsub
	.global	__aeabi_dcmpgt
	.align	2
.LC10:
	.ascii	" Sizzle!  You have just been desalinated into a blo"
	.ascii	"b\000"
	.align	2
.LC11:
	.ascii	" of quivering protoplasm!\000"
	.align	2
.LC12:
	.ascii	" However, you may try again with another life.\012\000"
	.align	2
.LC13:
	.ascii	" Your 9 lives are used, but you will be long rememb"
	.ascii	"ered for\000"
	.align	2
.LC14:
	.ascii	" your contributions to the field of comic book chem"
	.ascii	"istry.\000"
	.align	2
.LC15:
	.ascii	" Good job! You may breathe now, but don't inhale th"
	.ascii	"e fumes!\012\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 2048
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #2048
	str	r0, [fp, #-2048]
	str	r1, [fp, #-2052]
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L16+4
	bl	center
	ldr	r0, .L16+8
	bl	center
	ldr	r0, .L16+12
	bl	puts
	ldr	r0, .L16+16
	bl	puts
	ldr	r0, .L16+20
	bl	puts
	ldr	r0, .L16+24
	bl	puts
	ldr	r0, .L16+28
	bl	puts
	ldr	r0, .L16+32
	bl	puts
	ldr	r0, .L16+36
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-2044]
.L11:
	bl	rand
	mov	r2, r0
	ldr	r3, .L16+40
	smull	r1, r3, r2, r3
	asr	r1, r3, #4
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #1
	sub	r3, r2, r3
	str	r3, [fp, #-2040]
	ldr	r0, [fp, #-2040]
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L16+44
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L16+48
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-2036]
	str	r3, [fp, #-2032]
	ldr	r1, [fp, #-2040]
	ldr	r0, .L16+52
	bl	printf
	ldr	r3, .L16+56
	ldr	r2, [r3]
	sub	r3, fp, #2000
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, #2000
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	mov	r3, #0
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	b	.L14
.L5:
	sub	r3, fp, #2000
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	atof
	str	r0, [fp, #-2028]
	str	r1, [fp, #-2024]
	ldr	r2, [fp, #-2028]
	ldr	r3, [fp, #-2024]
	ldr	r0, [fp, #-2036]
	ldr	r1, [fp, #-2032]
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r1, r2
	str	r1, [fp, #-2020]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-2016]
	mov	r2, #0
	ldr	r3, .L16+60
	ldr	r0, [fp, #-2036]
	ldr	r1, [fp, #-2032]
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [fp, #-2020]
	ldr	r1, [fp, #-2016]
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L15
	ldr	r0, .L16+64
	bl	puts
	ldr	r0, .L16+68
	bl	puts
	ldr	r3, [fp, #-2044]
	add	r3, r3, #1
	str	r3, [fp, #-2044]
	ldr	r3, [fp, #-2044]
	cmp	r3, #8
	bhi	.L9
	ldr	r0, .L16+72
	bl	puts
	b	.L11
.L9:
	ldr	r0, .L16+76
	bl	puts
	ldr	r0, .L16+80
	bl	puts
	mov	r0, #1
	bl	exit
.L15:
	ldr	r0, .L16+84
	bl	puts
	b	.L11
.L14:
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC16
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	1374389535
	.word	1075576832
	.word	1074266112
	.word	.LC9
	.word	stdin
	.word	1077149696
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
