	.file	"800277.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Please enter the book title."
.LC1:
	.string	"Now enter the author."
.LC2:
	.string	"Now enter the value."
.LC3:
	.string	"%f"
.LC4:
	.string	"%s by %s: $%.2f\n"
.LC5:
	.string	"%s:\n \"%s\" ($%.2f)\n"
.LC6:
	.string	"Done."
	.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, 96
	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	esi, 41
	mov	rdi, rax
	call	s_gets
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rax, -96[rbp]
	add	rax, 41
	mov	esi, 31
	mov	rdi, rax
	call	s_gets
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rax, -96[rbp]
	add	rax, 72
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movss	xmm0, DWORD PTR -24[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movq	rdx, xmm1
	lea	rax, -96[rbp]
	lea	rcx, 41[rax]
	lea	rax, -96[rbp]
	movq	xmm0, rdx
	mov	rdx, rcx
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 1
	call	printf@PLT
	movss	xmm0, DWORD PTR -24[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rdx, xmm2
	lea	rax, -96[rbp]
	lea	rcx, -96[rbp]
	add	rcx, 41
	movq	xmm0, rdx
	mov	rdx, rax
	mov	rsi, rcx
	lea	rdi, .LC5[rip]
	mov	eax, 1
	call	printf@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	s_gets
	.type	s_gets, @function
s_gets:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	rdx, QWORD PTR stdin[rip]
	mov	ecx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	fgets@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	je	.L5
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 10
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L7
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], 0
	jmp	.L5
.L8:
	nop
.L7:
	call	getchar@PLT
	cmp	eax, 10
	jne	.L8
.L5:
	mov	rax, QWORD PTR -16[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	s_gets, .-s_gets
	.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	"800277.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Please enter the book title.\000"
	.align	2
.LC1:
	.ascii	"Now enter the author.\000"
	.align	2
.LC2:
	.ascii	"Now enter the value.\000"
	.align	2
.LC3:
	.ascii	"%f\000"
	.global	__aeabi_f2d
	.align	2
.LC4:
	.ascii	"%s by %s: $%.2f\012\000"
	.align	2
.LC5:
	.ascii	"%s:\012 \"%s\" ($%.2f)\012\000"
	.align	2
.LC6:
	.ascii	"Done.\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #88
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L4+4
	bl	puts
	sub	r3, fp, #84
	mov	r1, #41
	mov	r0, r3
	bl	s_gets
	ldr	r0, .L4+8
	bl	puts
	sub	r3, fp, #84
	add	r3, r3, #41
	mov	r1, #31
	mov	r0, r3
	bl	s_gets
	ldr	r0, .L4+12
	bl	puts
	sub	r3, fp, #84
	add	r3, r3, #72
	mov	r1, r3
	ldr	r0, .L4+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #84
	add	r0, r1, #41
	sub	r1, fp, #84
	stm	sp, {r2-r3}
	mov	r2, r0
	ldr	r0, .L4+20
	bl	printf
	ldr	r3, [fp, #-12]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	sub	r0, fp, #84
	sub	r1, fp, #84
	add	r1, r1, #41
	stm	sp, {r2-r3}
	mov	r2, r0
	ldr	r0, .L4+24
	bl	printf
	ldr	r0, .L4+28
	bl	puts
	mov	r3, #0
	ldr	r2, .L4
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC7
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.align	2
	.global	s_gets
	.syntax unified
	.arm
	.fpu softvfp
	.type	s_gets, %function
s_gets:
	@ 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]
	str	r1, [fp, #-20]
	ldr	r3, .L12
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	fgets
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L7
	mov	r1, #10
	ldr	r0, [fp, #-16]
	bl	strchr
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L9
	ldr	r3, [fp, #-8]
	mov	r2, #0
	strb	r2, [r3]
	b	.L7
.L10:
	nop
.L9:
	bl	getchar
	mov	r3, r0
	cmp	r3, #10
	bne	.L10
.L7:
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	stdin
	.size	s_gets, .-s_gets
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
