	.file	"999614.c"
	.intel_syntax noprefix
	.text
	.globl	z
	.bss
	.align 4
	.type	z, @object
	.size	z, 4
z:
	.zero	4
	.globl	f
	.align 4
	.type	f, @object
	.size	f, 4
f:
	.zero	4
	.globl	x
	.align 4
	.type	x, @object
	.size	x, 4
x:
	.zero	4
	.globl	a
	.align 32
	.type	a, @object
	.size	a, 2048
a:
	.zero	2048
	.globl	b
	.align 4
	.type	b, @object
	.size	b, 4
b:
	.zero	4
	.globl	d
	.align 32
	.type	d, @object
	.size	d, 1048576
d:
	.zero	1048576
	.globl	m
	.align 32
	.type	m, @object
	.size	m, 2048
m:
	.zero	2048
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	o
	.align 4
	.type	o, @object
	.size	o, 4
o:
	.zero	4
	.section	.rodata
.LC0:
	.string	"usage:  ag <pattern> [js...]\n"
.LC1:
	.string	"-"
.LC2:
	.string	"r"
.LC3:
	.string	"ag: Failed to open '%s'.\n"
.LC4:
	.string	"%s:%s"
	.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 64
	mov	DWORD PTR -8244[rbp], edi
	mov	QWORD PTR -8256[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	sub	DWORD PTR -8244[rbp], 1
	cmp	DWORD PTR -8244[rbp], 0
	jg	.L2
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 29
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	eax, 2
	jmp	.L9
.L2:
	mov	edi, -3
	mov	eax, 0
	call	N
	mov	edx, DWORD PTR b[rip]
	mov	eax, -6
	sub	eax, edx
	mov	edi, eax
	mov	eax, 0
	call	N
	mov	edi, 0
	mov	eax, 0
	call	N
	mov	edx, DWORD PTR b[rip]
	mov	eax, -3
	sub	eax, edx
	mov	edi, eax
	mov	eax, 0
	call	N
	add	QWORD PTR -8256[rbp], 8
	mov	rax, QWORD PTR -8256[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	X
	mov	BYTE PTR -8208[rbp], 10
	mov	DWORD PTR o[rip], 1
	mov	DWORD PTR -8228[rbp], 1
.L8:
	lea	rax, .LC1[rip]
	mov	QWORD PTR -8216[rbp], rax
	mov	rax, QWORD PTR stdin[rip]
	mov	QWORD PTR -8224[rbp], rax
	cmp	DWORD PTR -8244[rbp], 1
	jle	.L6
	add	QWORD PTR -8256[rbp], 8
	mov	rax, QWORD PTR -8256[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	je	.L6
	mov	rax, QWORD PTR -8256[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8216[rbp], rax
	mov	rax, QWORD PTR -8216[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8224[rbp], rax
	cmp	QWORD PTR -8224[rbp], 0
	jne	.L6
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -8216[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -8228[rbp], 3
	jmp	.L5
.L7:
	lea	rax, -8208[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	M
	test	eax, eax
	je	.L6
	lea	rax, -8208[rbp]
	add	rax, 1
	mov	rcx, QWORD PTR -8216[rbp]
	mov	rdx, rax
	mov	rsi, rcx
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -8228[rbp], 0
.L6:
	lea	rax, -8208[rbp]
	add	rax, 1
	mov	rdx, QWORD PTR -8224[rbp]
	mov	esi, 8192
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L7
	mov	rax, QWORD PTR -8224[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L5:
	sub	DWORD PTR -8244[rbp], 1
	cmp	DWORD PTR -8244[rbp], 1
	jg	.L8
	mov	eax, DWORD PTR -8228[rbp]
.L9:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	X
	.type	X, @function
X:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	edi, -3
	mov	eax, 0
	call	N
	mov	DWORD PTR -8[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	T
	jmp	.L12
.L13:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	edi, -3
	mov	eax, 0
	call	N
	mov	DWORD PTR -4[rbp], eax
	mov	edi, 10
	mov	eax, 0
	call	N
	mov	eax, DWORD PTR b[rip]
	mov	edx, -4
	mov	ecx, edx
	sub	ecx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, a[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	edi, -3
	mov	eax, 0
	call	N
	mov	DWORD PTR -8[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	T
	mov	eax, DWORD PTR b[rip]
	mov	edx, -4
	mov	ecx, edx
	sub	ecx, eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, a[rip]
	mov	DWORD PTR [rdx+rax], ecx
.L12:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 124
	je	.L13
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	X, .-X
	.globl	T
	.type	T, @function
T:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	jmp	.L15
.L18:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	F
.L15:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 124
	je	.L19
	mov	eax, DWORD PTR x[rip]
	test	eax, eax
	je	.L17
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 41
	je	.L19
.L17:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L18
.L19:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	T, .-T
	.section	.rodata
.LC5:
	.string	"ag: Missing ')'.\n"
	.text
	.globl	F
	.type	F, @function
F:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	edi, -3
	mov	eax, 0
	call	N
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 94
	jne	.L21
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	edi, 10
	mov	eax, 0
	call	N
	jmp	.L22
.L21:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 36
	jne	.L23
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	edi, 10
	mov	eax, 0
	call	N
	jmp	.L22
.L23:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 40
	jne	.L24
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, DWORD PTR x[rip]
	add	eax, 1
	mov	DWORD PTR x[rip], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	X
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 41
	je	.L25
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 17
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	mov	edi, 3
	call	exit@PLT
.L25:
	mov	eax, DWORD PTR x[rip]
	sub	eax, 1
	mov	DWORD PTR x[rip], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	jmp	.L22
.L24:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	L
.L22:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 42
	jne	.L26
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, DWORD PTR b[rip]
	mov	edx, -4
	mov	ecx, edx
	sub	ecx, eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, a[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, -5
	sub	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	mov	eax, 0
	call	N
	jmp	.L28
.L26:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 63
	jne	.L28
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, DWORD PTR b[rip]
	mov	edx, -4
	mov	ecx, edx
	sub	ecx, eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, a[rip]
	mov	DWORD PTR [rdx+rax], ecx
.L28:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	F, .-F
	.globl	L
	.type	L, @function
L:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 46
	jne	.L30
	mov	edi, 0
	mov	eax, 0
	call	N
	jmp	.L31
.L30:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 91
	jne	.L32
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	edi, -2
	mov	eax, 0
	call	N
	mov	DWORD PTR -8[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 94
	jne	.L33
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, a[rip]
	mov	DWORD PTR [rdx+rax], -1
.L33:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 93
	jne	.L35
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	edi, 93
	mov	eax, 0
	call	N
	jmp	.L35
.L39:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L36
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jle	.L36
	jmp	.L37
.L38:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -8[rbp], edx
	mov	edi, eax
	mov	eax, 0
	call	N
.L37:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jle	.L38
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 3[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	jmp	.L35
.L36:
	mov	eax, DWORD PTR -8[rbp]
	mov	edi, eax
	mov	eax, 0
	call	N
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
.L35:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	DWORD PTR -8[rbp], eax
	cmp	DWORD PTR -8[rbp], 93
	jne	.L39
	mov	edi, 10
	mov	eax, 0
	call	N
	jmp	.L31
.L32:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 92
	jne	.L40
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
.L40:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	mov	eax, 0
	call	N
.L31:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	L, .-L
	.section	.rodata
.LC6:
	.string	"ag: Pattern too long.\n"
	.text
	.globl	N
	.type	N, @function
N:
.LFB5:
	.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	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR b[rip]
	cmp	eax, 511
	jle	.L42
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC6[rip]
	call	fwrite@PLT
	mov	edi, 3
	call	exit@PLT
.L42:
	mov	eax, DWORD PTR b[rip]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rdx, a[rip]
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR b[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR b[rip], edx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	N, .-N
	.section	.rodata
.LC7:
	.string	"ag: Out of space.\n"
	.text
	.globl	O
	.type	O, @function
O:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	eax, DWORD PTR n[rip]
	mov	DWORD PTR -4[rbp], eax
	mov	edx, DWORD PTR b[rip]
	mov	eax, DWORD PTR -20[rbp]
	cmp	edx, eax
	jle	.L53
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, a[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, -2
	jge	.L47
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, a[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, -3
	je	.L48
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, a[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, -4
	sub	eax, edx
	mov	edi, eax
	mov	eax, 0
	call	O
.L48:
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	mov	edi, eax
	mov	eax, 0
	call	O
	jmp	.L44
.L47:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, a[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	je	.L50
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, a[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR z[rip]
	cmp	edx, eax
	je	.L50
	lea	rax, -20[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	P
	test	eax, eax
	je	.L44
	jmp	.L50
.L51:
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -4[rbp], edx
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, m[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -20[rbp]
	cmp	edx, eax
	je	.L54
.L50:
	mov	eax, DWORD PTR o[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L51
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	mov	edi, eax
	mov	eax, 0
	call	U
	mov	DWORD PTR f[rip], eax
	mov	eax, DWORD PTR o[rip]
	cmp	eax, 511
	jle	.L52
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 18
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	mov	edi, 3
	call	exit@PLT
.L52:
	mov	eax, DWORD PTR o[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR o[rip], edx
	mov	edx, DWORD PTR -20[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, m[rip]
	mov	DWORD PTR [rcx+rax], edx
	jmp	.L44
.L53:
	nop
	jmp	.L44
.L54:
	nop
.L44:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	O, .-O
	.globl	P
	.type	P, @function
P:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, a[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, -2
	je	.L58
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, a[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, -1
	sete	al
	movzx	eax, al
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	je	.L57
	jmp	.L58
.L59:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, a[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR z[rip]
	cmp	edx, eax
	jne	.L58
	mov	DWORD PTR -8[rbp], 1
.L58:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, a[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 10
	jne	.L59
.L57:
	mov	eax, DWORD PTR -8[rbp]
	xor	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	P, .-P
	.globl	U
	.type	U, @function
U:
.LFB8:
	.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	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR f[rip]
	test	eax, eax
	jne	.L62
	mov	eax, DWORD PTR b[rip]
	cmp	DWORD PTR -4[rbp], eax
	je	.L62
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, a[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, -2
	jge	.L63
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, a[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, -3
	je	.L64
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, a[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, -4
	sub	eax, edx
	mov	edi, eax
	mov	eax, 0
	call	U
	test	eax, eax
	jne	.L62
.L64:
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	mov	edi, eax
	mov	eax, 0
	call	U
	test	eax, eax
	je	.L63
.L62:
	mov	eax, 1
	jmp	.L66
.L63:
	mov	eax, 0
.L66:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	U, .-U
	.globl	M
	.type	M, @function
M:
.LFB9:
	.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	DWORD PTR -16[rbp], 0
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR f[rip], eax
	jmp	.L68
.L81:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	movsx	rdx, eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 9
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, d[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	jle	.L69
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR -16[rbp], eax
	jmp	.L70
.L69:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	DWORD PTR z[rip], eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 11
	mov	rdx, rax
	lea	rax, d[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR o[rip]
	mov	DWORD PTR n[rip], eax
	mov	eax, DWORD PTR n[rip]
	mov	DWORD PTR -8[rbp], eax
.L71:
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -12[rbp], edx
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, m[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	eax, 1
	mov	edi, eax
	mov	eax, 0
	call	O
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, m[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 2
	jne	.L71
	mov	DWORD PTR -4[rbp], 0
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR -12[rbp], eax
	jmp	.L72
.L76:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, m[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 2
	jne	.L73
	mov	eax, DWORD PTR n[rip]
	mov	DWORD PTR -8[rbp], eax
	add	DWORD PTR -4[rbp], 1
.L73:
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -12[rbp], edx
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, m[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, m[rip]
	mov	eax, DWORD PTR [rcx+rax]
	cmp	edx, eax
	jne	.L74
	add	DWORD PTR -8[rbp], 1
	mov	eax, DWORD PTR o[rip]
	cmp	DWORD PTR -8[rbp], eax
	jl	.L72
	mov	eax, DWORD PTR n[rip]
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, m[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 2
	jne	.L72
	mov	eax, DWORD PTR n[rip]
	mov	DWORD PTR o[rip], eax
	jmp	.L75
.L74:
	mov	eax, DWORD PTR n[rip]
	mov	DWORD PTR -8[rbp], eax
.L72:
	mov	eax, DWORD PTR n[rip]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L76
.L75:
	mov	edx, DWORD PTR n[rip]
	mov	eax, DWORD PTR o[rip]
	cmp	edx, eax
	jge	.L77
	add	DWORD PTR -4[rbp], 1
	mov	eax, DWORD PTR n[rip]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	mov	rcx, rdx
	sal	rcx, 11
	lea	rdx, d[rip]
	mov	DWORD PTR [rcx+rdx], eax
.L77:
	mov	eax, DWORD PTR f[rip]
	test	eax, eax
	jne	.L78
	mov	edx, DWORD PTR -4[rbp]
	jmp	.L79
.L78:
	mov	edx, -1
.L79:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	movsx	rsi, eax
	mov	ecx, DWORD PTR -16[rbp]
	movsx	rcx, ecx
	sal	rcx, 9
	add	rcx, rsi
	lea	rsi, 0[0+rcx*4]
	lea	rcx, d[rip]
	mov	DWORD PTR [rsi+rcx], edx
	movsx	rdx, eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 9
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, d[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -16[rbp], eax
.L70:
	add	QWORD PTR -24[rbp], 1
.L68:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L80
	cmp	DWORD PTR -16[rbp], 0
	jns	.L81
.L80:
	mov	eax, DWORD PTR -16[rbp]
	shr	eax, 31
	movzx	eax, al
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	M, .-M
	.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	"999614.c"
	.text
	.comm	z,4,4
	.comm	f,4,4
	.comm	x,4,4
	.comm	a,2048,4
	.comm	b,4,4
	.comm	d,1048576,4
	.comm	m,2048,4
	.comm	n,4,4
	.comm	o,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"usage:  ag <pattern> [js...]\012\000"
	.align	2
.LC1:
	.ascii	"-\000"
	.align	2
.LC2:
	.ascii	"r\000"
	.align	2
.LC3:
	.ascii	"ag: Failed to open '%s'.\012\000"
	.align	2
.LC4:
	.ascii	"%s:%s\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8224
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #8192
	sub	sp, sp, #36
	sub	r3, fp, #8192
	sub	r3, r3, #12
	str	r0, [r3, #-28]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	str	r1, [r3, #-32]
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-28]
	sub	r3, r3, #1
	str	r3, [r2, #-28]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-28]
	cmp	r3, #0
	bgt	.L2
	ldr	r3, .L11+4
	ldr	r3, [r3]
	mov	r2, #29
	mov	r1, #1
	ldr	r0, .L11+8
	bl	fwrite
	mov	r3, #2
	b	.L9
.L2:
	mvn	r0, #2
	bl	N
	ldr	r3, .L11+12
	ldr	r2, [r3]
	mvn	r3, #5
	sub	r3, r3, r2
	mov	r0, r3
	bl	N
	mov	r0, #0
	bl	N
	ldr	r3, .L11+12
	ldr	r2, [r3]
	mvn	r3, #2
	sub	r3, r3, r2
	mov	r0, r3
	bl	N
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	add	r3, r3, #4
	str	r3, [r2, #-32]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-32]
	bl	X
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, #10
	strb	r2, [r3, #-8]
	ldr	r3, .L11+16
	mov	r2, #1
	str	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-20]
.L8:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L11+20
	str	r3, [r2, #-12]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L11+24
	ldr	r3, [r3]
	str	r3, [r2, #-16]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-28]
	cmp	r3, #1
	ble	.L6
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	add	r3, r3, #4
	str	r3, [r2, #-32]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	beq	.L6
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	ldr	r3, [r3]
	str	r3, [r2, #-12]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r1, .L11+28
	ldr	r0, [r3, #-12]
	bl	fopen
	str	r0, [r4, #-16]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	cmp	r3, #0
	bne	.L6
	ldr	r3, .L11+4
	ldr	r3, [r3]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-12]
	ldr	r1, .L11+32
	mov	r0, r3
	bl	fprintf
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #3
	str	r3, [r2, #-20]
	b	.L5
.L7:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #8
	mov	r0, r3
	bl	M
	mov	r2, r0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-20]
	str	r3, [r1, #-20]
	cmp	r2, #0
	beq	.L6
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #8
	add	r3, r3, #1
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r1, r2
	mov	r2, r3
	ldr	r1, [r1, #-12]
	ldr	r0, .L11+36
	bl	printf
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-20]
.L6:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #8
	add	r3, r3, #1
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-16]
	mov	r1, #8192
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L7
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-16]
	bl	fclose
.L5:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-28]
	sub	r3, r3, #1
	str	r3, [r2, #-28]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-28]
	cmp	r3, #1
	bgt	.L8
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-20]
.L9:
	ldr	r2, .L11
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC5
	.word	stderr
	.word	.LC0
	.word	b
	.word	o
	.word	.LC1
	.word	stdin
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.align	2
	.global	X
	.syntax unified
	.arm
	.fpu softvfp
	.type	X, %function
X:
	@ 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]
	mvn	r0, #2
	bl	N
	str	r0, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	T
	b	.L14
.L15:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	mvn	r0, #2
	bl	N
	str	r0, [fp, #-8]
	mov	r0, #10
	bl	N
	ldr	r3, .L16
	ldr	r2, [r3]
	mvn	r3, #3
	sub	r3, r3, r2
	ldr	r1, .L16+4
	ldr	r2, [fp, #-12]
	str	r3, [r1, r2, lsl #2]
	mvn	r0, #2
	bl	N
	str	r0, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	T
	ldr	r3, .L16
	ldr	r2, [r3]
	mvn	r3, #3
	sub	r3, r3, r2
	ldr	r1, .L16+4
	ldr	r2, [fp, #-8]
	str	r3, [r1, r2, lsl #2]
.L14:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #124
	beq	.L15
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	b
	.word	a
	.size	X, .-X
	.align	2
	.global	T
	.syntax unified
	.arm
	.fpu softvfp
	.type	T, %function
T:
	@ 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]
	b	.L19
.L22:
	ldr	r0, [fp, #-8]
	bl	F
.L19:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #124
	beq	.L23
	ldr	r3, .L24
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L21
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #41
	beq	.L23
.L21:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L22
.L23:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	x
	.size	T, .-T
	.section	.rodata
	.align	2
.LC6:
	.ascii	"ag: Missing ')'.\012\000"
	.text
	.align	2
	.global	F
	.syntax unified
	.arm
	.fpu softvfp
	.type	F, %function
F:
	@ 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]
	mvn	r0, #2
	bl	N
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #94
	bne	.L27
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	mov	r0, #10
	bl	N
	b	.L28
.L27:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #36
	bne	.L29
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	mov	r0, #10
	bl	N
	b	.L28
.L29:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #40
	bne	.L30
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, .L35
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L35
	str	r3, [r2]
	ldr	r0, [fp, #-16]
	bl	X
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #41
	beq	.L31
	ldr	r3, .L35+4
	ldr	r3, [r3]
	mov	r2, #17
	mov	r1, #1
	ldr	r0, .L35+8
	bl	fwrite
	mov	r0, #3
	bl	exit
.L31:
	ldr	r3, .L35
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L35
	str	r3, [r2]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	b	.L28
.L30:
	ldr	r0, [fp, #-16]
	bl	L
.L28:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #42
	bne	.L32
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, .L35+12
	ldr	r2, [r3]
	mvn	r3, #3
	sub	r3, r3, r2
	ldr	r1, .L35+16
	ldr	r2, [fp, #-8]
	str	r3, [r1, r2, lsl #2]
	ldr	r2, [fp, #-8]
	mvn	r3, #4
	sub	r3, r3, r2
	mov	r0, r3
	bl	N
	b	.L34
.L32:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #63
	bne	.L34
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, .L35+12
	ldr	r2, [r3]
	mvn	r3, #3
	sub	r3, r3, r2
	ldr	r1, .L35+16
	ldr	r2, [fp, #-8]
	str	r3, [r1, r2, lsl #2]
.L34:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L36:
	.align	2
.L35:
	.word	x
	.word	stderr
	.word	.LC6
	.word	b
	.word	a
	.size	F, .-F
	.align	2
	.global	L
	.syntax unified
	.arm
	.fpu softvfp
	.type	L, %function
L:
	@ 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]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #46
	bne	.L38
	mov	r0, #0
	bl	N
	b	.L39
.L38:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #91
	bne	.L40
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	mvn	r0, #1
	bl	N
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #94
	bne	.L41
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r2, .L49
	ldr	r3, [fp, #-12]
	mvn	r1, #0
	str	r1, [r2, r3, lsl #2]
.L41:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #93
	bne	.L43
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	mov	r0, #93
	bl	N
	b	.L43
.L47:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L44
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	ble	.L44
	b	.L45
.L46:
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	mov	r0, r3
	bl	N
.L45:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	ble	.L46
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r2, r3, #3
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	b	.L43
.L44:
	ldr	r0, [fp, #-12]
	bl	N
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3]
.L43:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #93
	bne	.L47
	mov	r0, #10
	bl	N
	b	.L39
.L40:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #92
	bne	.L48
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3]
.L48:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	N
.L39:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L50:
	.align	2
.L49:
	.word	a
	.size	L, .-L
	.section	.rodata
	.align	2
.LC7:
	.ascii	"ag: Pattern too long.\012\000"
	.text
	.align	2
	.global	N
	.syntax unified
	.arm
	.fpu softvfp
	.type	N, %function
N:
	@ 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]
	ldr	r3, .L54
	ldr	r3, [r3]
	cmp	r3, #512
	blt	.L52
	ldr	r3, .L54+4
	ldr	r3, [r3]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L54+8
	bl	fwrite
	mov	r0, #3
	bl	exit
.L52:
	ldr	r3, .L54
	ldr	r3, [r3]
	ldr	r1, .L54+12
	ldr	r2, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L54
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L54
	str	r2, [r1]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L55:
	.align	2
.L54:
	.word	b
	.word	stderr
	.word	.LC7
	.word	a
	.size	N, .-N
	.section	.rodata
	.align	2
.LC8:
	.ascii	"ag: Out of space.\012\000"
	.text
	.align	2
	.global	O
	.syntax unified
	.arm
	.fpu softvfp
	.type	O, %function
O:
	@ 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]
	ldr	r3, .L67
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, .L67+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	ble	.L65
	ldr	r3, [fp, #-16]
	ldr	r2, .L67+8
	ldr	r3, [r2, r3, lsl #2]
	cmn	r3, #2
	bge	.L59
	ldr	r3, [fp, #-16]
	ldr	r2, .L67+8
	ldr	r3, [r2, r3, lsl #2]
	cmn	r3, #3
	beq	.L60
	ldr	r3, [fp, #-16]
	ldr	r2, .L67+8
	ldr	r2, [r2, r3, lsl #2]
	mvn	r3, #3
	sub	r3, r3, r2
	mov	r0, r3
	bl	O
.L60:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	mov	r0, r3
	bl	O
	b	.L56
.L59:
	ldr	r3, [fp, #-16]
	ldr	r2, .L67+8
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	beq	.L62
	ldr	r3, [fp, #-16]
	ldr	r2, .L67+8
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L67+12
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L62
	sub	r3, fp, #16
	mov	r0, r3
	bl	P
	mov	r3, r0
	cmp	r3, #0
	beq	.L56
	b	.L62
.L63:
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	ldr	r2, .L67+16
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	beq	.L66
.L62:
	ldr	r3, .L67+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L63
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	mov	r0, r3
	bl	U
	mov	r3, r0
	ldr	r2, .L67+24
	str	r3, [r2]
	ldr	r3, .L67+20
	ldr	r3, [r3]
	cmp	r3, #512
	blt	.L64
	ldr	r3, .L67+28
	ldr	r3, [r3]
	mov	r2, #18
	mov	r1, #1
	ldr	r0, .L67+32
	bl	fwrite
	mov	r0, #3
	bl	exit
.L64:
	ldr	r3, .L67+20
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L67+20
	str	r2, [r1]
	ldr	r2, [fp, #-16]
	ldr	r1, .L67+16
	str	r2, [r1, r3, lsl #2]
	b	.L56
.L65:
	nop
	b	.L56
.L66:
	nop
.L56:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L68:
	.align	2
.L67:
	.word	n
	.word	b
	.word	a
	.word	z
	.word	m
	.word	o
	.word	f
	.word	stderr
	.word	.LC8
	.size	O, .-O
	.align	2
	.global	P
	.syntax unified
	.arm
	.fpu softvfp
	.type	P, %function
P:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, .L75
	ldr	r3, [r2, r3, lsl #2]
	cmn	r3, #2
	beq	.L72
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, .L75
	ldr	r3, [r2, r3, lsl #2]
	cmn	r3, #1
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L71
	b	.L72
.L73:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, .L75
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L75+4
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L72
	mov	r3, #1
	str	r3, [fp, #-12]
.L72:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, .L75
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #10
	bne	.L73
.L71:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	eor	r3, r3, r2
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L76:
	.align	2
.L75:
	.word	a
	.word	z
	.size	P, .-P
	.align	2
	.global	U
	.syntax unified
	.arm
	.fpu softvfp
	.type	U, %function
U:
	@ 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]
	ldr	r3, .L83
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L78
	ldr	r3, .L83+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	beq	.L78
	ldr	r2, .L83+8
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	cmn	r3, #2
	bge	.L79
	ldr	r2, .L83+8
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	cmn	r3, #3
	beq	.L80
	ldr	r2, .L83+8
	ldr	r3, [fp, #-8]
	ldr	r2, [r2, r3, lsl #2]
	mvn	r3, #3
	sub	r3, r3, r2
	mov	r0, r3
	bl	U
	mov	r3, r0
	cmp	r3, #0
	bne	.L78
.L80:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	mov	r0, r3
	bl	U
	mov	r3, r0
	cmp	r3, #0
	beq	.L79
.L78:
	mov	r3, #1
	b	.L82
.L79:
	mov	r3, #0
.L82:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L84:
	.align	2
.L83:
	.word	f
	.word	b
	.word	a
	.size	U, .-U
	.align	2
	.global	M
	.syntax unified
	.arm
	.fpu softvfp
	.type	M, %function
M:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r2, .L101
	ldr	r3, [fp, #-20]
	str	r3, [r2]
	b	.L86
.L99:
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r2, .L101+4
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #9
	add	r3, r3, r1
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	ble	.L87
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-20]
	b	.L88
.L87:
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L101+8
	str	r2, [r3]
	ldr	r2, .L101+4
	ldr	r3, [fp, #-20]
	ldr	r3, [r2, r3, lsl #11]
	str	r3, [fp, #-16]
	ldr	r3, .L101+12
	ldr	r3, [r3]
	ldr	r2, .L101+16
	str	r3, [r2]
	ldr	r3, .L101+16
	ldr	r3, [r3]
	str	r3, [fp, #-12]
.L89:
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	ldr	r2, .L101+20
	ldr	r3, [r2, r3, lsl #2]
	add	r3, r3, #1
	mov	r0, r3
	bl	O
	ldr	r2, .L101+20
	ldr	r3, [fp, #-16]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #2
	bne	.L89
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-16]
	b	.L90
.L94:
	ldr	r2, .L101+20
	ldr	r3, [fp, #-16]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #2
	bne	.L91
	ldr	r3, .L101+16
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L91:
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	ldr	r2, .L101+20
	ldr	r2, [r2, r3, lsl #2]
	ldr	r1, .L101+20
	ldr	r3, [fp, #-12]
	ldr	r3, [r1, r3, lsl #2]
	cmp	r2, r3
	bne	.L92
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, .L101+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L90
	ldr	r3, .L101+16
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r2, .L101+20
	ldr	r3, [fp, #-16]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #2
	bne	.L90
	ldr	r3, .L101+16
	ldr	r3, [r3]
	ldr	r2, .L101+12
	str	r3, [r2]
	b	.L93
.L92:
	ldr	r3, .L101+16
	ldr	r3, [r3]
	str	r3, [fp, #-12]
.L90:
	ldr	r3, .L101+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L94
.L93:
	ldr	r3, .L101+16
	ldr	r2, [r3]
	ldr	r3, .L101+12
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L95
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, .L101+16
	ldr	r2, [r3]
	ldr	r1, .L101+4
	ldr	r3, [fp, #-8]
	str	r2, [r1, r3, lsl #11]
.L95:
	ldr	r3, .L101
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L96
	ldr	r3, [fp, #-8]
	b	.L97
.L96:
	mvn	r3, #0
.L97:
	ldr	r2, [fp, #-24]
	ldrb	r2, [r2]	@ zero_extendqisi2
	ldr	r0, .L101+4
	ldr	r1, [fp, #-20]
	lsl	r1, r1, #9
	add	r1, r1, r2
	str	r3, [r0, r1, lsl #2]
	ldr	r1, .L101+4
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #9
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	str	r3, [fp, #-20]
.L88:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L86:
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L98
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bge	.L99
.L98:
	ldr	r3, [fp, #-20]
	lsr	r3, r3, #31
	and	r3, r3, #255
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L102:
	.align	2
.L101:
	.word	f
	.word	d
	.word	z
	.word	o
	.word	n
	.word	m
	.size	M, .-M
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
