	.file	"909946.c"
	.intel_syntax noprefix
	.text
	.globl	ReadLine
	.type	ReadLine, @function
ReadLine:
.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	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L2
.L4:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -8[rbp], rdx
	mov	edx, DWORD PTR -12[rbp]
	mov	BYTE PTR [rax], dl
	cmp	DWORD PTR -12[rbp], 10
	je	.L7
.L2:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], -1
	jne	.L4
	jmp	.L3
.L7:
	nop
.L3:
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], 0
	cmp	DWORD PTR -12[rbp], -1
	jne	.L5
	mov	eax, 0
	jmp	.L6
.L5:
	mov	eax, 1
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	ReadLine, .-ReadLine
	.globl	WriteLine
	.type	WriteLine, @function
WriteLine:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rsi, rax
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	WriteLine, .-WriteLine
	.section	.rodata
.LC0:
	.string	"=="
.LC1:
	.string	"+="
	.text
	.globl	ApplyPattern
	.type	ApplyPattern, @function
ApplyPattern:
.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, 352
	mov	QWORD PTR -328[rbp], rdi
	mov	QWORD PTR -336[rbp], rsi
	mov	DWORD PTR -340[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -272[rbp]
	mov	QWORD PTR -304[rbp], rax
	mov	eax, DWORD PTR -340[rbp]
	mov	DWORD PTR -312[rbp], eax
	mov	rax, QWORD PTR -328[rbp]
	mov	QWORD PTR -296[rbp], rax
	mov	rax, QWORD PTR -296[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 91
	jne	.L15
	jmp	.L12
.L14:
	mov	rax, QWORD PTR -296[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -296[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L12
	mov	eax, -1
	jmp	.L29
.L12:
	mov	rax, QWORD PTR -296[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 93
	jne	.L14
	mov	rax, QWORD PTR -296[rbp]
	sub	rax, QWORD PTR -328[rbp]
	add	eax, 1
	mov	DWORD PTR -308[rbp], eax
	mov	eax, 255
	cmp	DWORD PTR -308[rbp], 255
	cmovle	eax, DWORD PTR -308[rbp]
	mov	DWORD PTR -308[rbp], eax
	mov	eax, DWORD PTR -308[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -328[rbp]
	mov	rsi, rax
	lea	rdi, Section.0[rip]
	call	strncpy@PLT
	mov	eax, DWORD PTR -308[rbp]
	cdqe
	lea	rdx, Section.0[rip]
	mov	BYTE PTR [rax+rdx], 0
	jmp	.L15
.L28:
	mov	eax, DWORD PTR -312[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -336[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -304[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -304[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L16
	mov	rax, QWORD PTR -304[rbp]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -328[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L15
	mov	eax, 0
	jmp	.L29
.L16:
	mov	rax, QWORD PTR -304[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 91
	jne	.L18
	lea	rdi, Section.0[rip]
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -304[rbp]
	mov	rsi, rax
	lea	rdi, Section.0[rip]
	call	strncmp@PLT
	test	eax, eax
	je	.L20
	jmp	.L15
.L21:
	mov	rax, QWORD PTR -304[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -304[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L20
	mov	eax, -1
	jmp	.L29
.L20:
	mov	rax, QWORD PTR -304[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 93
	jne	.L21
	add	QWORD PTR -304[rbp], 1
.L18:
	mov	rax, QWORD PTR -304[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strstr@PLT
	mov	QWORD PTR -288[rbp], rax
	mov	rax, QWORD PTR -304[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strstr@PLT
	mov	QWORD PTR -280[rbp], rax
	cmp	QWORD PTR -288[rbp], 0
	je	.L22
	mov	rax, QWORD PTR -288[rbp]
	sub	rax, QWORD PTR -304[rbp]
	mov	rdx, rax
	mov	rcx, QWORD PTR -304[rbp]
	mov	rax, QWORD PTR -328[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L15
	add	QWORD PTR -288[rbp], 2
	mov	rax, QWORD PTR -328[rbp]
	mov	esi, 61
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -296[rbp], rax
	cmp	QWORD PTR -296[rbp], 0
	jne	.L24
	mov	eax, -1
	jmp	.L29
.L24:
	add	QWORD PTR -296[rbp], 1
	mov	rax, QWORD PTR -296[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L24
	mov	rax, QWORD PTR -296[rbp]
	mov	BYTE PTR [rax], 0
	mov	rdx, QWORD PTR -288[rbp]
	mov	rax, QWORD PTR -328[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	mov	rax, QWORD PTR -328[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -328[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 2573
	mov	BYTE PTR 2[rax], 0
	jmp	.L15
.L22:
	cmp	QWORD PTR -280[rbp], 0
	je	.L15
	mov	rax, QWORD PTR -280[rbp]
	sub	rax, QWORD PTR -304[rbp]
	mov	rdx, rax
	mov	rcx, QWORD PTR -304[rbp]
	mov	rax, QWORD PTR -328[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L15
	add	QWORD PTR -280[rbp], 2
	mov	rax, QWORD PTR -328[rbp]
	mov	QWORD PTR -296[rbp], rax
	jmp	.L25
.L27:
	add	QWORD PTR -296[rbp], 1
.L25:
	mov	rax, QWORD PTR -296[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 13
	je	.L26
	mov	rax, QWORD PTR -296[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	jne	.L27
.L26:
	mov	rax, QWORD PTR -296[rbp]
	mov	BYTE PTR [rax], 0
	mov	rdx, QWORD PTR -280[rbp]
	mov	rax, QWORD PTR -328[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	mov	rax, QWORD PTR -328[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -328[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 2573
	mov	BYTE PTR 2[rax], 0
.L15:
	mov	eax, DWORD PTR -312[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -312[rbp], edx
	cmp	eax, 3
	jg	.L28
	mov	eax, 0
.L29:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L30
	call	__stack_chk_fail@PLT
.L30:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	ApplyPattern, .-ApplyPattern
	.section	.rodata
	.align 8
.LC2:
	.string	"ModifyInf v1.0 - Intel Modify INF File Utility"
	.align 8
.LC3:
	.string	"  Copyright (C), 1999 - 2008 Intel Corporation"
.LC4:
	.string	""
.LC5:
	.string	"Usage:"
	.align 8
.LC6:
	.string	"  ModifyInf SOURCE DEST [PATTERN]"
.LC7:
	.string	"%s\n"
	.text
	.globl	Usage
	.type	Usage, @function
Usage:
.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, 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, .LC2[rip]
	mov	QWORD PTR -64[rbp], rax
	lea	rax, .LC3[rip]
	mov	QWORD PTR -56[rbp], rax
	lea	rax, .LC4[rip]
	mov	QWORD PTR -48[rbp], rax
	lea	rax, .LC5[rip]
	mov	QWORD PTR -40[rbp], rax
	lea	rax, .LC6[rip]
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -24[rbp], 0
	mov	DWORD PTR -68[rbp], 0
	jmp	.L32
.L33:
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	mov	rdx, QWORD PTR -64[rbp+rax*8]
	mov	rax, QWORD PTR stdout[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -68[rbp], 1
.L32:
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	mov	rax, QWORD PTR -64[rbp+rax*8]
	test	rax, rax
	jne	.L33
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L34
	call	__stack_chk_fail@PLT
.L34:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	Usage, .-Usage
	.section	.rodata
.LC8:
	.string	"rb"
.LC9:
	.string	"Can't open input file!\r"
.LC10:
	.string	"wb"
.LC11:
	.string	"Can't create output file!\r"
	.text
	.globl	main
	.type	main, @function
main:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 304
	mov	DWORD PTR -292[rbp], edi
	mov	QWORD PTR -304[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -292[rbp], 2
	jg	.L36
	call	Usage
	mov	eax, -1
	jmp	.L42
.L36:
	mov	rax, QWORD PTR -304[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -288[rbp], rax
	cmp	QWORD PTR -288[rbp], 0
	jne	.L38
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L42
.L38:
	mov	rax, QWORD PTR -304[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -280[rbp], rax
	cmp	QWORD PTR -280[rbp], 0
	jne	.L40
	mov	rax, QWORD PTR -288[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rdi, .LC11[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L42
.L41:
	mov	edx, DWORD PTR -292[rbp]
	mov	rcx, QWORD PTR -304[rbp]
	lea	rax, -272[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	ApplyPattern
	mov	rdx, QWORD PTR -280[rbp]
	lea	rax, -272[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	WriteLine
.L40:
	mov	rdx, QWORD PTR -288[rbp]
	lea	rax, -272[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	ReadLine
	test	eax, eax
	jne	.L41
	mov	rax, QWORD PTR -288[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -280[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L42:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L43
	call	__stack_chk_fail@PLT
.L43:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	main, .-main
	.local	Section.0
	.comm	Section.0,256,32
	.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	"909946.c"
	.section	.rodata
	.align	2
.LC0:
	.ascii	"ModifyInf v1.0 - Intel Modify INF File Utility\000"
	.align	2
.LC1:
	.ascii	"  Copyright (C), 1999 - 2008 Intel Corporation\000"
	.align	2
.LC2:
	.ascii	"\000"
	.align	2
.LC3:
	.ascii	"Usage:\000"
	.align	2
.LC4:
	.ascii	"  ModifyInf SOURCE DEST [PATTERN]\000"
	.text
	.align	2
	.global	ReadLine
	.syntax unified
	.arm
	.fpu softvfp
	.type	ReadLine, %function
ReadLine:
	@ 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	r3, [fp, #-16]
	str	r3, [fp, #-12]
	b	.L2
.L4:
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	ldr	r2, [fp, #-8]
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	cmp	r3, #10
	beq	.L7
.L2:
	ldr	r0, [fp, #-20]
	bl	fgetc
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L4
	b	.L3
.L7:
	nop
.L3:
	ldr	r3, [fp, #-12]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L5
	mov	r3, #0
	b	.L6
.L5:
	mov	r3, #1
.L6:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	ReadLine, .-ReadLine
	.align	2
	.global	WriteLine
	.syntax unified
	.arm
	.fpu softvfp
	.type	WriteLine, %function
WriteLine:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	strlen
	mov	r1, r0
	ldr	r3, [fp, #-12]
	mov	r2, #1
	ldr	r0, [fp, #-8]
	bl	fwrite
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	WriteLine, .-WriteLine
	.section	.rodata
	.align	2
.LC6:
	.ascii	"==\000"
	.align	2
.LC7:
	.ascii	"+=\000"
	.align	2
.LC8:
	.ascii	"\015\012\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ApplyPattern
	.syntax unified
	.arm
	.fpu softvfp
	.type	ApplyPattern, %function
ApplyPattern:
	@ args = 0, pretend = 0, frame = 304
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #304
	str	r0, [fp, #-296]
	str	r1, [fp, #-300]
	str	r2, [fp, #-304]
	ldr	r3, .L31
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #264
	str	r3, [fp, #-288]
	ldr	r3, [fp, #-304]
	str	r3, [fp, #-284]
	ldr	r3, [fp, #-296]
	str	r3, [fp, #-280]
	ldr	r3, [fp, #-280]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #91
	bne	.L15
	b	.L12
.L14:
	ldr	r3, [fp, #-280]
	add	r2, r3, #1
	str	r2, [fp, #-280]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L12
	mvn	r3, #0
	b	.L29
.L12:
	ldr	r3, [fp, #-280]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #93
	bne	.L14
	ldr	r2, [fp, #-280]
	ldr	r3, [fp, #-296]
	sub	r3, r2, r3
	add	r3, r3, #1
	str	r3, [fp, #-276]
	ldr	r3, [fp, #-276]
	cmp	r3, #255
	movlt	r3, r3
	movge	r3, #255
	str	r3, [fp, #-276]
	ldr	r3, [fp, #-276]
	mov	r2, r3
	ldr	r1, [fp, #-296]
	ldr	r0, .L31+4
	bl	strncpy
	ldr	r2, .L31+4
	ldr	r3, [fp, #-276]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	b	.L15
.L28:
	ldr	r3, [fp, #-284]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-300]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-288]
	bl	strcpy
	ldr	r3, [fp, #-288]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L16
	ldr	r3, [fp, #-288]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, [fp, #-296]
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L15
	mov	r3, #0
	b	.L29
.L16:
	ldr	r3, [fp, #-288]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #91
	bne	.L18
	ldr	r0, .L31+4
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-288]
	ldr	r0, .L31+4
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L20
	b	.L15
.L21:
	ldr	r3, [fp, #-288]
	add	r2, r3, #1
	str	r2, [fp, #-288]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L20
	mvn	r3, #0
	b	.L29
.L20:
	ldr	r3, [fp, #-288]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #93
	bne	.L21
	ldr	r3, [fp, #-288]
	add	r3, r3, #1
	str	r3, [fp, #-288]
.L18:
	ldr	r1, .L31+8
	ldr	r0, [fp, #-288]
	bl	strstr
	str	r0, [fp, #-272]
	ldr	r1, .L31+12
	ldr	r0, [fp, #-288]
	bl	strstr
	str	r0, [fp, #-268]
	ldr	r3, [fp, #-272]
	cmp	r3, #0
	beq	.L22
	ldr	r2, [fp, #-272]
	ldr	r3, [fp, #-288]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r1, [fp, #-288]
	ldr	r0, [fp, #-296]
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L15
	ldr	r3, [fp, #-272]
	add	r3, r3, #2
	str	r3, [fp, #-272]
	mov	r1, #61
	ldr	r0, [fp, #-296]
	bl	strchr
	str	r0, [fp, #-280]
	ldr	r3, [fp, #-280]
	cmp	r3, #0
	bne	.L24
	mvn	r3, #0
	b	.L29
.L24:
	ldr	r3, [fp, #-280]
	add	r3, r3, #1
	str	r3, [fp, #-280]
	ldr	r3, [fp, #-280]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L24
	ldr	r3, [fp, #-280]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r1, [fp, #-272]
	ldr	r0, [fp, #-296]
	bl	strcat
	ldr	r0, [fp, #-296]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-296]
	add	r3, r3, r2
	ldr	r2, .L31+16
	mov	r0, r3
	mov	r1, r2
	mov	r3, #3
	mov	r2, r3
	bl	memcpy
	b	.L15
.L22:
	ldr	r3, [fp, #-268]
	cmp	r3, #0
	beq	.L15
	ldr	r2, [fp, #-268]
	ldr	r3, [fp, #-288]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r1, [fp, #-288]
	ldr	r0, [fp, #-296]
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L15
	ldr	r3, [fp, #-268]
	add	r3, r3, #2
	str	r3, [fp, #-268]
	ldr	r3, [fp, #-296]
	str	r3, [fp, #-280]
	b	.L25
.L27:
	ldr	r3, [fp, #-280]
	add	r3, r3, #1
	str	r3, [fp, #-280]
.L25:
	ldr	r3, [fp, #-280]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #13
	beq	.L26
	ldr	r3, [fp, #-280]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L27
.L26:
	ldr	r3, [fp, #-280]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r1, [fp, #-268]
	ldr	r0, [fp, #-296]
	bl	strcat
	ldr	r0, [fp, #-296]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-296]
	add	r3, r3, r2
	ldr	r2, .L31+16
	mov	r0, r3
	mov	r1, r2
	mov	r3, #3
	mov	r2, r3
	bl	memcpy
.L15:
	ldr	r3, [fp, #-284]
	sub	r2, r3, #1
	str	r2, [fp, #-284]
	cmp	r3, #3
	bgt	.L28
	mov	r3, #0
.L29:
	ldr	r2, .L31
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L30
	bl	__stack_chk_fail
.L30:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L32:
	.align	2
.L31:
	.word	.LC9
	.word	Section.4796
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	ApplyPattern, .-ApplyPattern
	.section	.rodata
	.align	2
.LC11:
	.ascii	"%s\012\000"
	.align	2
.LC10:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	0
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	Usage
	.syntax unified
	.arm
	.fpu softvfp
	.type	Usage, %function
Usage:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	ldr	r3, .L37
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L37+4
	sub	ip, fp, #32
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L34
.L35:
	ldr	r3, .L37+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-28]
	mov	r2, r3
	ldr	r1, .L37+12
	bl	fprintf
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L34:
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-28]
	cmp	r3, #0
	bne	.L35
	nop
	ldr	r3, .L37
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L36
	bl	__stack_chk_fail
.L36:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC12
	.word	.LC10
	.word	stdout
	.word	.LC11
	.size	Usage, .-Usage
	.section	.rodata
	.align	2
.LC13:
	.ascii	"rb\000"
	.align	2
.LC14:
	.ascii	"Can't open input file!\015\000"
	.align	2
.LC15:
	.ascii	"wb\000"
	.align	2
.LC16:
	.ascii	"Can't create output file!\015\000"
	.align	2
.LC17:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 280
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #280
	str	r0, [fp, #-280]
	str	r1, [fp, #-284]
	ldr	r3, .L48
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-280]
	cmp	r3, #2
	bgt	.L40
	bl	Usage
	mvn	r3, #0
	b	.L46
.L40:
	ldr	r3, [fp, #-284]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L48+4
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-272]
	ldr	r3, [fp, #-272]
	cmp	r3, #0
	bne	.L42
	ldr	r0, .L48+8
	bl	puts
	mvn	r3, #0
	b	.L46
.L42:
	ldr	r3, [fp, #-284]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r1, .L48+12
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-268]
	ldr	r3, [fp, #-268]
	cmp	r3, #0
	bne	.L44
	ldr	r0, [fp, #-272]
	bl	fclose
	ldr	r0, .L48+16
	bl	puts
	mvn	r3, #0
	b	.L46
.L45:
	sub	r3, fp, #264
	ldr	r2, [fp, #-280]
	ldr	r1, [fp, #-284]
	mov	r0, r3
	bl	ApplyPattern
	sub	r3, fp, #264
	ldr	r1, [fp, #-268]
	mov	r0, r3
	bl	WriteLine
.L44:
	sub	r3, fp, #264
	ldr	r1, [fp, #-272]
	mov	r0, r3
	bl	ReadLine
	mov	r3, r0
	cmp	r3, #0
	bne	.L45
	ldr	r0, [fp, #-272]
	bl	fclose
	ldr	r0, [fp, #-268]
	bl	fclose
	mov	r3, #0
.L46:
	ldr	r2, .L48
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L47
	bl	__stack_chk_fail
.L47:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L49:
	.align	2
.L48:
	.word	.LC17
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.size	main, .-main
	.local	Section.4796
	.comm	Section.4796,256,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
