	.file	"418722.c"
	.intel_syntax noprefix
	.text
	.globl	isPalindrom
	.type	isPalindrom, @function
isPalindrom:
.LFB0:
	.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, 40
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -20[rbp], eax
	mov	DWORD PTR -28[rbp], 0
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	mov	DWORD PTR -24[rbp], eax
	jmp	.L2
.L6:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jl	.L3
	mov	eax, 1
	jmp	.L1
.L3:
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	tolower@PLT
	mov	ebx, eax
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	tolower@PLT
	cmp	ebx, eax
	je	.L5
	mov	eax, 0
	jmp	.L1
.L5:
	add	DWORD PTR -28[rbp], 1
	sub	DWORD PTR -24[rbp], 1
.L2:
	cmp	DWORD PTR -24[rbp], 0
	jns	.L6
.L1:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	isPalindrom, .-isPalindrom
	.section	.rodata
.LC0:
	.string	"a"
.LC1:
	.string	"the_stack_data/418722.c"
.LC2:
	.string	"isPalindrom(\"a\") == 1"
.LC3:
	.string	"aba"
.LC4:
	.string	"isPalindrom (\"aba\") == 1"
.LC5:
	.string	"Abba"
.LC6:
	.string	"isPalindrom (\"Abba\") == 1"
.LC7:
	.string	"hello"
.LC8:
	.string	"isPalindrom (\"hello\") == 0"
	.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
	lea	rdi, .LC0[rip]
	call	isPalindrom
	cmp	eax, 1
	je	.L8
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 22
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L8:
	lea	rdi, .LC3[rip]
	call	isPalindrom
	cmp	eax, 1
	je	.L9
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 23
	lea	rsi, .LC1[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L9:
	lea	rdi, .LC5[rip]
	call	isPalindrom
	cmp	eax, 1
	je	.L10
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 24
	lea	rsi, .LC1[rip]
	lea	rdi, .LC6[rip]
	call	__assert_fail@PLT
.L10:
	lea	rdi, .LC7[rip]
	call	isPalindrom
	test	eax, eax
	je	.L11
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 25
	lea	rsi, .LC1[rip]
	lea	rdi, .LC8[rip]
	call	__assert_fail@PLT
.L11:
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.section	.rodata
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
	.string	"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	"418722.c"
	.text
	.align	2
	.global	isPalindrom
	.syntax unified
	.arm
	.fpu softvfp
	.type	isPalindrom, %function
isPalindrom:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-32]
	ldr	r0, [fp, #-32]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L2
.L6:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L3
	mov	r3, #1
	b	.L1
.L3:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	tolower
	mov	r4, r0
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	tolower
	mov	r3, r0
	cmp	r4, r3
	beq	.L5
	mov	r3, #0
	b	.L1
.L5:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
.L2:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bge	.L6
.L1:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	isPalindrom, .-isPalindrom
	.section	.rodata
	.align	2
.LC0:
	.ascii	"a\000"
	.align	2
.LC1:
	.ascii	"the_stack_data/418722.c\000"
	.align	2
.LC2:
	.ascii	"isPalindrom(\"a\") == 1\000"
	.align	2
.LC3:
	.ascii	"aba\000"
	.align	2
.LC4:
	.ascii	"isPalindrom (\"aba\") == 1\000"
	.align	2
.LC5:
	.ascii	"Abba\000"
	.align	2
.LC6:
	.ascii	"isPalindrom (\"Abba\") == 1\000"
	.align	2
.LC7:
	.ascii	"hello\000"
	.align	2
.LC8:
	.ascii	"isPalindrom (\"hello\") == 0\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, .L13
	bl	isPalindrom
	mov	r3, r0
	cmp	r3, #1
	beq	.L8
	ldr	r3, .L13+4
	mov	r2, #22
	ldr	r1, .L13+8
	ldr	r0, .L13+12
	bl	__assert_fail
.L8:
	ldr	r0, .L13+16
	bl	isPalindrom
	mov	r3, r0
	cmp	r3, #1
	beq	.L9
	ldr	r3, .L13+4
	mov	r2, #23
	ldr	r1, .L13+8
	ldr	r0, .L13+20
	bl	__assert_fail
.L9:
	ldr	r0, .L13+24
	bl	isPalindrom
	mov	r3, r0
	cmp	r3, #1
	beq	.L10
	ldr	r3, .L13+4
	mov	r2, #24
	ldr	r1, .L13+8
	ldr	r0, .L13+28
	bl	__assert_fail
.L10:
	ldr	r0, .L13+32
	bl	isPalindrom
	mov	r3, r0
	cmp	r3, #0
	beq	.L11
	ldr	r3, .L13+4
	mov	r2, #25
	ldr	r1, .L13+8
	ldr	r0, .L13+36
	bl	__assert_fail
.L11:
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC0
	.word	__PRETTY_FUNCTION__.4568
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.4568, %object
	.size	__PRETTY_FUNCTION__.4568, 5
__PRETTY_FUNCTION__.4568:
	.ascii	"main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
