	.file	"907851.c"
	.intel_syntax noprefix
	.text
	.globl	st
	.bss
	.align 8
	.type	st, @object
	.size	st, 8
st:
	.zero	8
	.globl	sz
	.align 4
	.type	sz, @object
	.size	sz, 4
sz:
	.zero	4
	.globl	addr_token_table
	.align 8
	.type	addr_token_table, @object
	.size	addr_token_table, 8
addr_token_table:
	.zero	8
	.globl	addr_token_index
	.align 8
	.type	addr_token_index, @object
	.size	addr_token_index, 8
addr_token_index:
	.zero	8
	.globl	addr_syms_names
	.align 8
	.type	addr_syms_names, @object
	.size	addr_syms_names, 8
addr_syms_names:
	.zero	8
	.globl	addr_syms_addrs
	.align 8
	.type	addr_syms_addrs, @object
	.size	addr_syms_addrs, 8
addr_syms_addrs:
	.zero	8
	.globl	addr_syms_num
	.align 8
	.type	addr_syms_num, @object
	.size	addr_syms_num, 8
addr_syms_num:
	.zero	8
	.globl	num_syms
	.align 4
	.type	num_syms, @object
	.size	num_syms, 4
num_syms:
	.zero	4
	.globl	addr_rel_base_addr
	.align 8
	.type	addr_rel_base_addr, @object
	.size	addr_rel_base_addr, 8
addr_rel_base_addr:
	.zero	8
	.globl	addr_entry_size
	.data
	.align 4
	.type	addr_entry_size, @object
	.size	addr_entry_size, 4
addr_entry_size:
	.long	8
	.text
	.globl	in_alphabet
	.type	in_alphabet, @function
in_alphabet:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	cmp	BYTE PTR -4[rbp], 96
	jle	.L2
	cmp	BYTE PTR -4[rbp], 122
	jg	.L2
	mov	eax, 1
	jmp	.L3
.L2:
	cmp	BYTE PTR -4[rbp], 64
	jle	.L4
	cmp	BYTE PTR -4[rbp], 90
	jg	.L4
	mov	eax, 1
	jmp	.L3
.L4:
	cmp	BYTE PTR -4[rbp], 47
	jle	.L5
	cmp	BYTE PTR -4[rbp], 57
	jg	.L5
	mov	eax, 1
	jmp	.L3
.L5:
	cmp	BYTE PTR -4[rbp], 95
	jne	.L6
	mov	eax, 1
	jmp	.L3
.L6:
	mov	eax, 0
.L3:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	in_alphabet, .-in_alphabet
	.globl	locate_token_table
	.type	locate_token_table, @function
locate_token_table:
.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, 16
	mov	rax, QWORD PTR st[rip]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L8
.L11:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 3211312
	jne	.L9
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 4
	mov	eax, DWORD PTR [rax]
	cmp	eax, 3342386
	jne	.L9
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 16
	mov	eax, DWORD PTR [rax]
	cmp	eax, 3735608
	jne	.L9
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 20
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	in_alphabet
	test	eax, eax
	jne	.L10
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 21
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	in_alphabet
	test	eax, eax
	jne	.L10
.L9:
	add	QWORD PTR -16[rbp], 1
.L8:
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 24[rax]
	mov	rcx, QWORD PTR st[rip]
	mov	eax, DWORD PTR sz[rip]
	cdqe
	add	rax, rcx
	cmp	rdx, rax
	jbe	.L11
.L10:
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 24[rax]
	mov	rcx, QWORD PTR st[rip]
	mov	eax, DWORD PTR sz[rip]
	cdqe
	add	rax, rcx
	cmp	rdx, rax
	jbe	.L12
	mov	eax, 0
	jmp	.L13
.L12:
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L14
.L17:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L15
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, 1
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L19
.L15:
	sub	QWORD PTR -8[rbp], 1
.L14:
	mov	rax, QWORD PTR st[rip]
	cmp	QWORD PTR -8[rbp], rax
	ja	.L17
	jmp	.L16
.L19:
	nop
.L16:
	mov	rax, QWORD PTR st[rip]
	cmp	QWORD PTR -8[rbp], rax
	jbe	.L18
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 1
	mov	QWORD PTR addr_token_table[rip], rax
	mov	eax, 1
	jmp	.L13
.L18:
	mov	eax, 0
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	locate_token_table, .-locate_token_table
	.globl	prev_section
	.type	prev_section, @function
prev_section:
.LFB8:
	.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 -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
.L21:
	sub	QWORD PTR -8[rbp], 1
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L21
	and	QWORD PTR -8[rbp], -4
	jmp	.L22
.L23:
	sub	QWORD PTR -8[rbp], 4
.L22:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, 4
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L23
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, 8
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L23
	mov	rax, QWORD PTR -8[rbp]
	mov	ecx, DWORD PTR -12[rbp]
	mov	edx, 0
	div	rcx
	mov	rax, rdx
	neg	rax
	add	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	prev_section, .-prev_section
	.globl	is_addr_section_zero
	.bss
	.align 4
	.type	is_addr_section_zero, @object
	.size	is_addr_section_zero, 4
is_addr_section_zero:
	.zero	4
	.section	.rodata
	.align 8
.LC0:
	.string	"addr_end before addr_sym_num/rel_base: %p\n"
	.text
	.globl	locate_other_sections
	.type	locate_other_sections, @function
locate_other_sections:
.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	DWORD PTR -24[rbp], 4096
	mov	DWORD PTR -20[rbp], 4096
	mov	rax, QWORD PTR addr_token_table[rip]
	mov	esi, 4
	mov	rdi, rax
	call	prev_section
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 4
	mov	rdi, rax
	call	prev_section
	mov	QWORD PTR addr_syms_names[rip], rax
	mov	rax, QWORD PTR addr_syms_names[rip]
	mov	esi, 4
	mov	rdi, rax
	call	prev_section
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR addr_syms_num[rip], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR num_syms[rip], eax
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 4
	mov	rdi, rax
	call	prev_section
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR addr_syms_num[rip]
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	sub	rdx, rax
	mov	eax, DWORD PTR -24[rbp]
	cmp	rdx, rax
	jnb	.L26
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 4
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L27
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	and	eax, 1
	test	eax, eax
	je	.L27
	mov	rax, QWORD PTR -16[rbp]
	sub	rax, 4
	mov	QWORD PTR addr_rel_base_addr[rip], rax
	jmp	.L28
.L27:
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR addr_rel_base_addr[rip], rax
.L28:
	nop
.L29:
	sub	QWORD PTR -8[rbp], 4
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L29
	nop
.L30:
	sub	QWORD PTR -8[rbp], 4
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L30
	add	QWORD PTR -8[rbp], 4
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 4
	mov	rdi, rax
	call	prev_section
	mov	QWORD PTR -16[rbp], rax
	jmp	.L31
.L26:
	mov	rax, QWORD PTR addr_syms_num[rip]
	mov	QWORD PTR -8[rbp], rax
	nop
.L32:
	sub	QWORD PTR -8[rbp], 4
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L32
	nop
.L33:
	sub	QWORD PTR -8[rbp], 4
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L33
	add	QWORD PTR -8[rbp], 4
.L31:
	mov	rdx, QWORD PTR st[rip]
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR addr_syms_num[rip]
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	sub	rdx, rax
	mov	eax, DWORD PTR -20[rbp]
	cmp	rdx, rax
	jbe	.L34
	mov	DWORD PTR is_addr_section_zero[rip], 1
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR addr_syms_addrs[rip], rax
	jmp	.L35
.L34:
	mov	DWORD PTR is_addr_section_zero[rip], 0
	mov	rax, QWORD PTR addr_syms_num[rip]
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	sub	rdx, rax
	mov	eax, DWORD PTR num_syms[rip]
	sal	eax, 3
	mov	eax, eax
	cmp	rdx, rax
	jb	.L36
	mov	DWORD PTR addr_entry_size[rip], 8
	jmp	.L37
.L36:
	mov	DWORD PTR addr_entry_size[rip], 4
.L37:
	mov	edx, DWORD PTR addr_entry_size[rip]
	mov	eax, DWORD PTR num_syms[rip]
	imul	eax, edx
	mov	eax, eax
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	QWORD PTR addr_syms_addrs[rip], rax
.L35:
	mov	eax, 1
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	locate_other_sections, .-locate_other_sections
	.globl	verify_addr_section
	.type	verify_addr_section, @function
verify_addr_section:
.LFB10:
	.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
	cmp	DWORD PTR -28[rbp], 4
	jne	.L40
	or	DWORD PTR -4[rbp], 2
	mov	DWORD PTR -8[rbp], 32
	jmp	.L41
.L44:
	mov	eax, DWORD PTR -8[rbp]
	sal	eax, 2
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L42
	or	DWORD PTR -4[rbp], 1
	jmp	.L45
.L42:
	add	DWORD PTR -8[rbp], 1
.L41:
	cmp	DWORD PTR -8[rbp], 63
	jle	.L44
	jmp	.L45
.L40:
	cmp	DWORD PTR -28[rbp], 8
	jne	.L46
	mov	DWORD PTR -8[rbp], 32
	jmp	.L47
.L51:
	mov	eax, DWORD PTR -8[rbp]
	sal	eax, 3
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L48
	or	DWORD PTR -4[rbp], 1
	jmp	.L45
.L48:
	mov	eax, DWORD PTR -8[rbp]
	sal	eax, 3
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdx, rax
	movabs	rax, -281474976710656
	and	rdx, rax
	movabs	rax, -281474976710656
	cmp	rdx, rax
	je	.L50
	or	DWORD PTR -4[rbp], 2
	jmp	.L45
.L50:
	add	DWORD PTR -8[rbp], 1
.L47:
	cmp	DWORD PTR -8[rbp], 63
	jle	.L51
	jmp	.L45
.L46:
	mov	eax, -2147483648
	jmp	.L52
.L45:
	mov	eax, DWORD PTR -4[rbp]
.L52:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	verify_addr_section, .-verify_addr_section
	.globl	is_relo_entry
	.type	is_relo_entry, @function
is_relo_entry:
.LFB11:
	.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 -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	shr	rax, 40
	cmp	rax, 16777215
	jne	.L54
	mov	eax, 1
	jmp	.L55
.L54:
	mov	eax, 0
.L55:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	is_relo_entry, .-is_relo_entry
	.globl	relo_st
	.bss
	.align 8
	.type	relo_st, @object
	.size	relo_st, 8
relo_st:
	.zero	8
	.globl	relo_ed
	.align 8
	.type	relo_ed, @object
	.size	relo_ed, 8
relo_ed:
	.zero	8
	.globl	kallsyms_addr
	.align 8
	.type	kallsyms_addr, @object
	.size	kallsyms_addr, 8
kallsyms_addr:
	.zero	8
	.globl	relo_secs
	.align 32
	.type	relo_secs, @object
	.size	relo_secs, 256
relo_secs:
	.zero	256
	.globl	num_secs
	.align 4
	.type	num_secs, @object
	.size	num_secs, 4
num_secs:
	.zero	4
	.globl	relo_sec
	.align 8
	.type	relo_sec, @object
	.size	relo_sec, 8
