	.file	"86074339.c"
	.intel_syntax noprefix
	.text
	.globl	n
	.bss
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	m
	.align 4
	.type	m, @object
	.size	m, 4
m:
	.zero	4
	.globl	L
	.align 32
	.type	L, @object
	.size	L, 8100
L:
	.zero	8100
	.globl	str
	.align 32
	.type	str, @object
	.size	str, 1010
str:
	.zero	1010
	.globl	T
	.align 32
	.type	T, @object
	.size	T, 2025
T:
	.zero	2025
	.text
	.globl	Manacher
	.type	Manacher, @function
Manacher:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR n[rip], eax
	mov	eax, DWORD PTR n[rip]
	add	eax, eax
	add	eax, 3
	mov	DWORD PTR m[rip], eax
	mov	BYTE PTR T[rip], 64
	mov	eax, DWORD PTR m[rip]
	sub	eax, 1
	cdqe
	lea	rdx, T[rip]
	mov	BYTE PTR [rax+rdx], 36
	mov	eax, DWORD PTR m[rip]
	sub	eax, 2
	cdqe
	lea	rdx, T[rip]
	mov	BYTE PTR [rax+rdx], 35
	mov	eax, DWORD PTR m[rip]
	cdqe
	lea	rdx, T[rip]
	mov	BYTE PTR [rax+rdx], 0
	mov	DWORD PTR -16[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -16[rbp]
	add	eax, eax
	add	eax, 1
	cdqe
	lea	rdx, T[rip]
	mov	BYTE PTR [rax+rdx], 35
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -16[rbp]
	add	edx, 1
	lea	ecx, [rdx+rdx]
	movzx	edx, BYTE PTR [rax]
	movsx	rax, ecx
	lea	rcx, T[rip]
	mov	BYTE PTR [rax+rcx], dl
	add	DWORD PTR -16[rbp], 1
.L2:
	mov	eax, DWORD PTR n[rip]
	cmp	DWORD PTR -16[rbp], eax
	jl	.L3
	mov	DWORD PTR L[rip], 0
	mov	eax, DWORD PTR L[rip]
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -12[rbp], eax
	mov	DWORD PTR -16[rbp], 1
	jmp	.L4
.L9:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, L[rip]
	mov	DWORD PTR [rdx+rax], 0
	mov	eax, DWORD PTR -12[rbp]
	add	eax, eax
	sub	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -16[rbp]
	jle	.L6
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, DWORD PTR -16[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, L[rip]
	mov	eax, DWORD PTR [rcx+rax]
	cmp	edx, eax
	cmovle	eax, edx
	mov	edx, DWORD PTR -16[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, L[rip]
	mov	DWORD PTR [rcx+rdx], eax
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, L[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, L[rip]
	mov	DWORD PTR [rdx+rax], ecx
.L6:
	mov	eax, DWORD PTR -16[rbp]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, L[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	eax, ecx
	cdqe
	lea	rdx, T[rip]
	movzx	edx, BYTE PTR [rax+rdx]
	mov	eax, DWORD PTR -16[rbp]
	lea	esi, -1[rax]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, L[rip]
	mov	ecx, DWORD PTR [rcx+rax]
	mov	eax, esi
	sub	eax, ecx
	cdqe
	lea	rcx, T[rip]
	movzx	eax, BYTE PTR [rax+rcx]
	cmp	dl, al
	je	.L7
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, L[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -16[rbp]
	add	eax, edx
	cmp	DWORD PTR -8[rbp], eax
	jge	.L8
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, L[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -16[rbp]
	add	eax, edx
	mov	DWORD PTR -8[rbp], eax
.L8:
	add	DWORD PTR -16[rbp], 1
.L4:
	mov	eax, DWORD PTR m[rip]
	cmp	DWORD PTR -16[rbp], eax
	jl	.L9
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	Manacher, .-Manacher
	.section	.rodata
.LC0:
	.string	"%s"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	jmp	.L11
.L12:
	lea	rdi, str[rip]
	call	Manacher
.L11:
	lea	rsi, str[rip]
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	eax, -1
	jne	.L12
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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	"86074339.c"
	.text
	.comm	n,4,4
	.comm	m,4,4
	.comm	L,8100,4
	.comm	str,1010,4
	.comm	T,2025,4
	.align	2
	.global	Manacher
	.syntax unified
	.arm
	.fpu softvfp
	.type	Manacher, %function
Manacher:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	ldr	r0, [fp, #-24]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L10
	str	r2, [r3]
	ldr	r3, .L10
	ldr	r3, [r3]
	lsl	r3, r3, #1
	add	r3, r3, #3
	ldr	r2, .L10+4
	str	r3, [r2]
	ldr	r3, .L10+8
	mov	r2, #64
	strb	r2, [r3]
	ldr	r3, .L10+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L10+8
	mov	r1, #36
	strb	r1, [r2, r3]
	ldr	r3, .L10+4
	ldr	r3, [r3]
	sub	r3, r3, #2
	ldr	r2, .L10+8
	mov	r1, #35
	strb	r1, [r2, r3]
	ldr	r3, .L10+4
	ldr	r3, [r3]
	ldr	r2, .L10+8
	mov	r1, #0
	strb	r1, [r2, r3]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L2
.L3:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #1
	add	r3, r3, #1
	ldr	r2, .L10+8
	mov	r1, #35
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	lsl	r3, r3, #1
	ldrb	r1, [r2]	@ zero_extendqisi2
	ldr	r2, .L10+8
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L2:
	ldr	r3, .L10
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L3
	ldr	r3, .L10+12
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L10+12
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-16]
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L4
.L9:
	ldr	r2, .L10+12
	ldr	r3, [fp, #-20]
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
	ldr	r3, [fp, #-16]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-20]
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	ble	.L6
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	sub	r2, r2, r3
	ldr	r1, .L10+12
	ldr	r3, [fp, #-8]
	ldr	r3, [r1, r3, lsl #2]
	cmp	r2, r3
	movlt	r2, r2
	movge	r2, r3
	ldr	r1, .L10+12
	ldr	r3, [fp, #-20]
	str	r2, [r1, r3, lsl #2]
	b	.L6
.L7:
	ldr	r2, .L10+12
	ldr	r3, [fp, #-20]
	ldr	r3, [r2, r3, lsl #2]
	add	r2, r3, #1
	ldr	r1, .L10+12
	ldr	r3, [fp, #-20]
	str	r2, [r1, r3, lsl #2]
.L6:
	ldr	r3, [fp, #-20]
	add	r2, r3, #1
	ldr	r1, .L10+12
	ldr	r3, [fp, #-20]
	ldr	r3, [r1, r3, lsl #2]
	add	r3, r2, r3
	ldr	r2, .L10+8
	ldrb	r2, [r2, r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-20]
	sub	r1, r3, #1
	ldr	r0, .L10+12
	ldr	r3, [fp, #-20]
	ldr	r3, [r0, r3, lsl #2]
	sub	r3, r1, r3
	ldr	r1, .L10+8
	ldrb	r3, [r1, r3]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L7
	ldr	r2, .L10+12
	ldr	r3, [fp, #-20]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bge	.L8
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r2, .L10+12
	ldr	r3, [fp, #-20]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-12]
.L8:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L4:
	ldr	r3, .L10+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L9
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	n
	.word	m
	.word	T
	.word	L
	.size	Manacher, .-Manacher
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	b	.L13
.L14:
	ldr	r0, .L16
	bl	Manacher
.L13:
	ldr	r1, .L16
	ldr	r0, .L16+4
	bl	__isoc99_scanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L14
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	str
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
