	.file	"extr_process_32.c_get_wchan.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	get_wchan
	.type	get_wchan, @function
get_wchan:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	test	rdi, rdi
	je	.L4
	cmp	QWORD PTR current[rip], rdi
	mov	r13, rdi
	je	.L4
	mov	rax, QWORD PTR TASK_RUNNING[rip]
	cmp	QWORD PTR [rdi], rax
	je	.L4
	call	task_thread_info@PLT
	lea	r12, 4[r13]
	mov	ebp, 16
	mov	rbx, QWORD PTR [rax]
	.p2align 4,,10
	.p2align 3
.L5:
	cmp	rbx, r12
	jb	.L4
	mov	eax, DWORD PTR PAGE_SIZE[rip]
	add	eax, eax
	cdqe
	add	rax, r13
	cmp	rax, rbx
	jbe	.L4
	mov	rax, QWORD PTR [rbx]
	mov	r14, QWORD PTR 56[rax]
	mov	rdi, r14
	call	in_sched_functions@PLT
	test	eax, eax
	je	.L1
	mov	rax, QWORD PTR [rbx]
	mov	rbx, QWORD PTR 48[rax]
	sub	ebp, 1
	jne	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	xor	r14d, r14d
.L3:
.L1:
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	rax, r14
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	get_wchan, .-get_wchan
	.comm	current,8,8
	.comm	TASK_RUNNING,8,8
	.comm	PAGE_SIZE,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_process_32.c_get_wchan.c"
	.text
	.align	2
	.global	get_wchan
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_wchan, %function
get_wchan:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	subs	r6, r0, #0
	beq	.L4
	ldr	r3, .L12
	ldr	r3, [r3]
	cmp	r3, r6
	beq	.L4
	ldr	r3, .L12+4
	ldr	r2, [r6]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L4
	bl	task_thread_info
	mov	r5, #16
	ldr	r4, [r0]
	ldr	r9, .L12+8
	add	r8, r6, #4
.L5:
	cmp	r4, r8
	bcc	.L4
	ldr	r3, [r9]
	add	r3, r6, r3, lsl #1
	cmp	r3, r4
	bls	.L4
	ldr	r3, [r4]
	ldr	r7, [r3, #28]
	mov	r0, r7
	bl	in_sched_functions
	cmp	r0, #0
	beq	.L1
	ldr	r3, [r4]
	subs	r5, r5, #1
	ldr	r4, [r3, #24]
	bne	.L5
.L4:
	mov	r7, #0
.L3:
.L1:
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L13:
	.align	2
.L12:
	.word	current
	.word	TASK_RUNNING
	.word	PAGE_SIZE
	.size	get_wchan, .-get_wchan
	.comm	current,4,4
	.comm	TASK_RUNNING,4,4
	.comm	PAGE_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
