	.file	"extr_trace-event-read.c_trace_report.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"no trace data in the file"
.LC1:
	.string	"tracing"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"not a trace file (missing 'tracing' tag)"
	.section	.rodata.str1.1
.LC3:
	.string	"read_trace_init failed"
	.text
	.p2align 4
	.globl	trace_report
	.type	trace_report, @function
trace_report:
.LFB0:
	.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
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	rbx, rsi
	sub	rsp, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR BUFSIZ[rip]
	mov	rsi, rsp
	add	rax, 15
	mov	rcx, rax
	and	rax, -4096
	sub	rsi, rax
	and	rcx, -16
	mov	rax, rsi
	cmp	rsp, rax
	je	.L3
.L20:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L20
.L3:
	and	ecx, 4095
	sub	rsp, rcx
	test	rcx, rcx
	jne	.L21
.L4:
	mov	DWORD PTR input_fd[rip], edi
	mov	eax, 2071
	mov	rdi, rsp
	mov	r12, rsp
	mov	esi, 3
	mov	DWORD PTR repipe[rip], edx
	mov	WORD PTR -27[rbp], ax
	mov	BYTE PTR -25[rbp], 68
	mov	DWORD PTR calc_data_size[rip], 1
	call	read_or_die@PLT
	lea	rsi, -27[rbp]
	mov	edx, 3
	mov	rdi, rsp
	call	memcmp@PLT
	test	rax, rax
	je	.L5
	lea	rdi, .LC0[rip]
	call	die@PLT
.L5:
	mov	esi, 7
	mov	rdi, r12
	call	read_or_die@PLT
	mov	edx, 7
	lea	rsi, .LC1[rip]
	mov	rdi, r12
	call	memcmp@PLT
	test	rax, rax
	jne	.L22
.L6:
	xor	eax, eax
	call	read_string@PLT
	mov	rdi, rax
	call	free@PLT
	mov	esi, 1
	mov	rdi, r12
	call	read_or_die@PLT
	movzx	eax, BYTE PTR [r12]
	mov	BYTE PTR file_bigendian[rip], al
	xor	eax, eax
	call	bigendian@PLT
	movsx	edi, BYTE PTR file_bigendian[rip]
	mov	esi, eax
	mov	DWORD PTR host_bigendian[rip], eax
	call	read_trace_init@PLT
	mov	QWORD PTR [rbx], rax
	test	rax, rax
	je	.L23
.L7:
	mov	esi, 1
	mov	rdi, r12
	call	read_or_die@PLT
	movzx	eax, BYTE PTR [r12]
	mov	BYTE PTR long_size[rip], al
	mov	rdi, QWORD PTR [rbx]
	call	read4@PLT
	mov	rdi, QWORD PTR [rbx]
	mov	DWORD PTR page_size[rip], eax
	call	read_header_files@PLT
	mov	rdi, QWORD PTR [rbx]
	call	read_ftrace_files@PLT
	mov	rdi, QWORD PTR [rbx]
	call	read_event_files@PLT
	mov	rdi, QWORD PTR [rbx]
	call	read_proc_kallsyms@PLT
	mov	rdi, QWORD PTR [rbx]
	call	read_ftrace_printk@PLT
	mov	eax, DWORD PTR calc_data_size[rip]
	mov	DWORD PTR repipe[rip], 0
	mov	DWORD PTR calc_data_size[rip], 0
	sub	eax, 1
	mov	rcx, QWORD PTR -24[rbp]
	xor	rcx, QWORD PTR fs:40
	jne	.L24
	lea	rsp, -16[rbp]
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_restore_state
	lea	rdi, .LC2[rip]
	call	die@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L21:
	or	QWORD PTR -8[rsp+rcx], 0
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L23:
	lea	rdi, .LC3[rip]
	call	die@PLT
	jmp	.L7
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	trace_report, .-trace_report
	.comm	repipe,4,4
	.comm	page_size,4,4
	.comm	long_size,1,1
	.comm	input_fd,4,4
	.comm	host_bigendian,4,4
	.comm	file_bigendian,1,1
	.comm	calc_data_size,4,4
	.comm	BUFSIZ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_trace-event-read.c_trace_report.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC1:
	.ascii	"no trace data in the file\000"
	.align	2