relo_sec:
	.zero	8
	.globl	guessed_kernel_base_from_relo
	.align 8
	.type	guessed_kernel_base_from_relo, @object
	.size	guessed_kernel_base_from_relo, 8
guessed_kernel_base_from_relo:
	.zero	8
	.section	.rodata
.LC1:
	.string	"m0 p:%p e:%p\n"
	.align 8
.LC2:
	.string	"try_locate_relo_symaddr(): probed addr_entry_size: %d\n"
	.text
	.globl	try_locate_relo_symaddr
	.type	try_locate_relo_symaddr, @function
try_locate_relo_symaddr:
.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 -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -12[rbp], 2048
	mov	DWORD PTR -8[rbp], 4096
	mov	DWORD PTR -4[rbp], 4096
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR addr_entry_size[rip], 8
	jmp	.L57
.L70:
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -16[rbp], eax
	jmp	.L58
.L67:
	mov	DWORD PTR -20[rbp], 0
	jmp	.L60
.L64:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	edx, DWORD PTR addr_entry_size[rip]
	mov	eax, DWORD PTR -4[rbp]
	imul	eax, edx
	mov	eax, eax
	add	rcx, rax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rdx, rax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	cmp	rcx, rax
	jne	.L73
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR addr_entry_size[rip]
	mov	edx, edx
	lea	rcx, [rax+rdx]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	cmp	rcx, rax
	jne	.L74
	add	DWORD PTR -20[rbp], 1
.L60:
	mov	eax, DWORD PTR -16[rbp]
	sub	eax, 1
	cmp	DWORD PTR -20[rbp], eax
	jl	.L64
	jmp	.L62
.L73:
	nop
	jmp	.L62
.L74:
	nop
.L62:
	mov	eax, DWORD PTR -16[rbp]
	sub	eax, 1
	cmp	DWORD PTR -20[rbp], eax
	jl	.L65
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR relo_st[rip], rax
	jmp	.L66
.L65:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	QWORD PTR -40[rbp], rax
.L59:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	add	rdx, rax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	cmp	QWORD PTR -48[rbp], rax
	ja	.L67
	sar	DWORD PTR -16[rbp]
.L58:
	mov	rax, QWORD PTR relo_st[rip]
	test	rax, rax
	jne	.L68
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jge	.L59
.L68:
	mov	eax, DWORD PTR addr_entry_size[rip]
	sub	eax, 4
	mov	DWORD PTR addr_entry_size[rip], eax
.L57:
	mov	eax, DWORD PTR addr_entry_size[rip]
	cmp	eax, 3
	ja	.L70
	nop
.L66:
	mov	rax, QWORD PTR relo_st[rip]
	test	rax, rax
	jne	.L71
	mov	eax, 0
	jmp	.L72
