	.file	"292451.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"\nHi!  What is your name?  "
	.align 8
.LC1:
	.string	"Your name spelled backwards is "
.LC2:
	.string	"."
.LC3:
	.string	"Nice to meet you "
.LC4:
	.string	"\n%s%s%s\n%s"
.LC5:
	.string	"Have a nice day!"
	.align 8
.LC6:
	.string	"and the letters in your name sum to "
.LC7:
	.string	"\n%s%d%s\n\n%s\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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -116[rbp], 0
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -120[rbp], 0
	jmp	.L2
.L4:
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	movzx	edx, BYTE PTR -121[rbp]
	mov	BYTE PTR -112[rbp+rax], dl
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movsx	rax, BYTE PTR -121[rbp]
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 1024
	test	eax, eax
	je	.L3
	movsx	eax, BYTE PTR -121[rbp]
	add	DWORD PTR -116[rbp], eax
.L3:
	add	DWORD PTR -120[rbp], 1
.L2:
	call	getchar@PLT
	mov	BYTE PTR -121[rbp], al
	cmp	BYTE PTR -121[rbp], 10
	jne	.L4
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	mov	BYTE PTR -112[rbp+rax], 0
	lea	rax, -112[rbp]
	lea	r8, .LC1[rip]
	lea	rcx, .LC2[rip]
	mov	rdx, rax
	lea	rsi, .LC3[rip]
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	sub	DWORD PTR -120[rbp], 1
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	movzx	eax, BYTE PTR -112[rbp+rax]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
	sub	DWORD PTR -120[rbp], 1
.L5:
	cmp	DWORD PTR -120[rbp], 0
	jns	.L6
	mov	eax, DWORD PTR -116[rbp]
	lea	r8, .LC5[rip]
	lea	rcx, .LC2[rip]
	mov	edx, eax
	lea	rsi, .LC6[rip]
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.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	"292451.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012Hi!  What is your name?  \000"
	.align	2
.LC1:
	.ascii	".\000"
	.align	2
.LC2:
	.ascii	"Nice to meet you \000"
	.align	2
.LC3:
	.ascii	"\012%s%s%s\012%s\000"
	.align	2
.LC4:
	.ascii	"Your name spelled backwards is \000"
	.align	2
.LC5:
	.ascii	"and the letters in your name sum to \000"
	.align	2
.LC6:
	.ascii	"\012%s%d%s\012\012%s\012\000"
	.align	2
.LC7:
	.ascii	"Have a nice day!\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #128
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-112]
	ldr	r0, .L9+4
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-116]
	b	.L2
.L4:
	sub	r2, fp, #108
	ldr	r3, [fp, #-116]
	add	r3, r2, r3
	ldrb	r2, [fp, #-117]
	strb	r2, [r3]
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-117]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #1024
	cmp	r3, #0
	beq	.L3
	ldrb	r3, [fp, #-117]	@ zero_extendqisi2
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	str	r3, [fp, #-112]
.L3:
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
.L2:
	bl	getchar
	mov	r3, r0
	strb	r3, [fp, #-117]
	ldrb	r3, [fp, #-117]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L4
	sub	r2, fp, #108
	ldr	r3, [fp, #-116]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	sub	r2, fp, #108
	ldr	r3, .L9+8
	str	r3, [sp]
	ldr	r3, .L9+12
	ldr	r1, .L9+16
	ldr	r0, .L9+20
	bl	printf
	ldr	r3, [fp, #-116]
	sub	r3, r3, #1
	str	r3, [fp, #-116]
	b	.L5
.L6:
	sub	r2, fp, #108
	ldr	r3, [fp, #-116]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	ldr	r3, [fp, #-116]
	sub	r3, r3, #1
	str	r3, [fp, #-116]
.L5:
	ldr	r3, [fp, #-116]
	cmp	r3, #0
	bge	.L6
	ldr	r3, .L9+24
	str	r3, [sp]
	ldr	r3, .L9+12
	ldr	r2, [fp, #-112]
	ldr	r1, .L9+28
	ldr	r0, .L9+32
	bl	printf
	mov	r3, #0
	ldr	r2, .L9
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC8
	.word	.LC0
	.word	.LC4
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC7
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
