	.file	"234517772.c"
	.intel_syntax noprefix
	.text
	.globl	param
	.bss
	.align 4
	.type	param, @object
	.size	param, 4
param:
	.zero	4
	.section	.rodata
.LC0:
	.string	"[%06d:%06d] %03u: %c|%u\r\n"
	.text
	.type	print_uid_packet, @function
print_uid_packet:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 11[rax]
	and	eax, 127
	mov	BYTE PTR -1[rbp], al
	movzx	r8d, BYTE PTR -1[rbp]
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 10[rax]
	movsx	edi, al
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, WORD PTR 8[rax]
	movsx	edx, ax
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 4[rax]
	movsx	rcx, eax
	imul	rcx, rcx, 274877907
	shr	rcx, 32
	sar	ecx, 6
	sar	eax, 31
	mov	esi, ecx
	sub	esi, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	r9d, r8d
	mov	r8d, edi
	mov	ecx, edx
	mov	edx, esi
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 16
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	print_uid_packet, .-print_uid_packet
	.section	.rodata
.LC1:
	.string	"[%06d:%06d] %03u: %c|%s\r\n"
	.text
	.type	print_message_packet, @function
print_message_packet:
.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	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	lea	r8, 16[rax]
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 10[rax]
	movsx	edi, al
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 8[rax]
	movsx	edx, ax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	movsx	rcx, eax
	imul	rcx, rcx, 274877907
	shr	rcx, 32
	sar	ecx, 6
	sar	eax, 31
	mov	esi, ecx
	sub	esi, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	r9, r8
	mov	r8d, edi
	mov	ecx, edx
	mov	edx, esi
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 48
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	print_message_packet, .-print_message_packet
	.section	.rodata
	.align 8
.LC2:
	.string	"[%06d:%06d] %03u: %c|prev_comm=%s prev_pid=%u prev_prio=%u prev_state=%u ==> next_comm=%s next_pid=%u next_prio=%u\r\n"
	.text
	.type	print_sched_packet, @function
print_sched_packet:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	sub	rsp, 16
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 34[rax]
	movzx	r10d, al
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, WORD PTR 32[rax]
	movsx	r9d, ax
	mov	rax, QWORD PTR -24[rbp]
	lea	r11, 36[rax]
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 19[rax]
	movzx	r8d, al
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 18[rax]
	movzx	edi, al
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, WORD PTR 16[rax]
	movsx	ecx, ax
	mov	rax, QWORD PTR -24[rbp]
	lea	r12, 20[rax]
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 10[rax]
	movsx	ebx, al
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, WORD PTR 8[rax]
	movsx	edx, ax
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 4[rax]
	movsx	rsi, eax
	imul	rsi, rsi, 274877907
	shr	rsi, 32
	sar	esi, 6
	sar	eax, 31
	sub	esi, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	push	r10
	push	r9
	push	r11
	push	r8
	push	rdi
	push	rcx
	mov	r9, r12
	mov	r8d, ebx
	mov	ecx, edx
	mov	edx, esi
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 48
	mov	eax, 48
	lea	rsp, -16[rbp]
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	print_sched_packet, .-print_sched_packet
	.type	print_packet, @function
