	.file	"141633.c"
	.intel_syntax noprefix
	.text
	.globl	get_backtrace
	.type	get_backtrace, @function
get_backtrace:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	edx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	backtrace@PLT
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	get_backtrace, .-get_backtrace
	.globl	get_func_start
	.type	get_func_start, @function
get_func_start:
.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, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -48[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	dladdr@PLT
	mov	DWORD PTR -52[rbp], eax
	cmp	DWORD PTR -52[rbp], 0
	jne	.L4
	mov	eax, 0
	jmp	.L6
.L4:
	mov	rax, QWORD PTR -24[rbp]
.L6:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	get_func_start, .-get_func_start
	.globl	get_func_end
	.type	get_func_end, @function
get_func_end:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -56[rbp]
	lea	rsi, -48[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	ecx, 1
	mov	rdi, rax
	call	dladdr1@PLT
	mov	DWORD PTR -60[rbp], eax
	cmp	DWORD PTR -60[rbp], 0
	jne	.L9
	mov	eax, 0
	jmp	.L13
.L9:
	mov	rax, QWORD PTR -56[rbp]
	test	rax, rax
	jne	.L11
	mov	eax, 0
	jmp	.L13
.L11:
	mov	rax, QWORD PTR -24[rbp]
	test	rax, rax
	jne	.L12
	mov	eax, 0
	jmp	.L13
.L12:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
.L13:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	get_func_end, .-get_func_end
	.globl	get_func_addr
	.type	get_func_addr, @function
get_func_addr:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	dlsym@PLT
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	get_func_addr, .-get_func_addr
	.type	fp_to_voidp, @function
fp_to_voidp:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	lea	rax, -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	fp_to_voidp, .-fp_to_voidp
	.globl	backtrace_works
	.type	backtrace_works, @function
backtrace_works:
.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, 864
	mov	QWORD PTR -856[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -840[rbp], 0
	mov	QWORD PTR -832[rbp], 0
	mov	eax, DWORD PTR works.0[rip]
	test	eax, eax
	js	.L20
	mov	eax, DWORD PTR works.0[rip]
	jmp	.L28
.L20:
	lea	rax, -816[rbp]
	mov	esi, 100
	mov	rdi, rax
	call	get_backtrace
	mov	DWORD PTR -844[rbp], eax
	cmp	DWORD PTR -844[rbp], 0
	jg	.L22
	mov	DWORD PTR works.0[rip], 0
	mov	eax, DWORD PTR works.0[rip]
	jmp	.L28
.L22:
	mov	rax, QWORD PTR -856[rbp]
	mov	rdi, rax
	call	fp_to_voidp
	mov	rdi, rax
	call	get_func_start
	mov	QWORD PTR -840[rbp], rax
	mov	rax, QWORD PTR -856[rbp]
	mov	rdi, rax
	call	fp_to_voidp
	mov	rdi, rax
	call	get_func_end
	mov	QWORD PTR -832[rbp], rax
	cmp	QWORD PTR -840[rbp], 0
	jne	.L23
	cmp	QWORD PTR -832[rbp], 0
	jne	.L23
	mov	DWORD PTR works.0[rip], 0
	mov	eax, DWORD PTR works.0[rip]
	jmp	.L28
.L23:
	mov	DWORD PTR -848[rbp], 0
	jmp	.L24
.L27:
	mov	eax, DWORD PTR -848[rbp]
	cdqe
	mov	rax, QWORD PTR -816[rbp+rax*8]
	mov	QWORD PTR -824[rbp], rax
	cmp	QWORD PTR -832[rbp], 0
	je	.L25
	mov	rax, QWORD PTR -824[rbp]
	cmp	rax, QWORD PTR -840[rbp]
	jb	.L26
	mov	rax, QWORD PTR -824[rbp]
	cmp	rax, QWORD PTR -832[rbp]
	ja	.L26
	mov	DWORD PTR works.0[rip], 1
	mov	eax, DWORD PTR works.0[rip]
	jmp	.L28
.L25:
	mov	rax, QWORD PTR -824[rbp]
	mov	rdi, rax
	call	get_func_start
	cmp	QWORD PTR -840[rbp], rax
	jne	.L26
	mov	DWORD PTR works.0[rip], 1
	mov	eax, DWORD PTR works.0[rip]
	jmp	.L28
.L26:
	add	DWORD PTR -848[rbp], 1
.L24:
	mov	eax, DWORD PTR -848[rbp]
	cmp	eax, DWORD PTR -844[rbp]
	jl	.L27
	mov	DWORD PTR works.0[rip], 0
	mov	eax, DWORD PTR works.0[rip]
.L28:
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	backtrace_works, .-backtrace_works
	.data
	.align 4
	.type	works.0, @object
	.size	works.0, 4
works.0:
	.long	-1
	.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	"141633.c"
	.text
	.align	2
	.global	get_backtrace
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_backtrace, %function
get_backtrace:
	@ 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]
	str	r1, [fp, #-12]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	backtrace
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	get_backtrace, .-get_backtrace
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_func_start
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_func_start, %function
get_func_start:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, [fp, #-32]
	bl	dladdr
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L4
	mov	r3, #0
	b	.L6
.L4:
	ldr	r3, [fp, #-12]
.L6:
	ldr	r2, .L8
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC0
	.size	get_func_start, .-get_func_start
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_func_end
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_func_end, %function
get_func_end:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r2, fp, #32
	sub	r1, fp, #24
	mov	r3, #1
	ldr	r0, [fp, #-40]
	bl	dladdr1
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L11
	mov	r3, #0
	b	.L15
.L11:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L13
	mov	r3, #0
	b	.L15
.L13:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L14
	mov	r3, #0
	b	.L15
.L14:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
.L15:
	ldr	r2, .L17
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC1
	.size	get_func_end, .-get_func_end
	.align	2
	.global	get_func_addr
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_func_addr, %function
get_func_addr:
	@ 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	r1, [fp, #-8]
	mov	r0, #0
	bl	dlsym
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	get_func_addr, .-get_func_addr
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fp_to_voidp, %function
fp_to_voidp:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	sub	r3, fp, #16
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	fp_to_voidp, .-fp_to_voidp
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	backtrace_works
	.syntax unified
	.arm
	.fpu softvfp
	.type	backtrace_works, %function
backtrace_works:
	@ args = 0, pretend = 0, frame = 432
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #432
	str	r0, [fp, #-432]
	ldr	r3, .L34
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-424]
	mov	r3, #0
	str	r3, [fp, #-420]
	ldr	r3, .L34+4
	ldr	r3, [r3]
	cmp	r3, #0
	blt	.L24
	ldr	r3, .L34+4
	ldr	r3, [r3]
	b	.L32
.L24:
	sub	r3, fp, #408
	mov	r1, #100
	mov	r0, r3
	bl	get_backtrace
	str	r0, [fp, #-416]
	ldr	r3, [fp, #-416]
	cmp	r3, #0
	bgt	.L26
	ldr	r3, .L34+4
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L34+4
	ldr	r3, [r3]
	b	.L32
.L26:
	ldr	r0, [fp, #-432]
	bl	fp_to_voidp
	mov	r3, r0
	mov	r0, r3
	bl	get_func_start
	str	r0, [fp, #-424]
	ldr	r0, [fp, #-432]
	bl	fp_to_voidp
	mov	r3, r0
	mov	r0, r3
	bl	get_func_end
	str	r0, [fp, #-420]
	ldr	r3, [fp, #-424]
	cmp	r3, #0
	bne	.L27
	ldr	r3, [fp, #-420]
	cmp	r3, #0
	bne	.L27
	ldr	r3, .L34+4
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L34+4
	ldr	r3, [r3]
	b	.L32
.L27:
	mov	r3, #0
	str	r3, [fp, #-428]
	b	.L28
.L31:
	ldr	r3, [fp, #-428]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	str	r3, [fp, #-412]
	ldr	r3, [fp, #-420]
	cmp	r3, #0
	beq	.L29
	ldr	r2, [fp, #-412]
	ldr	r3, [fp, #-424]
	cmp	r2, r3
	bcc	.L30
	ldr	r2, [fp, #-412]
	ldr	r3, [fp, #-420]
	cmp	r2, r3
	bhi	.L30
	ldr	r3, .L34+4
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L34+4
	ldr	r3, [r3]
	b	.L32
.L29:
	ldr	r0, [fp, #-412]
	bl	get_func_start
	mov	r2, r0
	ldr	r3, [fp, #-424]
	cmp	r3, r2
	bne	.L30
	ldr	r3, .L34+4
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L34+4
	ldr	r3, [r3]
	b	.L32
.L30:
	ldr	r3, [fp, #-428]
	add	r3, r3, #1
	str	r3, [fp, #-428]
.L28:
	ldr	r2, [fp, #-428]
	ldr	r3, [fp, #-416]
	cmp	r2, r3
	blt	.L31
	ldr	r3, .L34+4
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L34+4
	ldr	r3, [r3]
.L32:
	ldr	r2, .L34
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L33
	bl	__stack_chk_fail
.L33:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC2
	.word	works.5596
	.size	backtrace_works, .-backtrace_works
	.data
	.align	2
	.type	works.5596, %object
	.size	works.5596, 4
works.5596:
	.word	-1
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