.L71:
	mov	edx, DWORD PTR addr_entry_size[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR relo_st[rip]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR kallsyms_addr[rip], rax
	mov	eax, 1
.L72:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	try_locate_relo_symaddr, .-try_locate_relo_symaddr
	.globl	relo_ent_cmp
	.type	relo_ent_cmp, @function
relo_ent_cmp:
.LFB13:
	.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	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	rdx, rax
	jne	.L76
	mov	eax, 0
	jmp	.L77
.L76:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	rdx, rax
	jbe	.L78
	mov	eax, 1
	jmp	.L77
.L78:
	mov	eax, -1
.L77:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	relo_ent_cmp, .-relo_ent_cmp
	.globl	get_relo_sec_ed
	.type	get_relo_sec_ed, @function
get_relo_sec_ed:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	jmp	.L81
.L83:
	add	QWORD PTR -8[rbp], 24
.L81:
	mov	rax, QWORD PTR -8[rbp]
	cmp	rax, QWORD PTR -16[rbp]
	jnb	.L82
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	is_relo_entry
	test	eax, eax
	jne	.L83
.L82:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, 24
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	get_relo_sec_ed, .-get_relo_sec_ed
	.section	.rodata
.LC3:
	.string	"%016lx %016lx %016lx\n"
	.text
	.globl	print_relo_secs
	.type	print_relo_secs, @function
print_relo_secs:
.LFB15:
	.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	rax, QWORD PTR relo_sec[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L86
.L87:
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	r8, rsi
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	QWORD PTR -8[rbp], 24
.L86:
	mov	rax, QWORD PTR relo_ed[rip]
	cmp	QWORD PTR -8[rbp], rax
	jb	.L87
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	print_relo_secs, .-print_relo_secs
	.section	.rodata
.LC4:
	.string	"Cannot locate any relo_sec.."
	.align 8
.LC5:
	.string	"RELO_SEC %d: +%p for off: +%p - +%p for off: +%p\n"
	.align 8
.LC6:
	.string	"guessed_kernel_base_from_relo: %016lx\n"
	.text
	.globl	get_relo_sections
	.type	get_relo_sections, @function
get_relo_sections:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 56
	.cfi_offset 3, -24
	mov	rax, QWORD PTR st[rip]
	mov	QWORD PTR -32[rbp], rax
	mov	rdx, QWORD PTR st[rip]
	mov	eax, DWORD PTR sz[rip]
	cdqe
	add	rax, rdx
	mov	QWORD PTR -24[rbp], rax
	mov	DWORD PTR -40[rbp], 128
	jmp	.L90
.L96:
	mov	DWORD PTR -52[rbp], 0
	jmp	.L91
.L94:
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rdi, rax
	call	is_relo_entry
	test	eax, eax
	je	.L105
	add	DWORD PTR -52[rbp], 1
.L91:
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, DWORD PTR -40[rbp]
	jl	.L94
	jmp	.L93
.L105:
	nop
.L93:
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, DWORD PTR -40[rbp]
	jl	.L95
	mov	eax, DWORD PTR num_secs[rip]
	cdqe
	sal	rax, 4
	mov	rcx, rax
	lea	rdx, relo_secs[rip]
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR [rcx+rdx], rax
	mov	ebx, DWORD PTR num_secs[rip]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	get_relo_sec_ed
	movsx	rdx, ebx
	mov	rcx, rdx
	sal	rcx, 4
	lea	rdx, relo_secs[rip+8]
	mov	QWORD PTR [rcx+rdx], rax
	mov	eax, DWORD PTR num_secs[rip]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, relo_secs[rip+8]
	mov	rax, QWORD PTR [rdx+rax]
	add	rax, 24
	mov	QWORD PTR -32[rbp], rax
	mov	eax, DWORD PTR num_secs[rip]
	add	eax, 1
	mov	DWORD PTR num_secs[rip], eax
	jmp	.L90
.L95:
	add	QWORD PTR -32[rbp], 4
.L90:
	mov	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	cmp	QWORD PTR -24[rbp], rax
	ja	.L96
	mov	eax, DWORD PTR num_secs[rip]
	test	eax, eax
	jne	.L97
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 28
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L98
.L97:
	mov	DWORD PTR -52[rbp], 0
	jmp	.L99
.L100:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, relo_secs[rip+8]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, relo_secs[rip+8]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdx, QWORD PTR st[rip]
	sub	rax, rdx
	mov	r8, rax
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, relo_secs[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, relo_secs[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdx, QWORD PTR st[rip]
	sub	rax, rdx
	mov	rcx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -52[rbp]
	sub	rsp, 8
	push	rsi
	mov	r9, r8
	mov	r8, rdi
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	add	DWORD PTR -52[rbp], 1
.L99:
	mov	eax, DWORD PTR num_secs[rip]
	cmp	DWORD PTR -52[rbp], eax
	jl	.L100
	mov	DWORD PTR -48[rbp], 0
	mov	DWORD PTR -44[rbp], 0
	mov	DWORD PTR -52[rbp], 0
	jmp	.L101
.L102:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, relo_secs[rip+8]
	mov	rax, QWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -52[rbp]
	movsx	rdx, edx
	mov	rcx, rdx
	sal	rcx, 4
	lea	rdx, relo_secs[rip]
	mov	rdx, QWORD PTR [rcx+rdx]
	sub	rax, rdx
	sar	rax, 3
	mov	rdx, rax
	movabs	rax, -6148914691236517205
	imul	rax, rdx
	mov	edx, eax
	mov	eax, DWORD PTR -48[rbp]
	add	eax, edx
	add	eax, 1
	mov	DWORD PTR -48[rbp], eax
	add	DWORD PTR -52[rbp], 1
.L101:
	mov	eax, DWORD PTR num_secs[rip]
	cmp	DWORD PTR -52[rbp], eax
	jl	.L102
	mov	eax, DWORD PTR -48[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR relo_sec[rip], rax
	mov	DWORD PTR -52[rbp], 0
	jmp	.L103
.L104:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, relo_secs[rip+8]
	mov	rax, QWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -52[rbp]
	movsx	rdx, edx
	mov	rcx, rdx
	sal	rcx, 4
	lea	rdx, relo_secs[rip]
	mov	rdx, QWORD PTR [rcx+rdx]
	sub	rax, rdx
	sar	rax, 3
	mov	rdx, rax
	movabs	rax, -6148914691236517205
	imul	rax, rdx
	add	eax, 1
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rsi, rax
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, relo_secs[rip]
	mov	rcx, QWORD PTR [rdx+rax]
	mov	rdi, QWORD PTR relo_sec[rip]
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rdi
	mov	rdx, rsi
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	eax, DWORD PTR -36[rbp]
	add	DWORD PTR -44[rbp], eax
	add	DWORD PTR -52[rbp], 1
.L103:
	mov	eax, DWORD PTR num_secs[rip]
	cmp	DWORD PTR -52[rbp], eax
	jl	.L104
	mov	eax, DWORD PTR -48[rbp]
	movsx	rsi, eax
	mov	rax, QWORD PTR relo_sec[rip]
	lea	rcx, relo_ent_cmp[rip]
	mov	edx, 24
	mov	rdi, rax
	call	qsort@PLT
	mov	rcx, QWORD PTR relo_sec[rip]
	mov	eax, DWORD PTR -48[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	QWORD PTR relo_ed[rip], rax
	mov	rax, QWORD PTR relo_sec[rip]
	mov	rax, QWORD PTR [rax]
	and	rax, -4096
	mov	QWORD PTR guessed_kernel_base_from_relo[rip], rax
	mov	rdx, QWORD PTR guessed_kernel_base_from_relo[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
.L98:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	get_relo_sections, .-get_relo_sections
	.globl	relocate_kernel_rel_base
	.type	relocate_kernel_rel_base, @function
relocate_kernel_rel_base:
.LFB17:
	.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 -40[rbp], rdi
	mov	QWORD PTR -32[rbp], -1
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR st[rip]
	cmp	rax, rdx
	ja	.L107
	mov	rax, QWORD PTR -32[rbp]
	jmp	.L108
.L107:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR st[rip]
	sub	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR relo_sec[rip]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L109
.L111:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rcx, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	add	rdx, rcx
	cmp	rax, rdx
	jne	.L110
	mov	rax, QWORD PTR -8[rbp]
	cmp	rax, QWORD PTR -32[rbp]
	jnb	.L110
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -32[rbp], rax
.L110:
	add	QWORD PTR -24[rbp], 24
.L109:
	mov	rax, QWORD PTR relo_ed[rip]
	cmp	QWORD PTR -24[rbp], rax
	jb	.L111
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
.L108:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	relocate_kernel_rel_base, .-relocate_kernel_rel_base
	.globl	tokens
	.bss
	.align 32
	.type	tokens, @object
	.size	tokens, 2048
tokens:
	.zero	2048
	.section	.rodata
	.align 8
.LC7:
	.string	"Usage: <prog> <uncompressed kernel image> <gen_idc(opt)>\n"
.LC8:
	.string	"Open kernel image failed\n"
	.align 8
.LC9:
	.string	"Cannot obtain kernel image file length\n"
.LC10:
	.string	"Image size: %d\n"
	.align 8
.LC11:
	.string	"Fail to map the image into memory.\n"
	.align 8
.LC12:
	.string	"Image base address in memory: %p\n"
	.align 8
.LC13:
	.string	"Locating the token_table address...\n"
	.align 8
.LC14:
	.string	"Cannot locate kallsyms_token_table in the kernel image.\n"
.LC15:
	.string	"token_table: +%p\n"
.LC16:
	.string	"Locating other sections...\n"
	.align 8
.LC17:
	.string	"Cannot locate other sections in the kernel image.\n"
.LC18:
	.string	"syms_names: +%p\n"
.LC19:
	.string	"syms_addrs: +%p\n"
.LC20:
	.string	"syms_num: +%p(#%d)\n"
.LC21:
	.string	"rel_base_addr: +%p\n"
	.align 8
.LC22:
	.string	"is_addr_section_zero: %d, addr_entry_size: %u\n"
	.align 8
.LC23:
	.string	"The kallsyms_addresses section needs a relocation...\n"
	.align 8
.LC24:
	.string	"Fail to get relo section, exit..\n"
	.align 8
.LC25:
	.string	"Cannot locate relo inf for kallsym_addr..\n"
	.align 8
.LC26:
	.string	"Below relo info is for kallsyms_addresses...\n"
	.align 8
.LC27:
	.string	"relo_st:%p for off:%p and add:%p, relo_ed:%p for off:%p and add:%p\n"
	.align 8
.LC28:
	.string	"Addr entries relocated: %d/%d\n"
	.align 8
.LC29:
	.string	"This kernel should use relative-base-address format symbol table.\n"
	.align 8
.LC30:
	.string	"Try to figure out the relative base address...\n"
	.align 8
.LC31:
	.string	"We have a non-zero rel_base section whose value is: %p\n"
	.align 8
.LC32:
	.string	"Still need to relocate the non-zero rel_base section, after that: %p\n"
	.align 8
.LC33:
	.string	"We don't know the exact rel_base section address, try and probe...\n"
	.align 8
.LC34:
	.string	"Probed kernel base address: %p\n"
	.align 8
.LC35:
	.string	"Probed base address is not equal to guessed_kernel_base_from_relo, if something bad happens later, consider to use guessed_kernel_base_from_relo\n"
.LC36:
	.string	"#include <idc.idc>"
.LC37:
	.string	"static main()"
.LC38:
	.string	"{"
	.align 8
.LC39:
	.string	"Null addr_inf for the symbol: %c %s\n"
.LC40:
	.string	"MakeName(%p, \"%s\");\n"
.LC41:
	.string	"%p %c %s\n"
.LC42:
	.string	"}"
	.text
	.globl	main
	.type	main, @function
main:
.LFB18:
	.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	DWORD PTR -532[rbp], edi
	mov	QWORD PTR -544[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -532[rbp], 1
	jg	.L113
	lea	rdi, .LC7[rip]
	call	perror@PLT
	jmp	.L114
.L113:
	cmp	DWORD PTR -532[rbp], 2
	setg	al
	movzx	eax, al
	mov	DWORD PTR -504[rbp], eax
	mov	rax, QWORD PTR -544[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -500[rbp], eax
	cmp	DWORD PTR -500[rbp], 0
	jns	.L115
	lea	rdi, .LC8[rip]
	call	perror@PLT
	jmp	.L114
.L115:
	lea	rdx, -416[rbp]
	mov	eax, DWORD PTR -500[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fstat@PLT
	test	eax, eax
	je	.L116
	lea	rdi, .LC9[rip]
	call	perror@PLT
	jmp	.L114
.L116:
	mov	rax, QWORD PTR -368[rbp]
	mov	DWORD PTR sz[rip], eax
	mov	edx, DWORD PTR sz[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR sz[rip]
	cdqe
	mov	edx, DWORD PTR -500[rbp]
	mov	r9d, 0
	mov	r8d, edx
	mov	ecx, 1
	mov	edx, 1
	mov	rsi, rax
	mov	edi, 0
	call	mmap@PLT
	mov	QWORD PTR st[rip], rax
	mov	rax, QWORD PTR st[rip]
	cmp	rax, -1
	jne	.L117
	lea	rdi, .LC11[rip]
	call	perror@PLT
	jmp	.L118
.L117:
	mov	rdx, QWORD PTR st[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 36
	mov	esi, 1
	lea	rdi, .LC13[rip]
	call	fwrite@PLT
	mov	eax, 0
	call	locate_token_table
	test	eax, eax
	jne	.L119
	lea	rdi, .LC14[rip]
	call	perror@PLT
	jmp	.L120
.L119:
	mov	rax, QWORD PTR addr_token_table[rip]
	mov	rdx, QWORD PTR st[rip]
	sub	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 27
	mov	esi, 1
	lea	rdi, .LC16[rip]
	call	fwrite@PLT
	mov	eax, 0
	call	locate_other_sections
	test	eax, eax
	jne	.L121
	lea	rdi, .LC17[rip]
	call	perror@PLT
	jmp	.L120
.L121:
	mov	rax, QWORD PTR addr_syms_names[rip]
	mov	rdx, QWORD PTR st[rip]
	sub	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR addr_syms_addrs[rip]
	mov	rdx, QWORD PTR st[rip]
	sub	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edx, DWORD PTR num_syms[rip]
	mov	rax, QWORD PTR addr_syms_num[rip]
	mov	rcx, QWORD PTR st[rip]
	sub	rax, rcx
	mov	rsi, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, edx
	mov	rdx, rsi
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR addr_rel_base_addr[rip]
	test	rax, rax
	je	.L122
	mov	rax, QWORD PTR addr_rel_base_addr[rip]
	mov	rdx, QWORD PTR st[rip]
	sub	rax, rdx
	jmp	.L123
.L122:
	mov	rax, QWORD PTR addr_rel_base_addr[rip]
.L123:
	mov	rcx, QWORD PTR stderr[rip]
	mov	rdx, rax
	lea	rsi, .LC21[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	fprintf@PLT
	mov	ecx, DWORD PTR addr_entry_size[rip]
	mov	edx, DWORD PTR is_addr_section_zero[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -516[rbp], 1
	mov	eax, DWORD PTR is_addr_section_zero[rip]
	test	eax, eax
	jne	.L124
	mov	edx, DWORD PTR addr_entry_size[rip]
	mov	rax, QWORD PTR addr_syms_addrs[rip]
	mov	esi, edx
	mov	rdi, rax
	call	verify_addr_section
	mov	DWORD PTR -516[rbp], eax
.L124:
	mov	DWORD PTR -512[rbp], 0
	mov	eax, DWORD PTR -516[rbp]
	and	eax, 1
	test	eax, eax
	je	.L125
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 53
	mov	esi, 1
	lea	rdi, .LC23[rip]
	call	fwrite@PLT
	mov	eax, 0
	call	get_relo_sections
	test	eax, eax
	jne	.L126
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 33
	mov	esi, 1
	lea	rdi, .LC24[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L166
.L126:
	mov	rdx, QWORD PTR relo_ed[rip]
	mov	rax, QWORD PTR relo_sec[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	try_locate_relo_symaddr
	test	eax, eax
	jne	.L128
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 42
	mov	esi, 1
	lea	rdi, .LC25[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L166
.L128:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 45
	mov	esi, 1
	lea	rdi, .LC26[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR relo_ed[rip]
	mov	rax, QWORD PTR 16[rax]
	mov	r8, rax
	mov	rax, QWORD PTR relo_ed[rip]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	mov	rcx, QWORD PTR relo_ed[rip]
	mov	rax, QWORD PTR relo_st[rip]
	mov	rax, QWORD PTR 16[rax]
	mov	r10, rax
	mov	rax, QWORD PTR relo_st[rip]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	mov	rdx, QWORD PTR relo_st[rip]
	mov	rax, QWORD PTR stderr[rip]
	push	r8
	push	rdi
	mov	r9, rcx
	mov	r8, r10
	mov	rcx, rsi
	lea	rsi, .LC27[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	mov	eax, DWORD PTR num_syms[rip]
	sal	eax, 3
	mov	eax, eax
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR addr_syms_addrs[rip], rax
	mov	rax, QWORD PTR addr_syms_addrs[rip]
	mov	QWORD PTR -456[rbp], rax
	mov	rax, QWORD PTR relo_st[rip]
	mov	QWORD PTR -480[rbp], rax
	mov	DWORD PTR -524[rbp], 0
	jmp	.L129
.L139:
	mov	rcx, QWORD PTR kallsyms_addr[rip]
	mov	edx, DWORD PTR -524[rbp]
	mov	eax, DWORD PTR addr_entry_size[rip]
	imul	eax, edx
	mov	eax, eax
	add	rax, rcx
	mov	QWORD PTR -448[rbp], rax
	jmp	.L130
.L132:
	add	QWORD PTR -480[rbp], 24
.L130:
	mov	rax, QWORD PTR -480[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -448[rbp]
	cmp	rdx, rax
	jnb	.L131
	mov	rax, QWORD PTR relo_ed[rip]
	cmp	QWORD PTR -480[rbp], rax
	jb	.L132
.L131:
	mov	rax, QWORD PTR relo_ed[rip]
	cmp	QWORD PTR -480[rbp], rax
	jnb	.L168
	mov	rax, QWORD PTR -480[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -448[rbp]
	cmp	rdx, rax
	jne	.L135
	mov	eax, DWORD PTR addr_entry_size[rip]
	cmp	eax, 4
	jne	.L136
	mov	eax, DWORD PTR -524[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -456[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -480[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR [rdx], rax
	jmp	.L137
.L136:
	mov	eax, DWORD PTR -524[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -456[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -480[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR [rdx], rax
.L137:
	add	QWORD PTR -480[rbp], 24
	jmp	.L138
.L135:
	mov	rax, QWORD PTR -480[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -448[rbp]
	cmp	rdx, rax
	jbe	.L138
	mov	eax, DWORD PTR -524[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -456[rbp]
	add	rax, rdx
	mov	QWORD PTR [rax], 0
.L138:
	add	DWORD PTR -524[rbp], 1
.L129:
	mov	edx, DWORD PTR -524[rbp]
	mov	eax, DWORD PTR num_syms[rip]
	cmp	edx, eax
	jnb	.L134
	mov	rax, QWORD PTR relo_ed[rip]
	cmp	QWORD PTR -480[rbp], rax
	jb	.L139
	jmp	.L134
.L168:
	nop
.L134:
	mov	ecx, DWORD PTR num_syms[rip]
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -524[rbp]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR addr_syms_addrs[rip]
	mov	esi, 8
	mov	rdi, rax
	call	verify_addr_section
	mov	DWORD PTR -516[rbp], eax
	mov	DWORD PTR -512[rbp], 1
.L125:
	mov	eax, DWORD PTR -516[rbp]
	and	eax, 2
	test	eax, eax
	je	.L140
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 66
	mov	esi, 1
	lea	rdi, .LC29[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 47
	mov	esi, 1
	lea	rdi, .LC30[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR relo_sec[rip]
	test	rax, rax
	jne	.L141
	mov	eax, 0
	call	get_relo_sections
	test	eax, eax
	jne	.L141
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 33
	mov	esi, 1
	lea	rdi, .LC24[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L166
.L141:
	mov	QWORD PTR -472[rbp], -1
	mov	rax, QWORD PTR addr_rel_base_addr[rip]
	test	rax, rax
	je	.L142
	mov	rax, QWORD PTR addr_rel_base_addr[rip]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -472[rbp], rax
	mov	rdx, QWORD PTR -472[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC31[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	movabs	rax, -72057594037927936
	and	rax, QWORD PTR -472[rbp]
	movabs	rdx, -72057594037927936
	cmp	rax, rdx
	je	.L143
	mov	rax, QWORD PTR addr_rel_base_addr[rip]
	mov	rdi, rax
	call	relocate_kernel_rel_base
	mov	QWORD PTR -472[rbp], rax
	mov	rdx, QWORD PTR -472[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC32[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L143
.L142:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 67
	mov	esi, 1
	lea	rdi, .LC33[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR addr_syms_num[rip]
	sub	rax, 8
	mov	QWORD PTR -464[rbp], rax
	mov	DWORD PTR -508[rbp], 256
	jmp	.L144
.L147:
	mov	rax, QWORD PTR -464[rbp]
	mov	rdi, rax
	call	relocate_kernel_rel_base
	mov	QWORD PTR -440[rbp], rax
	mov	rax, QWORD PTR -440[rbp]
	cmp	rax, QWORD PTR -472[rbp]
	jnb	.L145
	mov	rax, QWORD PTR -440[rbp]
	mov	QWORD PTR -472[rbp], rax
.L145:
	sub	QWORD PTR -464[rbp], 4
.L144:
	mov	rax, QWORD PTR -464[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L146
	mov	eax, DWORD PTR -508[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -508[rbp], edx
	test	eax, eax
	jne	.L147
.L146:
	mov	rdx, QWORD PTR -472[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC34[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L143:
	mov	rax, QWORD PTR guessed_kernel_base_from_relo[rip]
	cmp	QWORD PTR -472[rbp], rax
	je	.L148
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 145
	mov	esi, 1
	lea	rdi, .LC35[rip]
	call	fwrite@PLT
	cmp	QWORD PTR -472[rbp], -1
	jne	.L148
	mov	rax, QWORD PTR guessed_kernel_base_from_relo[rip]
	mov	QWORD PTR -472[rbp], rax
.L148:
	cmp	DWORD PTR -512[rbp], 0
	jne	.L149
	mov	eax, DWORD PTR num_syms[rip]
	sal	eax, 3
	mov	eax, eax
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -432[rbp], rax
	mov	eax, DWORD PTR addr_entry_size[rip]
	cmp	eax, 4
	jne	.L150
	mov	DWORD PTR -524[rbp], 0
	jmp	.L151
.L152:
	mov	rdx, QWORD PTR addr_syms_addrs[rip]
	mov	eax, DWORD PTR -524[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR -524[rbp]
	add	edx, edx
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -432[rbp]
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -524[rbp]
	add	eax, eax
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -432[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	add	DWORD PTR -524[rbp], 1
.L151:
	mov	edx, DWORD PTR -524[rbp]
	mov	eax, DWORD PTR num_syms[rip]
	cmp	edx, eax
	jb	.L152
	jmp	.L153
.L150:
	mov	eax, DWORD PTR num_syms[rip]
	sal	eax, 3
	mov	edx, eax
	mov	rcx, QWORD PTR addr_syms_addrs[rip]
	mov	rax, QWORD PTR -432[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
.L153:
	mov	rax, QWORD PTR -432[rbp]
	mov	QWORD PTR addr_syms_addrs[rip], rax
.L149:
	mov	DWORD PTR -524[rbp], 0
	jmp	.L154
.L155:
	mov	rdx, QWORD PTR addr_syms_addrs[rip]
	mov	eax, DWORD PTR -524[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	rdx, QWORD PTR addr_syms_addrs[rip]
	mov	eax, DWORD PTR -524[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR -472[rbp]
	add	rdx, rcx
	mov	QWORD PTR [rax], rdx
	add	DWORD PTR -524[rbp], 1
.L154:
	mov	edx, DWORD PTR -524[rbp]
	mov	eax, DWORD PTR num_syms[rip]
	cmp	edx, eax
	jb	.L155
.L140:
	mov	rax, QWORD PTR addr_token_table[rip]
	mov	QWORD PTR -488[rbp], rax
	mov	DWORD PTR -524[rbp], 0
	jmp	.L156
.L157:
	mov	eax, DWORD PTR -524[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rdx, tokens[rip]
	mov	rax, QWORD PTR -488[rbp]
	mov	QWORD PTR [rcx+rdx], rax
	mov	rax, QWORD PTR -488[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, 1
	add	QWORD PTR -488[rbp], rax
	add	DWORD PTR -524[rbp], 1
.L156:
	cmp	DWORD PTR -524[rbp], 255
	jle	.L157
	cmp	DWORD PTR -504[rbp], 0
	je	.L158
	lea	rdi, .LC36[rip]
	call	puts@PLT
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC37[rip]
	call	puts@PLT
	lea	rdi, .LC38[rip]
	call	puts@PLT
.L158:
	mov	rax, QWORD PTR addr_syms_names[rip]
	mov	QWORD PTR -488[rbp], rax
	mov	DWORD PTR -524[rbp], 0
	jmp	.L159
.L165:
	mov	rdx, QWORD PTR addr_syms_addrs[rip]
	mov	eax, DWORD PTR -524[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -424[rbp], rax
	mov	BYTE PTR -272[rbp], 0
	mov	rax, QWORD PTR -488[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -496[rbp], eax
	and	DWORD PTR -496[rbp], 255
	mov	DWORD PTR -520[rbp], 0
	jmp	.L160
.L161:
	add	QWORD PTR -488[rbp], 1
	mov	rax, QWORD PTR -488[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -492[rbp], eax
	and	DWORD PTR -492[rbp], 255
	mov	eax, DWORD PTR -492[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, tokens[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	lea	rax, -272[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	add	DWORD PTR -520[rbp], 1
.L160:
	mov	eax, DWORD PTR -520[rbp]
	cmp	eax, DWORD PTR -496[rbp]
	jl	.L161
	add	QWORD PTR -488[rbp], 1
	cmp	QWORD PTR -424[rbp], 0
	jne	.L162
	lea	rax, -272[rbp]
	add	rax, 1
	movzx	edx, BYTE PTR -272[rbp]
	movsx	edx, dl
	mov	rdi, QWORD PTR stderr[rip]
	mov	rcx, rax
	lea	rsi, .LC39[rip]
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L163
.L162:
	cmp	DWORD PTR -504[rbp], 0
	je	.L164
	lea	rax, -272[rbp]
	add	rax, 1
	mov	rcx, QWORD PTR -424[rbp]
	mov	rdx, rax
	mov	rsi, rcx
	lea	rdi, .LC40[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L163
.L164:
	lea	rax, -272[rbp]
	add	rax, 1
	movzx	edx, BYTE PTR -272[rbp]
	movsx	edx, dl
	mov	rsi, QWORD PTR -424[rbp]
	mov	rcx, rax
	lea	rdi, .LC41[rip]
	mov	eax, 0
	call	printf@PLT
.L163:
	add	DWORD PTR -524[rbp], 1
.L159:
	mov	edx, DWORD PTR -524[rbp]
	mov	eax, DWORD PTR num_syms[rip]
	cmp	edx, eax
	jb	.L165
	cmp	DWORD PTR -504[rbp], 0
	je	.L169
	lea	rdi, .LC42[rip]
	call	puts@PLT
	jmp	.L120
.L169:
	nop
.L120:
	mov	eax, DWORD PTR sz[rip]
	movsx	rdx, eax
	mov	rax, QWORD PTR st[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	munmap@PLT
.L118:
	mov	eax, DWORD PTR -500[rbp]
	mov	edi, eax
	call	close@PLT
.L114:
	mov	eax, 0
.L166:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L167
	call	__stack_chk_fail@PLT
.L167:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.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	"907851.c"
	.text
	.comm	st,4,4
	.comm	sz,4,4
	.comm	addr_token_table,4,4
	.comm	addr_token_index,4,4
	.comm	addr_syms_names,4,4
	.comm	addr_syms_addrs,4,4
	.comm	addr_syms_num,4,4
	.comm	num_syms,4,4
	.global	addr_rel_base_addr
	.bss
	.align	2
	.type	addr_rel_base_addr, %object
	.size	addr_rel_base_addr, 4
addr_rel_base_addr:
	.space	4
	.global	addr_entry_size
	.data
	.align	2
	.type	addr_entry_size, %object
	.size	addr_entry_size, 4
addr_entry_size:
	.word	8
	.text
	.align	2
	.global	in_alphabet
	.syntax unified
	.arm
	.fpu softvfp
	.type	in_alphabet, %function
in_alphabet:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #96
	bls	.L2
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #122
	bhi	.L2
	mov	r3, #1
	b	.L3
.L2:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #64
	bls	.L4
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #90
	bhi	.L4
	mov	r3, #1
	b	.L3
.L4:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L5
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #57
	bhi	.L5
	mov	r3, #1
	b	.L3
.L5:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #95
	bne	.L6
	mov	r3, #1
	b	.L3
.L6:
	mov	r3, #0
.L3:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	in_alphabet, .-in_alphabet
	.align	2
	.global	locate_token_table
	.syntax unified
	.arm
	.fpu softvfp
	.type	locate_token_table, %function
locate_token_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
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	b	.L8
.L11:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	ldr	r2, .L20+4
	cmp	r3, r2
	bne	.L9
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r2, .L20+8
	cmp	r3, r2
	bne	.L9
	ldr	r3, [fp, #-12]
	add	r3, r3, #16
	ldr	r3, [r3]
	ldr	r2, .L20+12
	cmp	r3, r2
	bne	.L9
	ldr	r3, [fp, #-12]
	add	r3, r3, #20
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	in_alphabet
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
	ldr	r3, [fp, #-12]
	add	r3, r3, #21
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	in_alphabet
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
.L9:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L8:
	ldr	r3, [fp, #-12]
	add	r2, r3, #24
	ldr	r3, .L20
	ldr	r3, [r3]
	ldr	r1, .L20+16
	ldr	r1, [r1]
	add	r3, r3, r1
	cmp	r2, r3
	bls	.L11
.L10:
	ldr	r3, [fp, #-12]
	add	r2, r3, #24
	ldr	r3, .L20
	ldr	r3, [r3]
	ldr	r1, .L20+16
	ldr	r1, [r1]
	add	r3, r3, r1
	cmp	r2, r3
	bls	.L12
	mov	r3, #0
	b	.L13
.L12:
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
	b	.L14
.L17:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L15
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L19
.L15:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
.L14:
	ldr	r3, .L20
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bhi	.L17
	b	.L16
.L19:
	nop
.L16:
	ldr	r3, .L20
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bls	.L18
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldr	r2, .L20+20
	str	r3, [r2]
	mov	r3, #1
	b	.L13
.L18:
	mov	r3, #0
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	st
	.word	3211312
	.word	3342386
	.word	3735608
	.word	sz
	.word	addr_token_table
	.size	locate_token_table, .-locate_token_table
	.global	__aeabi_uidivmod
	.align	2
	.global	prev_section
	.syntax unified
	.arm
	.fpu softvfp
	.type	prev_section, %function
prev_section:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
.L23:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L23
	ldr	r3, [fp, #-8]
	bic	r3, r3, #3
	str	r3, [fp, #-8]
	b	.L24
.L25:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #4
	str	r3, [fp, #-8]
.L24:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L25
	ldr	r3, [fp, #-8]
	sub	r3, r3, #8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L25
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	__aeabi_uidivmod
	mov	r3, r1
	rsb	r3, r3, #0
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	prev_section, .-prev_section
	.global	is_addr_section_zero
	.bss
	.align	2
	.type	is_addr_section_zero, %object
	.size	is_addr_section_zero, 4
is_addr_section_zero:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"addr_end before addr_sym_num/rel_base: %p\012\000"
	.text
	.align	2
	.global	locate_other_sections
	.syntax unified
	.arm
	.fpu softvfp
	.type	locate_other_sections, %function
locate_other_sections:
	@ 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	r3, #4096
	str	r3, [fp, #-12]
	mov	r3, #4096
	str	r3, [fp, #-8]
	ldr	r3, .L41
	ldr	r3, [r3]
	mov	r1, #4
	mov	r0, r3
	bl	prev_section
	str	r0, [fp, #-20]
	mov	r1, #4
	ldr	r0, [fp, #-20]
	bl	prev_section
	mov	r3, r0
	ldr	r2, .L41+4
	str	r3, [r2]
	ldr	r3, .L41+4
	ldr	r3, [r3]
	mov	r1, #4
	mov	r0, r3
	bl	prev_section
	str	r0, [fp, #-20]
	ldr	r2, .L41+8
	ldr	r3, [fp, #-20]
	str	r3, [r2]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r2, .L41+12
	str	r3, [r2]
	mov	r1, #4
	ldr	r0, [fp, #-20]
	bl	prev_section
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, .L41+8
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-20]
	sub	r3, r2, r3
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bls	.L28
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L29
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L29
	ldr	r3, [fp, #-20]
	sub	r3, r3, #4
	ldr	r2, .L41+16
	str	r3, [r2]
	b	.L30
.L29:
	ldr	r2, .L41+16
	ldr	r3, [fp, #-20]
	str	r3, [r2]
.L30:
	nop
.L31:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #4
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L31
	nop
.L32:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #4
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L32
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	str	r3, [fp, #-16]
	mov	r1, #4
	ldr	r0, [fp, #-20]
	bl	prev_section
	str	r0, [fp, #-20]
	b	.L33
.L28:
	ldr	r3, .L41+8
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	nop
.L34:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #4
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L34
	nop
.L35:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #4
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L35
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	str	r3, [fp, #-16]
.L33:
	ldr	r3, .L41+20
	ldr	r0, [r3]
	ldr	r3, .L41+24
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L41+28
	bl	fprintf
	ldr	r3, .L41+8
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bcs	.L36
	ldr	r3, .L41+32
	mov	r2, #1
	str	r2, [r3]
	ldr	r2, .L41+36
	ldr	r3, [fp, #-16]
	str	r3, [r2]
	b	.L37
.L36:
	ldr	r3, .L41+32
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L41+8
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-20]
	sub	r2, r2, r3
	ldr	r3, .L41+12
	ldr	r3, [r3]
	lsl	r3, r3, #3
	cmp	r2, r3
	bcc	.L38
	ldr	r3, .L41+40
	mov	r2, #8
	str	r2, [r3]
	b	.L39
.L38:
	ldr	r3, .L41+40
	mov	r2, #4
	str	r2, [r3]
.L39:
	ldr	r3, .L41+40
	ldr	r3, [r3]
	ldr	r2, .L41+12
	ldr	r2, [r2]
	mul	r3, r2, r3
	rsb	r3, r3, #0
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, .L41+36
	str	r3, [r2]
.L37:
	mov	r3, #1
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L42:
	.align	2
.L41:
	.word	addr_token_table
	.word	addr_syms_names
	.word	addr_syms_num
	.word	num_syms
	.word	addr_rel_base_addr
	.word	stderr
	.word	st
	.word	.LC0
	.word	is_addr_section_zero
	.word	addr_syms_addrs
	.word	addr_entry_size
	.size	locate_other_sections, .-locate_other_sections
	.align	2
	.global	verify_addr_section
	.syntax unified
	.arm
	.fpu softvfp
	.type	verify_addr_section, %function
verify_addr_section:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	push	{r4, r5, fp}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r1, #0
	str	r1, [fp, #-16]
	ldr	r1, [fp, #-28]
	cmp	r1, #4
	bne	.L44
	ldr	r3, [fp, #-16]
	orr	r3, r3, #2
	str	r3, [fp, #-16]
	mov	r3, #32
	str	r3, [fp, #-20]
	b	.L45
.L48:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L46
	ldr	r3, [fp, #-16]
	orr	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L49
.L46:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L45:
	ldr	r3, [fp, #-20]
	cmp	r3, #63
	ble	.L48
	b	.L49
.L44:
	ldr	r1, [fp, #-28]
	cmp	r1, #8
	bne	.L50
	mov	r1, #32
	str	r1, [fp, #-20]
	b	.L51
.L55:
	ldr	r1, [fp, #-20]
	lsl	r1, r1, #3
	mov	r0, r1
	ldr	r1, [fp, #-24]
	add	r1, r1, r0
	ldr	r1, [r1]
	cmp	r1, #0
	bne	.L52
	ldr	r3, [fp, #-16]
	orr	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L49
.L52:
	ldr	r1, [fp, #-20]
	lsl	r1, r1, #3
	mov	r0, r1
	ldr	r1, [fp, #-24]
	add	r1, r1, r0
	ldr	r1, [r1]
	mov	r0, r1
	asr	r1, r0, #31
	mov	r4, #0
	ldr	r5, .L57
	and	r2, r0, r4
	and	r3, r1, r5
	mov	r0, #0
	ldr	r1, .L57
	cmp	r3, r1
	cmpeq	r2, r0
	beq	.L54
	ldr	r3, [fp, #-16]
	orr	r3, r3, #2
	str	r3, [fp, #-16]
	b	.L49
.L54:
	ldr	r1, [fp, #-20]
	add	r1, r1, #1
	str	r1, [fp, #-20]
.L51:
	ldr	r1, [fp, #-20]
	cmp	r1, #63
	ble	.L55
	b	.L49
.L50:
	mov	r3, #-2147483648
	b	.L56
.L49:
	ldr	r3, [fp, #-16]
.L56:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, r5, fp}
	bx	lr
.L58:
	.align	2
.L57:
	.word	-65536
	.size	verify_addr_section, .-verify_addr_section
	.align	2
	.global	is_relo_entry
	.syntax unified
	.arm
	.fpu softvfp
	.type	is_relo_entry, %function
is_relo_entry:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r2, #40
	lsr	r3, r3, r2
	mvn	r2, #-16777216
	cmp	r3, r2
	bne	.L60
	mov	r3, #1
	b	.L61
.L60:
	mov	r3, #0
.L61:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	is_relo_entry, .-is_relo_entry
	.global	relo_st
	.bss
	.align	2
	.type	relo_st, %object
	.size	relo_st, 4
relo_st:
	.space	4
	.global	relo_ed
	.align	2
	.type	relo_ed, %object
	.size	relo_ed, 4
relo_ed:
	.space	4
	.global	kallsyms_addr
	.align	2
	.type	kallsyms_addr, %object
	.size	kallsyms_addr, 4
kallsyms_addr:
	.space	4
	.comm	relo_secs,128,4
	.global	num_secs
	.align	2
	.type	num_secs, %object
	.size	num_secs, 4
num_secs:
	.space	4
	.global	relo_sec
	.align	2
	.type	relo_sec, %object
	.size	relo_sec, 4
relo_sec:
	.space	4
	.global	guessed_kernel_base_from_relo
	.align	2
	.type	guessed_kernel_base_from_relo, %object
	.size	guessed_kernel_base_from_relo, 4
guessed_kernel_base_from_relo:
	.space	4
	.section	.rodata
	.align	2
.LC1:
	.ascii	"m0 p:%p e:%p\012\000"
	.align	2
.LC2:
	.ascii	"try_locate_relo_symaddr(): probed addr_entry_size: "
	.ascii	"%d\012\000"
	.text
	.align	2
	.global	try_locate_relo_symaddr
	.syntax unified
	.arm
	.fpu softvfp
	.type	try_locate_relo_symaddr, %function
try_locate_relo_symaddr:
	@ 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, #2048
	str	r3, [fp, #-16]
	mov	r3, #4096
	str	r3, [fp, #-12]
	mov	r3, #4096
	str	r3, [fp, #-8]
	ldr	r3, .L81
	ldr	r0, [r3]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-32]
	ldr	r1, .L81+4
	bl	fprintf
	ldr	r3, .L81+8
	mov	r2, #8
	str	r2, [r3]
	b	.L63
.L76:
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-20]
	b	.L64
.L73:
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L66
.L70:
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	ldr	r2, [r3]
	ldr	r3, .L81+8
	ldr	r3, [r3]
	ldr	r1, [fp, #-8]
	mul	r3, r1, r3
	add	r1, r2, r3
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-8]
	add	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	ldr	r3, [r3]
	cmp	r1, r3
	bne	.L79
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	ldr	r2, [r3]
	ldr	r3, .L81+8
	ldr	r3, [r3]
	add	r1, r2, r3
	ldr	r3, [fp, #-24]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	ldr	r3, [r3]
	cmp	r1, r3
	bne	.L80
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L66:
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L70
	b	.L68
.L79:
	nop
	b	.L68
.L80:
	nop
.L68:
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L71
	ldr	r2, .L81+12
	ldr	r3, [fp, #-32]
	str	r3, [r2]
	b	.L72
.L71:
	ldr	r3, [fp, #-24]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	str	r3, [fp, #-32]
.L65:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	add	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	bhi	.L73
	ldr	r3, [fp, #-20]
	asr	r3, r3, #1
	str	r3, [fp, #-20]
.L64:
	ldr	r3, .L81+12
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L74
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bge	.L65
.L74:
	ldr	r3, .L81+8
	ldr	r3, [r3]
	sub	r3, r3, #4
	ldr	r2, .L81+8
	str	r3, [r2]
.L63:
	ldr	r3, .L81+8
	ldr	r3, [r3]
	cmp	r3, #3
	bhi	.L76
	nop
.L72:
	ldr	r3, .L81+12
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L77
	mov	r3, #0
	b	.L78
.L77:
	ldr	r3, .L81
	ldr	r3, [r3]
	ldr	r2, .L81+8
	ldr	r2, [r2]
	ldr	r1, .L81+16
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L81+12
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, .L81+20
	str	r2, [r3]
	mov	r3, #1
.L78:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L82:
	.align	2
.L81:
	.word	stderr
	.word	.LC1
	.word	addr_entry_size
	.word	relo_st
	.word	.LC2
	.word	kallsyms_addr
	.size	try_locate_relo_symaddr, .-try_locate_relo_symaddr
	.align	2
	.global	relo_ent_cmp
	.syntax unified
	.arm
	.fpu softvfp
	.type	relo_ent_cmp, %function
relo_ent_cmp:
	@ 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]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L84
	mov	r3, #0
	b	.L85
.L84:
	ldr	r3, [fp, #-12]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r2, r3
	bls	.L86
	mov	r3, #1
	b	.L85
.L86:
	mvn	r3, #0
.L85:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	relo_ent_cmp, .-relo_ent_cmp
	.align	2
	.global	get_relo_sec_ed
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_relo_sec_ed, %function
get_relo_sec_ed:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	b	.L89
.L91:
	ldr	r3, [fp, #-8]
	add	r3, r3, #12
	str	r3, [fp, #-8]
.L89:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bcs	.L90
	ldr	r0, [fp, #-8]
	bl	is_relo_entry
	mov	r3, r0
	cmp	r3, #0
	bne	.L91
.L90:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #12
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	get_relo_sec_ed, .-get_relo_sec_ed
	.section	.rodata
	.align	2
.LC3:
	.ascii	"%016lx %016lx %016lx\012\000"
	.text
	.align	2
	.global	print_relo_secs
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_relo_secs, %function
print_relo_secs:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L97
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L94
.L95:
	ldr	r3, .L97+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r1, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L97+8
	bl	fprintf
	ldr	r3, [fp, #-8]
	add	r3, r3, #12
	str	r3, [fp, #-8]
.L94:
	ldr	r3, .L97+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bcc	.L95
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L98:
	.align	2
.L97:
	.word	relo_sec
	.word	stderr
	.word	.LC3
	.word	relo_ed
	.size	print_relo_secs, .-print_relo_secs
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Cannot locate any relo_sec..\000"
	.align	2
.LC5:
	.ascii	"RELO_SEC %d: +%p for off: +%p - +%p for off: +%p\012"
	.ascii	"\000"
	.align	2
.LC6:
	.ascii	"guessed_kernel_base_from_relo: %016lx\012\000"
	.text
	.align	2
	.global	get_relo_sections
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_relo_sections, %function
get_relo_sections:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #52
	ldr	r3, .L116
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	ldr	r3, .L116
	ldr	r3, [r3]
	ldr	r2, .L116+4
	ldr	r2, [r2]
	add	r3, r3, r2
	str	r3, [fp, #-24]
	mov	r3, #128
	str	r3, [fp, #-20]
	b	.L100
.L106:
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L101
.L104:
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	mov	r0, r3
	bl	is_relo_entry
	mov	r3, r0
	cmp	r3, #0
	beq	.L115
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L101:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L104
	b	.L103
.L115:
	nop
.L103:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L105
	ldr	r3, .L116+8
	ldr	r3, [r3]
	ldr	r1, .L116+12
	ldr	r2, [fp, #-40]
	str	r2, [r1, r3, lsl #3]
	ldr	r3, .L116+8
	ldr	r4, [r3]
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-40]
	bl	get_relo_sec_ed
	mov	r2, r0
	ldr	r1, .L116+12
	lsl	r3, r4, #3
	add	r3, r1, r3
	str	r2, [r3, #4]
	ldr	r3, .L116+8
	ldr	r3, [r3]
	ldr	r2, .L116+12
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	add	r3, r3, #12
	str	r3, [fp, #-40]
	ldr	r3, .L116+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L116+8
	str	r3, [r2]
	b	.L100
.L105:
	ldr	r3, [fp, #-40]
	add	r3, r3, #4
	str	r3, [fp, #-40]
.L100:
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bhi	.L106
	ldr	r3, .L116+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L107
	ldr	r3, .L116+16
	ldr	r3, [r3]
	mov	r2, #28
	mov	r1, #1
	ldr	r0, .L116+20
	bl	fwrite
	mov	r3, #0
	b	.L108
.L107:
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L109
.L110:
	ldr	r3, .L116+16
	ldr	r0, [r3]
	ldr	r2, .L116+12
	ldr	r3, [fp, #-36]
	ldr	r2, [r2, r3, lsl #3]
	ldr	r3, .L116
	ldr	r3, [r3]
	sub	r3, r2, r3
	mov	lr, r3
	ldr	r2, .L116+12
	ldr	r3, [fp, #-36]
	ldr	r3, [r2, r3, lsl #3]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r2, .L116+12
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	ldr	r3, .L116
	ldr	r3, [r3]
	sub	r3, r2, r3
	mov	ip, r3
	ldr	r2, .L116+12
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	ldr	r3, [r3]
	str	r3, [sp, #8]
	str	ip, [sp, #4]
	str	r1, [sp]
	mov	r3, lr
	ldr	r2, [fp, #-36]
	ldr	r1, .L116+24
	bl	fprintf
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L109:
	ldr	r3, .L116+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L110
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L111
.L112:
	ldr	r2, .L116+12
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	ldr	r1, .L116+12
	ldr	r3, [fp, #-36]
	ldr	r3, [r1, r3, lsl #3]
	sub	r3, r2, r3
	asr	r2, r3, #2
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r1, r3, #4
	add	r3, r3, r1
	lsl	r1, r3, #8
	add	r3, r3, r1
	lsl	r1, r3, #16
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, #1
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L111:
	ldr	r3, .L116+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L112
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L116+28
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L113
.L114:
	ldr	r2, .L116+12
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	ldr	r1, .L116+12
	ldr	r3, [fp, #-36]
	ldr	r3, [r1, r3, lsl #3]
	sub	r3, r2, r3
	asr	r2, r3, #2
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r1, r3, #4
	add	r3, r3, r1
	lsl	r1, r3, #8
	add	r3, r3, r1
	lsl	r1, r3, #16
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, .L116+28
	ldr	r1, [r3]
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r0, r1, r3
	ldr	r2, .L116+12
	ldr	r3, [fp, #-36]
	ldr	r1, [r2, r3, lsl #3]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	bl	memcpy
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L113:
	ldr	r3, .L116+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L114
	ldr	r3, .L116+28
	ldr	r0, [r3]
	ldr	r1, [fp, #-32]
	ldr	r3, .L116+32
	mov	r2, #12
	bl	qsort
	ldr	r3, .L116+28
	ldr	r1, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, .L116+36
	str	r3, [r2]
	ldr	r3, .L116+28
	ldr	r3, [r3]
	ldr	r3, [r3]
	bic	r3, r3, #4080
	bic	r3, r3, #15
	ldr	r2, .L116+40
	str	r3, [r2]
	ldr	r3, .L116+16
	ldr	r3, [r3]
	ldr	r2, .L116+40
	ldr	r2, [r2]
	ldr	r1, .L116+44
	mov	r0, r3
	bl	fprintf
	mov	r3, #1
.L108:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L117:
	.align	2
.L116:
	.word	st
	.word	sz
	.word	num_secs
	.word	relo_secs
	.word	stderr
	.word	.LC4
	.word	.LC5
	.word	relo_sec
	.word	relo_ent_cmp
	.word	relo_ed
	.word	guessed_kernel_base_from_relo
	.word	.LC6
	.size	get_relo_sections, .-get_relo_sections
	.align	2
	.global	relocate_kernel_rel_base
	.syntax unified
	.arm
	.fpu softvfp
	.type	relocate_kernel_rel_base, %function
relocate_kernel_rel_base:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	mvn	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	ldr	r2, .L124
	ldr	r2, [r2]
	cmp	r3, r2
	bhi	.L119
	ldr	r3, [fp, #-20]
	b	.L120
.L119:
	ldr	r3, [fp, #-24]
	ldr	r2, .L124
	ldr	r2, [r2]
	sub	r3, r3, r2
	str	r3, [fp, #-12]
	ldr	r3, .L124+4
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	b	.L121
.L123:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r1, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r1, r3
	cmp	r2, r3
	bne	.L122
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bcs	.L122
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-20]
.L122:
	ldr	r3, [fp, #-16]
	add	r3, r3, #12
	str	r3, [fp, #-16]
.L121:
	ldr	r3, .L124+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bcc	.L123
	ldr	r3, [fp, #-24]
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
.L120:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L125:
	.align	2
.L124:
	.word	st
	.word	relo_sec
	.word	relo_ed
	.size	relocate_kernel_rel_base, .-relocate_kernel_rel_base
	.comm	tokens,1024,4
	.section	.rodata
	.align	2
.LC7:
	.ascii	"Usage: <prog> <uncompressed kernel image> <gen_idc("
	.ascii	"opt)>\012\000"
	.align	2
.LC8:
	.ascii	"Open kernel image failed\012\000"
	.align	2
.LC9:
	.ascii	"Cannot obtain kernel image file length\012\000"
	.align	2
.LC10:
	.ascii	"Image size: %d\012\000"
	.align	2
.LC11:
	.ascii	"Fail to map the image into memory.\012\000"
	.align	2
.LC12:
	.ascii	"Image base address in memory: %p\012\000"
	.align	2
.LC13:
	.ascii	"Locating the token_table address...\012\000"
	.align	2
.LC14:
	.ascii	"Cannot locate kallsyms_token_table in the kernel im"
	.ascii	"age.\012\000"
	.align	2
.LC15:
	.ascii	"token_table: +%p\012\000"
	.align	2
.LC16:
	.ascii	"Locating other sections...\012\000"
	.align	2
.LC17:
	.ascii	"Cannot locate other sections in the kernel image.\012"
	.ascii	"\000"
	.align	2
.LC18:
	.ascii	"syms_names: +%p\012\000"
	.align	2
.LC19:
	.ascii	"syms_addrs: +%p\012\000"
	.align	2
.LC20:
	.ascii	"syms_num: +%p(#%d)\012\000"
	.align	2
.LC21:
	.ascii	"rel_base_addr: +%p\012\000"
	.align	2
.LC22:
	.ascii	"is_addr_section_zero: %d, addr_entry_size: %u\012\000"
	.align	2
.LC23:
	.ascii	"The kallsyms_addresses section needs a relocation.."
	.ascii	".\012\000"
	.align	2
.LC24:
	.ascii	"Fail to get relo section, exit..\012\000"
	.align	2
.LC25:
	.ascii	"Cannot locate relo inf for kallsym_addr..\012\000"
	.align	2
.LC26:
	.ascii	"Below relo info is for kallsyms_addresses...\012\000"
	.align	2
.LC27:
	.ascii	"relo_st:%p for off:%p and add:%p, relo_ed:%p for of"
	.ascii	"f:%p and add:%p\012\000"
	.align	2
.LC28:
	.ascii	"Addr entries relocated: %d/%d\012\000"
	.align	2
.LC29:
	.ascii	"This kernel should use relative-base-address format"
	.ascii	" symbol table.\012\000"
	.align	2
.LC30:
	.ascii	"Try to figure out the relative base address...\012\000"
	.align	2
.LC31:
	.ascii	"We have a non-zero rel_base section whose value is:"
	.ascii	" %p\012\000"
	.align	2
.LC32:
	.ascii	"Still need to relocate the non-zero rel_base sectio"
	.ascii	"n, after that: %p\012\000"
	.align	2
.LC33:
	.ascii	"We don't know the exact rel_base section address, t"
	.ascii	"ry and probe...\012\000"
	.align	2
.LC34:
	.ascii	"Probed kernel base address: %p\012\000"
	.align	2
.LC35:
	.ascii	"Probed base address is not equal to guessed_kernel_"
	.ascii	"base_from_relo, if something bad happens later, con"
	.ascii	"sider to use guessed_kernel_base_from_relo\012\000"
	.align	2
.LC36:
	.ascii	"#include <idc.idc>\000"
	.align	2
.LC37:
	.ascii	"static main()\000"
	.align	2
.LC38:
	.ascii	"{\000"
	.align	2
.LC39:
	.ascii	"Null addr_inf for the symbol: %c %s\012\000"
	.align	2
.LC40:
	.ascii	"MakeName(%p, \"%s\");\012\000"
	.align	2
.LC41:
	.ascii	"%p %c %s\012\000"
	.align	2
.LC42:
	.ascii	"}\000"
	.align	2
.LC43:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 432
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #452
	str	r0, [fp, #-448]
	str	r1, [fp, #-452]
	ldr	r3, .L184
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	ldr	r3, [fp, #-448]
	cmp	r3, #1
	bgt	.L127
	ldr	r0, .L184+4
	bl	perror
	b	.L128
.L127:
	ldr	r3, [fp, #-448]
	cmp	r3, #2
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	str	r3, [fp, #-408]
	ldr	r3, [fp, #-452]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	open
	str	r0, [fp, #-404]
	ldr	r3, [fp, #-404]
	cmp	r3, #0
	bge	.L129
	ldr	r0, .L184+8
	bl	perror
	b	.L128
.L129:
	sub	r3, fp, #372
	mov	r1, r3
	ldr	r0, [fp, #-404]
	bl	fstat
	mov	r3, r0
	cmp	r3, #0
	beq	.L130
	ldr	r0, .L184+12
	bl	perror
	b	.L128
.L130:
	ldr	r3, [fp, #-328]
	ldr	r2, .L184+16
	str	r3, [r2]
	ldr	r3, .L184+20
	ldr	r3, [r3]
	ldr	r2, .L184+16
	ldr	r2, [r2]
	ldr	r1, .L184+24
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L184+16
	ldr	r3, [r3]
	mov	r1, r3
	mov	r3, #0
	str	r3, [sp, #4]
	ldr	r3, [fp, #-404]
	str	r3, [sp]
	mov	r3, #1
	mov	r2, #1
	mov	r0, #0
	bl	mmap
	mov	r3, r0
	ldr	r2, .L184+28
	str	r3, [r2]
	ldr	r3, .L184+28
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L131
	ldr	r0, .L184+32
	bl	perror
	b	.L132
.L131:
	ldr	r3, .L184+20
	ldr	r3, [r3]
	ldr	r2, .L184+28
	ldr	r2, [r2]
	ldr	r1, .L184+36
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L184+20
	ldr	r3, [r3]
	mov	r2, #36
	mov	r1, #1
	ldr	r0, .L184+40
	bl	fwrite
	bl	locate_token_table
	mov	r3, r0
	cmp	r3, #0
	bne	.L133
	ldr	r0, .L184+44
	bl	perror
	b	.L134
.L133:
	ldr	r3, .L184+20
	ldr	r0, [r3]
	ldr	r3, .L184+48
	ldr	r2, [r3]
	ldr	r3, .L184+28
	ldr	r3, [r3]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L184+52
	bl	fprintf
	ldr	r3, .L184+20
	ldr	r3, [r3]
	mov	r2, #27
	mov	r1, #1
	ldr	r0, .L184+56
	bl	fwrite
	bl	locate_other_sections
	mov	r3, r0
	cmp	r3, #0
	bne	.L135
	ldr	r0, .L184+60
	bl	perror
	b	.L134
.L135:
	ldr	r3, .L184+20
	ldr	r0, [r3]
	ldr	r3, .L184+64
	ldr	r2, [r3]
	ldr	r3, .L184+28
	ldr	r3, [r3]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L184+68
	bl	fprintf
	ldr	r3, .L184+20
	ldr	r0, [r3]
	ldr	r3, .L184+72
	ldr	r2, [r3]
	ldr	r3, .L184+28
	ldr	r3, [r3]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L184+76
	bl	fprintf
	ldr	r3, .L184+20
	ldr	r0, [r3]
	ldr	r3, .L184+80
	ldr	r2, [r3]
	ldr	r3, .L184+28
	ldr	r3, [r3]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r3, .L184+84
	ldr	r3, [r3]
	ldr	r1, .L184+88
	bl	fprintf
	ldr	r3, .L184+20
	ldr	r0, [r3]
	ldr	r3, .L184+92
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L136
	ldr	r3, .L184+92
	ldr	r2, [r3]
	ldr	r3, .L184+28
	ldr	r3, [r3]
	sub	r3, r2, r3
	b	.L137
.L136:
	ldr	r3, .L184+92
	ldr	r3, [r3]
.L137:
	mov	r2, r3
	ldr	r1, .L184+96
	bl	fprintf
	ldr	r3, .L184+20
	ldr	r0, [r3]
	ldr	r3, .L184+100
	ldr	r2, [r3]
	ldr	r3, .L184+104
	ldr	r3, [r3]
	ldr	r1, .L184+108
	bl	fprintf
	mov	r3, #1
	str	r3, [fp, #-432]
	ldr	r3, .L184+100
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L138
	ldr	r3, .L184+72
	ldr	r3, [r3]
	ldr	r2, .L184+104
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	verify_addr_section
	str	r0, [fp, #-432]
.L138:
	mov	r3, #0
	str	r3, [fp, #-428]
	ldr	r3, [fp, #-432]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L139
	ldr	r3, .L184+20
	ldr	r3, [r3]
	mov	r2, #53
	mov	r1, #1
	ldr	r0, .L184+112
	bl	fwrite
	bl	get_relo_sections
	mov	r3, r0
	cmp	r3, #0
	bne	.L140
	ldr	r3, .L184+20
	ldr	r3, [r3]
	mov	r2, #33
	mov	r1, #1
	ldr	r0, .L184+116
	bl	fwrite
	mov	r3, #0
	b	.L180
.L140:
	ldr	r3, .L184+120
	ldr	r3, [r3]
	ldr	r2, .L184+124
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	try_locate_relo_symaddr
	mov	r3, r0
	cmp	r3, #0
	bne	.L142
	ldr	r3, .L184+20
	ldr	r3, [r3]
	mov	r2, #42
	mov	r1, #1
	ldr	r0, .L184+128
	bl	fwrite
	mov	r3, #0
	b	.L180
.L142:
	ldr	r3, .L184+20
	ldr	r3, [r3]
	mov	r2, #45
	mov	r1, #1
	ldr	r0, .L184+132
	bl	fwrite
	ldr	r3, .L184+20
	ldr	r0, [r3]
	ldr	r3, .L184+136
	ldr	r1, [r3]
	ldr	r3, .L184+136
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r6, r3
	ldr	r3, .L184+136
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	mov	ip, r3
	ldr	r3, .L184+124
	ldr	r3, [r3]
	ldr	r2, .L184+124
	ldr	r2, [r2]
	ldr	r2, [r2]
	mov	lr, r2
	ldr	r2, .L184+124
	ldr	r2, [r2]
	ldr	r2, [r2, #8]
	str	r2, [sp, #12]
	str	lr, [sp, #8]
	str	r3, [sp, #4]
	str	ip, [sp]
	mov	r3, r6
	mov	r2, r1
	ldr	r1, .L184+140
	bl	fprintf
	ldr	r3, .L184+84
	ldr	r3, [r3]
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L184+72
	str	r2, [r3]
	ldr	r3, .L184+72
	ldr	r3, [r3]
	str	r3, [fp, #-400]
	ldr	r3, .L184+136
	ldr	r3, [r3]
	str	r3, [fp, #-424]
	mov	r3, #0
	str	r3, [fp, #-444]
	b	.L143
.L153:
	ldr	r3, .L184+144
	ldr	r2, [r3]
	ldr	r3, [fp, #-444]
	ldr	r1, .L184+104
	ldr	r1, [r1]
	mul	r3, r1, r3
	add	r3, r2, r3
	str	r3, [fp, #-396]
	b	.L144
.L146:
	ldr	r3, [fp, #-424]
	add	r3, r3, #12
	str	r3, [fp, #-424]
.L144:
	ldr	r3, [fp, #-424]
	ldr	r2, [r3]
	ldr	r3, [fp, #-396]
	cmp	r2, r3
	bcs	.L145
	ldr	r3, .L184+124
	ldr	r3, [r3]
	ldr	r2, [fp, #-424]
	cmp	r2, r3
	bcc	.L146
.L145:
	ldr	r3, .L184+124
	ldr	r3, [r3]
	ldr	r2, [fp, #-424]
	cmp	r2, r3
	bcs	.L182
	ldr	r3, [fp, #-424]
	ldr	r2, [r3]
	ldr	r3, [fp, #-396]
	cmp	r2, r3
	bne	.L149
	ldr	r3, .L184+104
	ldr	r3, [r3]
	cmp	r3, #4
	bne	.L150
	ldr	r3, [fp, #-444]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-400]
	add	r3, r2, r3
	ldr	r2, [fp, #-424]
	ldr	r2, [r2, #8]
	str	r2, [r3]
	b	.L151
.L150:
	ldr	r3, [fp, #-444]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-400]
	add	r3, r2, r3
	ldr	r2, [fp, #-424]
	ldr	r2, [r2, #8]
	str	r2, [r3]
.L151:
	ldr	r3, [fp, #-424]
	add	r3, r3, #12
	str	r3, [fp, #-424]
	b	.L152
.L149:
	ldr	r3, [fp, #-424]
	ldr	r2, [r3]
	ldr	r3, [fp, #-396]
	cmp	r2, r3
	bls	.L152
	ldr	r3, [fp, #-444]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-400]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
.L152:
	ldr	r3, [fp, #-444]
	add	r3, r3, #1
	str	r3, [fp, #-444]
.L143:
	ldr	r2, [fp, #-444]
	ldr	r3, .L184+84
	ldr	r3, [r3]
	cmp	r2, r3
	bcs	.L148
	ldr	r3, .L184+124
	ldr	r3, [r3]
	ldr	r2, [fp, #-424]
	cmp	r2, r3
	bcc	.L153
	b	.L148
.L182:
	nop
.L148:
	ldr	r3, .L184+20
	ldr	r0, [r3]
	ldr	r3, .L184+84
	ldr	r3, [r3]
	ldr	r2, [fp, #-444]
	ldr	r1, .L184+148
	bl	fprintf
	ldr	r3, .L184+72
	ldr	r3, [r3]
	mov	r1, #8
	mov	r0, r3
	bl	verify_addr_section
	str	r0, [fp, #-432]
	mov	r3, #1
	str	r3, [fp, #-428]
.L139:
	ldr	r3, [fp, #-432]
	and	r3, r3, #2
	cmp	r3, #0
	beq	.L154
	ldr	r3, .L184+20
	ldr	r3, [r3]
	mov	r2, #66
	mov	r1, #1
	ldr	r0, .L184+152
	bl	fwrite
	ldr	r3, .L184+20
	ldr	r3, [r3]
	mov	r2, #47
	mov	r1, #1
	ldr	r0, .L184+156
	bl	fwrite
	ldr	r3, .L184+120
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L155
	bl	get_relo_sections
	mov	r3, r0
	cmp	r3, #0
	bne	.L155
	ldr	r3, .L184+20
	ldr	r3, [r3]
	mov	r2, #33
	mov	r1, #1
	ldr	r0, .L184+116
	bl	fwrite
	mov	r3, #0
	b	.L180
.L155:
	mvn	r3, #0
	str	r3, [fp, #-420]
	ldr	r3, .L184+92
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L156
	ldr	r3, .L184+92
	ldr	r3, [r3]
	ldr	r3, [r3]
	str	r3, [fp, #-420]
	ldr	r3, .L184+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-420]
	ldr	r1, .L184+160
	mov	r0, r3
	bl	fprintf
	ldr	r3, [fp, #-420]
	mov	r2, r3
	mov	r3, #0
	mov	r0, #0
	mov	r1, #-16777216
	and	r4, r2, r0
	and	r5, r3, r1
	cmp	r5, #-16777216
	cmpeq	r4, #0
	beq	.L157
	ldr	r3, .L184+92
	ldr	r3, [r3]
	mov	r0, r3
	bl	relocate_kernel_rel_base
	str	r0, [fp, #-420]
	ldr	r3, .L184+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-420]
	ldr	r1, .L184+164
	mov	r0, r3
	bl	fprintf
	b	.L157
.L156:
	ldr	r3, .L184+20
	ldr	r3, [r3]
	mov	r2, #67
	mov	r1, #1
	ldr	r0, .L184+168
	bl	fwrite
	ldr	r3, .L184+80
	ldr	r3, [r3]
	sub	r3, r3, #8
	str	r3, [fp, #-416]
	mov	r3, #256
	str	r3, [fp, #-412]
	b	.L158
.L161:
	ldr	r0, [fp, #-416]
	bl	relocate_kernel_rel_base
	str	r0, [fp, #-392]
	ldr	r2, [fp, #-392]
	ldr	r3, [fp, #-420]
	cmp	r2, r3
	bcs	.L159
	ldr	r3, [fp, #-392]
	str	r3, [fp, #-420]
.L159:
	ldr	r3, [fp, #-416]
	sub	r3, r3, #4
	str	r3, [fp, #-416]
.L158:
	ldr	r3, [fp, #-416]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L160
	ldr	r3, [fp, #-412]
	sub	r2, r3, #1
	str	r2, [fp, #-412]
	cmp	r3, #0
	bne	.L161
.L160:
	ldr	r3, .L184+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-420]
	ldr	r1, .L184+172
	mov	r0, r3
	bl	fprintf
.L157:
	ldr	r3, .L184+176
	ldr	r3, [r3]
	ldr	r2, [fp, #-420]
	cmp	r2, r3
	beq	.L162
	ldr	r3, .L184+20
	ldr	r3, [r3]
	mov	r2, #145
	mov	r1, #1
	ldr	r0, .L184+180
	bl	fwrite
.L162:
	ldr	r3, [fp, #-428]
	cmp	r3, #0
	bne	.L163
	ldr	r3, .L184+84
	ldr	r3, [r3]
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-388]
	ldr	r3, .L184+104
	ldr	r3, [r3]
	cmp	r3, #4
	bne	.L164
	mov	r3, #0
	str	r3, [fp, #-444]
	b	.L165
.L166:
	ldr	r3, .L184+72
	ldr	r2, [r3]
	ldr	r3, [fp, #-444]
	lsl	r3, r3, #2
	add	r2, r2, r3
	ldr	r3, [fp, #-444]
	lsl	r3, r3, #3
	ldr	r1, [fp, #-388]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-444]
	lsl	r3, r3, #3
	add	r3, r3, #4
	ldr	r2, [fp, #-388]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-444]
	add	r3, r3, #1
	str	r3, [fp, #-444]
.L165:
	ldr	r2, [fp, #-444]
	ldr	r3, .L184+84
	ldr	r3, [r3]
	cmp	r2, r3
	bcc	.L166
	b	.L167
.L164:
	ldr	r3, .L184+72
	ldr	r1, [r3]
	ldr	r3, .L184+84
	ldr	r3, [r3]
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r0, [fp, #-388]
	bl	memcpy
.L167:
	ldr	r2, .L184+72
	ldr	r3, [fp, #-388]
	str	r3, [r2]
.L163:
	mov	r3, #0
	str	r3, [fp, #-444]
	b	.L168
.L169:
	ldr	r3, .L184+72
	ldr	r2, [r3]
	ldr	r3, [fp, #-444]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, .L184+72
	ldr	r2, [r3]
	ldr	r3, [fp, #-444]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [fp, #-420]
	add	r2, r1, r2
	str	r2, [r3]
	ldr	r3, [fp, #-444]
	add	r3, r3, #1
	str	r3, [fp, #-444]
.L168:
	ldr	r2, [fp, #-444]
	ldr	r3, .L184+84
	ldr	r3, [r3]
	cmp	r2, r3
	bcc	.L169
.L154:
	ldr	r3, .L184+48
	ldr	r3, [r3]
	str	r3, [fp, #-436]
	mov	r3, #0
	str	r3, [fp, #-444]
	b	.L170
.L171:
	ldr	r1, .L184+184
	ldr	r3, [fp, #-444]
	ldr	r2, [fp, #-436]
	str	r2, [r1, r3, lsl #2]
	ldr	r0, [fp, #-436]
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	ldr	r2, [fp, #-436]
	add	r3, r2, r3
	str	r3, [fp, #-436]
	ldr	r3, [fp, #-444]
	add	r3, r3, #1
	str	r3, [fp, #-444]
.L170:
	ldr	r3, [fp, #-444]
	cmp	r3, #255
	ble	.L171
	ldr	r3, [fp, #-408]
	cmp	r3, #0
	beq	.L172
	ldr	r0, .L184+188
	bl	puts
	mov	r0, #10
	bl	putchar
	ldr	r0, .L184+192
	bl	puts
	ldr	r0, .L184+196
	bl	puts
.L172:
	ldr	r3, .L184+64
	ldr	r3, [r3]
	str	r3, [fp, #-436]
	mov	r3, #0
	str	r3, [fp, #-444]
	b	.L173
.L179:
	ldr	r3, .L184+72
	ldr	r2, [r3]
	ldr	r3, [fp, #-444]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-384]
	mov	r3, #0
	strb	r3, [fp, #-280]
	ldr	r3, [fp, #-436]
	ldr	r3, [r3]
	str	r3, [fp, #-380]
	ldr	r3, [fp, #-380]
	and	r3, r3, #255
	str	r3, [fp, #-380]
	mov	r3, #0
	str	r3, [fp, #-440]
	b	.L174
.L175:
	ldr	r3, [fp, #-436]
	add	r3, r3, #1
	str	r3, [fp, #-436]
	ldr	r3, [fp, #-436]
	ldr	r3, [r3]
	str	r3, [fp, #-376]
	ldr	r3, [fp, #-376]
	and	r3, r3, #255
	str	r3, [fp, #-376]
	ldr	r2, .L184+184
	ldr	r3, [fp, #-376]
	ldr	r2, [r2, r3, lsl #2]
	sub	r3, fp, #280
	mov	r1, r2
	mov	r0, r3
	bl	strcat
	ldr	r3, [fp, #-440]
	add	r3, r3, #1
	str	r3, [fp, #-440]
.L174:
	ldr	r2, [fp, #-440]
	ldr	r3, [fp, #-380]
	cmp	r2, r3
	blt	.L175
	ldr	r3, [fp, #-436]
	add	r3, r3, #1
	str	r3, [fp, #-436]
	ldr	r3, [fp, #-384]
	cmp	r3, #0
	bne	.L176
	ldr	r3, .L184+20
	ldr	r0, [r3]
	ldrb	r3, [fp, #-280]	@ zero_extendqisi2
	mov	r2, r3
	sub	r3, fp, #280
	add	r3, r3, #1
	ldr	r1, .L184+200
	bl	fprintf
	b	.L177
.L176:
	ldr	r3, [fp, #-408]
	cmp	r3, #0
	beq	.L178
	sub	r3, fp, #280
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-384]
	ldr	r0, .L184+204
	bl	printf
	b	.L177
.L178:
	ldrb	r3, [fp, #-280]	@ zero_extendqisi2
	mov	r2, r3
	sub	r3, fp, #280
	add	r3, r3, #1
	ldr	r1, [fp, #-384]
	ldr	r0, .L184+208
	bl	printf
.L177:
	ldr	r3, [fp, #-444]
	add	r3, r3, #1
	str	r3, [fp, #-444]
.L173:
	ldr	r2, [fp, #-444]
	ldr	r3, .L184+84
	ldr	r3, [r3]
	cmp	r2, r3
	bcc	.L179
	ldr	r3, [fp, #-408]
	cmp	r3, #0
	beq	.L183
	ldr	r0, .L184+212
	bl	puts
	b	.L134
.L183:
	nop
.L134:
	ldr	r3, .L184+28
	ldr	r3, [r3]
	ldr	r2, .L184+16
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	munmap
.L132:
	ldr	r0, [fp, #-404]
	bl	close
.L128:
	mov	r3, #0
.L180:
	ldr	r2, .L184
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L181
	bl	__stack_chk_fail
.L181:
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L185:
	.align	2
.L184:
	.word	.LC43
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	sz
	.word	stderr
	.word	.LC10
	.word	st
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	addr_token_table
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	addr_syms_names
	.word	.LC18
	.word	addr_syms_addrs
	.word	.LC19
	.word	addr_syms_num
	.word	num_syms
	.word	.LC20
	.word	addr_rel_base_addr
	.word	.LC21
	.word	is_addr_section_zero
	.word	addr_entry_size
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	relo_sec
	.word	relo_ed
	.word	.LC25
	.word	.LC26
	.word	relo_st
	.word	.LC27
	.word	kallsyms_addr
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	guessed_kernel_base_from_relo
	.word	.LC35
	.word	tokens
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.word	.LC42
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
