	.file	"extr_backtrace.c_arm_backtrace.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	arm_backtrace
	.type	arm_backtrace, @function
arm_backtrace:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 56
	.cfi_def_cfa_offset 80
	mov	rbp, QWORD PTR 16[rdi]
	mov	DWORD PTR 12[rsp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	user_mode@PLT
	test	eax, eax
	je	.L2
	mov	eax, DWORD PTR 12[rsp]
	lea	edx, -1[rax]
	mov	DWORD PTR 12[rsp], edx
	cmp	rbp, 4
	je	.L1
	test	eax, eax
	je	.L1
	lea	rdi, -4[rbp]
	and	ebp, 3
	je	.L6
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L26:
	test	eax, eax
	je	.L1
	test	dil, 3
	jne	.L1
.L6:
	call	user_backtrace@PLT
	mov	rdi, rax
	mov	eax, DWORD PTR 12[rsp]
	lea	edx, -1[rax]
	mov	DWORD PTR 12[rsp], edx
	test	rdi, rdi
	jne	.L26
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L27
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rax, QWORD PTR 16[rbx]
	mov	rdx, QWORD PTR [rbx]
	lea	rdi, 16[rsp]
	mov	esi, DWORD PTR report_trace[rip]
	mov	QWORD PTR 32[rsp], rax
	mov	eax, DWORD PTR 8[rbx]
	mov	QWORD PTR 16[rsp], rdx
	lea	rdx, 12[rsp]
	mov	DWORD PTR 24[rsp], eax
	call	walk_stackframe@PLT
	jmp	.L1
.L27:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	arm_backtrace, .-arm_backtrace
	.comm	report_trace,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_backtrace.c_arm_backtrace.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	arm_backtrace
	.syntax unified
	.arm
	.fpu softvfp
	.type	arm_backtrace, %function
arm_backtrace:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L20
	sub	sp, sp, #36
	str	r1, [sp, #4]
	mov	r5, r0
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	ldr	r4, [r0, #12]
	bl	user_mode
	cmp	r0, #0
	beq	.L2
	ldr	r3, [sp, #4]
	cmp	r4, #4
	cmpne	r3, #0
	sub	r3, r3, #1
	str	r3, [sp, #4]
	beq	.L1
	tst	r4, #3
	sub	r0, r4, #4
	beq	.L6
	b	.L1
.L18:
	tst	r0, #3
	bne	.L1
.L6:
	bl	user_backtrace
	ldr	r3, [sp, #4]
	cmp	r0, #0
	cmpne	r3, #0
	sub	r3, r3, #1
	str	r3, [sp, #4]
	bne	.L18
.L1:
	ldr	r3, .L20
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, pc}
.L2:
	ldr	r0, [r5, #12]
	ldr	r2, .L20+4
	str	r0, [sp, #24]
	ldr	r1, [r2]
	add	r0, sp, #12
	add	r2, sp, #4
	ldm	r5, {r3, ip, lr}
	str	lr, [sp, #20]
	str	ip, [sp, #16]
	str	r3, [sp, #12]
	bl	walk_stackframe
	b	.L1
.L19:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	.LC0
	.word	report_trace
	.size	arm_backtrace, .-arm_backtrace
	.comm	report_trace,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
