	.file	"417683.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"http"
.LC2:
	.string	"http://"
.LC3:
	.string	"ftp://"
.LC4:
	.string	"ru"
.LC5:
	.string	"%.*s.ru"
.LC6:
	.string	"/%s"
	.text
	.globl	main
	.type	main, @function
main:
.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, 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -64[rbp]
	mov	QWORD PTR -80[rbp], rax
	lea	rax, -64[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strstr@PLT
	mov	QWORD PTR -72[rbp], rax
	lea	rax, -64[rbp]
	cmp	QWORD PTR -72[rbp], rax
	jne	.L2
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	QWORD PTR -80[rbp], 4
	jmp	.L3
.L2:
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	add	QWORD PTR -80[rbp], 3
.L3:
	lea	rax, -64[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strlstr
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	sub	rax, QWORD PTR -80[rbp]
	mov	rdx, QWORD PTR -80[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -72[rbp]
	sub	rax, QWORD PTR -80[rbp]
	add	rax, 2
	add	QWORD PTR -80[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L4
	mov	rax, QWORD PTR -80[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
.L4:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	strlstr
	.type	strlstr, @function
strlstr:
.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
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strstr@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	je	.L8
	jmp	.L9
.L10:
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -8[rbp], rax
.L9:
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strstr@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L10
.L8:
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	strlstr, .-strlstr
	.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	"417683.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s\000"
	.align	2
.LC1:
	.ascii	"http\000"
	.align	2
.LC2:
	.ascii	"http://\000"
	.align	2
.LC3:
	.ascii	"ftp://\000"
	.align	2
.LC4:
	.ascii	"ru\000"
	.align	2
.LC5:
	.ascii	"%.*s.ru\000"
	.align	2
.LC6:
	.ascii	"/%s\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #60
	mov	r1, r3
	ldr	r0, .L7+4
	bl	__isoc99_scanf
	sub	r3, fp, #60
	str	r3, [fp, #-68]
	sub	r3, fp, #60
	ldr	r1, .L7+8
	mov	r0, r3
	bl	strstr
	str	r0, [fp, #-64]
	sub	r3, fp, #60
	ldr	r2, [fp, #-64]
	cmp	r2, r3
	bne	.L2
	ldr	r0, .L7+12
	bl	printf
	ldr	r3, [fp, #-68]
	add	r3, r3, #4
	str	r3, [fp, #-68]
	b	.L3
.L2:
	ldr	r0, .L7+16
	bl	printf
	ldr	r3, [fp, #-68]
	add	r3, r3, #3
	str	r3, [fp, #-68]
.L3:
	sub	r3, fp, #60
	ldr	r1, .L7+20
	mov	r0, r3
	bl	strlstr
	str	r0, [fp, #-64]
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-68]
	sub	r3, r2, r3
	ldr	r2, [fp, #-68]
	mov	r1, r3
	ldr	r0, .L7+24
	bl	printf
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-68]
	sub	r3, r2, r3
	add	r3, r3, #2
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-68]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L4
	ldr	r1, [fp, #-68]
	ldr	r0, .L7+28
	bl	printf
.L4:
	mov	r3, #0
	ldr	r2, .L7
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC7
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.align	2
	.global	strlstr
	.syntax unified
	.arm
	.fpu softvfp
	.type	strlstr, %function
strlstr:
	@ 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, #-20]
	ldr	r0, [fp, #-16]
	bl	strstr
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L10
	b	.L11
.L12:
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
.L11:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	strstr
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L12
.L10:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	strlstr, .-strlstr
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
