	.file	"442241.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"ERROR: You must have 1 argument."
.LC1:
	.string	"r+"
	.align 8
.LC2:
	.string	"ERROR: There is an error with the file."
.LC3:
	.string	"<a href=\"/wiki/"
.LC4:
	.string	"</a>"
.LC5:
	.string	"title=\""
.LC6:
	.string	"\">"
.LC7:
	.string	"%s \n"
	.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
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 248
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -196[rbp], edi
	mov	QWORD PTR -208[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	r13, rax
	cmp	DWORD PTR -196[rbp], 2
	je	.L2
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L3
.L2:
	mov	rax, QWORD PTR -208[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -184[rbp], rax
	mov	rax, QWORD PTR -184[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -176[rbp], rax
	cmp	QWORD PTR -176[rbp], 0
	jne	.L4
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L3
.L4:
	mov	rax, QWORD PTR -176[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -176[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	QWORD PTR -168[rbp], rax
	mov	rax, QWORD PTR -176[rbp]
	mov	rdi, rax
	call	rewind@PLT
	mov	rax, QWORD PTR -168[rbp]
	add	rax, 1
	mov	rdx, rax
	sub	rdx, 1
	mov	QWORD PTR -160[rbp], rdx
	mov	QWORD PTR -224[rbp], rax
	mov	QWORD PTR -216[rbp], 0
	mov	QWORD PTR -240[rbp], rax
	mov	QWORD PTR -232[rbp], 0
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L5:
	cmp	rsp, rdx
	je	.L6
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L5
.L6:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L7
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L7:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -152[rbp], rax
	mov	rax, QWORD PTR -168[rbp]
	lea	rsi, 1[rax]
	mov	rdx, QWORD PTR -176[rbp]
	mov	rax, QWORD PTR -152[rbp]
	mov	rcx, rdx
	mov	rdx, rsi
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	rdx, QWORD PTR -152[rbp]
	mov	rax, QWORD PTR -168[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -152[rbp]
	mov	QWORD PTR -144[rbp], rax
	mov	rax, QWORD PTR -144[rbp]
	mov	QWORD PTR -192[rbp], rax
.L21:
	mov	rax, rsp
	mov	rbx, rax
	mov	rax, QWORD PTR -192[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strstr@PLT
	mov	QWORD PTR -144[rbp], rax
	cmp	QWORD PTR -144[rbp], 0
	je	.L24
	mov	rax, QWORD PTR -144[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strstr@PLT
	mov	QWORD PTR -136[rbp], rax
	cmp	QWORD PTR -136[rbp], 0
	je	.L25
	mov	rax, QWORD PTR -136[rbp]
	sub	rax, QWORD PTR -144[rbp]
	mov	QWORD PTR -128[rbp], rax
	mov	rax, QWORD PTR -128[rbp]
	mov	rdx, rax
	sub	rdx, 1
	mov	QWORD PTR -120[rbp], rdx
	mov	r14, rax
	mov	r15d, 0
	mov	QWORD PTR -256[rbp], rax
	mov	QWORD PTR -248[rbp], 0
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L11:
	cmp	rsp, rdx
	je	.L12
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L11
.L12:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L13
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L13:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -112[rbp], rax
	mov	rax, QWORD PTR -136[rbp]
	sub	rax, QWORD PTR -144[rbp]
	mov	rdx, rax
	mov	rcx, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR -112[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	mov	rdx, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -112[rbp]
	add	rax, 16
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strstr@PLT
	mov	QWORD PTR -104[rbp], rax
	cmp	QWORD PTR -104[rbp], 0
	je	.L14
	mov	rax, QWORD PTR -144[rbp]
	add	rax, 16
	mov	QWORD PTR -192[rbp], rax
	mov	rsp, rbx
	jmp	.L21
.L14:
	mov	rax, QWORD PTR -144[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strstr@PLT
	mov	QWORD PTR -96[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strstr@PLT
	mov	QWORD PTR -88[rbp], rax
	cmp	QWORD PTR -96[rbp], 0
	je	.L16
	cmp	QWORD PTR -88[rbp], 0
	je	.L16
	mov	rax, rsp
	mov	r12, rax
	mov	rax, QWORD PTR -96[rbp]
	lea	rdx, 7[rax]
	mov	rax, QWORD PTR -88[rbp]
	sub	rax, rdx
	mov	QWORD PTR -80[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	mov	rdx, rax
	sub	rdx, 1
	mov	QWORD PTR -72[rbp], rdx
	mov	QWORD PTR -272[rbp], rax
	mov	QWORD PTR -264[rbp], 0
	mov	QWORD PTR -288[rbp], rax
	mov	QWORD PTR -280[rbp], 0
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L17:
	cmp	rsp, rdx
	je	.L18
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L17
.L18:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L19
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L19:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	lea	rdx, 7[rax]
	mov	rax, QWORD PTR -88[rbp]
	sub	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR -96[rbp]
	lea	rcx, 7[rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rsp, r12
.L16:
	mov	rax, QWORD PTR -144[rbp]
	add	rax, 16
	mov	QWORD PTR -192[rbp], rax
	mov	rsp, rbx
	jmp	.L21
.L24:
	nop
	jmp	.L9
.L25:
	nop
.L9:
	mov	rsp, rbx
	mov	rsp, r13
	mov	eax, 0
	jmp	.L22
.L3:
	mov	rsp, r13
.L22:
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.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	"442241.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"ERROR: You must have 1 argument.\000"
	.align	2
.LC1:
	.ascii	"r+\000"
	.align	2
.LC2:
	.ascii	"ERROR: There is an error with the file.\000"
	.align	2
.LC3:
	.ascii	"<a href=\"/wiki/\000"
	.align	2
.LC4:
	.ascii	"</a>\000"
	.align	2
.LC5:
	.ascii	"title=\"\000"
	.align	2
.LC6:
	.ascii	"\">\000"
	.align	2
.LC7:
	.ascii	"%s \012\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #84
	str	r0, [fp, #-96]
	str	r1, [fp, #-100]
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, sp
	mov	r5, r3
	ldr	r3, [fp, #-96]
	cmp	r3, #2
	beq	.L2
	ldr	r0, .L17+4
	bl	printf
	mvn	r3, #0
	b	.L3
.L2:
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-88]
	ldr	r1, .L17+8
	ldr	r0, [fp, #-88]
	bl	fopen
	str	r0, [fp, #-84]
	ldr	r3, [fp, #-84]
	cmp	r3, #0
	bne	.L4
	ldr	r0, .L17+12
	bl	printf
	mvn	r3, #0
	b	.L3
.L4:
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-84]
	bl	fseek
	ldr	r0, [fp, #-84]
	bl	ftell
	mov	r3, r0
	str	r3, [fp, #-80]
	ldr	r0, [fp, #-84]
	bl	rewind
	ldr	r3, [fp, #-80]
	add	ip, r3, #1
	mov	r3, ip
	sub	r3, r3, #1
	str	r3, [fp, #-76]
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	add	r3, ip, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-80]
	add	r2, r3, #1
	ldr	r3, [fp, #-84]
	mov	r1, #1
	ldr	r0, [fp, #-72]
	bl	fread
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-80]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-72]
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-68]
	str	r3, [fp, #-92]
.L12:
	mov	r3, sp
	mov	r4, r3
	ldr	r1, .L17+16
	ldr	r0, [fp, #-92]
	bl	strstr
	str	r0, [fp, #-68]
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	beq	.L15
	ldr	r1, .L17+20
	ldr	r0, [fp, #-68]
	bl	strstr
	str	r0, [fp, #-64]
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	beq	.L16
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-68]
	sub	r3, r2, r3
	str	r3, [fp, #-60]
	ldr	ip, [fp, #-60]
	mov	r3, ip
	sub	r3, r3, #1
	str	r3, [fp, #-56]
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	add	r3, ip, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-52]
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-68]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r1, [fp, #-68]
	ldr	r0, [fp, #-52]
	bl	strncpy
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-60]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-52]
	add	r3, r3, #16
	ldr	r1, .L17+16
	mov	r0, r3
	bl	strstr
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L8
	ldr	r3, [fp, #-68]
	add	r3, r3, #16
	str	r3, [fp, #-92]
	mov	sp, r4
	b	.L12
.L8:
	ldr	r1, .L17+24
	ldr	r0, [fp, #-68]
	bl	strstr
	str	r0, [fp, #-44]
	ldr	r1, .L17+28
	ldr	r0, [fp, #-44]
	bl	strstr
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L10
	mov	r3, sp
	mov	r6, r3
	ldr	r3, [fp, #-44]
	add	r3, r3, #7
	ldr	r2, [fp, #-40]
	sub	r3, r2, r3
	str	r3, [fp, #-36]
	ldr	ip, [fp, #-36]
	mov	r3, ip
	sub	r3, r3, #1
	str	r3, [fp, #-32]
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	add	r3, ip, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-44]
	add	r1, r3, #7
	ldr	r3, [fp, #-44]
	add	r3, r3, #7
	ldr	r2, [fp, #-40]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r0, [fp, #-28]
	bl	strncpy
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r1, [fp, #-28]
	ldr	r0, .L17+32
	bl	printf
	mov	sp, r6
.L10:
	ldr	r3, [fp, #-68]
	add	r3, r3, #16
	str	r3, [fp, #-92]
	mov	sp, r4
	b	.L12
.L15:
	nop
	b	.L6
.L16:
	nop
.L6:
	mov	sp, r4
	mov	sp, r5
	mov	r3, #0
	b	.L13
.L3:
	mov	sp, r5
.L13:
	ldr	r2, .L17
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
