	.file	"154830470.c"
	.intel_syntax noprefix
	.text
	.globl	s_temp
	.bss
	.align 32
	.type	s_temp, @object
	.size	s_temp, 1001
s_temp:
	.zero	1001
	.text
	.globl	isPalindrome
	.type	isPalindrome, @function
isPalindrome:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -8[rbp], 0
	jmp	.L2
.L5:
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	sub	rax, QWORD PTR -8[rbp]
	lea	rcx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	je	.L3
	mov	eax, 0
	jmp	.L4
.L3:
	add	QWORD PTR -8[rbp], 1
.L2:
	mov	rax, QWORD PTR -40[rbp]
	shr	rax
	cmp	QWORD PTR -8[rbp], rax
	jne	.L5
	mov	eax, 1
.L4:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	isPalindrome, .-isPalindrome
	.section	.rodata
.LC0:
	.string	""
	.text
	.globl	longestPalindrome
	.type	longestPalindrome, @function
longestPalindrome:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 1
	ja	.L7
	mov	rax, QWORD PTR -40[rbp]
	jmp	.L8
.L7:
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L9
.L13:
	mov	QWORD PTR -16[rbp], 0
	jmp	.L10
.L12:
	mov	rdx, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	isPalindrome
	test	eax, eax
	je	.L11
	mov	rax, QWORD PTR -16[rbp]
	add	QWORD PTR -40[rbp], rax
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	lea	rdi, s_temp[rip]
	call	strncpy@PLT
	lea	rdx, s_temp[rip]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	lea	rax, s_temp[rip]
	jmp	.L8
.L11:
	add	QWORD PTR -16[rbp], 1
.L10:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR -24[rbp]
	add	rax, 1
	cmp	QWORD PTR -16[rbp], rax
	jne	.L12
	sub	QWORD PTR -24[rbp], 1
.L9:
	cmp	QWORD PTR -24[rbp], 0
	jne	.L13
	lea	rax, .LC0[rip]
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	longestPalindrome, .-longestPalindrome
	.section	.rodata
.LC1:
	.string	"a"
.LC2:
	.string	"aa"
.LC3:
	.string	"aba"
.LC4:
	.string	"abb"
.LC5:
	.string	"abba"
.LC6:
	.string	"babad"
.LC7:
	.string	"cbbd"
.LC8:
	.string	"cccbbbdddd"
	.align 8
.LC9:
	.ascii	"mwwfjysbkebpdjyabcfkgprtxpwvhglddhmvaprcvrnuxifcrjpdgnktvmgg"
	.ascii	"mguiiquibmtviwjsqwtchkqgxqwljouunurcdtoeygdqmijdympcamawnlzs"
	.ascii	"xucbpqtuwkjfqnzvvvigifyvymfhtppqamlgjozvebygkxawcbwtouaankxs"
	.ascii	"jrteeijpuzbsfsjwxejtfrancoekxgfyangvzjkdskhssdjvkvdskjtiybqg"
	.ascii	"smpxmghvvicmjxqtxdowkjhmlnfcpbtwvtmjhnzntxyfxyinmqzivxkwigko"
	.ascii	"ndghzmbioelmepgfttczskvqfejfiibxjcuyevvpawybcvvxtxycrfbcnpvk"
	.ascii	"zryrqujqaqhoagdmofgdcbhvlwgwmsmhomknbanvntspvvhvccedzzngdywu"
	.ascii	"ccxrnzbtchisdwsrfdqpcwknwqvalczznilujdrlevncdsyuhnpmheukotte"
	.ascii	"wtkuzhookcsvctsqwwdvfjxifpfsqxpmpwospndozcdbfhselfdltmpujlnh"
	.ascii	"fzjcgnbgprvopxklmlgrlbldzpn"
	.string	"khvhkybpgtzipzotrgzkdrqntnuaqyaplcybqyvidwcfcuxinchretgvfaepmgilbrtxgqoddzyjmmupkjqcypdpfhpkhitfegickfszermqhkwmffdizeoprmnlzbjcwfnqyvmhtdekmfhqwaftlyydirjnojbrieutjhymfpflsfemkqsoewbojwluqdckmzixwxufrdpqnwvwpbavosnvjqxqbosctttxvsbmqpnolfmapywtpfaotzmyjwnd"
	.align 8
