	.file	"165406.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC1:
	.string	""
	.text
	.globl	longestPalindrome
	.type	longestPalindrome, @function
longestPalindrome:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 2072
	.cfi_offset 3, -24
	mov	QWORD PTR -2072[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -2052[rbp], 0
	mov	eax, DWORD PTR -2052[rbp]
	mov	DWORD PTR -2056[rbp], eax
	mov	eax, DWORD PTR -2056[rbp]
	mov	DWORD PTR -2060[rbp], eax
	mov	rax, QWORD PTR -2072[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L2
	lea	rax, .LC1[rip]
	jmp	.L19
.L2:
	mov	DWORD PTR -2048[rbp], 0
	jmp	.L4
.L18:
	mov	DWORD PTR -2044[rbp], 0
	jmp	.L5
.L11:
	mov	eax, DWORD PTR -2044[rbp]
	movsx	rbx, eax
	mov	rax, QWORD PTR -2072[rbp]
	mov	rdi, rax
	call	strlen@PLT
	shr	rax
	cmp	rbx, rax
	ja	.L21
	mov	eax, DWORD PTR -2048[rbp]
	sub	eax, DWORD PTR -2044[rbp]
	test	eax, eax
	jle	.L7
	mov	edx, DWORD PTR -2048[rbp]
	mov	eax, DWORD PTR -2044[rbp]
	add	eax, edx
	movsx	rbx, eax
	mov	rax, QWORD PTR -2072[rbp]
	mov	rdi, rax
	call	strlen@PLT
	sub	rax, 1
	cmp	rbx, rax
	ja	.L7
	mov	eax, DWORD PTR -2048[rbp]
	sub	eax, DWORD PTR -2044[rbp]
	cdqe
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -2072[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	ecx, DWORD PTR -2048[rbp]
	mov	eax, DWORD PTR -2044[rbp]
	add	eax, ecx
	movsx	rcx, eax
	mov	rax, QWORD PTR -2072[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jne	.L22
	mov	eax, DWORD PTR -2044[rbp]
	add	eax, 1
	add	eax, eax
	cmp	DWORD PTR -2060[rbp], eax
	jge	.L9
	mov	eax, DWORD PTR -2044[rbp]
	add	eax, 1
	add	eax, eax
	mov	DWORD PTR -2060[rbp], eax
	mov	eax, DWORD PTR -2044[rbp]
	mov	DWORD PTR -2056[rbp], eax
	mov	DWORD PTR -2052[rbp], 1
.L9:
	mov	eax, DWORD PTR -2044[rbp]
	cdqe
	mov	edx, DWORD PTR -2048[rbp]
	mov	DWORD PTR -2032[rbp+rax*4], edx
	add	DWORD PTR -2044[rbp], 1
.L5:
	mov	eax, DWORD PTR -2048[rbp]
	cmp	eax, DWORD PTR -2044[rbp]
	jge	.L11
	jmp	.L7
.L21:
	nop
	jmp	.L7
.L22:
	nop
.L7:
	mov	DWORD PTR -2040[rbp], 0
	jmp	.L12
.L17:
	mov	eax, DWORD PTR -2040[rbp]
	movsx	rbx, eax
	mov	rax, QWORD PTR -2072[rbp]
	mov	rdi, rax
	call	strlen@PLT
	shr	rax
	cmp	rbx, rax
	ja	.L23
	mov	eax, DWORD PTR -2048[rbp]
	sub	eax, DWORD PTR -2040[rbp]
	test	eax, eax
	js	.L14
	mov	edx, DWORD PTR -2048[rbp]
	mov	eax, DWORD PTR -2040[rbp]
	add	eax, edx
	movsx	rbx, eax
	mov	rax, QWORD PTR -2072[rbp]
	mov	rdi, rax
	call	strlen@PLT
	sub	rax, 1
	cmp	rbx, rax
	ja	.L14
	mov	eax, DWORD PTR -2048[rbp]
	sub	eax, DWORD PTR -2040[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -2072[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	ecx, DWORD PTR -2048[rbp]
	mov	eax, DWORD PTR -2040[rbp]
	add	eax, ecx
	movsx	rcx, eax
	mov	rax, QWORD PTR -2072[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jne	.L24
	mov	eax, DWORD PTR -2040[rbp]
	add	eax, eax
	cmp	DWORD PTR -2060[rbp], eax
	jg	.L16
	mov	eax, DWORD PTR -2040[rbp]
	add	eax, eax
	add	eax, 1
	mov	DWORD PTR -2060[rbp], eax
	mov	eax, DWORD PTR -2040[rbp]
	mov	DWORD PTR -2056[rbp], eax
	mov	DWORD PTR -2052[rbp], 0
	mov	eax, DWORD PTR -2040[rbp]
	cdqe
	mov	edx, DWORD PTR -2048[rbp]
	mov	DWORD PTR -2032[rbp+rax*4], edx
.L16:
	add	DWORD PTR -2040[rbp], 1
.L12:
	mov	eax, DWORD PTR -2048[rbp]
	cmp	eax, DWORD PTR -2040[rbp]
	jge	.L17
	jmp	.L14
.L23:
	nop
	jmp	.L14
.L24:
	nop
.L14:
	add	DWORD PTR -2048[rbp], 1
.L4:
	mov	eax, DWORD PTR -2048[rbp]
	movsx	rbx, eax
	mov	rax, QWORD PTR -2072[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L18
	mov	eax, DWORD PTR -2056[rbp]
	cdqe
	mov	eax, DWORD PTR -2032[rbp+rax*4]
	sub	eax, DWORD PTR -2056[rbp]
	sub	eax, DWORD PTR -2052[rbp]
	mov	DWORD PTR -2036[rbp], eax
	mov	edx, DWORD PTR -2036[rbp]
	mov	eax, DWORD PTR -2060[rbp]
	add	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -2072[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -2036[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -2072[rbp]
	add	rax, rdx
.L19:
	mov	rsi, QWORD PTR -24[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	longestPalindrome, .-longestPalindrome
	.section	.rodata
.LC2:
	.string	"%s = %s\n"
	.align 32
.LC0:
	.string	"abcabcbb"
	.zero	31
	.string	"bbbbb"
	.zero	34
	.string	"pwwkew"
	.zero	33
	.string	"dvdf"
	.zero	35
	.string	"bbtablud"
	.zero	31
	.string	"nfpdmpi"
	.zero	32
	.string	"dfevdfg"
	.zero	32
	.string	"jbpnbwwd"
	.zero	31
	.string	"umvejcuuk"
	.zero	30
	.string	"tmmzuxt"
	.zero	32
	.string	"ohvhjdml"
	.zero	31
	.string	"anviaj"
	.zero	33
	.string	"yfsrsrpzuya"
	.zero	28
	.string	""
	.zero	39
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 608
	mov	DWORD PTR -596[rbp], edi
	mov	QWORD PTR -608[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -576[rbp]
	lea	rdx, .LC0[rip]
	mov	ecx, 70
	mov	rdi, rax
	mov	rsi, rdx
	rep movsq
	mov	DWORD PTR -580[rbp], 0
	jmp	.L26
.L27:
	lea	rcx, -576[rbp]
	mov	eax, DWORD PTR -580[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	rdi, rax
	call	longestPalindrome
	mov	rcx, rax
	lea	rsi, -576[rbp]
	mov	eax, DWORD PTR -580[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, rsi
	mov	rdx, rcx
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -580[rbp], 1
.L26:
	mov	eax, DWORD PTR -580[rbp]
	cmp	eax, 13
	jbe	.L27
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"165406.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	longestPalindrome
	.syntax unified
	.arm
	.fpu softvfp
	.type	longestPalindrome, %function
longestPalindrome:
	@ args = 0, pretend = 0, frame = 2040
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #2032
	sub	sp, sp, #12
	str	r0, [fp, #-2048]
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-2036]
	ldr	r3, [fp, #-2036]
	str	r3, [fp, #-2040]
	ldr	r3, [fp, #-2040]
	str	r3, [fp, #-2044]
	ldr	r3, [fp, #-2048]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L25+4
	b	.L19
.L2:
	mov	r3, #0
	str	r3, [fp, #-2032]
	b	.L4
.L18:
	mov	r3, #0
	str	r3, [fp, #-2028]
	b	.L5
.L11:
	ldr	r0, [fp, #-2048]
	bl	strlen
	mov	r3, r0
	lsr	r2, r3, #1
	ldr	r3, [fp, #-2028]
	cmp	r2, r3
	bcc	.L21
	ldr	r2, [fp, #-2032]
	ldr	r3, [fp, #-2028]
	sub	r3, r2, r3
	cmp	r3, #0
	ble	.L7
	ldr	r2, [fp, #-2032]
	ldr	r3, [fp, #-2028]
	add	r3, r2, r3
	mov	r4, r3
	ldr	r0, [fp, #-2048]
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	cmp	r4, r3
	bhi	.L7
	ldr	r2, [fp, #-2032]
	ldr	r3, [fp, #-2028]
	sub	r3, r2, r3
	sub	r3, r3, #1
	ldr	r2, [fp, #-2048]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r1, [fp, #-2032]
	ldr	r3, [fp, #-2028]
	add	r3, r1, r3
	mov	r1, r3
	ldr	r3, [fp, #-2048]
	add	r3, r3, r1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L22
	ldr	r3, [fp, #-2028]
	add	r3, r3, #1
	lsl	r3, r3, #1
	ldr	r2, [fp, #-2044]
	cmp	r2, r3
	bge	.L9
	ldr	r3, [fp, #-2028]
	add	r3, r3, #1
	lsl	r3, r3, #1
	str	r3, [fp, #-2044]
	ldr	r3, [fp, #-2028]
	str	r3, [fp, #-2040]
	mov	r3, #1
	str	r3, [fp, #-2036]
.L9:
	ldr	r3, [fp, #-2028]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [fp, #-2032]
	str	r2, [r3, #-2004]
	ldr	r3, [fp, #-2028]
	add	r3, r3, #1
	str	r3, [fp, #-2028]
.L5:
	ldr	r2, [fp, #-2032]
	ldr	r3, [fp, #-2028]
	cmp	r2, r3
	bge	.L11
	b	.L7
.L21:
	nop
	b	.L7
.L22:
	nop
.L7:
	mov	r3, #0
	str	r3, [fp, #-2024]
	b	.L12
.L17:
	ldr	r0, [fp, #-2048]
	bl	strlen
	mov	r3, r0
	lsr	r2, r3, #1
	ldr	r3, [fp, #-2024]
	cmp	r2, r3
	bcc	.L23
	ldr	r2, [fp, #-2032]
	ldr	r3, [fp, #-2024]
	sub	r3, r2, r3
	cmp	r3, #0
	blt	.L14
	ldr	r2, [fp, #-2032]
	ldr	r3, [fp, #-2024]
	add	r3, r2, r3
	mov	r4, r3
	ldr	r0, [fp, #-2048]
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	cmp	r4, r3
	bhi	.L14
	ldr	r2, [fp, #-2032]
	ldr	r3, [fp, #-2024]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-2048]
	add	r3, r3, r2
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r1, [fp, #-2032]
	ldr	r3, [fp, #-2024]
	add	r3, r1, r3
	mov	r1, r3
	ldr	r3, [fp, #-2048]
	add	r3, r3, r1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L24
	ldr	r3, [fp, #-2024]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-2044]
	cmp	r2, r3
	bgt	.L16
	ldr	r3, [fp, #-2024]
	lsl	r3, r3, #1
	add	r3, r3, #1
	str	r3, [fp, #-2044]
	ldr	r3, [fp, #-2024]
	str	r3, [fp, #-2040]
	mov	r3, #0
	str	r3, [fp, #-2036]
	ldr	r3, [fp, #-2024]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [fp, #-2032]
	str	r2, [r3, #-2004]
.L16:
	ldr	r3, [fp, #-2024]
	add	r3, r3, #1
	str	r3, [fp, #-2024]
.L12:
	ldr	r2, [fp, #-2032]
	ldr	r3, [fp, #-2024]
	cmp	r2, r3
	bge	.L17
	b	.L14
.L23:
	nop
	b	.L14
.L24:
	nop
.L14:
	ldr	r3, [fp, #-2032]
	add	r3, r3, #1
	str	r3, [fp, #-2032]
.L4:
	ldr	r0, [fp, #-2048]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-2032]
	cmp	r2, r3
	bhi	.L18
	ldr	r3, [fp, #-2040]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [r3, #-2004]
	ldr	r3, [fp, #-2040]
	sub	r2, r2, r3
	ldr	r3, [fp, #-2036]
	sub	r3, r2, r3
	str	r3, [fp, #-2020]
	ldr	r2, [fp, #-2020]
	ldr	r3, [fp, #-2044]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-2048]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-2020]
	ldr	r2, [fp, #-2048]
	add	r3, r2, r3
.L19:
	ldr	r2, .L25
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC2
	.word	.LC1
	.size	longestPalindrome, .-longestPalindrome
	.section	.rodata
	.align	2
.LC3:
	.ascii	"%s = %s\012\000"
	.align	2
.LC0:
	.ascii	"abcabcbb\000"
	.space	31
	.ascii	"bbbbb\000"
	.space	34
	.ascii	"pwwkew\000"
	.space	33
	.ascii	"dvdf\000"
	.space	35
	.ascii	"bbtablud\000"
	.space	31
	.ascii	"nfpdmpi\000"
	.space	32
	.ascii	"dfevdfg\000"
	.space	32
	.ascii	"jbpnbwwd\000"
	.space	31
	.ascii	"umvejcuuk\000"
	.space	30
	.ascii	"tmmzuxt\000"
	.space	32
	.ascii	"ohvhjdml\000"
	.space	31
	.ascii	"anviaj\000"
	.space	33
	.ascii	"yfsrsrpzuya\000"
	.space	28
	.ascii	"\000"
	.space	39
	.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 = 576
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #580
	str	r0, [fp, #-584]
	str	r1, [fp, #-588]
	ldr	r3, .L32
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r2, .L32+4
	sub	r3, fp, #576
	mov	r1, r2
	mov	r2, #560
	mov	r0, r3
	bl	memcpy
	mov	r3, #0
	str	r3, [fp, #-580]
	b	.L28
.L29:
	sub	r1, fp, #576
	ldr	r2, [fp, #-580]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r4, r1, r3
	sub	r1, fp, #576
	ldr	r2, [fp, #-580]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	mov	r0, r3
	bl	longestPalindrome
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, .L32+8
	bl	printf
	ldr	r3, [fp, #-580]
	add	r3, r3, #1
	str	r3, [fp, #-580]
.L28:
	ldr	r3, [fp, #-580]
	cmp	r3, #13
	bls	.L29
	mov	r3, #0
	ldr	r2, .L32
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L31
	bl	__stack_chk_fail
.L31:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L33:
	.align	2
.L32:
	.word	.LC4
	.word	.LC0
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
