	.file	"31633.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"/proc/%ld/maps"
.LC1:
	.string	"r"
.LC2:
	.string	"Not able to open maps file"
.LC3:
	.string	"%lx-%lx %4s %lx %5s %ld %s"
	.align 8
.LC4:
	.string	"unable to parse permission string: '%s'\n"
.LC5:
	.string	"%08lx (%ld KB)"
.LC6:
	.string	""
.LC7:
	.string	"%*s %s (%s %ld) "
.LC8:
	.string	"%*s %s\n"
	.align 8
.LC9:
	.string	"mapped:   %ld KB writable/private: %ld KB shared: %ld KB\n"
	.text
	.globl	print_maps
	.type	print_maps, @function
print_maps:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 224
	mov	DWORD PTR -12500[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -12456[rbp], 0
	mov	QWORD PTR -12448[rbp], 0
	mov	QWORD PTR -12440[rbp], 0
	mov	eax, DWORD PTR -12500[rbp]
	movsx	rdx, eax
	lea	rax, -12400[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -12400[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -12432[rbp], rax
	cmp	QWORD PTR -12432[rbp], 0
	jne	.L4
	lea	rdi, .LC2[rip]
	call	puts@PLT
	jmp	.L1
.L10:
	mov	rdx, QWORD PTR -12432[rbp]
	lea	rax, -4208[rbp]
	mov	esi, 4196
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	je	.L13
	mov	BYTE PTR -8304[rbp], 0
	lea	r8, -12464[rbp]
	lea	rdi, -12411[rbp]
	lea	rcx, -12480[rbp]
	lea	rdx, -12488[rbp]
	lea	rax, -4208[rbp]
	sub	rsp, 8
	lea	rsi, -8304[rbp]
	push	rsi
	lea	rsi, -12472[rbp]
	push	rsi
	lea	rsi, -12406[rbp]
	push	rsi
	mov	r9, r8
	mov	r8, rdi
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	add	rsp, 32
	mov	rax, QWORD PTR -12480[rbp]
	mov	rdx, QWORD PTR -12488[rbp]
	sub	rax, rdx
	mov	QWORD PTR -12424[rbp], rax
	mov	rax, QWORD PTR -12424[rbp]
	add	QWORD PTR -12448[rbp], rax
	movzx	eax, BYTE PTR -12408[rbp]
	cmp	al, 112
	jne	.L7
	movzx	eax, BYTE PTR -12410[rbp]
	cmp	al, 119
	jne	.L8
	mov	rax, QWORD PTR -12424[rbp]
	add	QWORD PTR -12456[rbp], rax
	jmp	.L8
.L7:
	movzx	eax, BYTE PTR -12408[rbp]
	cmp	al, 115
	jne	.L9
	mov	rax, QWORD PTR -12424[rbp]
	add	QWORD PTR -12440[rbp], rax
	jmp	.L8
.L9:
	lea	rax, -12411[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L1
.L8:
	mov	rax, QWORD PTR -12480[rbp]
	mov	rdx, QWORD PTR -12488[rbp]
	sub	rax, rdx
	shr	rax, 10
	mov	rdx, rax
	mov	rax, QWORD PTR -12488[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -12492[rbp], eax
	mov	rsi, QWORD PTR -12472[rbp]
	mov	eax, 22
	sub	eax, DWORD PTR -12492[rbp]
	lea	rcx, -12406[rbp]
	lea	rdx, -12411[rbp]
	mov	r9, rsi
	mov	r8, rcx
	mov	rcx, rdx
	lea	rdx, .LC6[rip]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -12492[rbp], eax
	mov	eax, 44
	sub	eax, DWORD PTR -12492[rbp]
	lea	rdx, -8304[rbp]
	mov	rcx, rdx
	lea	rdx, .LC6[rip]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
.L4:
	mov	rax, QWORD PTR -12432[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L10
	jmp	.L6
.L13:
	nop
.L6:
	mov	rax, QWORD PTR -12440[rbp]
	shr	rax, 10
	mov	rcx, rax
	mov	rax, QWORD PTR -12456[rbp]
	shr	rax, 10
	mov	rdx, rax
	mov	rax, QWORD PTR -12448[rbp]
	shr	rax, 10
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -12432[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L1:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	print_maps, .-print_maps
	.section	.rodata
.LC10:
	.string	"/proc/%ld/cmdline"
.LC11:
	.string	"Not able to open cmdline file"
.LC12:
	.string	"%s(%ld)\n"
	.text
	.globl	print_name_pid
	.type	print_name_pid, @function
print_name_pid:
.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 48
	mov	DWORD PTR -4132[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -4128[rbp], 0
	mov	eax, DWORD PTR -4132[rbp]
	movsx	rdx, eax
	lea	rax, -4112[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -4112[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -4120[rbp], rax
	cmp	QWORD PTR -4120[rbp], 0
	jne	.L17
	lea	rdi, .LC11[rip]
	call	puts@PLT
	jmp	.L14
.L19:
	mov	eax, DWORD PTR -4128[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -4128[rbp], edx
	mov	edx, DWORD PTR -4124[rbp]
	cdqe
	mov	BYTE PTR -4112[rbp+rax], dl
.L17:
	mov	rax, QWORD PTR -4120[rbp]
	mov	rdi, rax
	call	getc@PLT
	mov	DWORD PTR -4124[rbp], eax
	cmp	DWORD PTR -4124[rbp], -1
	je	.L18
	cmp	DWORD PTR -4124[rbp], 0
	jne	.L19
.L18:
	mov	eax, DWORD PTR -4128[rbp]
	cdqe
	mov	BYTE PTR -4112[rbp+rax], 0
	mov	eax, DWORD PTR -4132[rbp]
	movsx	rdx, eax
	lea	rax, -4112[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -4120[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L14:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	print_name_pid, .-print_name_pid
	.globl	__popcountdi2
	.section	.rodata
.LC13:
	.string	"Invalid walk_size %u\n"
.LC14:
	.string	"/dev/mem"
.LC15:
	.string	"Can't open /dev/mem"
.LC16:
	.string	"/dev/mem opened"
.LC17:
	.string	"wb"
.LC18:
	.string	"dump.bin"
.LC19:
	.string	"Can't create dump file"
	.align 8
.LC20:
	.string	"Mapping failed for addr 0x%lX\n"
.LC21:
	.string	"Error writing file"
.LC22:
	.string	"Cur dump size %d bytes\n"
	.align 8
.LC23:
	.string	"UnMapping failed for addr 0x%lX\n"
	.text
	.globl	read_ram
	.type	read_ram, @function
read_ram:
.LFB8:
	.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, 120
	.cfi_offset 3, -24
	mov	QWORD PTR -120[rbp], rdi
	mov	DWORD PTR -124[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	eax, DWORD PTR -124[rbp]
	mov	edx, eax
	sub	rdx, 1
	mov	QWORD PTR -80[rbp], rdx
	mov	edx, eax
	mov	r10, rdx
	mov	r11d, 0
	mov	edx, eax
	mov	r8, rdx
	mov	r9d, 0
	mov	edx, eax
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L22:
	cmp	rsp, rdx
	je	.L23
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L22
.L23:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L24
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L24:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -72[rbp], rax
	mov	DWORD PTR -108[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	ecx, DWORD PTR -124[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, 0
	div	rcx
	mov	QWORD PTR -64[rbp], rax
	mov	eax, DWORD PTR -124[rbp]
	sub	eax, 1
	mov	DWORD PTR -104[rbp], eax
	mov	DWORD PTR -100[rbp], 0
	mov	DWORD PTR -112[rbp], 0
	mov	DWORD PTR -96[rbp], 0
	mov	eax, DWORD PTR -124[rbp]
	mov	rdi, rax
	call	__popcountdi2@PLT
	cmp	eax, 1
	je	.L25
	mov	eax, DWORD PTR -124[rbp]
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L26
.L25:
	mov	esi, 1052674
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -92[rbp], eax
	cmp	DWORD PTR -92[rbp], -1
	jne	.L27
	lea	rdi, .LC15[rip]
	call	puts@PLT
	jmp	.L26
.L27:
	lea	rdi, .LC16[rip]
	call	puts@PLT
	lea	rsi, .LC17[rip]
	lea	rdi, .LC18[rip]
	call	fopen@PLT
	mov	QWORD PTR -56[rbp], rax
	cmp	QWORD PTR -56[rbp], 0
	jne	.L28
	lea	rdi, .LC19[rip]
	call	puts@PLT
	jmp	.L29
.L28:
	mov	DWORD PTR -112[rbp], 0
	jmp	.L30
.L37:
	mov	eax, DWORD PTR -104[rbp]
	not	eax
	mov	eax, eax
	and	rax, QWORD PTR -88[rbp]
	mov	rcx, rax
	mov	eax, DWORD PTR -124[rbp]
	mov	edx, DWORD PTR -92[rbp]
	mov	r9, rcx
	mov	r8d, edx
	mov	ecx, 1
	mov	edx, 3
	mov	rsi, rax
	mov	edi, 0
	call	mmap@PLT
	mov	QWORD PTR -48[rbp], rax
	cmp	QWORD PTR -48[rbp], -1
	jne	.L31
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -124[rbp]
	add	QWORD PTR -88[rbp], rax
	jmp	.L32
.L31:
	mov	eax, DWORD PTR -104[rbp]
	and	rax, QWORD PTR -88[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	mov	QWORD PTR -32[rbp], rax
	mov	eax, DWORD PTR -124[rbp]
	mov	rdx, QWORD PTR -72[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	mov	esi, 0
	mov	rdi, rcx
	call	memset@PLT
	mov	edx, DWORD PTR -124[rbp]
	mov	rcx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	esi, DWORD PTR -124[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	DWORD PTR -96[rbp], eax
	cmp	DWORD PTR -96[rbp], 0
	jg	.L33
	lea	rdi, .LC21[rip]
	call	puts@PLT
	jmp	.L34
.L33:
	mov	eax, DWORD PTR -96[rbp]
	imul	eax, DWORD PTR -124[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -108[rbp]
	add	eax, edx
	mov	DWORD PTR -108[rbp], eax
	mov	eax, DWORD PTR -108[rbp]
	mov	esi, eax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -124[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	munmap@PLT
	cmp	eax, -1
	jne	.L35
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L29
.L35:
	mov	eax, DWORD PTR -124[rbp]
	imul	edx, eax, 10000
	mov	eax, DWORD PTR -108[rbp]
	cmp	edx, eax
	jbe	.L40
	mov	eax, DWORD PTR -124[rbp]
	add	QWORD PTR -88[rbp], rax
.L32:
	add	DWORD PTR -112[rbp], 1
.L30:
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	cmp	QWORD PTR -64[rbp], rax
	ja	.L37
	jmp	.L34
.L40:
	nop
.L34:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L29:
	mov	eax, DWORD PTR -92[rbp]
	mov	edi, eax
	call	close@PLT
	mov	rsp, rbx
	jmp	.L21
.L26:
	mov	rsp, rbx
.L21:
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L39
	call	__stack_chk_fail@PLT
.L39:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	read_ram, .-read_ram
	.section	.rodata
.LC24:
	.string	"BACKTRACE -----------"
.LC25:
	.string	"END------------------"
	.text
	.globl	print_backtrace
	.type	print_backtrace, @function
print_backtrace:
.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -8208[rbp]
	mov	esi, 1024
	mov	rdi, rax
	call	backtrace@PLT
	mov	DWORD PTR -8228[rbp], eax
	mov	edx, DWORD PTR -8228[rbp]
	lea	rax, -8208[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	backtrace_symbols@PLT
	mov	QWORD PTR -8224[rbp], rax
	lea	rdi, .LC24[rip]
	call	puts@PLT
	mov	DWORD PTR -8232[rbp], 1
	jmp	.L42
.L43:
	mov	eax, DWORD PTR -8232[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8224[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -8216[rbp], rax
	mov	eax, DWORD PTR -8232[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8224[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	puts@PLT
	add	DWORD PTR -8232[rbp], 1
.L42:
	mov	eax, DWORD PTR -8232[rbp]
	cmp	eax, DWORD PTR -8228[rbp]
	jl	.L43
	lea	rdi, .LC25[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -8224[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L44
	call	__stack_chk_fail@PLT
.L44:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	print_backtrace, .-print_backtrace
	.section	.rodata
.LC26:
	.string	"sysinfo returned error"
.LC27:
	.string	"Total RAM %lu bytes \n"
.LC28:
	.string	"Mem unit %d bytes\n"
.LC29:
	.string	"%d\n"
.LC30:
	.string	"%p\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 144
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -128[rbp]
	mov	rdi, rax
	call	sysinfo@PLT
	cmp	eax, -1
	jne	.L46
	lea	rdi, .LC26[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L47
.L46:
	mov	rax, QWORD PTR -96[rbp]
	mov	rsi, rax
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, eax
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	printf@PLT
	call	getpid@PLT
	mov	DWORD PTR -132[rbp], eax
	mov	eax, DWORD PTR -132[rbp]
	mov	esi, eax
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -132[rbp]
	mov	edi, eax
	call	print_name_pid
	mov	eax, DWORD PTR -132[rbp]
	mov	edi, eax
	call	print_maps
	mov	rax, QWORD PTR -96[rbp]
	mov	esi, 4096
	mov	rdi, rax
	call	read_ram
	mov	rax, QWORD PTR 8[rbp]
	mov	rsi, rax
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	printf@PLT
	call	print_backtrace
	mov	eax, 0
.L47:
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L48
	call	__stack_chk_fail@PLT
.L48:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.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	"31633.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"/proc/%ld/maps\000"
	.align	2
.LC1:
	.ascii	"r\000"
	.align	2
.LC2:
	.ascii	"Not able to open maps file\000"
	.align	2
.LC3:
	.ascii	"%lx-%lx %4s %lx %5s %ld %s\000"
	.align	2
.LC4:
	.ascii	"unable to parse permission string: '%s'\012\000"
	.align	2
.LC5:
	.ascii	"%08lx (%ld KB)\000"
	.align	2
.LC6:
	.ascii	"\000"
	.align	2
.LC7:
	.ascii	"%*s %s (%s %ld) \000"
	.align	2
.LC8:
	.ascii	"%*s %s\012\000"
	.align	2
.LC9:
	.ascii	"mapped:   %ld KB writable/private: %ld KB shared: %"
	.ascii	"ld KB\012\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	print_maps
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_maps, %function
print_maps:
	@ args = 0, pretend = 0, frame = 12456
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12480
	sub	sp, sp, #4
	sub	r3, fp, #12288
	sub	r3, r3, #12
	str	r0, [r3, #-164]
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-144]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-140]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-136]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #12352
	sub	r3, r3, #12
	sub	r3, r3, #40
	ldr	r2, [r2, #-164]
	ldr	r1, .L14+4
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #12352
	sub	r3, r3, #12
	sub	r3, r3, #40
	ldr	r1, .L14+8
	mov	r0, r3
	bl	fopen
	str	r0, [r4, #-132]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-132]
	cmp	r3, #0
	bne	.L4
	ldr	r0, .L14+12
	bl	puts
	b	.L1
.L10:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4160
	sub	r3, r3, #12
	sub	r3, r3, #40
	ldr	r2, [r2, #-132]
	ldr	r1, .L14+16
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	beq	.L13
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, #0
	strb	r2, [r3, #-104]
	sub	r1, fp, #12416
	sub	r1, r1, #12
	sub	r1, r1, #28
	sub	r2, fp, #12416
	sub	r2, r2, #12
	sub	r2, r2, #32
	sub	r0, fp, #4160
	sub	r0, r0, #12
	sub	r0, r0, #40
	sub	r3, fp, #8256
	sub	r3, r3, #12
	sub	r3, r3, #40
	str	r3, [sp, #16]
	sub	r3, fp, #12416
	sub	r3, r3, #12
	sub	r3, r3, #24
	str	r3, [sp, #12]
	sub	r3, fp, #12352
	sub	r3, r3, #12
	sub	r3, r3, #48
	str	r3, [sp, #8]
	sub	r3, fp, #12416
	sub	r3, r3, #12
	sub	r3, r3, #20
	str	r3, [sp, #4]
	sub	r3, fp, #12352
	sub	r3, r3, #12
	sub	r3, r3, #56
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L14+20
	bl	__isoc99_sscanf
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r2, [r3, #-156]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-160]
	sub	r1, fp, #12288
	sub	r1, r1, #12
	sub	r3, r2, r3
	str	r3, [r1, #-128]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r2, [r2, #-140]
	ldr	r3, [r3, #-128]
	add	r3, r2, r3
	str	r3, [r1, #-140]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldrb	r3, [r3, #-117]	@ zero_extendqisi2
	cmp	r3, #112
	bne	.L7
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldrb	r3, [r3, #-119]	@ zero_extendqisi2
	cmp	r3, #119
	bne	.L8
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r2, [r2, #-144]
	ldr	r3, [r3, #-128]
	add	r3, r2, r3
	str	r3, [r1, #-144]
	b	.L8
.L7:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldrb	r3, [r3, #-117]	@ zero_extendqisi2
	cmp	r3, #115
	bne	.L9
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r2, [r2, #-136]
	ldr	r3, [r3, #-128]
	add	r3, r2, r3
	str	r3, [r1, #-136]
	b	.L8
.L9:
	sub	r3, fp, #12352
	sub	r3, r3, #12
	sub	r3, r3, #56
	mov	r1, r3
	ldr	r0, .L14+24
	bl	printf
	b	.L1
.L8:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r1, [r3, #-160]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r2, [r3, #-156]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-160]
	sub	r3, r2, r3
	lsr	r3, r3, #10
	sub	r2, fp, #12288
	sub	r2, r2, #12
	mov	r4, r2
	mov	r2, r3
	ldr	r0, .L14+28
	bl	printf
	str	r0, [r4, #-124]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-124]
	rsb	r1, r3, #22
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-152]
	sub	r2, fp, #12352
	sub	r2, r2, #12
	sub	r2, r2, #56
	str	r3, [sp, #4]
	sub	r3, fp, #12352
	sub	r3, r3, #12
	sub	r3, r3, #48
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, .L14+32
	ldr	r0, .L14+36
	bl	printf
	mov	r2, r0
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-124]
	add	r3, r2, r3
	str	r3, [r1, #-124]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-124]
	rsb	r1, r3, #44
	sub	r3, fp, #8256
	sub	r3, r3, #12
	sub	r3, r3, #40
	ldr	r2, .L14+32
	ldr	r0, .L14+40
	bl	printf
.L4:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r0, [r3, #-132]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
	b	.L6
.L13:
	nop
.L6:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-140]
	lsr	r1, r3, #10
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-144]
	lsr	r2, r3, #10
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-136]
	lsr	r3, r3, #10
	ldr	r0, .L14+44
	bl	printf
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r0, [r3, #-132]
	bl	fclose
.L1:
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC10
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	4196
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	print_maps, .-print_maps
	.section	.rodata
	.align	2
.LC11:
	.ascii	"/proc/%ld/cmdline\000"
	.align	2
.LC12:
	.ascii	"Not able to open cmdline file\000"
	.align	2
.LC13:
	.ascii	"%s(%ld)\012\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	print_name_pid
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_name_pid, %function
print_name_pid:
	@ args = 0, pretend = 0, frame = 4120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #4096
	sub	sp, sp, #28
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r0, [r3, #-20]
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-16]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [r2, #-20]
	ldr	r1, .L23+4
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L23+8
	mov	r0, r3
	bl	fopen
	str	r0, [r4, #-12]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	cmp	r3, #0
	bne	.L19
	ldr	r0, .L23+12
	bl	puts
	b	.L16
.L21:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r1, r2
	add	r2, r3, #1
	str	r2, [r1, #-16]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-8]
	and	r2, r2, #255
	sub	r1, fp, #4096
	sub	r1, r1, #12
	add	r3, r1, r3
	strb	r2, [r3, #-4]
.L19:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-12]
	bl	getc
	str	r0, [r4, #-8]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	cmn	r3, #1
	beq	.L20
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	cmp	r3, #0
	bne	.L21
.L20:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	add	r3, r2, r3
	sub	r3, r3, #4
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [r2, #-20]
	mov	r1, r3
	ldr	r0, .L23+16
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-12]
	bl	fclose
.L16:
	ldr	r3, .L23
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC14
	.word	.LC11
	.word	.LC1
	.word	.LC12
	.word	.LC13
	.size	print_name_pid, .-print_name_pid
	.global	__aeabi_uidiv
	.global	__popcountsi2
	.section	.rodata
	.align	2
.LC15:
	.ascii	"Invalid walk_size %u\012\000"
	.align	2
.LC16:
	.ascii	"/dev/mem\000"
	.align	2
.LC17:
	.ascii	"Can't open /dev/mem\000"
	.align	2
.LC18:
	.ascii	"/dev/mem opened\000"
	.align	2
.LC19:
	.ascii	"wb\000"
	.align	2
.LC20:
	.ascii	"dump.bin\000"
	.align	2
.LC21:
	.ascii	"Can't create dump file\000"
	.align	2
.LC22:
	.ascii	"Mapping failed for addr 0x%lX\012\000"
	.align	2
.LC23:
	.ascii	"Error writing file\000"
	.align	2
.LC24:
	.ascii	"Cur dump size %d bytes\012\000"
	.align	2
.LC25:
	.ascii	"UnMapping failed for addr 0x%lX\012\000"
	.align	2
.LC26:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	read_ram
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_ram, %function
read_ram:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #84
	str	r0, [fp, #-80]
	str	r1, [fp, #-84]
	ldr	r3, .L42
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	ldr	ip, [fp, #-84]
	mov	r3, ip
	sub	r3, r3, #1
	str	r3, [fp, #-60]
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	add	r3, ip, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #0
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-68]
	mov	r3, #0
	str	r3, [fp, #-72]
	ldr	r1, [fp, #-84]
	ldr	r0, [fp, #-80]
	bl	__aeabi_uidiv
	mov	r3, r0
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-84]
	sub	r3, r3, #1
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-40]
	ldr	r0, [fp, #-84]
	bl	__popcountsi2
	mov	r3, r0
	cmp	r3, #1
	beq	.L26
	ldr	r1, [fp, #-84]
	ldr	r0, .L42+4
	bl	printf
	b	.L27
.L26:
	ldr	r1, .L42+8
	ldr	r0, .L42+12
	bl	open
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmn	r3, #1
	bne	.L28
	ldr	r0, .L42+16
	bl	puts
	b	.L27
.L28:
	ldr	r0, .L42+20
	bl	puts
	ldr	r1, .L42+24
	ldr	r0, .L42+28
	bl	fopen
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L29
	ldr	r0, .L42+32
	bl	puts
	b	.L30
.L29:
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L31
.L38:
	ldr	r3, [fp, #-48]
	mvn	r2, r3
	ldr	r3, [fp, #-72]
	and	r3, r3, r2
	str	r3, [sp, #4]
	ldr	r3, [fp, #-36]
	str	r3, [sp]
	mov	r3, #1
	mov	r2, #3
	ldr	r1, [fp, #-84]
	mov	r0, #0
	bl	mmap
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmn	r3, #1
	bne	.L32
	ldr	r1, [fp, #-72]
	ldr	r0, .L42+36
	bl	printf
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-84]
	add	r3, r2, r3
	str	r3, [fp, #-72]
	b	.L33
.L32:
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-48]
	and	r3, r3, r2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	ldrh	r3, [r3]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-56]
	mov	r0, r3
	ldr	r3, [fp, #-84]
	mov	r2, r3
	mov	r1, #0
	bl	memset
	ldr	r2, [fp, #-84]
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-56]
	bl	memcpy
	ldr	r3, [fp, #-32]
	mov	r2, #1
	ldr	r1, [fp, #-84]
	ldr	r0, [fp, #-56]
	bl	fwrite
	mov	r3, r0
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bgt	.L34
	ldr	r0, .L42+40
	bl	puts
	b	.L35
.L34:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-84]
	mul	r2, r3, r2
	ldr	r3, [fp, #-68]
	add	r3, r2, r3
	str	r3, [fp, #-68]
	ldr	r1, [fp, #-68]
	ldr	r0, .L42+44
	bl	printf
	ldr	r1, [fp, #-84]
	ldr	r0, [fp, #-28]
	bl	munmap
	mov	r3, r0
	cmn	r3, #1
	bne	.L36
	ldr	r1, [fp, #-72]
	ldr	r0, .L42+48
	bl	printf
	b	.L30
.L36:
	ldr	r2, [fp, #-84]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-68]
	cmp	r2, r3
	bls	.L41
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-84]
	add	r3, r2, r3
	str	r3, [fp, #-72]
.L33:
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L31:
	ldr	r3, [fp, #-64]
	ldr	r2, [fp, #-52]
	cmp	r2, r3
	bhi	.L38
	b	.L35
.L41:
	nop
.L35:
	ldr	r0, [fp, #-32]
	bl	fclose
.L30:
	ldr	r0, [fp, #-36]
	bl	close
	mov	sp, r4
	b	.L25
.L27:
	mov	sp, r4
.L25:
	ldr	r3, .L42
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L40
	bl	__stack_chk_fail
.L40:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L43:
	.align	2
.L42:
	.word	.LC26
	.word	.LC15
	.word	1052674
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.size	read_ram, .-read_ram
	.section	.rodata
	.align	2
.LC27:
	.ascii	"BACKTRACE -----------\000"
	.align	2
.LC28:
	.ascii	"END------------------\000"
	.align	2
.LC29:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	print_backtrace
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_backtrace, %function
print_backtrace:
	@ args = 0, pretend = 0, frame = 4120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #4096
	sub	sp, sp, #28
	ldr	r3, .L48
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, #1024
	mov	r0, r3
	bl	backtrace
	str	r0, [r4, #-16]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, [r2, #-16]
	mov	r0, r3
	bl	backtrace_symbols
	str	r0, [r4, #-12]
	ldr	r0, .L48+4
	bl	puts
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-20]
	b	.L45
.L46:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-20]
	lsl	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-12]
	add	r3, r2, r3
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	strlen
	str	r0, [r4, #-8]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-20]
	lsl	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-12]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	puts
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-20]
	add	r3, r3, #1
	str	r3, [r2, #-20]
.L45:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-20]
	ldr	r3, [r3, #-16]
	cmp	r2, r3
	blt	.L46
	ldr	r0, .L48+8
	bl	puts
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-12]
	bl	free
	nop
	ldr	r3, .L48
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L47
	bl	__stack_chk_fail
.L47:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L49:
	.align	2
.L48:
	.word	.LC29
	.word	.LC27
	.word	.LC28
	.size	print_backtrace, .-print_backtrace
	.section	.rodata
	.align	2
.LC30:
	.ascii	"sysinfo returned error\000"
	.align	2
.LC31:
	.ascii	"Total RAM %lu bytes \012\000"
	.align	2
.LC32:
	.ascii	"Mem unit %d bytes\012\000"
	.align	2
.LC33:
	.ascii	"%d\012\000"
	.align	2
.LC34:
	.ascii	"%p\012\000"
	.align	2
.LC35:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #76
	mov	r4, lr
	ldr	r3, .L54
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #80
	mov	r0, r3
	bl	sysinfo
	mov	r3, r0
	cmn	r3, #1
	bne	.L51
	ldr	r0, .L54+4
	bl	puts
	mov	r3, #1
	b	.L52
.L51:
	ldr	r3, [fp, #-64]
	mov	r1, r3
	ldr	r0, .L54+8
	bl	printf
	ldr	r3, [fp, #-28]
	mov	r1, r3
	ldr	r0, .L54+12
	bl	printf
	bl	getpid
	str	r0, [fp, #-84]
	ldr	r1, [fp, #-84]
	ldr	r0, .L54+16
	bl	printf
	ldr	r0, [fp, #-84]
	bl	print_name_pid
	ldr	r0, [fp, #-84]
	bl	print_maps
	ldr	r3, [fp, #-64]
	mov	r1, #4096
	mov	r0, r3
	bl	read_ram
	mov	r3, r4
	mov	r1, r3
	ldr	r0, .L54+20
	bl	printf
	bl	print_backtrace
	mov	r3, #0
.L52:
	ldr	r2, .L54
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L53
	bl	__stack_chk_fail
.L53:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L55:
	.align	2
.L54:
	.word	.LC35
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