.LC10:
	.ascii	"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
	.ascii	"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
	.ascii	"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
	.ascii	"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
	.ascii	"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
	.ascii	"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
	.ascii	"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
	.ascii	"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
	.ascii	"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
	.ascii	"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
	.ascii	"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
	.ascii	"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
	.ascii	"aaaaaaaaaaaaaaaaaaaaaaa"
	.string	"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC0[rip]
	call	longestPalindrome
	mov	rdi, rax
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	longestPalindrome
	mov	rdi, rax
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	longestPalindrome
	mov	rdi, rax
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	longestPalindrome
	mov	rdi, rax
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	longestPalindrome
	mov	rdi, rax
	call	puts@PLT
	lea	rdi, .LC5[rip]
	call	longestPalindrome
	mov	rdi, rax
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	longestPalindrome
	mov	rdi, rax
	call	puts@PLT
	lea	rdi, .LC7[rip]
	call	longestPalindrome
	mov	rdi, rax
	call	puts@PLT
	lea	rdi, .LC8[rip]
	call	longestPalindrome
	mov	rdi, rax
	call	puts@PLT
	lea	rdi, .LC9[rip]
	call	longestPalindrome
	mov	rdi, rax
	call	puts@PLT
	lea	rdi, .LC10[rip]
	call	longestPalindrome
	mov	rdi, rax
	call	puts@PLT
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.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	"154830470.c"
	.text
	.comm	s_temp,1001,4
	.align	2
	.global	isPalindrome
	.syntax unified
	.arm
	.fpu softvfp
	.type	isPalindrome, %function
