	.file	"486093.c"
	.intel_syntax noprefix
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -16384[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 3680
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	nop
	lea	rax, -20016[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	test	eax, eax
	je	.L13
	lea	rax, -20016[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -20032[rbp], rax
	mov	QWORD PTR -20048[rbp], 1
.L9:
	mov	rax, QWORD PTR -20048[rbp]
	mov	BYTE PTR -10016[rbp], al
	lea	rax, -10016[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -20024[rbp], rax
	mov	QWORD PTR -20064[rbp], 0
	mov	rax, QWORD PTR -20024[rbp]
	sub	rax, 1
	mov	QWORD PTR -20056[rbp], rax
	jmp	.L3
.L6:
	lea	rdx, -20016[rbp]
	mov	rax, QWORD PTR -20064[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	lea	rcx, -20016[rbp]
	mov	rax, QWORD PTR -20056[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jne	.L14
	add	QWORD PTR -20064[rbp], 1
	sub	QWORD PTR -20056[rbp], 1
.L3:
	mov	rax, QWORD PTR -20024[rbp]
	mov	rdx, rax
	shr	rdx, 63
	add	rax, rdx
	sar	rax
	cmp	QWORD PTR -20056[rbp], rax
	jg	.L6
	jmp	.L5
.L14:
	nop
.L5:
	mov	rax, QWORD PTR -20024[rbp]
	mov	rdx, rax
	shr	rdx, 63
	add	rax, rdx
	sar	rax
	add	rax, 1
	mov	QWORD PTR -20064[rbp], rax
	cmp	QWORD PTR -20064[rbp], 0
	je	.L7
	add	QWORD PTR -20040[rbp], 1
.L7:
	mov	rax, QWORD PTR -20040[rbp]
	mov	QWORD PTR -20032[rbp], rax
	cmp	QWORD PTR -20032[rbp], 0
	je	.L8
	lea	rax, -10016[rbp]
	mov	rdi, rax
	call	puts@PLT
.L8:
	add	QWORD PTR -20048[rbp], 1
	jmp	.L9
.L13:
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"486093.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 20096
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #19968
	sub	sp, sp, #128
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	nop
	sub	r3, fp, #19968
	sub	r3, r3, #28
	sub	r3, r3, #36
	mov	r0, r3
	bl	gets
	mov	r3, r0
	cmp	r3, #0
	beq	.L13
	sub	r3, fp, #19968
	sub	r3, r3, #28
	sub	r3, r3, #36
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #19968
	sub	r3, r3, #28
	sub	r3, r3, #48
	mov	r1, r3
	mov	r3, #0
	stmdb	r1, {r2-r3}
	sub	r3, fp, #19968
	sub	r3, r3, #28
	sub	r3, r3, #64
	mov	r1, r3
	mov	r2, #1
	mov	r3, #0
	stmdb	r1, {r2-r3}
.L9:
	sub	r3, fp, #19968
	sub	r3, r3, #28
	sub	r3, r3, #64
	ldrb	r1, [r3, #-8]	@ zero_extendqisi2
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	mov	r3, r1
	strb	r3, [r2, #-1812]
	sub	r3, fp, #9984
	sub	r3, r3, #28
	sub	r3, r3, #20
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #19968
	sub	r3, r3, #28
	sub	r3, r3, #48
	mov	r1, r3
	mov	r3, #0
	stm	r1, {r2-r3}
	sub	r3, fp, #19968
	sub	r3, r3, #28
	sub	r3, r3, #80
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	stmdb	r1, {r2-r3}
	sub	r3, fp, #19968
	sub	r3, r3, #28
	sub	r3, r3, #80
	mov	r1, r3
	sub	r3, fp, #19968
	sub	r3, r3, #28
	sub	r3, r3, #48
	ldmia	r3, {r2-r3}
	subs	r0, r2, #1
	sub	ip, fp, #19968
	sub	ip, ip, #124
	str	r0, [ip]
	sbc	r3, r3, #0
	sub	r2, fp, #19968
	sub	r2, r2, #120
	str	r3, [r2]
	sub	r3, fp, #19968
	sub	r3, r3, #124
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	b	.L3
.L6:
	sub	r3, fp, #16384
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #19968
	sub	r3, r3, #28
	sub	r3, r3, #80
	ldr	r3, [r3, #-8]
	add	r3, r2, r3
	sub	r3, r3, #3616
	sub	r3, r3, #4
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r3, fp, #16384
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #19968
	sub	r3, r3, #28
	sub	r3, r3, #80
	ldr	r3, [r3]
	add	r3, r2, r3
	sub	r3, r3, #3616
	sub	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r1, r3
	bne	.L14
	sub	r3, fp, #19968
	sub	r3, r3, #28
	sub	r3, r3, #80
	mov	r1, r3
	sub	r3, fp, #19968
	sub	r3, r3, #28
	sub	r3, r3, #80
	ldmdb	r3, {r2-r3}
	adds	r0, r2, #1
	sub	ip, fp, #19968
	sub	ip, ip, #132
	str	r0, [ip]
	adc	r3, r3, #0
	sub	r2, fp, #19968
	sub	r2, r2, #128
	str	r3, [r2]
	sub	r3, fp, #19968
	sub	r3, r3, #132
	ldmia	r3, {r2-r3}
	stmdb	r1, {r2-r3}
	sub	r3, fp, #19968
	sub	r3, r3, #28
	sub	r3, r3, #80
	mov	r1, r3
	sub	r3, fp, #19968
	sub	r3, r3, #28
	sub	r3, r3, #80
	ldmia	r3, {r2-r3}
	subs	r8, r2, #1
	sbc	r9, r3, #0
	stm	r1, {r8-r9}
.L3:
	sub	r3, fp, #19968
	sub	r3, r3, #28
	sub	r3, r3, #48
	ldmia	r3, {r0-r1}
	lsr	r3, r1, #31
	mov	r2, r3
	mov	r3, #0
	adds	r4, r2, r0
	adc	r5, r3, r1
	mov	r2, #0
	mov	r3, #0
	lsr	r2, r4, #1
	orr	r2, r2, r5, lsl #31
	asr	r3, r5, #1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #19968
	sub	r3, r3, #28
	sub	r3, r3, #80
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	blt	.L6
	b	.L5
.L14:
	nop
.L5:
	sub	r3, fp, #19968
	sub	r3, r3, #28
	sub	r3, r3, #48
	ldmia	r3, {r0-r1}
	lsr	r3, r1, #31
	mov	r2, r3
	mov	r3, #0
	adds	r6, r2, r0
	adc	r7, r3, r1
	mov	r2, #0
	mov	r3, #0
	lsr	r2, r6, #1
	orr	r2, r2, r7, lsl #31
	asr	r3, r7, #1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #19968
	sub	r3, r3, #28
	sub	r3, r3, #80
	adds	r2, r0, #1
	sub	ip, fp, #19968
	sub	ip, ip, #140
	str	r2, [ip]
	adc	r2, r1, #0
	sub	r1, fp, #19968
	sub	r1, r1, #136
	str	r2, [r1]
	sub	r2, fp, #19968
	sub	r2, r2, #140
	ldmia	r2, {r1-r2}
	stmdb	r3, {r1-r2}
	sub	r3, fp, #19968
	sub	r3, r3, #28
	sub	r3, r3, #80
	ldmdb	r3, {r2-r3}
	orrs	r3, r2, r3
	beq	.L7
	sub	r3, fp, #19968
	sub	r3, r3, #28
	sub	r3, r3, #64
	mov	r1, r3
	sub	r3, fp, #19968
	sub	r3, r3, #28
	sub	r3, r3, #64
	ldmia	r3, {r2-r3}
	adds	r0, r2, #1
	sub	ip, fp, #19968
	sub	ip, ip, #148
	str	r0, [ip]
	adc	r3, r3, #0
	sub	r2, fp, #19968
	sub	r2, r2, #144
	str	r3, [r2]
	sub	r3, fp, #19968
	sub	r3, r3, #148
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
.L7:
	sub	r3, fp, #19968
	sub	r3, r3, #28
	sub	r3, r3, #48
	mov	r1, r3
	sub	r3, fp, #19968
	sub	r3, r3, #28
	sub	r3, r3, #64
	ldmia	r3, {r2-r3}
	stmdb	r1, {r2-r3}
	sub	r3, fp, #19968
	sub	r3, r3, #28
	sub	r3, r3, #48
	ldmdb	r3, {r2-r3}
	orrs	r3, r2, r3
	beq	.L8
	sub	r3, fp, #9984
	sub	r3, r3, #28
	sub	r3, r3, #20
	mov	r0, r3
	bl	puts
.L8:
	sub	r3, fp, #19968
	sub	r3, r3, #28
	sub	r3, r3, #64
	mov	r1, r3
	sub	r3, fp, #19968
	sub	r3, r3, #28
	sub	r3, r3, #64
	ldmdb	r3, {r2-r3}
	adds	r0, r2, #1
	sub	ip, fp, #19968
	sub	ip, ip, #156
	str	r0, [ip]
	adc	r3, r3, #0
	sub	r2, fp, #19968
	sub	r2, r2, #152
	str	r3, [r2]
	sub	r3, fp, #19968
	sub	r3, r3, #156
	ldmia	r3, {r2-r3}
	stmdb	r1, {r2-r3}
	b	.L9
.L13:
	mov	r3, #0
	ldr	r2, .L15
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
