	.file	"extr_19731.c_main.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"/default.htm"
.LC1:
	.string	"GET %s"
.LC2:
	.string	"%20"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC3:
	.string	".htw?CiWebHitsFile=%s&CiRestriction=none&CiHiliteType=Full HTTP/1.0\n\n"
	.align 8
.LC4:
	.string	"usage: iiscat file_to_read [valid_file]\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 2088
	.cfi_def_cfa_offset 2144
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 2072[rsp], rax
	xor	eax, eax
	cmp	edi, 2
	je	.L29
	cmp	edi, 3
	jne	.L3
	mov	rdi, QWORD PTR 8[rsi]
	test	rdi, rdi
	je	.L5
	cmp	QWORD PTR 16[rsi], 0
	je	.L5
	call	strlen@PLT
	cmp	eax, 250
	jg	.L5
	mov	rdi, QWORD PTR 16[rbx]
	call	strlen@PLT
	cmp	eax, 1023
	jle	.L26
.L5:
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC4[rip]
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L26:
	mov	r15, QWORD PTR 8[rbx]
	mov	r12, QWORD PTR 16[rbx]
	jmp	.L10
.L29:
	mov	rdi, QWORD PTR 8[rsi]
	test	rdi, rdi
	je	.L3
	call	strlen@PLT
	cmp	eax, 1023
	jle	.L27
.L3:
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC4[rip]
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L27:
	mov	r15, QWORD PTR 8[rbx]
	lea	r12, .LC0[rip]
.L10:
	lea	r14, 16[rsp]
	mov	rdx, r12
	lea	rsi, .LC1[rip]
	mov	rdi, r14
	call	sprintf@PLT
	mov	rdi, r14
	call	strlen@PLT
	mov	rdi, r12
	movsx	rbp, eax
	call	strlen@PLT
	add	rbp, r14
	mov	DWORD PTR 12[rsp], eax
	mov	ecx, eax
	mov	eax, 250
	sub	eax, ecx
	je	.L7
	sub	eax, 1
	mov	r13, rbp
	lea	r12, .LC2[rip]
	lea	rbx, 3[rax+rax*2]
	add	rbx, rbp
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rdi, r13
	mov	rsi, r12
	add	r13, 3
	call	strcpy@PLT
	cmp	r13, rbx
	jne	.L8
	mov	eax, 249
	sub	eax, DWORD PTR 12[rsp]
	lea	rax, 3[rax+rax*2]
	add	rbp, rax
.L7:
	mov	rdx, r15
	lea	rsi, .LC3[rip]
	mov	rdi, rbp
	call	sprintf@PLT
	mov	rdi, r14
	call	puts@PLT
	xor	edi, edi
	call	exit@PLT
	mov	rax, QWORD PTR 2072[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L30
	add	rsp, 2088
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L30:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.comm	stderr,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_19731.c_main.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"GET %s\000"
	.align	2
.LC1:
	.ascii	"%20\000"
	.align	2
.LC2:
	.ascii	".htw?CiWebHitsFile=%s&CiRestriction=none&CiHiliteTy"
	.ascii	"pe=Full HTTP/1.0\012\012\000"
	.align	2
.LC3:
	.ascii	"/default.htm\000"
	.align	2
.LC4:
	.ascii	"usage: iiscat file_to_read [valid_file]\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.section	.text.startup,"ax",%progbits
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 2056
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L30
	sub	sp, sp, #2048
	sub	sp, sp, #8
	cmp	r0, #2
	mov	r4, r1
	ldr	r3, [r3]
	str	r3, [sp, #2052]
	mov	r3,#0
	beq	.L27
	cmp	r0, #3
	bne	.L3
	ldr	r8, [r1, #4]
	cmp	r8, #0
	beq	.L5
	ldr	r6, [r1, #8]
	cmp	r6, #0
	beq	.L5
	mov	r0, r8
	bl	strlen
	cmp	r0, #250
	ble	.L28
.L5:
	ldr	r3, .L30+4
	ldr	r1, .L30+8
	ldr	r0, [r3]
	bl	fprintf
	mov	r0, #1
	bl	exit
	ldr	r8, [r4, #4]
	ldr	r6, [r4, #8]
.L9:
	add	r7, sp, #4
	mov	r2, r6
	ldr	r1, .L30+12
	mov	r0, r7
	bl	sprintf
	mov	r0, r7
	bl	strlen
	mov	r5, r0
	mov	r0, r6
	bl	strlen
	rsbs	r3, r0, #250
	add	r5, r7, r5
	beq	.L6
	mov	r4, r5
	b	.L8
.L27:
	ldr	r8, [r1, #4]
	cmp	r8, #0
	beq	.L3
	mov	r0, r8
	bl	strlen
	cmp	r0, #1024
	blt	.L4
.L3:
	ldr	r3, .L30+4
	ldr	r1, .L30+8
	ldr	r0, [r3]
	bl	fprintf
	mov	r0, #1
	bl	exit
	ldr	r8, [r4, #4]
.L4:
	add	r7, sp, #4
	ldr	r2, .L30+16
	ldr	r1, .L30+12
	mov	r0, r7
	bl	sprintf
	mov	r0, r7
	bl	strlen
	mov	r3, #238
	add	r4, r7, r0
.L8:
	add	r3, r3, r3, lsl #1
	ldr	r6, .L30+20
	add	r5, r4, r3
.L7:
	mov	r0, r4
	mov	r2, #4
	mov	r1, r6
	add	r4, r4, #3
	bl	memcpy
	cmp	r4, r5
	bne	.L7
.L6:
	mov	r2, r8
	ldr	r1, .L30+24
	mov	r0, r5
	bl	sprintf
	mov	r0, r7
	bl	puts
	mov	r0, #0
	bl	exit
	ldr	r3, .L30
	ldr	r2, [r3]
	ldr	r3, [sp, #2052]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L29
	mov	r0, #0
	add	sp, sp, #2048
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L28:
	mov	r0, r6
	bl	strlen
	cmp	r0, #1024
	bge	.L5
	b	.L9
.L29:
	bl	__stack_chk_fail
.L31:
	.align	2
.L30:
	.word	.LC5
	.word	stderr
	.word	.LC4
	.word	.LC0
	.word	.LC3
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.comm	stderr,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
