	.file	"844068.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"output.txt"
	.align 8
.LC2:
	.string	"Critical failure: couldn't open 'output.txt'; does it exist?"
	.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, 656
	mov	DWORD PTR -644[rbp], edi
	mov	QWORD PTR -656[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -624[rbp]
	movabs	rsi, 2337699298997004151
	movabs	rdi, 8371962160346330216
	mov	QWORD PTR [rax], rsi
	mov	QWORD PTR 8[rax], rdi
	movabs	rcx, 3342918213928843119
	mov	QWORD PTR 16[rax], rcx
	mov	DWORD PTR 24[rax], 7171939
	lea	rax, -624[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	system@PLT
	mov	DWORD PTR -636[rbp], eax
	lea	rax, -624[rbp]
	movabs	rsi, 2337699298997004151
	movabs	rdi, 7600509698216842541
	mov	QWORD PTR [rax], rsi
	mov	QWORD PTR 8[rax], rdi
	movabs	rdx, 3472326118665710700
	movabs	rcx, 2318544907597259313
	mov	QWORD PTR 16[rax], rdx
	mov	QWORD PTR 24[rax], rcx
	movabs	rsi, 3400000498352547879
	movabs	rdi, 7236835375144464244
	mov	QWORD PTR 32[rax], rsi
	mov	QWORD PTR 40[rax], rdi
	movabs	rdx, 2340781260037645102
	movabs	rcx, 3251718169545410825
	mov	QWORD PTR 48[rax], rdx
	mov	QWORD PTR 56[rax], rcx
	movabs	rsi, 7598258834677001836
	movabs	rdi, 7811889889785705582
	mov	QWORD PTR 64[rax], rsi
	mov	QWORD PTR 72[rax], rdi
	movabs	rdx, 6656648399187357541
	movabs	rcx, 8312631598116252531
	mov	QWORD PTR 80[rax], rdx
	mov	QWORD PTR 88[rax], rcx
	movabs	rsi, 6638969038579711274
	movabs	rdi, 2476517074021069872
	mov	QWORD PTR 96[rax], rsi
	mov	QWORD PTR 104[rax], rdi
	movabs	rcx, 3398295073185869916
	mov	QWORD PTR 112[rax], rcx
	mov	DWORD PTR 120[rax], 2582377
	lea	rax, -624[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	system@PLT
	mov	DWORD PTR -636[rbp], eax
	lea	rax, -624[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -624[rbp]
	add	rax, rdx
	movabs	rcx, 8462391747553541664
	mov	QWORD PTR [rax], rcx
	mov	DWORD PTR 8[rax], 2020879988
	mov	WORD PTR 12[rax], 116
	lea	rax, -624[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	system@PLT
	mov	DWORD PTR -636[rbp], eax
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -632[rbp], rax
	mov	rdx, QWORD PTR -632[rbp]
	lea	rax, -208[rbp]
	mov	esi, 200
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	je	.L2
	lea	rax, -416[rbp]
	movabs	rdx, 8371962160346330216
	movabs	rcx, 3342918213928843119
	mov	QWORD PTR [rax], rdx
	mov	QWORD PTR 8[rax], rcx
	mov	DWORD PTR 16[rax], 795701091
	mov	BYTE PTR 20[rax], 0
	lea	rdx, -208[rbp]
	lea	rax, -416[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	lea	rax, -624[rbp]
	movabs	rcx, 2337699298997004151
	mov	QWORD PTR [rax], rcx
	mov	BYTE PTR 8[rax], 0
	lea	rdx, -416[rbp]
	lea	rax, -624[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	lea	rax, -624[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	system@PLT
	jmp	.L3
.L2:
	lea	rdi, .LC2[rip]
	call	puts@PLT
.L3:
	lea	rax, -624[rbp]
	movabs	rsi, 7575172695196462709
	movabs	rdi, 7887043396230276206
	mov	QWORD PTR [rax], rsi
	mov	QWORD PTR 8[rax], rdi
	mov	WORD PTR 16[rax], 108
	lea	rax, -624[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	system@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	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	"844068.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"wget -q http://towingnd.com\000"
	.align	2
.LC1:
	.ascii	"wget -q -U \"Mozilla/5.001\" -O - 'http://towingnd."
	.ascii	"com' | \011\011perl -lne 'print$1while/<\\s*a\\s+hr"
	.ascii	"ef\\s*=\\s*[\"\\047]([^\"\\047]+)/ig'\000"
	.align	2
.LC2:
	.ascii	" > output.txt\000"
	.align	2
.LC3:
	.ascii	"r\000"
	.align	2
.LC4:
	.ascii	"output.txt\000"
	.align	2
.LC5:
	.ascii	"http://towingnd.com/\000"
	.align	2
.LC6:
	.ascii	"wget -q \000"
	.align	2
.LC7:
	.ascii	"Critical failure: couldn't open 'output.txt'; does "
	.ascii	"it exist?\000"
	.align	2
.LC8:
	.ascii	"unlink index.html\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 624
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #624
	str	r0, [fp, #-624]
	str	r1, [fp, #-628]
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #608
	ldr	r2, .L6+4
	mov	ip, r3
	mov	lr, r2
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	sub	r3, fp, #608
	mov	r0, r3
	bl	system
	str	r0, [fp, #-616]
	sub	r3, fp, #608
	ldr	r2, .L6+8
	mov	r0, r3
	mov	r1, r2
	mov	r3, #124
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #608
	mov	r0, r3
	bl	system
	str	r0, [fp, #-616]
	sub	r3, fp, #608
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #608
	add	r3, r3, r2
	ldr	r2, .L6+12
	mov	r0, r3
	mov	r1, r2
	mov	r3, #14
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #608
	mov	r0, r3
	bl	system
	str	r0, [fp, #-616]
	ldr	r1, .L6+16
	ldr	r0, .L6+20
	bl	fopen
	str	r0, [fp, #-612]
	sub	r3, fp, #208
	ldr	r2, [fp, #-612]
	mov	r1, #200
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	beq	.L2
	sub	r3, fp, #408
	ldr	r2, .L6+24
	mov	ip, r3
	mov	lr, r2
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	str	r0, [ip]
	add	ip, ip, #4
	strb	r1, [ip]
	sub	r2, fp, #208
	sub	r3, fp, #408
	mov	r1, r2
	mov	r0, r3
	bl	strcat
	sub	r3, fp, #608
	ldr	r2, .L6+28
	ldm	r2, {r0, r1, r2}
	stmia	r3!, {r0, r1}
	strb	r2, [r3]
	sub	r2, fp, #408
	sub	r3, fp, #608
	mov	r1, r2
	mov	r0, r3
	bl	strcat
	sub	r3, fp, #608
	mov	r0, r3
	bl	system
	b	.L3
.L2:
	ldr	r0, .L6+32
	bl	puts
.L3:
	sub	r3, fp, #608
	ldr	r2, .L6+36
	mov	ip, r3
	mov	lr, r2
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	strh	r3, [ip]	@ movhi
	sub	r3, fp, #608
	mov	r0, r3
	bl	system
	mov	r3, #0
	ldr	r2, .L6
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC9
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
