	.file	"extr_stacktrace.c_dump_trace.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	dump_trace
	.type	dump_trace, @function
dump_trace:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	r14, QWORD PTR [rdi]
	mov	rsi, r14
	call	get_frame_pointer@PLT
	mov	rsi, r14
	mov	rdi, r13
	mov	rbx, rax
	call	get_stack_pointer@PLT
	mov	r14, rax
	mov	eax, DWORD PTR THREAD_SIZE[rip]
	sub	eax, 1
	cdqe
	test	r14, rax
	je	.L1
	mov	r13, rbx
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rsi, r15
	mov	rdi, rbp
	call	[QWORD PTR [r12]]
.L3:
	mov	eax, DWORD PTR THREAD_SIZE[rip]
	add	r14, 8
	sub	eax, 1
	cdqe
	test	r14, rax
	je	.L1
.L2:
	mov	r15, QWORD PTR [r14]
	mov	rdi, r15
	call	__kernel_text_address@PLT
	test	rax, rax
	je	.L3
	lea	rax, 8[rbx]
	xor	edx, edx
	cmp	r14, rax
	jne	.L4
	xor	ebx, ebx
	test	r13, r13
	je	.L5
	mov	r13, QWORD PTR 0[r13]
	mov	rbx, r13
.L5:
	mov	edx, 1
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	dump_trace, .-dump_trace
	.comm	THREAD_SIZE,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_stacktrace.c_dump_trace.c"
	.text
	.align	2
	.global	dump_trace
	.syntax unified
	.arm
	.fpu softvfp
	.type	dump_trace, %function
dump_trace:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r6, [r0]
	mov	r7, r1
	mov	r1, r6
	mov	r4, r0
	mov	r8, r2
	bl	get_frame_pointer
	mov	r1, r6
	mov	r5, r0
	mov	r0, r4
	bl	get_stack_pointer
	ldr	r6, .L16
	ldr	r3, [r6]
	sub	r3, r3, #1
	tst	r0, r3
	popeq	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
	mov	r4, r0
	mov	r9, r5
.L6:
	ldr	r10, [r4]
	mov	fp, r4
	mov	r0, r10
	bl	__kernel_text_address
	cmp	r0, #0
	add	r3, r5, #4
	add	r4, r4, #4
	beq	.L3
	cmp	r3, fp
	movne	r2, #0
	bne	.L4
	cmp	r9, #0
	ldrne	r9, [r9]
	mov	r2, #1
	mov	r5, r9
.L4:
	mov	r1, r10
	mov	r0, r8
	ldr	r3, [r7]
	blx	r3
.L3:
	ldr	r3, [r6]
	sub	r3, r3, #1
	tst	r3, r4
	bne	.L6
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L17:
	.align	2
.L16:
	.word	THREAD_SIZE
	.size	dump_trace, .-dump_trace
	.comm	THREAD_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
