	.file	"extr_process.c_get_wchan.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	get_wchan
	.type	get_wchan, @function
get_wchan:
.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
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	test	rdi, rdi
	je	.L4
	cmp	QWORD PTR current[rip], rdi
	mov	rbp, rdi
	je	.L4
	mov	rax, QWORD PTR TASK_RUNNING[rip]
	cmp	QWORD PTR [rdi], rax
	je	.L4
	call	try_get_task_stack@PLT
	test	rax, rax
	je	.L4
	mov	rdi, rbp
	mov	r12, rsp
	mov	ebx, 17
	call	thread_saved_pc@PLT
	mov	rdi, rbp
	mov	r13d, eax
	call	thread_saved_fp@PLT
	mov	edx, r13d
	mov	rdi, r12
	mov	esi, eax
	call	start_backtrace@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rsi, r12
	mov	rdi, rbp
	call	unwind_frame@PLT
	test	rax, rax
	jne	.L5
	mov	rdi, QWORD PTR [rsp]
	call	in_sched_functions@PLT
	test	eax, eax
	je	.L16
	sub	ebx, 1
	jne	.L8
.L5:
	xor	r12d, r12d
.L7:
	mov	rdi, rbp
	call	put_task_stack@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	xor	r12d, r12d
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L17
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	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
.L16:
	.cfi_restore_state
	mov	r12, QWORD PTR [rsp]
	jmp	.L7
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	get_wchan, .-get_wchan
	.comm	current,8,8
	.comm	TASK_RUNNING,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_process.c_get_wchan.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_wchan
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_wchan, %function
get_wchan:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L18
	sub	sp, sp, #12
	subs	r4, r0, #0
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	beq	.L4
	ldr	r3, .L18+4
	ldr	r3, [r3]
	cmp	r3, r4
	beq	.L4
	ldr	r3, .L18+8
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L4
	bl	try_get_task_stack
	cmp	r0, #0
	beq	.L4
	mov	r0, r4
	bl	thread_saved_fp
	mov	r5, r0
	mov	r0, r4
	bl	thread_saved_pc
	mov	r1, r5
	mov	r2, r0
	mov	r0, sp
	bl	start_backtrace
	mov	r5, #17
.L8:
	mov	r1, sp
	mov	r0, r4
	bl	unwind_frame
	cmp	r0, #0
	bne	.L5
	ldr	r0, [sp]
	bl	in_sched_functions
	cmp	r0, #0
	beq	.L16
	subs	r5, r5, #1
	bne	.L8
.L5:
	mov	r5, #0
.L7:
	mov	r0, r4
	bl	put_task_stack
	b	.L1
.L4:
	mov	r5, #0
.L1:
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L16:
	ldr	r5, [sp]
	b	.L7
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC0
	.word	current
	.word	TASK_RUNNING
	.size	get_wchan, .-get_wchan
	.comm	current,4,4
	.comm	TASK_RUNNING,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
