	.file	"947192.c"
	.intel_syntax noprefix
	.text
	.globl	removeLF
	.type	removeLF, @function
removeLF:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jle	.L3
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	jne	.L3
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
.L3:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	removeLF, .-removeLF
	.globl	compare
	.type	compare, @function
compare:
.LFB1:
	.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 -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	jmp	.L5
.L8:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	toupper@PLT
	mov	ebx, eax
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	toupper@PLT
	cmp	ebx, eax
	je	.L6
	mov	eax, 0
	jmp	.L7
.L6:
	add	QWORD PTR -24[rbp], 1
	add	QWORD PTR -32[rbp], 1
.L5:
	mov	eax, DWORD PTR -36[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -36[rbp], edx
	test	eax, eax
	jne	.L8
	mov	eax, 1
.L7:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	compare, .-compare
	.globl	strcasestr
	.type	strcasestr, @function
strcasestr:
.LFB2:
	.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	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -4[rbp], eax
	jmp	.L10
.L13:
	mov	edx, DWORD PTR -4[rbp]
	mov	rcx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	compare
	test	eax, eax
	je	.L11
	mov	rax, QWORD PTR -32[rbp]
	jmp	.L12
.L11:
	add	QWORD PTR -32[rbp], 1
.L10:
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L13
	mov	eax, 0
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	strcasestr, .-strcasestr
	.section	.rodata
.LC0:
	.string	"Zadejte hledany vzorek:"
.LC1:
	.string	"Nespravny vstup."
.LC2:
	.string	"Zadejte prohledavany text:"
	.align 8
.LC3:
	.string	"Vzorek je obsazen - pozice vyskytu: %d"
.LC4:
	.string	", %d"
.LC5:
	.string	"Vzorek neni obsazen."
	.text
	.globl	main
	.type	main, @function
main:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 448
	mov	DWORD PTR -436[rbp], edi
	mov	QWORD PTR -448[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -416[rbp]
	mov	esi, 200
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L15
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L26
.L15:
	lea	rax, -416[rbp]
	mov	rdi, rax
	call	removeLF
	lea	rdi, .LC2[rip]
	call	puts@PLT
.L24:
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -208[rbp]
	mov	esi, 200
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	je	.L30
	lea	rdx, -208[rbp]
	lea	rax, -416[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcasestr
	mov	QWORD PTR -424[rbp], rax
	cmp	QWORD PTR -424[rbp], 0
	je	.L19
	lea	rdx, -208[rbp]
	mov	rax, QWORD PTR -424[rbp]
	sub	rax, rdx
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L22:
	mov	rax, QWORD PTR -424[rbp]
	lea	rdx, 1[rax]
	lea	rax, -416[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcasestr
	mov	QWORD PTR -424[rbp], rax
	cmp	QWORD PTR -424[rbp], 0
	je	.L31
	lea	rdx, -208[rbp]
	mov	rax, QWORD PTR -424[rbp]
	sub	rax, rdx
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L22
.L31:
	nop
	mov	edi, 10
	call	putchar@PLT
	jmp	.L24
.L19:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	jmp	.L24
.L30:
	nop
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	jne	.L25
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L26
.L25:
	mov	eax, 0
.L26:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L27
	call	__stack_chk_fail@PLT
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.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	"947192.c"
	.text
	.align	2
	.global	removeLF
	.syntax unified
	.arm
	.fpu softvfp
	.type	removeLF, %function
removeLF:
	@ 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]
	ldr	r0, [fp, #-16]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	ble	.L3
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L3
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
.L3:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	removeLF, .-removeLF
	.align	2
	.global	compare
	.syntax unified
	.arm
	.fpu softvfp
	.type	compare, %function
compare:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	b	.L5
.L8:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	toupper
	mov	r4, r0
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	toupper
	mov	r3, r0
	cmp	r4, r3
	beq	.L6
	mov	r3, #0
	b	.L7
.L6:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L5:
	ldr	r3, [fp, #-24]
	sub	r2, r3, #1
	str	r2, [fp, #-24]
	cmp	r3, #0
	bne	.L8
	mov	r3, #1
.L7:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	compare, .-compare
	.align	2
	.global	strcasestr
	.syntax unified
	.arm
	.fpu softvfp
	.type	strcasestr, %function
strcasestr:
	@ 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	r0, [fp, #-16]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-8]
	b	.L10
.L13:
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	compare
	mov	r3, r0
	cmp	r3, #0
	beq	.L11
	ldr	r3, [fp, #-20]
	b	.L12
.L11:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L10:
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L13
	mov	r3, #0
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	strcasestr, .-strcasestr
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Zadejte hledany vzorek:\000"
	.align	2
.LC1:
	.ascii	"Nespravny vstup.\000"
	.align	2
.LC2:
	.ascii	"Zadejte prohledavany text:\000"
	.align	2
.LC3:
	.ascii	"Vzorek je obsazen - pozice vyskytu: %d\000"
	.align	2
.LC4:
	.ascii	", %d\000"
	.align	2
.LC5:
	.ascii	"Vzorek neni obsazen.\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 416
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #416
	str	r0, [fp, #-416]
	str	r1, [fp, #-420]
	ldr	r3, .L32
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L32+4
	bl	puts
	ldr	r3, .L32+8
	ldr	r2, [r3]
	sub	r3, fp, #408
	mov	r1, #200
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L15
	ldr	r0, .L32+12
	bl	puts
	mov	r3, #1
	b	.L26
.L15:
	sub	r3, fp, #408
	mov	r0, r3
	bl	removeLF
	ldr	r0, .L32+16
	bl	puts
.L24:
	ldr	r3, .L32+8
	ldr	r2, [r3]
	sub	r3, fp, #208
	mov	r1, #200
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	beq	.L30
	sub	r2, fp, #208
	sub	r3, fp, #408
	mov	r1, r2
	mov	r0, r3
	bl	strcasestr
	str	r0, [fp, #-412]
	ldr	r3, [fp, #-412]
	cmp	r3, #0
	beq	.L19
	sub	r3, fp, #208
	ldr	r2, [fp, #-412]
	sub	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L32+20
	bl	printf
.L22:
	ldr	r3, [fp, #-412]
	add	r2, r3, #1
	sub	r3, fp, #408
	mov	r1, r2
	mov	r0, r3
	bl	strcasestr
	str	r0, [fp, #-412]
	ldr	r3, [fp, #-412]
	cmp	r3, #0
	beq	.L31
	sub	r3, fp, #208
	ldr	r2, [fp, #-412]
	sub	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L32+24
	bl	printf
	b	.L22
.L31:
	nop
	mov	r0, #10
	bl	putchar
	b	.L24
.L19:
	ldr	r0, .L32+28
	bl	puts
	b	.L24
.L30:
	nop
	ldr	r3, .L32+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	bne	.L25
	ldr	r0, .L32+12
	bl	puts
	mov	r3, #1
	b	.L26
.L25:
	mov	r3, #0
.L26:
	ldr	r2, .L32
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L27
	bl	__stack_chk_fail
.L27:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	.LC6
	.word	.LC0
	.word	stdin
	.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