print_packet:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 10[rax]
	cmp	al, 115
	sete	al
	movzx	eax, al
	mov	DWORD PTR -8[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 11[rax]
	movzx	eax, al
	and	eax, 128
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -8[rbp], 0
	je	.L8
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	print_sched_packet
	jmp	.L9
.L8:
	cmp	DWORD PTR -4[rbp], 0
	je	.L10
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	print_uid_packet
	jmp	.L9
.L10:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	print_message_packet
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	print_packet, .-print_packet
	.section	.rodata
.LC3:
	.string	"usage: parse_dump [dumpfile]\r"
	.align 8
.LC4:
	.string	"example: ./parse_dump ramdump\r"
	.text
	.type	show_help, @function
show_help:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	show_help, .-show_help
	.type	check_args_validation, @function
check_args_validation:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -4[rbp], 0
	cmp	DWORD PTR -20[rbp], 2
	je	.L13
	mov	eax, 0
	call	show_help
	mov	eax, -1
	jmp	.L14
.L13:
	mov	eax, 0
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	check_args_validation, .-check_args_validation
	.type	get_dumpsize, @function
get_dumpsize:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -4[rbp], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	get_dumpsize, .-get_dumpsize
	.section	.rodata
.LC5:
	.string	"r+"
.LC6:
	.string	"Failed to open : %s\r\n"
	.text
	.type	open_dump, @function
open_dump:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L18
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
.L18:
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	open_dump, .-open_dump
	.section	.rodata
	.align 8
.LC7:
	.string	"Failed to zalloc buffer in ttrace\r"
	.text
	.type	alloc_tracebuffer, @function
alloc_tracebuffer:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L21
	lea	rdi, .LC7[rip]
	call	puts@PLT
.L21:
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	alloc_tracebuffer, .-alloc_tracebuffer
	.section	.rodata
.LC8:
	.string	"file pointer doesn't opened\r"
	.text
	.type	close_dump, @function
close_dump:
.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	QWORD PTR -8[rbp], rdi
	cmp	QWORD PTR -8[rbp], 0
	jne	.L24
	lea	rdi, .LC8[rip]
	call	puts@PLT
	jmp	.L23
.L24:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
.L23:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	close_dump, .-close_dump
	.section	.rodata
	.align 8
.LC9:
	.string	"tracebuffer dosen't allocated\r"
	.text
	.type	free_tracebuffer, @function
free_tracebuffer:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	cmp	QWORD PTR -8[rbp], 0
	jne	.L27
	lea	rdi, .LC9[rip]
	call	puts@PLT
	jmp	.L26
.L27:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
.L26:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	free_tracebuffer, .-free_tracebuffer
	.type	read_tracebuffer, @function
read_tracebuffer:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -8[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	call	alloc_tracebuffer
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L30
	mov	eax, -1
	jmp	.L31
.L30:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	jns	.L33
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free_tracebuffer
	mov	eax, -1
	jmp	.L31
.L34:
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	rdi, rax
	call	print_packet
	add	DWORD PTR -16[rbp], eax
.L33:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jl	.L34
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free_tracebuffer
	mov	eax, 0
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	read_tracebuffer, .-read_tracebuffer
	.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	check_args_validation
	cmp	eax, -1
	jne	.L36
	mov	eax, -1
	jmp	.L37
.L36:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	open_dump
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L38
	mov	eax, -1
	jmp	.L37
.L38:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	get_dumpsize
	mov	DWORD PTR -16[rbp], eax
	cmp	DWORD PTR -16[rbp], 0
	jg	.L39
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	close_dump
	mov	eax, -1
	jmp	.L37
.L39:
	mov	edx, DWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	read_tracebuffer
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	close_dump
	mov	eax, DWORD PTR -12[rbp]
.L37:
	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	"234517772.c"
	.text
	.global	param
	.bss
	.align	2
	.type	param, %object
	.size	param, 4
param:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"[%06d:%06d] %03u: %c|%u\015\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_uid_packet, %function
print_uid_packet:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #11]	@ zero_extendqisi2
	and	r3, r3, #127
	strb	r3, [fp, #-5]
	ldr	r3, [fp, #-16]
	ldr	r1, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldr	r2, .L3
	smull	r0, r2, r3, r2
	asr	r2, r2, #6
	asr	r3, r3, #31
	sub	r2, r2, r3
	ldr	r3, [fp, #-16]
	ldrsh	r3, [r3, #8]
	mov	ip, r3
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #10]	@ zero_extendqisi2
	mov	r0, r3
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	str	r3, [sp, #4]
	str	r0, [sp]
	mov	r3, ip
	ldr	r0, .L3+4
	bl	printf
	mov	r3, #16
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	274877907
	.word	.LC0
	.size	print_uid_packet, .-print_uid_packet
	.section	.rodata
	.align	2
.LC1:
	.ascii	"[%06d:%06d] %03u: %c|%s\015\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_message_packet, %function
print_message_packet:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	ldr	r2, .L7
	smull	r0, r2, r3, r2
	asr	r2, r2, #6
	asr	r3, r3, #31
	sub	r2, r2, r3
	ldr	r3, [fp, #-8]
	ldrsh	r3, [r3, #8]
	mov	ip, r3
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #10]	@ zero_extendqisi2
	mov	r0, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, #16
	str	r3, [sp, #4]
	str	r0, [sp]
	mov	r3, ip
	ldr	r0, .L7+4
	bl	printf
	mov	r3, #48
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	274877907
	.word	.LC1
	.size	print_message_packet, .-print_message_packet
	.section	.rodata
	.align	2
.LC2:
	.ascii	"[%06d:%06d] %03u: %c|prev_comm=%s prev_pid=%u prev_"
	.ascii	"prio=%u prev_state=%u ==> next_comm=%s next_pid=%u "
	.ascii	"next_prio=%u\015\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_sched_packet, %function
print_sched_packet:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #44
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	ldr	r0, [r3]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #4]
	ldr	r2, .L11
	smull	r1, r2, r3, r2
	asr	r2, r2, #6
	asr	r3, r3, #31
	sub	ip, r2, r3
	ldr	r3, [fp, #-32]
	ldrsh	r3, [r3, #8]
	mov	r8, r3
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3, #10]	@ zero_extendqisi2
	mov	lr, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, #20
	ldr	r2, [fp, #-32]
	ldrsh	r2, [r2, #16]
	mov	r4, r2
	ldr	r2, [fp, #-32]
	ldrb	r2, [r2, #18]	@ zero_extendqisi2
	mov	r5, r2
	ldr	r2, [fp, #-32]
	ldrb	r2, [r2, #19]	@ zero_extendqisi2
	mov	r6, r2
	ldr	r2, [fp, #-32]
	add	r2, r2, #36
	ldr	r1, [fp, #-32]
	ldrsh	r1, [r1, #32]
	mov	r7, r1
	ldr	r1, [fp, #-32]
	ldrb	r1, [r1, #34]	@ zero_extendqisi2
	str	r1, [sp, #28]
	str	r7, [sp, #24]
	str	r2, [sp, #20]
	str	r6, [sp, #16]
	str	r5, [sp, #12]
	str	r4, [sp, #8]
	str	r3, [sp, #4]
	str	lr, [sp]
	mov	r3, r8
	mov	r2, ip
	mov	r1, r0
	ldr	r0, .L11+4
	bl	printf
	mov	r3, #48
	mov	r0, r3
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L12:
	.align	2
.L11:
	.word	274877907
	.word	.LC2
	.size	print_sched_packet, .-print_sched_packet
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_packet, %function
print_packet:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #10]	@ zero_extendqisi2
	cmp	r3, #115
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #11]	@ zero_extendqisi2
	and	r3, r3, #128
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L14
	ldr	r0, [fp, #-16]
	bl	print_sched_packet
	mov	r3, r0
	b	.L15
.L14:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L16
	ldr	r0, [fp, #-16]
	bl	print_uid_packet
	mov	r3, r0
	b	.L15
.L16:
	ldr	r0, [fp, #-16]
	bl	print_message_packet
	mov	r3, r0
.L15:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	print_packet, .-print_packet
	.section	.rodata
	.align	2
.LC3:
	.ascii	"usage: parse_dump [dumpfile]\015\000"
	.align	2
.LC4:
	.ascii	"example: ./parse_dump ramdump\015\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	show_help, %function
show_help:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L18
	bl	puts
	ldr	r0, .L18+4
	bl	puts
	nop
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC3
	.word	.LC4
	.size	show_help, .-show_help
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	check_args_validation, %function
check_args_validation:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	beq	.L21
	bl	show_help
	mvn	r3, #0
	b	.L22
.L21:
	mov	r3, #0
.L22:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	check_args_validation, .-check_args_validation
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_dumpsize, %function
get_dumpsize:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-16]
	bl	fseek
	ldr	r0, [fp, #-16]
	bl	ftell
	str	r0, [fp, #-8]
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-16]
	bl	fseek
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	get_dumpsize, .-get_dumpsize
	.section	.rodata
	.align	2
.LC5:
	.ascii	"r+\000"
	.align	2
.LC6:
	.ascii	"Failed to open : %s\015\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	open_dump, %function
open_dump:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r1, .L28
	ldr	r0, [fp, #-16]
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L26
	ldr	r1, [fp, #-16]
	ldr	r0, .L28+4
	bl	printf
.L26:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC5
	.word	.LC6
	.size	open_dump, .-open_dump
	.section	.rodata
	.align	2
.LC7:
	.ascii	"Failed to zalloc buffer in ttrace\015\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	alloc_tracebuffer, %function
alloc_tracebuffer:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L31
	ldr	r0, .L33
	bl	puts
.L31:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	.LC7
	.size	alloc_tracebuffer, .-alloc_tracebuffer
	.section	.rodata
	.align	2
.LC8:
	.ascii	"file pointer doesn't opened\015\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	close_dump, %function
close_dump:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L36
	ldr	r0, .L38
	bl	puts
	b	.L35
.L36:
	ldr	r0, [fp, #-8]
	bl	fclose
	nop
.L35:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC8
	.size	close_dump, .-close_dump
	.section	.rodata
	.align	2
.LC9:
	.ascii	"tracebuffer dosen't allocated\015\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	free_tracebuffer, %function
free_tracebuffer:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L41
	ldr	r0, .L43
	bl	puts
	b	.L40
.L41:
	ldr	r0, [fp, #-8]
	bl	free
	nop
.L40:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L44:
	.align	2
.L43:
	.word	.LC9
	.size	free_tracebuffer, .-free_tracebuffer
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_tracebuffer, %function
read_tracebuffer:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r0, [fp, #-28]
	bl	alloc_tracebuffer
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L46
	mvn	r3, #0
	b	.L47
.L46:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-24]
	mov	r1, #1
	ldr	r0, [fp, #-12]
	bl	fread
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L49
	ldr	r0, [fp, #-12]
	bl	free_tracebuffer
	mvn	r3, #0
	b	.L47
.L50:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	mov	r0, r3
	bl	print_packet
	mov	r2, r0
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	str	r3, [fp, #-16]
.L49:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	blt	.L50
	ldr	r0, [fp, #-12]
	bl	free_tracebuffer
	mov	r3, #0
.L47:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	read_tracebuffer, .-read_tracebuffer
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	check_args_validation
	mov	r3, r0
	cmn	r3, #1
	bne	.L52
	mvn	r3, #0
	b	.L53
.L52:
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	open_dump
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L54
	mvn	r3, #0
	b	.L53
.L54:
	ldr	r0, [fp, #-16]
	bl	get_dumpsize
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bgt	.L55
	ldr	r0, [fp, #-16]
	bl	close_dump
	mvn	r3, #0
	b	.L53
.L55:
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	read_tracebuffer
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-16]
	bl	close_dump
	ldr	r3, [fp, #-8]
.L53:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
