	.file	"fgets.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Enter text: "
.LC1:
	.string	"You entered: %s"
	.section	.text.startup,"ax",@progbits
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	lea	rdi, .LC0[rip]
	xor	eax, eax
	sub	rsp, 64
	.cfi_def_cfa_offset 80
	call	printf@PLT
	lea	rbx, 14[rsp]
	mov	esi, 50
	mov	rdx, QWORD PTR stdin[rip]
	mov	rdi, rbx
	call	fgets@PLT
	test	rax, rax
	je	.L2
	mov	rsi, rbx
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	printf@PLT
.L2:
	add	rsp, 64
	.cfi_def_cfa_offset 16
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.ident	"GCC: (Debian 14.2.0-19) 14.2.0"
	.section	.note.GNU-stack,"",@progbits
