	.file	"extr_backtrace.c_backtrace_frame.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	backtrace_frame
	.type	backtrace_frame, @function
backtrace_frame:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xor	eax, eax
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	current_thread@PLT
	xor	edi, edi
	test	r12, r12
	setne	dil
	mov	r13, rax
	call	assert@PLT
	xor	edi, edi
	test	rbp, rbp
	setg	dil
	call	assert@PLT
	mov	rsi, QWORD PTR 0[r13]
	mov	r9, QWORD PTR kernel_stack_size[rip]
	add	r9, rsi
	cmp	rbx, rsi
	jb	.L8
	xor	r8d, r8d
	cmp	rbx, r9
	jb	.L2
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rbx, rax
.L2:
	test	rbx, rbx
	je	.L1
	cmp	r8, rbp
	jge	.L1
	mov	rax, QWORD PTR [rbx]
	mov	rdi, QWORD PTR 8[rbx]
	cmp	rax, rsi
	setnb	cl
	cmp	rax, r9
	setb	dl
	test	cl, dl
	je	.L1
	test	rax, rax
	je	.L1
	add	r8, 1
	mov	QWORD PTR -8[r12+r8*8], rdi
	cmp	rbx, rax
	jb	.L18
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r8
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 40
	xor	r8d, r8d
	pop	rbx
	.cfi_def_cfa_offset 32
	mov	rax, r8
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	backtrace_frame, .-backtrace_frame
	.comm	kernel_stack_size,8,8
	.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_backtrace.c_backtrace_frame.c"
	.text
	.align	2
	.global	backtrace_frame
	.syntax unified
	.arm
	.fpu softvfp
	.type	backtrace_frame, %function
backtrace_frame:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r2
	mov	r6, r1
	mov	r5, r0
	bl	current_thread
	mov	r7, r0
	subs	r0, r5, #0
	movne	r0, #1
	bl	assert
	cmp	r6, #0
	movle	r0, #0
	movgt	r0, #1
	bl	assert
	ldr	r3, .L9
	ldr	r7, [r7]
	ldr	r1, [r3]
	cmp	r4, r7
	add	r1, r7, r1
	movcs	r0, #1
	movcc	r0, #0
	cmp	r4, r1
	movcs	r0, #0
	cmp	r0, #0
	movne	r0, #0
	subne	r2, r5, #4
	popeq	{r4, r5, r6, r7, r8, pc}
.L3:
	cmp	r4, #0
	cmpne	r0, r6
	popge	{r4, r5, r6, r7, r8, pc}
	ldm	r4, {ip, lr}
	cmp	ip, r7
	movcs	r3, #1
	movcc	r3, #0
	cmp	ip, r1
	movcs	r3, #0
	cmp	ip, #0
	eor	r3, r3, #1
	moveq	r3, #1
	cmp	r3, #0
	popne	{r4, r5, r6, r7, r8, pc}
	cmp	r4, ip
	str	lr, [r2, #4]!
	add	r0, r0, #1
	popcs	{r4, r5, r6, r7, r8, pc}
	mov	r4, ip
	b	.L3
.L10:
	.align	2
.L9:
	.word	kernel_stack_size
	.size	backtrace_frame, .-backtrace_frame
	.comm	kernel_stack_size,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
