	.file	"47354.c"
	.intel_syntax noprefix
	.text
	.globl	estaContenido
	.type	estaContenido, @function
estaContenido:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strstr@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L2
	mov	eax, 0
	jmp	.L3
.L2:
	mov	eax, 1
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	estaContenido, .-estaContenido
	.section	.rodata
.LC0:
	.string	"\nEjercicio 4"
	.align 8
.LC1:
	.string	"\nIngrese el la cadena principal: "
.LC2:
	.string	"%s"
	.align 8
.LC3:
	.string	"Ingrese la subcadena a buscar: "
	.align 8
.LC4:
	.string	"la cadena '%s' NO se encuentra dentro de la cadena principal."
	.align 8
.LC5:
	.string	"la cadena '%s' SI se encuentra dentro de la cadena principal."
	.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, 32
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	edi, 100
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	edi, 50
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	estaContenido
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	jne	.L5
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
.L5:
	cmp	DWORD PTR -20[rbp], 1
	jne	.L6
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
.L6:
	mov	eax, 0
	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	"47354.c"
	.text
	.align	2
	.global	estaContenido
	.syntax unified
	.arm
	.fpu softvfp
	.type	estaContenido, %function
estaContenido:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	strstr
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L2
	mov	r3, #0
	b	.L3
.L2:
	mov	r3, #1
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	estaContenido, .-estaContenido
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012Ejercicio 4\000"
	.align	2
.LC1:
	.ascii	"\012Ingrese el la cadena principal: \000"
	.align	2
.LC2:
	.ascii	"%s\000"
	.align	2
.LC3:
	.ascii	"Ingrese la subcadena a buscar: \000"
	.align	2
.LC4:
	.ascii	"la cadena '%s' NO se encuentra dentro de la cadena "
	.ascii	"principal.\000"
	.align	2
.LC5:
	.ascii	"la cadena '%s' SI se encuentra dentro de la cadena "
	.ascii	"principal.\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r0, .L8
	bl	puts
	mov	r0, #100
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	mov	r0, #50
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r0, .L8+4
	bl	printf
	ldr	r1, [fp, #-16]
	ldr	r0, .L8+8
	bl	__isoc99_scanf
	ldr	r0, .L8+12
	bl	printf
	ldr	r1, [fp, #-12]
	ldr	r0, .L8+8
	bl	__isoc99_scanf
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-12]
	bl	estaContenido
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L5
	ldr	r1, [fp, #-12]
	ldr	r0, .L8+16
	bl	printf
.L5:
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L6
	ldr	r1, [fp, #-12]
	ldr	r0, .L8+20
	bl	printf
.L6:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