.LC2:
	.ascii	"tracing\000"
	.align	2
.LC3:
	.ascii	"not a trace file (missing 'tracing' tag)\000"
	.align	2
.LC4:
	.ascii	"read_trace_init failed\000"
	.align	2
.LC0:
	.ascii	"\027\010D\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	trace_report
	.syntax unified
	.arm
	.fpu softvfp
	.type	trace_report, %function
trace_report:
	@ 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, #12
	mov	lr, #1
	ldr	r3, .L18
	ldr	ip, .L18+4
	ldr	r3, [r3]
	ldr	ip, [ip]
	add	r3, r3, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	mov	r4, r1
	ldr	r3, .L18+8
	ldr	r1, .L18+12
	ldr	r6, .L18+16
	ldr	r7, .L18+20
	ldr	r1, [r1]
	str	r1, [fp, #-32]
	mov	r1,#0
	str	r0, [r3]
	mov	r1, #3
	lsr	r3, ip, #16
	mov	r0, sp
	str	r2, [r6]
	strh	ip, [fp, #-36]	@ movhi
	strb	r3, [fp, #-34]
	str	lr, [r7]
	bl	read_or_die
	mov	r0, sp
	mov	r2, #3
	sub	r1, fp, #36
	bl	memcmp
	cmp	r0, #0
	mov	r5, sp
	bne	.L14
.L2:
	mov	r1, #7
	mov	r0, r5
	bl	read_or_die
	mov	r2, #7
	mov	r0, r5
	ldr	r1, .L18+24
	bl	memcmp
	cmp	r0, #0
	bne	.L15
.L3:
	bl	read_string
	bl	free
	mov	r1, #1
	mov	r0, r5
	bl	read_or_die
	ldr	r8, .L18+28
	ldrb	r3, [r5]	@ zero_extendqisi2
	strb	r3, [r8]
	bl	bigendian
	mov	r1, r0
	ldr	r3, .L18+32
	ldrb	r0, [r8]	@ zero_extendqisi2
	str	r1, [r3]
	bl	read_trace_init
	cmp	r0, #0
	str	r0, [r4]
	beq	.L16
.L4:
	mov	r1, #1
	mov	r0, r5
	bl	read_or_die
	ldrb	r2, [r5]	@ zero_extendqisi2
	ldr	r3, .L18+36
	strb	r2, [r3]
	ldr	r0, [r4]
	bl	read4
	mov	r2, r0
	ldr	r3, .L18+40
	ldr	r0, [r4]
	str	r2, [r3]
	bl	read_header_files
	ldr	r0, [r4]
	bl	read_ftrace_files
	ldr	r0, [r4]
	bl	read_event_files
	ldr	r0, [r4]
	bl	read_proc_kallsyms
	ldr	r0, [r4]
	bl	read_ftrace_printk
	mov	r3, #0
	ldr	r0, [r7]
	str	r3, [r6]
	str	r3, [r7]
	ldr	r3, .L18+12
	sub	r0, r0, #1
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L14:
	ldr	r0, .L18+44
	bl	die
	b	.L2
.L15:
	ldr	r0, .L18+48
	bl	die
	b	.L3
.L16:
	ldr	r0, .L18+52
	bl	die
	b	.L4
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	BUFSIZ
	.word	.LC0
	.word	input_fd
	.word	.LC5
	.word	repipe
	.word	calc_data_size
	.word	.LC2
	.word	file_bigendian
	.word	host_bigendian
	.word	long_size
	.word	page_size
	.word	.LC1
	.word	.LC3
	.word	.LC4
	.size	trace_report, .-trace_report
	.comm	repipe,4,4
	.comm	page_size,4,4
	.comm	long_size,1,1
	.comm	input_fd,4,4
	.comm	host_bigendian,4,4
	.comm	file_bigendian,1,1
	.comm	calc_data_size,4,4
	.comm	BUFSIZ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
