	.file	"518733.c"
	.intel_syntax noprefix
	.text
	.local	table
	.comm	table,8,8
	.local	table_size
	.comm	table_size,4,4
	.local	table_cnt
	.comm	table_cnt,4,4
	.local	_stext
	.comm	_stext,8,8
	.local	_etext
	.comm	_etext,8,8
	.local	_sinittext
	.comm	_sinittext,8,8
	.local	_einittext
	.comm	_einittext,8,8
	.local	_sextratext
	.comm	_sextratext,8,8
	.local	_eextratext
	.comm	_eextratext,8,8
	.local	all_symbols
	.comm	all_symbols,4,4
	.local	symbol_prefix_char
	.comm	symbol_prefix_char,1,1
	.globl	token_profit
	.bss
	.align 32
	.type	token_profit, @object
	.size	token_profit, 262144
token_profit:
	.zero	262144
	.globl	best_table
	.align 32
	.type	best_table, @object
	.size	best_table, 512
best_table:
	.zero	512
	.globl	best_table_len
	.align 32
	.type	best_table_len, @object
	.size	best_table_len, 256
best_table_len:
	.zero	256
	.section	.rodata
	.align 8
.LC0:
	.string	"Usage: kallsyms [--all-symbols] [--symbol-prefix=<prefix char>] < in.map > out.S\n"
	.text
	.type	usage, @function
usage:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 81
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	usage, .-usage
	.section	.rodata
.LC1:
	.string	"atd"
	.text
	.type	is_arm_mapping_symbol, @function
is_arm_mapping_symbol:
.LFB7:
	.cfi_startproc
	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	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 36
	jne	.L3
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC1[rip]
	call	strchr@PLT
	test	rax, rax
	je	.L3
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L4
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	cmp	al, 46
	jne	.L3
.L4:
	mov	eax, 1
	jmp	.L6
.L3:
	mov	eax, 0
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	is_arm_mapping_symbol, .-is_arm_mapping_symbol
	.section	.rodata
.LC2:
	.string	"%llx %c %499s\n"
.LC3:
	.string	"_stext"
.LC4:
	.string	"_etext"
.LC5:
	.string	"_sinittext"
.LC6:
	.string	"_einittext"
.LC7:
	.string	"_sextratext"
.LC8:
	.string	"_eextratext"
.LC9:
	.string	"__kernel_syscall_via_break"
.LC10:
	.string	"__kernel_syscall_via_epc"
.LC11:
	.string	"__kernel_sigtramp"
.LC12:
	.string	"__gp"
	.text
	.type	read_symbol, @function