isPalindrome:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L5:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r1, [fp, #-20]
	ldr	r3, [fp, #-24]
	add	r1, r1, r3
	ldr	r3, [fp, #-8]
	sub	r3, r1, r3
	sub	r3, r3, #1
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L3
	mov	r3, #0
	b	.L4
.L3:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r3, [fp, #-24]
	lsr	r3, r3, #1
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bne	.L5
	mov	r3, #1
.L4:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	isPalindrome, .-isPalindrome
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\000"
	.text
	.align	2
	.global	longestPalindrome
	.syntax unified
	.arm
	.fpu softvfp
	.type	longestPalindrome, %function
longestPalindrome:
	@ 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
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bhi	.L7
	ldr	r3, [fp, #-24]
	b	.L8
.L7:
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-16]
	b	.L9
.L13:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L10
.L12:
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-24]
	bl	isPalindrome
	mov	r3, r0
	cmp	r3, #0
	beq	.L11
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-24]
	ldr	r0, .L14
	bl	strncpy
	ldr	r2, .L14
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L14
	b	.L8
.L11:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L10:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	add	r3, r3, #1
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bne	.L12
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
.L9:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L13
	ldr	r3, .L14+4
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	s_temp
	.word	.LC0
	.size	longestPalindrome, .-longestPalindrome
	.section	.rodata
	.align	2
.LC1:
	.ascii	"a\000"
	.align	2
.LC2:
	.ascii	"aa\000"
	.align	2
.LC3:
	.ascii	"aba\000"
	.align	2
.LC4:
	.ascii	"abb\000"
	.align	2
.LC5:
	.ascii	"abba\000"
	.align	2
.LC6:
	.ascii	"babad\000"
	.align	2
.LC7:
	.ascii	"cbbd\000"
	.align	2
.LC8:
	.ascii	"cccbbbdddd\000"
	.align	2
.LC9:
	.ascii	"mwwfjysbkebpdjyabcfkgprtxpwvhglddhmvaprcvrnuxifcrjp"
	.ascii	"dgnktvmggmguiiquibmtviwjsqwtchkqgxqwljouunurcdtoeyg"
	.ascii	"dqmijdympcamawnlzsxucbpqtuwkjfqnzvvvigifyvymfhtppqa"
	.ascii	"mlgjozvebygkxawcbwtouaankxsjrteeijpuzbsfsjwxejtfran"
	.ascii	"coekxgfyangvzjkdskhssdjvkvdskjtiybqgsmpxmghvvicmjxq"
	.ascii	"txdowkjhmlnfcpbtwvtmjhnzntxyfxyinmqzivxkwigkondghzm"
	.ascii	"bioelmepgfttczskvqfejfiibxjcuyevvpawybcvvxtxycrfbcn"
	.ascii	"pvkzryrqujqaqhoagdmofgdcbhvlwgwmsmhomknbanvntspvvhv"
	.ascii	"ccedzzngdywuccxrnzbtchisdwsrfdqpcwknwqvalczznilujdr"
	.ascii	"levncdsyuhnpmheukottewtkuzhookcsvctsqwwdvfjxifpfsqx"
	.ascii	"pmpwospndozcdbfhselfdltmpujlnhfzjcgnbgprvopxklmlgrl"
	.ascii	"bldzpnkhvhkybpgtzipzotrgzkdrqntnuaqyaplcybqyvidwcfc"
	.ascii	"uxinchretgvfaepmgilbrtxgqoddzyjmmupkjqcypdpfhpkhitf"
	.ascii	"egickfszermqhkwmffdizeoprmnlzbjcwfnqyvmhtdekmfhqwaf"
	.ascii	"tlyydirjnojbrieutjhymfpflsfemkqsoewbojwluqdckmzixwx"
	.ascii	"ufrdpqnwvwpbavosnvjqxqbosctttxvsbmqpnolfmapywtpfaot"
	.ascii	"zmyjwnd\000"
	.align	2
.LC10:
	.ascii	"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
	.ascii	"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
	.ascii	"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
	.ascii	"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
	.ascii	"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
	.ascii	"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
	.ascii	"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
	.ascii	"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
	.ascii	"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
	.ascii	"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
	.ascii	"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
	.ascii	"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
	.ascii	"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
	.ascii	"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
	.ascii	"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
	.ascii	"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
	.ascii	"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
	.ascii	"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
	.ascii	"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
	.ascii	"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\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
	ldr	r0, .L18
	bl	longestPalindrome
	mov	r3, r0
	mov	r0, r3
	bl	puts
	ldr	r0, .L18+4
	bl	longestPalindrome
	mov	r3, r0
	mov	r0, r3
	bl	puts
	ldr	r0, .L18+8
	bl	longestPalindrome
	mov	r3, r0
	mov	r0, r3
	bl	puts
	ldr	r0, .L18+12
	bl	longestPalindrome
	mov	r3, r0
	mov	r0, r3
	bl	puts
	ldr	r0, .L18+16
	bl	longestPalindrome
	mov	r3, r0
	mov	r0, r3
	bl	puts
	ldr	r0, .L18+20
	bl	longestPalindrome
	mov	r3, r0
	mov	r0, r3
	bl	puts
	ldr	r0, .L18+24
	bl	longestPalindrome
	mov	r3, r0
	mov	r0, r3
	bl	puts
	ldr	r0, .L18+28
	bl	longestPalindrome
	mov	r3, r0
	mov	r0, r3
	bl	puts
	ldr	r0, .L18+32
	bl	longestPalindrome
	mov	r3, r0
	mov	r0, r3
	bl	puts
	ldr	r0, .L18+36
	bl	longestPalindrome
	mov	r3, r0
	mov	r0, r3
	bl	puts
	ldr	r0, .L18+40
	bl	longestPalindrome
	mov	r3, r0
	mov	r0, r3
	bl	puts
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
