	.file	"356872.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Caso #%d:\n"
.LC1:
	.string	"Nao existe subsequencia"
.LC2:
	.string	"Qtd.Subsequencias: %d\n"
.LC3:
	.string	"Pos: %d\n"
.LC4:
	.string	"%s\n%s"
	.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
	sub	rsp, 2048
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -2032[rbp], 0
	jmp	.L2
.L10:
	add	DWORD PTR -2032[rbp], 1
	lea	rax, -2016[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -2024[rbp], eax
	lea	rax, -1008[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -2020[rbp], eax
	mov	DWORD PTR -2036[rbp], 0
	mov	DWORD PTR -2040[rbp], 0
	mov	DWORD PTR -2044[rbp], 0
	jmp	.L3
.L7:
	mov	eax, DWORD PTR -2044[rbp]
	cdqe
	movzx	edx, BYTE PTR -1008[rbp+rax]
	mov	eax, DWORD PTR -2040[rbp]
	cdqe
	movzx	eax, BYTE PTR -2016[rbp+rax]
	cmp	dl, al
	jne	.L4
	add	DWORD PTR -2040[rbp], 1
	mov	eax, DWORD PTR -2040[rbp]
	cmp	eax, DWORD PTR -2024[rbp]
	jne	.L5
	add	DWORD PTR -2036[rbp], 1
	mov	eax, DWORD PTR -2044[rbp]
	sub	eax, DWORD PTR -2024[rbp]
	add	eax, 1
	mov	DWORD PTR -2028[rbp], eax
	mov	DWORD PTR -2040[rbp], 0
	jmp	.L5
.L4:
	cmp	DWORD PTR -2040[rbp], 0
	jle	.L6
	sub	DWORD PTR -2044[rbp], 1
.L6:
	mov	DWORD PTR -2040[rbp], 0
.L5:
	add	DWORD PTR -2044[rbp], 1
.L3:
	mov	eax, DWORD PTR -2044[rbp]
	cmp	eax, DWORD PTR -2020[rbp]
	jl	.L7
	mov	eax, DWORD PTR -2032[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -2036[rbp], 0
	jne	.L8
	lea	rdi, .LC1[rip]
	call	puts@PLT
	jmp	.L9
.L8:
	mov	eax, DWORD PTR -2036[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -2028[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L9:
	mov	edi, 10
	call	putchar@PLT
.L2:
	lea	rdx, -1008[rbp]
	lea	rax, -2016[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	eax, -1
	jne	.L10
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, 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	"356872.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Caso #%d:\012\000"
	.align	2
.LC1:
	.ascii	"Nao existe subsequencia\000"
	.align	2
.LC2:
	.ascii	"Qtd.Subsequencias: %d\012\000"
	.align	2
.LC3:
	.ascii	"Pos: %d\012\000"
	.align	2
.LC4:
	.ascii	"%s\012%s\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 2032
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #2032
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-2024]
	b	.L2
.L10:
	ldr	r3, [fp, #-2024]
	add	r3, r3, #1
	str	r3, [fp, #-2024]
	sub	r3, fp, #2000
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-2016]
	sub	r3, fp, #1008
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-2012]
	mov	r3, #0
	str	r3, [fp, #-2028]
	mov	r3, #0
	str	r3, [fp, #-2032]
	mov	r3, #0
	str	r3, [fp, #-2036]
	b	.L3
.L7:
	sub	r2, fp, #1008
	ldr	r3, [fp, #-2036]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	sub	r3, fp, #2000
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, [fp, #-2032]
	add	r3, r3, r1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L4
	ldr	r3, [fp, #-2032]
	add	r3, r3, #1
	str	r3, [fp, #-2032]
	ldr	r2, [fp, #-2032]
	ldr	r3, [fp, #-2016]
	cmp	r2, r3
	bne	.L5
	ldr	r3, [fp, #-2028]
	add	r3, r3, #1
	str	r3, [fp, #-2028]
	ldr	r2, [fp, #-2036]
	ldr	r3, [fp, #-2016]
	sub	r3, r2, r3
	add	r3, r3, #1
	str	r3, [fp, #-2020]
	mov	r3, #0
	str	r3, [fp, #-2032]
	b	.L5
.L4:
	ldr	r3, [fp, #-2032]
	cmp	r3, #0
	ble	.L6
	ldr	r3, [fp, #-2036]
	sub	r3, r3, #1
	str	r3, [fp, #-2036]
.L6:
	mov	r3, #0
	str	r3, [fp, #-2032]
.L5:
	ldr	r3, [fp, #-2036]
	add	r3, r3, #1
	str	r3, [fp, #-2036]
.L3:
	ldr	r2, [fp, #-2036]
	ldr	r3, [fp, #-2012]
	cmp	r2, r3
	blt	.L7
	ldr	r1, [fp, #-2024]
	ldr	r0, .L13+4
	bl	printf
	ldr	r3, [fp, #-2028]
	cmp	r3, #0
	bne	.L8
	ldr	r0, .L13+8
	bl	puts
	b	.L9
.L8:
	ldr	r1, [fp, #-2028]
	ldr	r0, .L13+12
	bl	printf
	ldr	r3, [fp, #-2020]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L13+16
	bl	printf
.L9:
	mov	r0, #10
	bl	putchar
.L2:
	sub	r2, fp, #1008
	sub	r3, fp, #2000
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L13+20
	bl	__isoc99_scanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L10
	mov	r3, #0
	ldr	r2, .L13
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
