	.file	"extr_traps_64.c_show_stack.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Call Trace:\n"
.LC1:
	.string	" [%016lx] %pS\n"
	.text
	.p2align 4
	.globl	show_stack
	.type	show_stack, @function
show_stack:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	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
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	test	rdi, rdi
	cmove	r12, QWORD PTR current[rip]
	mov	rdi, r12
	call	task_thread_info@PLT
	mov	rbp, rax
	test	rbx, rbx
	je	.L20
.L4:
	xor	eax, eax
	call	current_thread_info@PLT
	cmp	rbp, rax
	je	.L21
.L6:
	lea	rdi, .LC0[rip]
	xor	eax, eax
	add	rbx, QWORD PTR STACK_BIAS[rip]
	mov	r12d, 16
	call	printk@PLT
	lea	r13, .LC1[rip]
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L22:
	mov	eax, DWORD PTR 16[rbx]
	test	DWORD PTR TSTATE_PRIV[rip], eax
	je	.L1
	mov	rax, QWORD PTR 32[rbx]
	mov	rdx, QWORD PTR UREG_I6[rip]
	mov	rsi, QWORD PTR 24[rbx]
	mov	rbx, QWORD PTR STACK_BIAS[rip]
	add	rbx, QWORD PTR [rax+rdx*8]
.L9:
	xor	eax, eax
	mov	rdx, rsi
	mov	rdi, r13
	call	printk@PLT
	sub	r12d, 1
	je	.L1
.L10:
	mov	rsi, rbx
	mov	rdi, rbp
	call	kstack_valid@PLT
	test	eax, eax
	je	.L1
	lea	rsi, 16[rbx]
	mov	rdi, rbp
	call	kstack_is_trap_frame@PLT
	test	rax, rax
	jne	.L22
	mov	rax, QWORD PTR STACK_BIAS[rip]
	add	rax, QWORD PTR 8[rbx]
	mov	rsi, QWORD PTR [rbx]
	mov	rbx, rax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L20:
	.cfi_restore_state
#APP
# 48 "data/linux/arch/sparc/kernel/extr_traps_64.c_show_stack.c" 1
	mov %fp, rbx
# 0 "" 2
#NO_APP
	cmp	QWORD PTR current[rip], r12
	je	.L4
	mov	rbx, QWORD PTR [rax]
	xor	eax, eax
	call	current_thread_info@PLT
	cmp	rbp, rax
	jne	.L6
.L21:
	xor	eax, eax
	call	flushw_all@PLT
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	show_stack, .-show_stack
	.comm	return_to_handler,4,4
	.comm	current,8,8
	.comm	UREG_I6,8,8
	.comm	TSTATE_PRIV,4,4
	.comm	STACK_BIAS,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_traps_64.c_show_stack.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Call Trace:\012\000"
	.align	2
.LC1:
	.ascii	" [%016lx] %pS\012\000"
	.text
	.align	2
	.global	show_stack
	.syntax unified
	.arm
	.fpu softvfp
	.type	show_stack, %function
show_stack:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	subs	r5, r0, #0
	ldreq	r3, .L23
	mov	r4, r1
	ldreq	r5, [r3]
	mov	r0, r5
	bl	task_thread_info
	cmp	r4, #0
	mov	r6, r0
	beq	.L20
	bl	current_thread_info
	cmp	r6, r0
	beq	.L21
.L6:
	ldr	r7, .L23+4
	ldr	r0, .L23+8
	ldr	r3, [r7]
	mov	r5, #16
	add	r4, r4, r3
	ldr	r9, .L23+12
	bl	printk
	ldr	r10, .L23+16
	ldr	r8, .L23+20
	b	.L10
.L22:
	ldr	r2, [r4, #8]
	ldr	r3, [r9]
	tst	r2, r3
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	ldr	r2, [r4, #16]
	ldr	r1, [r10]
	ldr	r3, [r7]
	ldr	r1, [r2, r1, lsl #2]
	ldr	r2, [r4, #12]
	add	r4, r1, r3
.L9:
	mov	r1, r2
	mov	r0, r8
	bl	printk
	subs	r5, r5, #1
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
.L10:
	mov	r1, r4
	mov	r0, r6
	bl	kstack_valid
	cmp	r0, #0
	add	r1, r4, #8
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	mov	r0, r6
	bl	kstack_is_trap_frame
	cmp	r0, #0
	bne	.L22
	ldr	r1, [r4, #4]
	ldr	r3, [r7]
	ldr	r2, [r4]
	add	r4, r1, r3
	b	.L9
.L20:
	ldr	r3, .L23
	.syntax divided
@ 48 "data/linux/arch/sparc/kernel/extr_traps_64.c_show_stack.c" 1
	mov %fp, r4
@ 0 "" 2
	.arm
	.syntax unified
	ldr	r3, [r3]
	cmp	r3, r5
	ldrne	r4, [r0]
	bl	current_thread_info
	cmp	r6, r0
	bne	.L6
.L21:
	bl	flushw_all
	b	.L6
.L24:
	.align	2
.L23:
	.word	current
	.word	STACK_BIAS
	.word	.LC0
	.word	TSTATE_PRIV
	.word	UREG_I6
	.word	.LC1
	.size	show_stack, .-show_stack
	.comm	return_to_handler,4,4
	.comm	current,4,4
	.comm	UREG_I6,4,4
	.comm	TSTATE_PRIV,4,4
	.comm	STACK_BIAS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