read_symbol:
.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, 544
	mov	QWORD PTR -536[rbp], rdi
	mov	QWORD PTR -544[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rdx, QWORD PTR -544[rbp]
	lea	rsi, -512[rbp]
	lea	rcx, -525[rbp]
	mov	rax, QWORD PTR -536[rbp]
	mov	r8, rsi
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	DWORD PTR -524[rbp], eax
	cmp	DWORD PTR -524[rbp], 3
	je	.L8
	cmp	DWORD PTR -524[rbp], -1
	je	.L9
	mov	rdx, QWORD PTR -536[rbp]
	lea	rax, -512[rbp]
	mov	esi, 500
	mov	rdi, rax
	call	fgets@PLT
.L9:
	mov	eax, -1
	jmp	.L22
.L8:
	lea	rax, -512[rbp]
	mov	QWORD PTR -520[rbp], rax
	movzx	eax, BYTE PTR symbol_prefix_char[rip]
	test	al, al
	je	.L11
	movzx	edx, BYTE PTR -512[rbp]
	movzx	eax, BYTE PTR symbol_prefix_char[rip]
	cmp	dl, al
	jne	.L11
	add	QWORD PTR -520[rbp], 1
.L11:
	mov	rax, QWORD PTR -520[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L12
	mov	rax, QWORD PTR -544[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR _stext[rip], rax
	jmp	.L13
.L12:
	mov	rax, QWORD PTR -520[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L14
	mov	rax, QWORD PTR -544[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR _etext[rip], rax
	jmp	.L13
.L14:
	mov	rax, QWORD PTR -520[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L15
	mov	rax, QWORD PTR -544[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR _sinittext[rip], rax
	jmp	.L13
.L15:
	mov	rax, QWORD PTR -520[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L16
	mov	rax, QWORD PTR -544[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR _einittext[rip], rax
	jmp	.L13
.L16:
	mov	rax, QWORD PTR -520[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L17
	mov	rax, QWORD PTR -544[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR _sextratext[rip], rax
	jmp	.L13
.L17:
	mov	rax, QWORD PTR -520[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L18
	mov	rax, QWORD PTR -544[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR _eextratext[rip], rax
	jmp	.L13
.L18:
	movzx	eax, BYTE PTR -525[rbp]
	movsx	eax, al
	mov	edi, eax
	call	toupper@PLT
	cmp	eax, 65
	jne	.L19
	mov	rax, QWORD PTR -520[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -520[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -520[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -520[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L13
	mov	eax, -1
	jmp	.L22
.L19:
	movzx	eax, BYTE PTR -525[rbp]
	movsx	eax, al
	mov	edi, eax
	call	toupper@PLT
	cmp	eax, 85
	je	.L20
	mov	rax, QWORD PTR -520[rbp]
	mov	rdi, rax
	call	is_arm_mapping_symbol
	test	eax, eax
	je	.L21
.L20:
	mov	eax, -1
	jmp	.L22
.L21:
	movzx	eax, BYTE PTR -512[rbp]
	cmp	al, 36
	jne	.L13
	mov	eax, -1
	jmp	.L22
.L13:
	lea	rax, -512[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -544[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -544[rbp]
	mov	eax, DWORD PTR 8[rax]
	add	eax, 1
	mov	eax, eax
	mov	rdi, rax
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -544[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -544[rbp]
	mov	rax, QWORD PTR 16[rax]
	lea	rdx, 1[rax]
	lea	rax, -512[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	movzx	edx, BYTE PTR -525[rbp]
	mov	rax, QWORD PTR -544[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	BYTE PTR [rax], dl
	mov	eax, 0
.L22:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	read_symbol, .-read_symbol
	.section	.rodata
.LC13:
	.string	"_compiled."
	.text
	.type	symbol_valid, @function
symbol_valid:
.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 -4[rbp], 1
	movzx	eax, BYTE PTR symbol_prefix_char[rip]
	test	al, al
	je	.L25
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	movzx	eax, BYTE PTR symbol_prefix_char[rip]
	movsx	eax, al
	cmp	edx, eax
	jne	.L25
	add	DWORD PTR -4[rbp], 1
.L25:
	mov	eax, DWORD PTR all_symbols[rip]
	test	eax, eax
	jne	.L26
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR _stext[rip]
	cmp	rdx, rax
	jb	.L27
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR _etext[rip]
	cmp	rdx, rax
	jbe	.L28
.L27:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR _sinittext[rip]
	cmp	rdx, rax
	jb	.L29
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR _einittext[rip]
	cmp	rdx, rax
	jbe	.L28
.L29:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR _sextratext[rip]
	cmp	rdx, rax
	jb	.L30
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR _eextratext[rip]
	cmp	rdx, rax
	jbe	.L28
.L30:
	mov	eax, 0
	jmp	.L31
.L28:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR _etext[rip]
	cmp	rdx, rax
	jne	.L32
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, rdx
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L33
.L32:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR _einittext[rip]
	cmp	rdx, rax
	jne	.L34
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, rdx
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L33
.L34:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR _eextratext[rip]
	cmp	rdx, rax
	jne	.L26
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, rdx
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L26
.L33:
	mov	eax, 0
	jmp	.L31
.L26:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, rdx
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L35
	mov	eax, 0
	jmp	.L31
.L35:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L36
.L38:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, special_symbols.0[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR 16[rdx]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	add	rdx, rcx
	mov	rsi, rax
	mov	rdi, rdx
	call	strcmp@PLT
	test	eax, eax
	jne	.L37
	mov	eax, 0
	jmp	.L31
.L37:
	add	DWORD PTR -8[rbp], 1
.L36:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, special_symbols.0[rip]
	mov	rax, QWORD PTR [rdx+rax]
	test	rax, rax
	jne	.L38
	mov	eax, 1
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	symbol_valid, .-symbol_valid
	.section	.rodata
.LC14:
	.string	"out of memory\n"
	.text
	.type	read_map, @function
read_map:
.LFB10:
	.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	.L40
.L42:
	mov	edx, DWORD PTR table_cnt[rip]
	mov	eax, DWORD PTR table_size[rip]
	cmp	edx, eax
	jb	.L41
	mov	eax, DWORD PTR table_size[rip]
	add	eax, 10000
	mov	DWORD PTR table_size[rip], eax
	mov	eax, DWORD PTR table_size[rip]
	mov	edx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR table[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR table[rip], rax
	mov	rax, QWORD PTR table[rip]
	test	rax, rax
	jne	.L41
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 14
	mov	esi, 1
	lea	rdi, .LC14[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L41:
	mov	rdx, QWORD PTR table[rip]
	mov	eax, DWORD PTR table_cnt[rip]
	mov	ecx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	add	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	read_symbol
	test	eax, eax
	jne	.L40
	mov	eax, DWORD PTR table_cnt[rip]
	add	eax, 1
	mov	DWORD PTR table_cnt[rip], eax
.L40:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L42
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	read_map, .-read_map
	.section	.rodata
.LC15:
	.string	".globl %c%s\n"
.LC16:
	.string	".globl %s\n"
.LC17:
	.string	"\tALGN"
.LC18:
	.string	"%c%s:\n"
.LC19:
	.string	"%s:\n"
	.text
	.type	output_label, @function
output_label:
.LFB11:
	.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
	movzx	eax, BYTE PTR symbol_prefix_char[rip]
	test	al, al
	je	.L44
	movzx	eax, BYTE PTR symbol_prefix_char[rip]
	movsx	eax, al
	mov	rdx, QWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L45
.L44:
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
.L45:
	lea	rdi, .LC17[rip]
	call	puts@PLT
	movzx	eax, BYTE PTR symbol_prefix_char[rip]
	test	al, al
	je	.L46
	movzx	eax, BYTE PTR symbol_prefix_char[rip]
	movsx	eax, al
	mov	rdx, QWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L48
.L46:
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
.L48:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	output_label, .-output_label
	.type	expand_symbol, @function
expand_symbol:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -12[rbp], 0
	jmp	.L50
.L53:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, best_table[rip]
	movzx	eax, BYTE PTR [rdx+rax]
	movzx	eax, al
	cmp	DWORD PTR -8[rbp], eax
	jne	.L51
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, best_table_len[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 1
	jne	.L51
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -40[rbp], rdx
	mov	edx, DWORD PTR -8[rbp]
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -12[rbp], 1
	jmp	.L52
.L51:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, best_table_len[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movzx	eax, al
	mov	edx, DWORD PTR -8[rbp]
	movsx	rdx, edx
	lea	rcx, [rdx+rdx]
	lea	rdx, best_table[rip]
	add	rcx, rdx
	mov	rdx, QWORD PTR -40[rbp]
	mov	esi, eax
	mov	rdi, rcx
	call	expand_symbol
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	add	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	QWORD PTR -40[rbp], rax
.L52:
	add	QWORD PTR -24[rbp], 1
	sub	DWORD PTR -28[rbp], 1
.L50:
	cmp	DWORD PTR -28[rbp], 0
	jne	.L53
	mov	rax, QWORD PTR -40[rbp]
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -12[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	expand_symbol, .-expand_symbol
	.section	.rodata
.LC20:
	.string	"#include <asm/types.h>"
.LC21:
	.string	"#if BITS_PER_LONG == 64"
.LC22:
	.string	"#define PTR .quad"
.LC23:
	.string	"#define ALGN .align 8"
.LC24:
	.string	"#else"
.LC25:
	.string	"#define PTR .long"
.LC26:
	.string	"#define ALGN .align 4"
.LC27:
	.string	"#endif"
.LC28:
	.string	".data"
.LC29:
	.string	"kallsyms_addresses"
.LC30:
	.string	"\tPTR\t%#llx\n"
.LC31:
	.string	"kallsyms_num_syms"
.LC32:
	.string	"\tPTR\t%d\n"
.LC33:
	.string	"kallsyms_names"
.LC34:
	.string	"\t.byte 0x%02x"
.LC35:
	.string	", 0x%02x"
.LC36:
	.string	"kallsyms_markers"
.LC37:
	.string	"kallsyms_token_table"
.LC38:
	.string	"\t.asciz\t\"%s\"\n"
.LC39:
	.string	"kallsyms_token_index"
.LC40:
	.string	"\t.short\t%d\n"
	.text
	.type	write_src, @function
write_src:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1200
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC20[rip]
	call	puts@PLT
	lea	rdi, .LC21[rip]
	call	puts@PLT
	lea	rdi, .LC22[rip]
	call	puts@PLT
	lea	rdi, .LC23[rip]
	call	puts@PLT
	lea	rdi, .LC24[rip]
	call	puts@PLT
	lea	rdi, .LC25[rip]
	call	puts@PLT
	lea	rdi, .LC26[rip]
	call	puts@PLT
	lea	rdi, .LC27[rip]
	call	puts@PLT
	lea	rdi, .LC28[rip]
	call	puts@PLT
	lea	rdi, .LC29[rip]
	call	output_label
	mov	DWORD PTR -1188[rbp], 0
	jmp	.L56
.L57:
	mov	rcx, QWORD PTR table[rip]
	mov	edx, DWORD PTR -1188[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -1188[rbp], 1
.L56:
	mov	eax, DWORD PTR table_cnt[rip]
	cmp	DWORD PTR -1188[rbp], eax
	jb	.L57
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC31[rip]
	call	output_label
	mov	eax, DWORD PTR table_cnt[rip]
	mov	esi, eax
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	eax, DWORD PTR table_cnt[rip]
	add	eax, 255
	shr	eax, 8
	mov	eax, eax
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -1176[rbp], rax
	lea	rdi, .LC33[rip]
	call	output_label
	mov	DWORD PTR -1180[rbp], 0
	mov	DWORD PTR -1188[rbp], 0
	jmp	.L58
.L62:
	mov	eax, DWORD PTR -1188[rbp]
	movzx	eax, al
	test	eax, eax
	jne	.L59
	mov	eax, DWORD PTR -1188[rbp]
	shr	eax, 8
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1176[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -1180[rbp]
	mov	DWORD PTR [rdx], eax
.L59:
	mov	rcx, QWORD PTR table[rip]
	mov	edx, DWORD PTR -1188[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	eax, DWORD PTR 8[rax]
	mov	esi, eax
	lea	rdi, .LC34[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -1184[rbp], 0
	jmp	.L60
.L61:
	mov	rcx, QWORD PTR table[rip]
	mov	edx, DWORD PTR -1188[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	rdx, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -1184[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC35[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -1184[rbp], 1
.L60:
	mov	rcx, QWORD PTR table[rip]
	mov	edx, DWORD PTR -1188[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	eax, DWORD PTR 8[rax]
	cmp	DWORD PTR -1184[rbp], eax
	jb	.L61
	mov	edi, 10
	call	putchar@PLT
	mov	rcx, QWORD PTR table[rip]
	mov	edx, DWORD PTR -1188[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	edx, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -1180[rbp]
	add	eax, edx
	add	eax, 1
	mov	DWORD PTR -1180[rbp], eax
	add	DWORD PTR -1188[rbp], 1
.L58:
	mov	eax, DWORD PTR table_cnt[rip]
	cmp	DWORD PTR -1188[rbp], eax
	jb	.L62
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC36[rip]
	call	output_label
	mov	DWORD PTR -1188[rbp], 0
	jmp	.L63
.L64:
	mov	eax, DWORD PTR -1188[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1176[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -1188[rbp], 1
.L63:
	mov	eax, DWORD PTR table_cnt[rip]
	add	eax, 255
	shr	eax, 8
	cmp	DWORD PTR -1188[rbp], eax
	jb	.L64
	mov	edi, 10
	call	putchar@PLT
	mov	rax, QWORD PTR -1176[rbp]
	mov	rdi, rax
	call	free@PLT
	lea	rdi, .LC37[rip]
	call	output_label
	mov	DWORD PTR -1180[rbp], 0
	mov	DWORD PTR -1188[rbp], 0
	jmp	.L65
.L66:
	mov	eax, DWORD PTR -1188[rbp]
	mov	edx, DWORD PTR -1180[rbp]
	mov	DWORD PTR -1168[rbp+rax*4], edx
	mov	eax, DWORD PTR -1188[rbp]
	lea	rdx, best_table_len[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movzx	eax, al
	mov	edx, DWORD PTR -1188[rbp]
	lea	rcx, [rdx+rdx]
	lea	rdx, best_table[rip]
	add	rcx, rdx
	lea	rdx, -144[rbp]
	mov	esi, eax
	mov	rdi, rcx
	call	expand_symbol
	lea	rax, -144[rbp]
	mov	rsi, rax
	lea	rdi, .LC38[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -1180[rbp]
	add	eax, edx
	add	eax, 1
	mov	DWORD PTR -1180[rbp], eax
	add	DWORD PTR -1188[rbp], 1
.L65:
	cmp	DWORD PTR -1188[rbp], 255
	jbe	.L66
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC39[rip]
	call	output_label
	mov	DWORD PTR -1188[rbp], 0
	jmp	.L67
.L68:
	mov	eax, DWORD PTR -1188[rbp]
	mov	eax, DWORD PTR -1168[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC40[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -1188[rbp], 1
.L67:
	cmp	DWORD PTR -1188[rbp], 255
	jbe	.L68
	mov	edi, 10
	call	putchar@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L69
	call	__stack_chk_fail@PLT
.L69:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	write_src, .-write_src
	.type	learn_symbol, @function
learn_symbol:
.LFB14:
	.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 -28[rbp], esi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L71
.L72:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rcx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 8
	add	eax, edx
	movsx	rdx, eax
	lea	rcx, 0[0+rdx*4]
	lea	rdx, token_profit[rip]
	mov	edx, DWORD PTR [rcx+rdx]
	lea	ecx, 1[rdx]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, token_profit[rip]
	mov	DWORD PTR [rdx+rax], ecx
	add	DWORD PTR -4[rbp], 1
.L71:
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, 1
	cmp	DWORD PTR -4[rbp], eax
	jl	.L72
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	learn_symbol, .-learn_symbol
	.type	forget_symbol, @function
forget_symbol:
.LFB15:
	.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 -28[rbp], esi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L74
.L75:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rcx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 8
	add	eax, edx
	movsx	rdx, eax
	lea	rcx, 0[0+rdx*4]
	lea	rdx, token_profit[rip]
	mov	edx, DWORD PTR [rcx+rdx]
	lea	ecx, -1[rdx]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, token_profit[rip]
	mov	DWORD PTR [rdx+rax], ecx
	add	DWORD PTR -4[rbp], 1
.L74:
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, 1
	cmp	DWORD PTR -4[rbp], eax
	jl	.L75
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	forget_symbol, .-forget_symbol
	.type	build_initial_tok_table, @function
build_initial_tok_table:
.LFB16:
	.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], 0
	mov	DWORD PTR -8[rbp], 0
	jmp	.L77
.L80:
	mov	rcx, QWORD PTR table[rip]
	mov	edx, DWORD PTR -8[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	rdi, rax
	call	symbol_valid
	test	eax, eax
	je	.L78
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	je	.L79
	mov	rcx, QWORD PTR table[rip]
	mov	edx, DWORD PTR -8[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	lea	rsi, [rcx+rax]
	mov	rcx, QWORD PTR table[rip]
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rcx, rax
	mov	rax, QWORD PTR [rsi]
	mov	rdx, QWORD PTR 8[rsi]
	mov	QWORD PTR [rcx], rax
	mov	QWORD PTR 8[rcx], rdx
	mov	rax, QWORD PTR 16[rsi]
	mov	QWORD PTR 16[rcx], rax
.L79:
	mov	rcx, QWORD PTR table[rip]
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	eax, DWORD PTR 8[rax]
	mov	ecx, eax
	mov	rsi, QWORD PTR table[rip]
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rsi
	mov	rax, QWORD PTR 16[rax]
	mov	esi, ecx
	mov	rdi, rax
	call	learn_symbol
	add	DWORD PTR -4[rbp], 1
.L78:
	add	DWORD PTR -8[rbp], 1
.L77:
	mov	eax, DWORD PTR table_cnt[rip]
	cmp	DWORD PTR -8[rbp], eax
	jb	.L80
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR table_cnt[rip], eax
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	build_initial_tok_table, .-build_initial_tok_table
	.type	compress_symbols, @function
compress_symbols:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	DWORD PTR -28[rbp], 0
	jmp	.L82
.L88:
	mov	rcx, QWORD PTR table[rip]
	mov	edx, DWORD PTR -28[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	eax, DWORD PTR 8[rax]
	mov	DWORD PTR -24[rbp], eax
	mov	rcx, QWORD PTR table[rip]
	mov	edx, DWORD PTR -28[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -16[rbp], rax
	mov	esi, DWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	ecx, 2
	mov	rdi, rax
	call	memmem@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L89
	mov	edx, DWORD PTR -24[rbp]
	mov	rsi, QWORD PTR table[rip]
	mov	ecx, DWORD PTR -28[rbp]
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	add	rax, rsi
	mov	rax, QWORD PTR 16[rax]
	mov	esi, edx
	mov	rdi, rax
	call	forget_symbol
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -20[rbp], eax
.L87:
	mov	eax, DWORD PTR -44[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], dl
	add	QWORD PTR -8[rbp], 1
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR -16[rbp]
	sub	DWORD PTR -20[rbp], eax
	mov	edx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memmove@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -16[rbp], rax
	sub	DWORD PTR -24[rbp], 1
	cmp	DWORD PTR -20[rbp], 1
	jbe	.L90
	mov	esi, DWORD PTR -20[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	ecx, 2
	mov	rdi, rax
	call	memmem@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L87
	jmp	.L86
.L90:
	nop
.L86:
	mov	rcx, QWORD PTR table[rip]
	mov	edx, DWORD PTR -28[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	lea	rdx, [rcx+rax]
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR 8[rdx], eax
	mov	edx, DWORD PTR -24[rbp]
	mov	rsi, QWORD PTR table[rip]
	mov	ecx, DWORD PTR -28[rbp]
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	add	rax, rsi
	mov	rax, QWORD PTR 16[rax]
	mov	esi, edx
	mov	rdi, rax
	call	learn_symbol
	jmp	.L84
.L89:
	nop
.L84:
	add	DWORD PTR -28[rbp], 1
.L82:
	mov	eax, DWORD PTR table_cnt[rip]
	cmp	DWORD PTR -28[rbp], eax
	jb	.L88
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	compress_symbols, .-compress_symbols
	.type	find_best_token, @function
find_best_token:
.LFB18:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], -10000
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	jmp	.L92
.L94:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, token_profit[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -4[rbp], eax
	jge	.L93
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, token_profit[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -4[rbp], eax
.L93:
	add	DWORD PTR -12[rbp], 1
.L92:
	cmp	DWORD PTR -12[rbp], 65535
	jle	.L94
	mov	eax, DWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	find_best_token, .-find_best_token
	.type	optimize_result, @function
optimize_result:
.LFB19:
	.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 -8[rbp], 255
	jmp	.L97
.L99:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, best_table_len[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	test	al, al
	jne	.L98
	call	find_best_token
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, best_table_len[rip]
	mov	BYTE PTR [rax+rdx], 2
	mov	eax, DWORD PTR -4[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, best_table[rip]
	mov	BYTE PTR [rdx+rax], cl
	mov	eax, DWORD PTR -4[rbp]
	sar	eax, 8
	mov	ecx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, best_table[rip+1]
	mov	BYTE PTR [rdx+rax], cl
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, best_table[rip]
	add	rdx, rax
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	mov	rdi, rdx
	call	compress_symbols
.L98:
	sub	DWORD PTR -8[rbp], 1
.L97:
	cmp	DWORD PTR -8[rbp], 0
	jns	.L99
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	optimize_result, .-optimize_result
	.type	insert_real_symbols_in_table, @function
insert_real_symbols_in_table:
.LFB20:
	.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	edx, 512
	mov	esi, 0
	lea	rdi, best_table[rip]
	call	memset@PLT
	mov	edx, 256
	mov	esi, 0
	lea	rdi, best_table_len[rip]
	call	memset@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L101
.L104:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L102
.L103:
	mov	rcx, QWORD PTR table[rip]
	mov	edx, DWORD PTR -12[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	rdx, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -8[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -4[rbp]
	lea	rdx, [rax+rax]
	lea	rax, best_table[rip]
	mov	BYTE PTR [rdx+rax], cl
	mov	eax, DWORD PTR -4[rbp]
	lea	rdx, best_table_len[rip]
	mov	BYTE PTR [rax+rdx], 1
	add	DWORD PTR -8[rbp], 1
.L102:
	mov	rcx, QWORD PTR table[rip]
	mov	edx, DWORD PTR -12[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	eax, DWORD PTR 8[rax]
	cmp	DWORD PTR -8[rbp], eax
	jb	.L103
	add	DWORD PTR -12[rbp], 1
.L101:
	mov	eax, DWORD PTR table_cnt[rip]
	cmp	DWORD PTR -12[rbp], eax
	jb	.L104
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	insert_real_symbols_in_table, .-insert_real_symbols_in_table
	.section	.rodata
.LC41:
	.string	"No valid symbol.\n"
	.text
	.type	optimize_token_table, @function
optimize_token_table:
.LFB21:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	call	build_initial_tok_table
	call	insert_real_symbols_in_table
	mov	eax, DWORD PTR table_cnt[rip]
	test	eax, eax
	jne	.L106
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 17
	mov	esi, 1
	lea	rdi, .LC41[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L106:
	call	optimize_result
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	optimize_token_table, .-optimize_token_table
	.section	.rodata
.LC42:
	.string	"--all-symbols"
.LC43:
	.string	"--symbol-prefix="
	.text
	.globl	main
	.type	main, @function
main:
.LFB22:
	.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	QWORD PTR -32[rbp], rsi
	cmp	DWORD PTR -20[rbp], 1
	jle	.L108
	mov	DWORD PTR -12[rbp], 1
	jmp	.L109
.L116:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC42[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L110
	mov	DWORD PTR all_symbols[rip], 1
	jmp	.L111
.L110:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, 16
	lea	rsi, .LC43[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L112
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 16
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 34
	jne	.L113
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	cmp	al, 34
	je	.L114
.L113:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 39
	jne	.L115
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	cmp	al, 39
	jne	.L115
.L114:
	add	QWORD PTR -8[rbp], 1
.L115:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR symbol_prefix_char[rip], al
	jmp	.L111
.L112:
	call	usage
.L111:
	add	DWORD PTR -12[rbp], 1
.L109:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L116
	jmp	.L117
.L108:
	cmp	DWORD PTR -20[rbp], 1
	je	.L117
	call	usage
.L117:
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	read_map
	call	optimize_token_table
	call	write_src
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	main, .-main
	.section	.rodata
.LC44:
	.string	"_SDA_BASE_"
.LC45:
	.string	"_SDA2_BASE_"
	.section	.data.rel.local,"aw"
	.align 32
	.type	special_symbols.0, @object
	.size	special_symbols.0, 72
special_symbols.0:
	.quad	.LC29
	.quad	.LC31
	.quad	.LC33
	.quad	.LC36
	.quad	.LC37
	.quad	.LC39
	.quad	.LC44
	.quad	.LC45
	.quad	0
	.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	"518733.c"
	.text
	.local	table
	.comm	table,4,4
	.local	table_size
	.comm	table_size,4,4
	.local	table_cnt
	.comm	table_cnt,4,4
	.local	_stext
	.comm	_stext,8,8
	.local	_etext
	.comm	_etext,8,8
	.local	_sinittext
	.comm	_sinittext,8,8
	.local	_einittext
	.comm	_einittext,8,8
	.local	_sextratext
	.comm	_sextratext,8,8
	.local	_eextratext
	.comm	_eextratext,8,8
	.local	all_symbols
	.comm	all_symbols,4,4
	.local	symbol_prefix_char
	.comm	symbol_prefix_char,1,1
	.comm	token_profit,262144,4
	.comm	best_table,512,4
	.comm	best_table_len,256,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage: kallsyms [--all-symbols] [--symbol-prefix=<p"
	.ascii	"refix char>] < in.map > out.S\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L2
	ldr	r3, [r3]
	mov	r2, #81
	mov	r1, #1
	ldr	r0, .L2+4
	bl	fwrite
	mov	r0, #1
	bl	exit
.L3:
	.align	2
.L2:
	.word	stderr
	.word	.LC0
	.size	usage, .-usage
	.section	.rodata
	.align	2
.LC1:
	.ascii	"atd\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	is_arm_mapping_symbol, %function
is_arm_mapping_symbol:
	@ 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, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #36
	bne	.L5
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L9
	bl	strchr
	mov	r3, r0
	cmp	r3, #0
	beq	.L5
	ldr	r3, [fp, #-8]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-8]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #46
	bne	.L5
.L6:
	mov	r3, #1
	b	.L8
.L5:
	mov	r3, #0
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC1
	.size	is_arm_mapping_symbol, .-is_arm_mapping_symbol
	.section	.rodata
	.align	2
.LC2:
	.ascii	"%llx %c %499s\012\000"
	.align	2
.LC3:
	.ascii	"_stext\000"
	.align	2
.LC4:
	.ascii	"_etext\000"
	.align	2
.LC5:
	.ascii	"_sinittext\000"
	.align	2
.LC6:
	.ascii	"_einittext\000"
	.align	2
.LC7:
	.ascii	"_sextratext\000"
	.align	2
.LC8:
	.ascii	"_eextratext\000"
	.align	2
.LC9:
	.ascii	"__kernel_syscall_via_break\000"
	.align	2
.LC10:
	.ascii	"__kernel_syscall_via_epc\000"
	.align	2
.LC11:
	.ascii	"__kernel_sigtramp\000"
	.align	2
.LC12:
	.ascii	"__gp\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_symbol, %function
read_symbol:
	@ args = 0, pretend = 0, frame = 528
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #536
	str	r0, [fp, #-528]
	str	r1, [fp, #-532]
	ldr	r3, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, [fp, #-532]
	sub	r3, fp, #516
	sub	r3, r3, #1
	sub	r2, fp, #508
	str	r2, [sp]
	mov	r2, r1
	ldr	r1, .L28+4
	ldr	r0, [fp, #-528]
	bl	__isoc99_fscanf
	str	r0, [fp, #-512]
	ldr	r3, [fp, #-512]
	cmp	r3, #3
	beq	.L12
	ldr	r3, [fp, #-512]
	cmn	r3, #1
	beq	.L13
	sub	r3, fp, #508
	ldr	r2, [fp, #-528]
	mov	r1, #500
	mov	r0, r3
	bl	fgets
.L13:
	mvn	r3, #0
	b	.L26
.L12:
	sub	r3, fp, #508
	str	r3, [fp, #-516]
	ldr	r3, .L28+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L15
	ldrb	r2, [fp, #-508]	@ zero_extendqisi2
	ldr	r3, .L28+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L15
	ldr	r3, [fp, #-516]
	add	r3, r3, #1
	str	r3, [fp, #-516]
.L15:
	ldr	r1, .L28+12
	ldr	r0, [fp, #-516]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L16
	ldr	r3, [fp, #-532]
	ldmia	r3, {r2-r3}
	ldr	r1, .L28+16
	stm	r1, {r2-r3}
	b	.L17
.L16:
	ldr	r1, .L28+20
	ldr	r0, [fp, #-516]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L18
	ldr	r3, [fp, #-532]
	ldmia	r3, {r2-r3}
	ldr	r1, .L28+24
	stm	r1, {r2-r3}
	b	.L17
.L18:
	ldr	r1, .L28+28
	ldr	r0, [fp, #-516]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L19
	ldr	r3, [fp, #-532]
	ldmia	r3, {r2-r3}
	ldr	r1, .L28+32
	stm	r1, {r2-r3}
	b	.L17
.L19:
	ldr	r1, .L28+36
	ldr	r0, [fp, #-516]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L20
	ldr	r3, [fp, #-532]
	ldmia	r3, {r2-r3}
	ldr	r1, .L28+40
	stm	r1, {r2-r3}
	b	.L17
.L20:
	ldr	r1, .L28+44
	ldr	r0, [fp, #-516]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r3, [fp, #-532]
	ldmia	r3, {r2-r3}
	ldr	r1, .L28+48
	stm	r1, {r2-r3}
	b	.L17
.L21:
	ldr	r1, .L28+52
	ldr	r0, [fp, #-516]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L22
	ldr	r3, [fp, #-532]
	ldmia	r3, {r2-r3}
	ldr	r1, .L28+56
	stm	r1, {r2-r3}
	b	.L17
.L22:
	ldrb	r3, [fp, #-517]	@ zero_extendqisi2
	mov	r0, r3
	bl	toupper
	mov	r3, r0
	cmp	r3, #65
	bne	.L23
	ldr	r1, .L28+60
	ldr	r0, [fp, #-516]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L17
	ldr	r1, .L28+64
	ldr	r0, [fp, #-516]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L17
	ldr	r1, .L28+68
	ldr	r0, [fp, #-516]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L17
	ldr	r1, .L28+72
	ldr	r0, [fp, #-516]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L17
	mvn	r3, #0
	b	.L26
.L23:
	ldrb	r3, [fp, #-517]	@ zero_extendqisi2
	mov	r0, r3
	bl	toupper
	mov	r3, r0
	cmp	r3, #85
	beq	.L24
	ldr	r0, [fp, #-516]
	bl	is_arm_mapping_symbol
	mov	r3, r0
	cmp	r3, #0
	beq	.L25
.L24:
	mvn	r3, #0
	b	.L26
.L25:
	ldrb	r3, [fp, #-508]	@ zero_extendqisi2
	cmp	r3, #36
	bne	.L17
	mvn	r3, #0
	b	.L26
.L17:
	sub	r3, fp, #508
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	add	r2, r3, #1
	ldr	r3, [fp, #-532]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-532]
	ldr	r3, [r3, #8]
	add	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-532]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-532]
	ldr	r3, [r3, #12]
	add	r3, r3, #1
	sub	r2, fp, #508
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-532]
	ldr	r3, [r3, #12]
	ldrb	r2, [fp, #-517]	@ zero_extendqisi2
	strb	r2, [r3]
	mov	r3, #0
.L26:
	ldr	r2, .L28
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L27
	bl	__stack_chk_fail
.L27:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC13
	.word	.LC2
	.word	symbol_prefix_char
	.word	.LC3
	.word	_stext
	.word	.LC4
	.word	_etext
	.word	.LC5
	.word	_sinittext
	.word	.LC6
	.word	_einittext
	.word	.LC7
	.word	_sextratext
	.word	.LC8
	.word	_eextratext
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.size	read_symbol, .-read_symbol
	.section	.rodata
	.align	2
.LC14:
	.ascii	"_compiled.\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	symbol_valid, %function
symbol_valid:
	@ 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]
	mov	r3, #1
	str	r3, [fp, #-8]
	ldr	r3, .L45
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L31
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #12]
	add	r3, r3, #1
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, .L45
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L31
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L31:
	ldr	r3, .L45+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L32
	ldr	r3, [fp, #-16]
	ldmia	r3, {r0-r1}
	ldr	r3, .L45+8
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bcc	.L33
	ldr	r3, [fp, #-16]
	ldmia	r3, {r0-r1}
	ldr	r3, .L45+12
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bls	.L34
.L33:
	ldr	r3, [fp, #-16]
	ldmia	r3, {r0-r1}
	ldr	r3, .L45+16
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bcc	.L35
	ldr	r3, [fp, #-16]
	ldmia	r3, {r0-r1}
	ldr	r3, .L45+20
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bls	.L34
.L35:
	ldr	r3, [fp, #-16]
	ldmia	r3, {r0-r1}
	ldr	r3, .L45+24
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bcc	.L36
	ldr	r3, [fp, #-16]
	ldmia	r3, {r0-r1}
	ldr	r3, .L45+28
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bls	.L34
.L36:
	mov	r3, #0
	b	.L37
.L34:
	ldr	r3, [fp, #-16]
	ldmia	r3, {r0-r1}
	ldr	r3, .L45+12
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bne	.L38
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldr	r1, .L45+32
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L39
.L38:
	ldr	r3, [fp, #-16]
	ldmia	r3, {r0-r1}
	ldr	r3, .L45+20
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bne	.L40
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldr	r1, .L45+36
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L39
.L40:
	ldr	r3, [fp, #-16]
	ldmia	r3, {r0-r1}
	ldr	r3, .L45+28
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bne	.L32
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldr	r1, .L45+40
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L32
.L39:
	mov	r3, #0
	b	.L37
.L32:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldr	r1, .L45+44
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L41
	mov	r3, #0
	b	.L37
.L41:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L42
.L44:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-8]
	add	r2, r2, r3
	ldr	r1, .L45+48
	ldr	r3, [fp, #-12]
	ldr	r3, [r1, r3, lsl #2]
	mov	r1, r3
	mov	r0, r2
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L43
	mov	r3, #0
	b	.L37
.L43:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L42:
	ldr	r2, .L45+48
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bne	.L44
	mov	r3, #1
.L37:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L46:
	.align	2
.L45:
	.word	symbol_prefix_char
	.word	all_symbols
	.word	_stext
	.word	_etext
	.word	_sinittext
	.word	_einittext
	.word	_sextratext
	.word	_eextratext
	.word	.LC4
	.word	.LC6
	.word	.LC8
	.word	.LC14
	.word	special_symbols.5692
	.size	symbol_valid, .-symbol_valid
	.section	.rodata
	.align	2
.LC15:
	.ascii	"out of memory\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_map, %function
read_map:
	@ 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	.L48
.L50:
	ldr	r3, .L51
	ldr	r2, [r3]
	ldr	r3, .L51+4
	ldr	r3, [r3]
	cmp	r2, r3
	bcc	.L49
	ldr	r3, .L51+4
	ldr	r3, [r3]
	add	r3, r3, #9984
	add	r3, r3, #16
	ldr	r2, .L51+4
	str	r3, [r2]
	ldr	r3, .L51+8
	ldr	r2, [r3]
	ldr	r3, .L51+4
	ldr	r3, [r3]
	lsl	r3, r3, #4
	mov	r1, r3
	mov	r0, r2
	bl	realloc
	mov	r3, r0
	ldr	r2, .L51+8
	str	r3, [r2]
	ldr	r3, .L51+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L49
	ldr	r3, .L51+12
	ldr	r3, [r3]
	mov	r2, #14
	mov	r1, #1
	ldr	r0, .L51+16
	bl	fwrite
	mov	r0, #1
	bl	exit
.L49:
	ldr	r3, .L51+8
	ldr	r2, [r3]
	ldr	r3, .L51
	ldr	r3, [r3]
	lsl	r3, r3, #4
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	read_symbol
	mov	r3, r0
	cmp	r3, #0
	bne	.L48
	ldr	r3, .L51
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L51
	str	r3, [r2]
.L48:
	ldr	r0, [fp, #-8]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L50
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L52:
	.align	2
.L51:
	.word	table_cnt
	.word	table_size
	.word	table
	.word	stderr
	.word	.LC15
	.size	read_map, .-read_map
	.section	.rodata
	.align	2
.LC16:
	.ascii	".globl %c%s\012\000"
	.align	2
.LC17:
	.ascii	".globl %s\012\000"
	.align	2
.LC18:
	.ascii	"\011ALGN\000"
	.align	2
.LC19:
	.ascii	"%c%s:\012\000"
	.align	2
.LC20:
	.ascii	"%s:\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	output_label, %function
output_label:
	@ 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, .L59
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L54
	ldr	r3, .L59
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldr	r2, [fp, #-8]
	mov	r1, r3
	ldr	r0, .L59+4
	bl	printf
	b	.L55
.L54:
	ldr	r1, [fp, #-8]
	ldr	r0, .L59+8
	bl	printf
.L55:
	ldr	r0, .L59+12
	bl	puts
	ldr	r3, .L59
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L56
	ldr	r3, .L59
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldr	r2, [fp, #-8]
	mov	r1, r3
	ldr	r0, .L59+16
	bl	printf
	b	.L58
.L56:
	ldr	r1, [fp, #-8]
	ldr	r0, .L59+20
	bl	printf
.L58:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L60:
	.align	2
.L59:
	.word	symbol_prefix_char
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.size	output_label, .-output_label
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	expand_symbol, %function
expand_symbol:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L62
.L65:
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-12]
	ldr	r2, .L67
	ldr	r3, [fp, #-12]
	ldrb	r3, [r2, r3, lsl #1]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-12]
	cmp	r3, r2
	bne	.L63
	ldr	r2, .L67+4
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #1
	bne	.L63
	ldr	r3, [fp, #-32]
	add	r2, r3, #1
	str	r2, [fp, #-32]
	ldr	r2, [fp, #-12]
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L64
.L63:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #1
	ldr	r2, .L67
	add	r0, r3, r2
	ldr	r2, .L67+4
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldr	r2, [fp, #-32]
	mov	r1, r3
	bl	expand_symbol
	str	r0, [fp, #-8]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	str	r3, [fp, #-32]
.L64:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	str	r3, [fp, #-28]
.L62:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L65
	ldr	r3, [fp, #-32]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L68:
	.align	2
.L67:
	.word	best_table
	.word	best_table_len
	.size	expand_symbol, .-expand_symbol
	.section	.rodata
	.align	2
.LC21:
	.ascii	"#include <asm/types.h>\000"
	.align	2
.LC22:
	.ascii	"#if BITS_PER_LONG == 64\000"
	.align	2
.LC23:
	.ascii	"#define PTR .quad\000"
	.align	2
.LC24:
	.ascii	"#define ALGN .align 8\000"
	.align	2
.LC25:
	.ascii	"#else\000"
	.align	2
.LC26:
	.ascii	"#define PTR .long\000"
	.align	2
.LC27:
	.ascii	"#define ALGN .align 4\000"
	.align	2
.LC28:
	.ascii	"#endif\000"
	.align	2
.LC29:
	.ascii	".data\000"
	.align	2
.LC30:
	.ascii	"kallsyms_addresses\000"
	.align	2
.LC31:
	.ascii	"\011PTR\011%#llx\012\000"
	.align	2
.LC32:
	.ascii	"kallsyms_num_syms\000"
	.align	2
.LC33:
	.ascii	"\011PTR\011%d\012\000"
	.align	2
.LC34:
	.ascii	"kallsyms_names\000"
	.align	2
.LC35:
	.ascii	"\011.byte 0x%02x\000"
	.align	2
.LC36:
	.ascii	", 0x%02x\000"
	.align	2
.LC37:
	.ascii	"kallsyms_markers\000"
	.align	2
.LC38:
	.ascii	"kallsyms_token_table\000"
	.align	2
.LC39:
	.ascii	"\011.asciz\011\"%s\"\012\000"
	.align	2
.LC40:
	.ascii	"kallsyms_token_index\000"
	.align	2
.LC41:
	.ascii	"\011.short\011%d\012\000"
	.align	2
.LC42:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_src, %function
write_src:
	@ args = 0, pretend = 0, frame = 1176
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1168
	sub	sp, sp, #8
	ldr	r3, .L84
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L84+4
	bl	puts
	ldr	r0, .L84+8
	bl	puts
	ldr	r0, .L84+12
	bl	puts
	ldr	r0, .L84+16
	bl	puts
	ldr	r0, .L84+20
	bl	puts
	ldr	r0, .L84+24
	bl	puts
	ldr	r0, .L84+28
	bl	puts
	ldr	r0, .L84+32
	bl	puts
	ldr	r0, .L84+36
	bl	puts
	ldr	r0, .L84+40
	bl	output_label
	mov	r3, #0
	str	r3, [fp, #-1176]
	b	.L70
.L71:
	ldr	r3, .L84+44
	ldr	r2, [r3]
	ldr	r3, [fp, #-1176]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r0, .L84+48
	bl	printf
	ldr	r3, [fp, #-1176]
	add	r3, r3, #1
	str	r3, [fp, #-1176]
.L70:
	ldr	r3, .L84+52
	ldr	r3, [r3]
	ldr	r2, [fp, #-1176]
	cmp	r2, r3
	bcc	.L71
	mov	r0, #10
	bl	putchar
	ldr	r0, .L84+56
	bl	output_label
	ldr	r3, .L84+52
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L84+60
	bl	printf
	mov	r0, #10
	bl	putchar
	ldr	r3, .L84+52
	ldr	r3, [r3]
	add	r3, r3, #255
	lsr	r3, r3, #8
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-1164]
	ldr	r0, .L84+64
	bl	output_label
	mov	r3, #0
	str	r3, [fp, #-1168]
	mov	r3, #0
	str	r3, [fp, #-1176]
	b	.L72
.L76:
	ldr	r3, [fp, #-1176]
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L73
	ldr	r3, [fp, #-1176]
	lsr	r3, r3, #8
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1164]
	add	r3, r2, r3
	ldr	r2, [fp, #-1168]
	str	r2, [r3]
.L73:
	ldr	r3, .L84+44
	ldr	r2, [r3]
	ldr	r3, [fp, #-1176]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #8]
	mov	r1, r3
	ldr	r0, .L84+68
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-1172]
	b	.L74
.L75:
	ldr	r3, .L84+44
	ldr	r2, [r3]
	ldr	r3, [fp, #-1176]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-1172]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L84+72
	bl	printf
	ldr	r3, [fp, #-1172]
	add	r3, r3, #1
	str	r3, [fp, #-1172]
.L74:
	ldr	r3, .L84+44
	ldr	r2, [r3]
	ldr	r3, [fp, #-1176]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-1172]
	cmp	r2, r3
	bcc	.L75
	mov	r0, #10
	bl	putchar
	ldr	r3, .L84+44
	ldr	r2, [r3]
	ldr	r3, [fp, #-1176]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-1168]
	add	r3, r2, r3
	add	r3, r3, #1
	str	r3, [fp, #-1168]
	ldr	r3, [fp, #-1176]
	add	r3, r3, #1
	str	r3, [fp, #-1176]
.L72:
	ldr	r3, .L84+52
	ldr	r3, [r3]
	ldr	r2, [fp, #-1176]
	cmp	r2, r3
	bcc	.L76
	mov	r0, #10
	bl	putchar
	ldr	r0, .L84+76
	bl	output_label
	mov	r3, #0
	str	r3, [fp, #-1176]
	b	.L77
.L78:
	ldr	r3, [fp, #-1176]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1164]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L84+60
	bl	printf
	ldr	r3, [fp, #-1176]
	add	r3, r3, #1
	str	r3, [fp, #-1176]
.L77:
	ldr	r3, .L84+52
	ldr	r3, [r3]
	add	r3, r3, #255
	lsr	r3, r3, #8
	ldr	r2, [fp, #-1176]
	cmp	r2, r3
	bcc	.L78
	mov	r0, #10
	bl	putchar
	ldr	r0, [fp, #-1164]
	bl	free
	ldr	r0, .L84+80
	bl	output_label
	mov	r3, #0
	str	r3, [fp, #-1168]
	mov	r3, #0
	str	r3, [fp, #-1176]
	b	.L79
.L80:
	ldr	r3, [fp, #-1176]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-1168]
	str	r2, [r3, #-1156]
	ldr	r3, [fp, #-1176]
	lsl	r3, r3, #1
	ldr	r2, .L84+84
	add	r0, r3, r2
	ldr	r2, .L84+88
	ldr	r3, [fp, #-1176]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	sub	r3, fp, #136
	mov	r2, r3
	bl	expand_symbol
	sub	r3, fp, #136
	mov	r1, r3
	ldr	r0, .L84+92
	bl	printf
	sub	r3, fp, #136
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-1168]
	add	r3, r2, r3
	add	r3, r3, #1
	str	r3, [fp, #-1168]
	ldr	r3, [fp, #-1176]
	add	r3, r3, #1
	str	r3, [fp, #-1176]
.L79:
	ldr	r3, [fp, #-1176]
	cmp	r3, #255
	bls	.L80
	mov	r0, #10
	bl	putchar
	ldr	r0, .L84+96
	bl	output_label
	mov	r3, #0
	str	r3, [fp, #-1176]
	b	.L81
.L82:
	ldr	r3, [fp, #-1176]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-1156]
	mov	r1, r3
	ldr	r0, .L84+100
	bl	printf
	ldr	r3, [fp, #-1176]
	add	r3, r3, #1
	str	r3, [fp, #-1176]
.L81:
	ldr	r3, [fp, #-1176]
	cmp	r3, #255
	bls	.L82
	mov	r0, #10
	bl	putchar
	nop
	ldr	r3, .L84
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L83
	bl	__stack_chk_fail
.L83:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L85:
	.align	2
.L84:
	.word	.LC42
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	table
	.word	.LC31
	.word	table_cnt
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.word	best_table
	.word	best_table_len
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.size	write_src, .-write_src
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	learn_symbol, %function
learn_symbol:
	@ 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]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L87
.L88:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	add	r3, r1, r3
	ldr	r2, .L89
	ldr	r2, [r2, r3, lsl #2]
	add	r2, r2, #1
	ldr	r1, .L89
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L87:
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L88
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L90:
	.align	2
.L89:
	.word	token_profit
	.size	learn_symbol, .-learn_symbol
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	forget_symbol, %function
forget_symbol:
	@ 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]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L92
.L93:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	add	r3, r1, r3
	ldr	r2, .L94
	ldr	r2, [r2, r3, lsl #2]
	sub	r2, r2, #1
	ldr	r1, .L94
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L92:
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L93
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L95:
	.align	2
.L94:
	.word	token_profit
	.size	forget_symbol, .-forget_symbol
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	build_initial_tok_table, %function
build_initial_tok_table:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L97
.L100:
	ldr	r3, .L101
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #4
	add	r3, r2, r3
	mov	r0, r3
	bl	symbol_valid
	mov	r3, r0
	cmp	r3, #0
	beq	.L98
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	beq	.L99
	ldr	r3, .L101
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #4
	add	r1, r2, r3
	ldr	r3, .L101
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	add	r3, r2, r3
	mov	ip, r3
	mov	r3, r1
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
.L99:
	ldr	r3, .L101
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r0, [r3, #12]
	ldr	r3, .L101
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #8]
	mov	r1, r3
	bl	learn_symbol
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L98:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L97:
	ldr	r3, .L101+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bcc	.L100
	ldr	r2, .L101+4
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L102:
	.align	2
.L101:
	.word	table
	.word	table_cnt
	.size	build_initial_tok_table, .-build_initial_tok_table
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	compress_symbols, %function
compress_symbols:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L104
.L110:
	ldr	r3, .L113
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #8]
	str	r3, [fp, #-20]
	ldr	r3, .L113
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #12]
	str	r3, [fp, #-12]
	mov	r3, #2
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-12]
	bl	memmem
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L111
	ldr	r3, .L113
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #12]
	ldr	r2, [fp, #-20]
	mov	r1, r2
	mov	r0, r3
	bl	forget_symbol
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-16]
.L109:
	ldr	r3, [fp, #-36]
	and	r2, r3, #255
	ldr	r3, [fp, #-8]
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-16]
	sub	r3, r3, r2
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldr	r2, [fp, #-16]
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	memmove
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	bls	.L112
	mov	r3, #2
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-12]
	bl	memmem
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L109
	b	.L108
.L112:
	nop
.L108:
	ldr	r3, .L113
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-20]
	str	r2, [r3, #8]
	ldr	r3, .L113
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #12]
	ldr	r2, [fp, #-20]
	mov	r1, r2
	mov	r0, r3
	bl	learn_symbol
	b	.L106
.L111:
	nop
.L106:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L104:
	ldr	r3, .L113+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bcc	.L110
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L114:
	.align	2
.L113:
	.word	table
	.word	table_cnt
	.size	compress_symbols, .-compress_symbols
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	find_best_token, %function
find_best_token:
	@ 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
	ldr	r3, .L120
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L116
.L118:
	ldr	r2, .L120+4
	ldr	r3, [fp, #-16]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bge	.L117
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	ldr	r2, .L120+4
	ldr	r3, [fp, #-16]
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-8]
.L117:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L116:
	ldr	r3, [fp, #-16]
	cmp	r3, #65536
	blt	.L118
	ldr	r3, [fp, #-12]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L121:
	.align	2
.L120:
	.word	-10000
	.word	token_profit
	.size	find_best_token, .-find_best_token
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	optimize_result, %function
optimize_result:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #255
	str	r3, [fp, #-12]
	b	.L123
.L125:
	ldr	r2, .L126
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L124
	bl	find_best_token
	str	r0, [fp, #-8]
	ldr	r2, .L126
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	mov	r2, #2
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	and	r1, r3, #255
	ldr	r2, .L126+4
	ldr	r3, [fp, #-12]
	strb	r1, [r2, r3, lsl #1]
	ldr	r3, [fp, #-8]
	asr	r3, r3, #8
	and	r1, r3, #255
	ldr	r2, .L126+4
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #1
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3, #1]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #1
	ldr	r2, .L126+4
	add	r3, r3, r2
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	compress_symbols
.L124:
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
.L123:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L125
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L127:
	.align	2
.L126:
	.word	best_table_len
	.word	best_table
	.size	optimize_result, .-optimize_result
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	insert_real_symbols_in_table, %function
insert_real_symbols_in_table:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r2, #512
	mov	r1, #0
	ldr	r0, .L133
	bl	memset
	mov	r2, #256
	mov	r1, #0
	ldr	r0, .L133+4
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L129
.L132:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L130
.L131:
	ldr	r3, .L133+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	and	r1, r3, #255
	ldr	r2, .L133
	ldr	r3, [fp, #-8]
	strb	r1, [r2, r3, lsl #1]
	ldr	r2, .L133+4
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L130:
	ldr	r3, .L133+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bcc	.L131
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L129:
	ldr	r3, .L133+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bcc	.L132
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L134:
	.align	2
.L133:
	.word	best_table
	.word	best_table_len
	.word	table
	.word	table_cnt
	.size	insert_real_symbols_in_table, .-insert_real_symbols_in_table
	.section	.rodata
	.align	2
.LC43:
	.ascii	"No valid symbol.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	optimize_token_table, %function
optimize_token_table:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	build_initial_tok_table
	bl	insert_real_symbols_in_table
	ldr	r3, .L137
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L136
	ldr	r3, .L137+4
	ldr	r3, [r3]
	mov	r2, #17
	mov	r1, #1
	ldr	r0, .L137+8
	bl	fwrite
	mov	r0, #1
	bl	exit
.L136:
	bl	optimize_result
	nop
	pop	{fp, pc}
.L138:
	.align	2
.L137:
	.word	table_cnt
	.word	stderr
	.word	.LC43
	.size	optimize_token_table, .-optimize_token_table
	.section	.rodata
	.align	2
.LC44:
	.ascii	"--all-symbols\000"
	.align	2
.LC45:
	.ascii	"--symbol-prefix=\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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]
	cmp	r3, #1
	ble	.L140
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L141
.L148:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L151
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L142
	ldr	r3, .L151+4
	mov	r2, #1
	str	r2, [r3]
	b	.L143
.L142:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, #16
	ldr	r1, .L151+8
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L144
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #16
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #34
	bne	.L145
	ldr	r3, [fp, #-8]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #34
	beq	.L146
.L145:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #39
	bne	.L147
	ldr	r3, [fp, #-8]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #39
	bne	.L147
.L146:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L147:
	ldr	r3, [fp, #-8]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, .L151+12
	strb	r2, [r3]
	b	.L143
.L144:
	bl	usage
.L143:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L141:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L148
	b	.L149
.L140:
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	beq	.L149
	bl	usage
.L149:
	ldr	r3, .L151+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	read_map
	bl	optimize_token_table
	bl	write_src
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L152:
	.align	2
.L151:
	.word	.LC44
	.word	all_symbols
	.word	.LC45
	.word	symbol_prefix_char
	.word	stdin
	.size	main, .-main
	.section	.rodata
	.align	2
.LC46:
	.ascii	"_SDA_BASE_\000"
	.align	2
.LC47:
	.ascii	"_SDA2_BASE_\000"
	.data
	.align	2
	.type	special_symbols.5692, %object
	.size	special_symbols.5692, 36
special_symbols.5692:
	.word	.LC30
	.word	.LC32
	.word	.LC34
	.word	.LC37
	.word	.LC38
	.word	.LC40
	.word	.LC46
	.word	.LC47
	.word	0
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
