	.file	"486963.c"
	.intel_syntax noprefix
	.text
	.globl	head
	.bss
	.align 8
	.type	head, @object
	.size	head, 8
head:
	.zero	8
	.globl	newhead
	.align 8
	.type	newhead, @object
	.size	newhead, 8
newhead:
	.zero	8
	.globl	temp
	.align 8
	.type	temp, @object
	.size	temp, 8
temp:
	.zero	8
	.globl	newtemp
	.align 8
	.type	newtemp, @object
	.size	newtemp, 8
newtemp:
	.zero	8
	.globl	new
	.align 8
	.type	new, @object
	.size	new, 8
new:
	.zero	8
	.section	.rodata
.LC0:
	.string	"\nEnter String: "
.LC1:
	.string	"%s"
.LC2:
	.string	"Not palindrome"
.LC3:
	.string	"Palindrome"
	.text
	.globl	main
	.type	main, @function
main:
.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, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -40[rbp], 1
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -36[rbp], eax
	mov	DWORD PTR -44[rbp], 0
	jmp	.L2
.L5:
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR new[rip], rax
	mov	rax, QWORD PTR new[rip]
	mov	edx, DWORD PTR -44[rbp]
	movsx	rdx, edx
	movzx	edx, BYTE PTR -32[rbp+rdx]
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR new[rip]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR new[rip]
	mov	QWORD PTR 16[rax], 0
	mov	rax, QWORD PTR head[rip]
	test	rax, rax
	jne	.L3
	mov	rax, QWORD PTR new[rip]
	mov	QWORD PTR head[rip], rax
	mov	rax, QWORD PTR new[rip]
	mov	QWORD PTR temp[rip], rax
	jmp	.L4
.L3:
	mov	rax, QWORD PTR new[rip]
	mov	rdx, QWORD PTR temp[rip]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR temp[rip]
	mov	rdx, QWORD PTR new[rip]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR new[rip]
	mov	QWORD PTR temp[rip], rax
	mov	rax, QWORD PTR temp[rip]
	mov	QWORD PTR 8[rax], 0
.L4:
	add	DWORD PTR -44[rbp], 1
.L2:
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L5
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR newhead[rip], rax
	mov	rax, QWORD PTR temp[rip]
	mov	QWORD PTR newtemp[rip], rax
	mov	DWORD PTR -44[rbp], 0
	jmp	.L6
.L9:
	mov	rax, QWORD PTR newhead[rip]
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR newtemp[rip]
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	je	.L7
	mov	DWORD PTR -40[rbp], 0
	jmp	.L8
.L7:
	mov	DWORD PTR -40[rbp], 1
	mov	rax, QWORD PTR newhead[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR newhead[rip], rax
	mov	rax, QWORD PTR newtemp[rip]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR newtemp[rip], rax
	add	DWORD PTR -44[rbp], 1
.L6:
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L9
.L8:
	cmp	DWORD PTR -40[rbp], 0
	jne	.L10
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L11
.L10:
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L11:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"486963.c"
	.text
	.comm	head,4,4
	.comm	newhead,4,4
	.comm	temp,4,4
	.comm	newtemp,4,4
	.comm	new,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012Enter String: \000"
	.align	2
.LC1:
	.ascii	"%s\000"
	.align	2
.LC2:
	.ascii	"Not palindrome\000"
	.align	2
.LC3:
	.ascii	"Palindrome\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-36]
	ldr	r0, .L14+4
	bl	printf
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L14+8
	bl	__isoc99_scanf
	sub	r3, fp, #28
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L2
.L5:
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L14+12
	str	r2, [r3]
	ldr	r3, .L14+12
	ldr	r3, [r3]
	sub	r1, fp, #28
	ldr	r2, [fp, #-40]
	add	r2, r1, r2
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, .L14+12
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L14+12
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, .L14+16
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L3
	ldr	r3, .L14+12
	ldr	r3, [r3]
	ldr	r2, .L14+16
	str	r3, [r2]
	ldr	r3, .L14+12
	ldr	r3, [r3]
	ldr	r2, .L14+20
	str	r3, [r2]
	b	.L4
.L3:
	ldr	r3, .L14+12
	ldr	r3, [r3]
	ldr	r2, .L14+20
	ldr	r2, [r2]
	str	r2, [r3, #8]
	ldr	r3, .L14+20
	ldr	r3, [r3]
	ldr	r2, .L14+12
	ldr	r2, [r2]
	str	r2, [r3, #4]
	ldr	r3, .L14+12
	ldr	r3, [r3]
	ldr	r2, .L14+20
	str	r3, [r2]
	ldr	r3, .L14+20
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #4]
.L4:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L2:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L5
	ldr	r3, .L14+16
	ldr	r3, [r3]
	ldr	r2, .L14+24
	str	r3, [r2]
	ldr	r3, .L14+20
	ldr	r3, [r3]
	ldr	r2, .L14+28
	str	r3, [r2]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L6
.L9:
	ldr	r3, .L14+24
	ldr	r3, [r3]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, .L14+28
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L7
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L8
.L7:
	mov	r3, #1
	str	r3, [fp, #-36]
	ldr	r3, .L14+24
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L14+24
	str	r3, [r2]
	ldr	r3, .L14+28
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	ldr	r2, .L14+28
	str	r3, [r2]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L6:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L9
.L8:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L10
	ldr	r0, .L14+32
	bl	printf
	b	.L11
.L10:
	ldr	r0, .L14+36
	bl	printf
.L11:
	mov	r3, #0
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	new
	.word	head
	.word	temp
	.word	newhead
	.word	newtemp
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
