	.file	"433916.c"
	.intel_syntax noprefix
	.text
	.globl	freq
	.bss
	.align 32
	.type	freq, @object
	.size	freq, 208
freq:
	.zero	208
	.globl	pairs
	.align 32
	.type	pairs, @object
	.size	pairs, 5408
pairs:
	.zero	5408
	.globl	x
	.align 8
	.type	x, @object
	.size	x, 8
x:
	.zero	8
	.globl	instr
	.align 32
	.type	instr, @object
	.size	instr, 8112
instr:
	.zero	8112
	.globl	instr_count
	.align 8
	.type	instr_count, @object
	.size	instr_count, 8
instr_count:
	.zero	8
	.text
	.globl	applyInstructions
	.type	applyInstructions, @function
applyInstructions:
.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 1344
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -5424[rbp]
	lea	rdx, pairs[rip]
	mov	ecx, 676
	mov	rdi, rax
	mov	rsi, rdx
	rep movsq
	mov	QWORD PTR -5440[rbp], 0
	jmp	.L2
.L3:
	mov	rdx, QWORD PTR -5440[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, instr[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	rdx, QWORD PTR -5440[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, instr[rip+4]
	mov	eax, DWORD PTR [rdx+rax]
	movsx	rsi, eax
	movsx	rdx, ecx
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rsi
	lea	rdx, 0[0+rax*8]
	lea	rax, pairs[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -5432[rbp], rax
	mov	rdx, QWORD PTR -5440[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, instr[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	rdx, QWORD PTR -5440[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, instr[rip+4]
	mov	eax, DWORD PTR [rdx+rax]
	movsx	rsi, eax
	movsx	rdx, ecx
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rsi
	mov	rdx, QWORD PTR -5424[rbp+rax*8]
	mov	rcx, QWORD PTR -5440[rbp]
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	lea	rax, instr[rip]
	mov	esi, DWORD PTR [rcx+rax]
	mov	rcx, QWORD PTR -5440[rbp]
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	lea	rax, instr[rip+4]
	mov	eax, DWORD PTR [rcx+rax]
	mov	rcx, rdx
	sub	rcx, QWORD PTR -5432[rbp]
	movsx	rdi, eax
	movsx	rdx, esi
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdi
	mov	QWORD PTR -5424[rbp+rax*8], rcx
	mov	rdx, QWORD PTR -5440[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, instr[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	rdx, QWORD PTR -5440[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, instr[rip+8]
	mov	eax, DWORD PTR [rdx+rax]
	movsx	rsi, eax
	movsx	rdx, ecx
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rsi
	mov	rcx, QWORD PTR -5424[rbp+rax*8]
	mov	rdx, QWORD PTR -5440[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, instr[rip]
	mov	esi, DWORD PTR [rdx+rax]
	mov	rdx, QWORD PTR -5440[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, instr[rip+8]
	mov	eax, DWORD PTR [rdx+rax]
	mov	rdx, QWORD PTR -5432[rbp]
	add	rcx, rdx
	movsx	rdi, eax
	movsx	rdx, esi
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdi
	mov	QWORD PTR -5424[rbp+rax*8], rcx
	mov	rdx, QWORD PTR -5440[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, instr[rip+8]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	rdx, QWORD PTR -5440[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, instr[rip+4]
	mov	eax, DWORD PTR [rdx+rax]
	movsx	rsi, eax
	movsx	rdx, ecx
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rsi
	mov	rcx, QWORD PTR -5424[rbp+rax*8]
	mov	rdx, QWORD PTR -5440[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, instr[rip+8]
	mov	esi, DWORD PTR [rdx+rax]
	mov	rdx, QWORD PTR -5440[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, instr[rip+4]
	mov	eax, DWORD PTR [rdx+rax]
	mov	rdx, QWORD PTR -5432[rbp]
	add	rcx, rdx
	movsx	rdi, eax
	movsx	rdx, esi
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdi
	mov	QWORD PTR -5424[rbp+rax*8], rcx
	mov	rdx, QWORD PTR -5440[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, instr[rip+8]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, freq[rip]
	mov	rcx, QWORD PTR [rdx+rax]
	mov	rdx, QWORD PTR -5440[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, instr[rip+8]
	mov	eax, DWORD PTR [rdx+rax]
	mov	rdx, QWORD PTR -5432[rbp]
	add	rcx, rdx
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, freq[rip]
	mov	QWORD PTR [rdx+rax], rcx
	add	QWORD PTR -5440[rbp], 1
.L2:
	mov	rax, QWORD PTR instr_count[rip]
	cmp	QWORD PTR -5440[rbp], rax
	jb	.L3
	lea	rdx, pairs[rip]
	lea	rax, -5424[rbp]
	mov	ecx, 676
	mov	rdi, rdx
	mov	rsi, rax
	rep movsq
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L4
	call	__stack_chk_fail@PLT
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	applyInstructions, .-applyInstructions
	.section	.rodata
.LC0:
	.string	"\n%c%c -> %c"
.LC1:
	.string	"Result: %lu\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	rdx, QWORD PTR stdin[rip]
	lea	rcx, -72[rbp]
	lea	rax, -80[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	getline@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	QWORD PTR -64[rbp], 0
	jmp	.L6
.L7:
	mov	rdx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 65
	movsx	rdx, eax
	lea	rcx, 0[0+rdx*8]
	lea	rdx, freq[rip]
	mov	rdx, QWORD PTR [rcx+rdx]
	lea	rcx, 1[rdx]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, freq[rip]
	mov	QWORD PTR [rdx+rax], rcx
	add	QWORD PTR -64[rbp], 1
.L6:
	mov	rax, QWORD PTR -16[rbp]
	sub	rax, 1
	cmp	QWORD PTR -64[rbp], rax
	jb	.L7
	mov	QWORD PTR -56[rbp], 0
	jmp	.L8
.L9:
	mov	rdx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	lea	ecx, -65[rax]
	mov	rdx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, 1
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	lea	esi, -65[rax]
	movsx	rdi, esi
	movsx	rdx, ecx
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdi
	lea	rdx, 0[0+rax*8]
	lea	rax, pairs[rip]
	mov	rax, QWORD PTR [rdx+rax]
	lea	rdi, 1[rax]
	movsx	rsi, esi
	movsx	rdx, ecx
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rsi
	lea	rdx, 0[0+rax*8]
	lea	rax, pairs[rip]
	mov	QWORD PTR [rdx+rax], rdi
	add	QWORD PTR -56[rbp], 1
.L8:
	mov	rax, QWORD PTR -16[rbp]
	sub	rax, 2
	cmp	QWORD PTR -56[rbp], rax
	jb	.L9
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L10
.L11:
	movzx	eax, BYTE PTR -83[rbp]
	movsx	eax, al
	mov	rdx, QWORD PTR instr_count[rip]
	lea	ecx, -65[rax]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, instr[rip]
	mov	DWORD PTR [rdx+rax], ecx
	movzx	eax, BYTE PTR -82[rbp]
	movsx	eax, al
	mov	rdx, QWORD PTR instr_count[rip]
	lea	ecx, -65[rax]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, instr[rip+4]
	mov	DWORD PTR [rdx+rax], ecx
	movzx	eax, BYTE PTR -81[rbp]
	movsx	eax, al
	mov	rdx, QWORD PTR instr_count[rip]
	lea	ecx, -65[rax]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, instr[rip+8]
	mov	DWORD PTR [rdx+rax], ecx
	mov	rax, QWORD PTR instr_count[rip]
	add	rax, 1
	mov	QWORD PTR instr_count[rip], rax
.L10:
	mov	rax, QWORD PTR stdin[rip]
	lea	rsi, -81[rbp]
	lea	rcx, -82[rbp]
	lea	rdx, -83[rbp]
	mov	r8, rsi
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, 3
	je	.L11
	mov	QWORD PTR -48[rbp], 0
	jmp	.L12
.L13:
	mov	eax, 0
	call	applyInstructions
	add	QWORD PTR -48[rbp], 1
.L12:
	cmp	QWORD PTR -48[rbp], 9
	jbe	.L13
	mov	QWORD PTR -40[rbp], -1
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	jmp	.L14
.L17:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 0[0+rax*8]
	lea	rax, freq[rip]
	mov	rax, QWORD PTR [rdx+rax]
	test	rax, rax
	je	.L15
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 0[0+rax*8]
	lea	rax, freq[rip]
	mov	rax, QWORD PTR [rdx+rax]
	cmp	QWORD PTR -40[rbp], rax
	jbe	.L15
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 0[0+rax*8]
	lea	rax, freq[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -40[rbp], rax
.L15:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 0[0+rax*8]
	lea	rax, freq[rip]
	mov	rax, QWORD PTR [rdx+rax]
	cmp	QWORD PTR -32[rbp], rax
	jnb	.L16
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 0[0+rax*8]
	lea	rax, freq[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -32[rbp], rax
.L16:
	add	QWORD PTR -24[rbp], 1
.L14:
	cmp	QWORD PTR -24[rbp], 25
	jbe	.L17
	mov	rax, QWORD PTR -32[rbp]
	sub	rax, QWORD PTR -40[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"433916.c"
	.text
	.comm	freq,104,4
	.comm	pairs,2704,4
	.comm	x,4,4
	.comm	instr,8112,4
	.comm	instr_count,4,4
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	applyInstructions
	.syntax unified
	.arm
	.fpu softvfp
	.type	applyInstructions, %function
applyInstructions:
	@ args = 0, pretend = 0, frame = 2720
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #2720
	ldr	r3, .L5
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, .L5+4
	sub	r3, fp, #2704
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r2
	mov	r2, #2704
	mov	r0, r3
	bl	memcpy
	mov	r3, #0
	str	r3, [fp, #-2720]
	b	.L2
.L3:
	ldr	r1, .L5+8
	ldr	r2, [fp, #-2720]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r3]
	ldr	r0, .L5+8
	ldr	r1, [fp, #-2720]
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #4
	ldr	r1, [r3]
	ldr	r0, .L5+4
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	str	r3, [fp, #-2716]
	ldr	r1, .L5+8
	ldr	r2, [fp, #-2720]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r3]
	ldr	r0, .L5+8
	ldr	r1, [fp, #-2720]
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #4
	ldr	r1, [r3]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	ip, [r3, #-2708]
	ldr	r1, .L5+8
	ldr	r2, [fp, #-2720]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r3]
	ldr	r0, .L5+8
	ldr	r1, [fp, #-2720]
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #4
	ldr	r0, [r3]
	ldr	r3, [fp, #-2716]
	sub	r1, ip, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r0
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-2708]
	ldr	r1, .L5+8
	ldr	r2, [fp, #-2720]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r3]
	ldr	r0, .L5+8
	ldr	r1, [fp, #-2720]
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #8
	ldr	r1, [r3]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	ip, [r3, #-2708]
	ldr	r1, .L5+8
	ldr	r2, [fp, #-2720]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r3]
	ldr	r0, .L5+8
	ldr	r1, [fp, #-2720]
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #8
	ldr	r0, [r3]
	ldr	r3, [fp, #-2716]
	add	r1, ip, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r0
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-2708]
	ldr	r1, .L5+8
	ldr	r2, [fp, #-2720]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #8
	ldr	r2, [r3]
	ldr	r0, .L5+8
	ldr	r1, [fp, #-2720]
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #4
	ldr	r1, [r3]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	ip, [r3, #-2708]
	ldr	r1, .L5+8
	ldr	r2, [fp, #-2720]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #8
	ldr	r2, [r3]
	ldr	r0, .L5+8
	ldr	r1, [fp, #-2720]
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #4
	ldr	r0, [r3]
	ldr	r3, [fp, #-2716]
	add	r1, ip, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r0
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-2708]
	ldr	r1, .L5+8
	ldr	r2, [fp, #-2720]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r2, .L5+12
	ldr	r1, [r2, r3, lsl #2]
	ldr	r0, .L5+8
	ldr	r2, [fp, #-2720]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r2, [fp, #-2716]
	add	r2, r1, r2
	ldr	r1, .L5+12
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-2720]
	add	r3, r3, #1
	str	r3, [fp, #-2720]
.L2:
	ldr	r3, .L5+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-2720]
	cmp	r2, r3
	bcc	.L3
	ldr	r3, .L5+4
	mov	r0, r3
	sub	r3, fp, #2704
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #2704
	mov	r1, r3
	bl	memcpy
	nop
	ldr	r3, .L5
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L4
	bl	__stack_chk_fail
.L4:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC0
	.word	pairs
	.word	instr
	.word	freq
	.word	instr_count
	.size	applyInstructions, .-applyInstructions
	.section	.rodata
	.align	2
.LC1:
	.ascii	"\012%c%c -> %c\000"
	.align	2
.LC2:
	.ascii	"Result: %lu\012\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	ldr	r3, .L22
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-40]
	ldr	r3, .L22+4
	ldr	r2, [r3]
	sub	r1, fp, #40
	sub	r3, fp, #44
	mov	r0, r3
	bl	getline
	mov	r3, r0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L8
.L9:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #65
	ldr	r2, .L22+8
	ldr	r2, [r2, r3, lsl #2]
	add	r2, r2, #1
	ldr	r1, .L22+8
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L8:
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	bcc	.L9
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L10
.L11:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r2, r3, #65
	ldr	r1, [fp, #-44]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r1, r3, #65
	ldr	r0, .L22+12
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	add	r0, r3, #1
	ldr	ip, .L22+12
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r1
	str	r0, [ip, r3, lsl #2]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L10:
	ldr	r3, [fp, #-12]
	sub	r3, r3, #2
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	bcc	.L11
	ldr	r3, [fp, #-44]
	mov	r0, r3
	bl	free
	b	.L12
.L13:
	ldrb	r3, [fp, #-47]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, .L22+16
	ldr	r2, [r3]
	sub	r1, r1, #65
	ldr	r0, .L22+20
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	str	r1, [r3]
	ldrb	r3, [fp, #-46]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, .L22+16
	ldr	r2, [r3]
	sub	r1, r1, #65
	ldr	r0, .L22+20
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #4
	str	r1, [r3]
	ldrb	r3, [fp, #-45]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, .L22+16
	ldr	r2, [r3]
	sub	r1, r1, #65
	ldr	r0, .L22+20
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #8
	str	r1, [r3]
	ldr	r3, .L22+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L22+16
	str	r3, [r2]
.L12:
	ldr	r3, .L22+4
	ldr	r0, [r3]
	sub	r1, fp, #46
	sub	r2, fp, #47
	sub	r3, fp, #45
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L22+24
	bl	__isoc99_fscanf
	mov	r3, r0
	cmp	r3, #3
	beq	.L13
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L14
.L15:
	bl	applyInstructions
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L14:
	ldr	r3, [fp, #-28]
	cmp	r3, #9
	bls	.L15
	mvn	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L16
.L19:
	ldr	r2, .L22+8
	ldr	r3, [fp, #-16]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	beq	.L17
	ldr	r2, .L22+8
	ldr	r3, [fp, #-16]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bls	.L17
	ldr	r2, .L22+8
	ldr	r3, [fp, #-16]
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-24]
.L17:
	ldr	r2, .L22+8
	ldr	r3, [fp, #-16]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bcs	.L18
	ldr	r2, .L22+8
	ldr	r3, [fp, #-16]
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-20]
.L18:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L16:
	ldr	r3, [fp, #-16]
	cmp	r3, #25
	bls	.L19
	ldr	r3, .L22+28
	ldr	r0, [r3]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L22+32
	bl	fprintf
	mov	r3, #0
	ldr	r2, .L22
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L21
	bl	__stack_chk_fail
.L21:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC3
	.word	stdin
	.word	freq
	.word	pairs
	.word	instr_count
	.word	instr
	.word	.LC1
	.word	stderr
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
