	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_wchan                      ## -- Begin function get_wchan
	.p2align	4, 0x90
_get_wchan:                             ## @get_wchan
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%ebx, %ebx
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movq	%rdi, %r15
	movq	_current@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	je	LBB0_4
## %bb.2:
	movq	(%r15), %rax
	movq	_TASK_RUNNING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
LBB0_3:
	xorl	%ebx, %ebx
LBB0_4:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%r15, %rdi
	callq	_task_stack_page
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	movq	%rax, %r14
	movq	8(%r15), %r15
	cmpq	%rax, %r15
	jb	LBB0_4
## %bb.7:
	movq	_top_esp@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	%r14, %rax
	cmpq	%rax, %r15
	ja	LBB0_3
## %bb.9:
	movl	$17, %r12d
	movq	_top_ebp@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %r15
	cmpq	%r14, %r15
	jb	LBB0_3
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	(%r13), %rax
	addq	%r14, %rax
	cmpq	%rax, %r15
	ja	LBB0_3
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	4(%r15), %rbx
	movq	%rbx, %rdi
	callq	_in_sched_functions
	testl	%eax, %eax
	je	LBB0_4
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	$0, %ebx
	decl	%r12d
	jne	LBB0_10
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_current,8,3                    ## @current
	.comm	_TASK_RUNNING,8,3               ## @TASK_RUNNING
	.comm	_top_esp,8,3                    ## @top_esp
	.comm	_top_ebp,8,3                    ## @top_ebp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_wchan                      ; -- Begin function get_wchan
	.p2align	2
_get_wchan:                             ; @get_wchan
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, #0
	cbz	x0, LBB0_4
; %bb.1:
	mov	x21, x0
Lloh0:
	adrp	x8, _current@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
	b.eq	LBB0_4
; %bb.2:
	ldr	x8, [x21]
Lloh3:
	adrp	x9, _TASK_RUNNING@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TASK_RUNNING@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
LBB0_3:
	mov	x20, #0
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x0, x21
	bl	_task_stack_page
	mov	x20, #0
	cbz	x0, LBB0_4
; %bb.6:
	mov	x19, x0
	ldr	x21, [x21, #8]
	cmp	x21, x0
	b.lo	LBB0_4
; %bb.7:
Lloh6:
	adrp	x8, _top_esp@GOTPAGE
Lloh7:
	ldr	x8, [x8, _top_esp@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	add	x8, x8, x19
	cmp	x21, x8
	b.hi	LBB0_3
; %bb.8:
	mov	w22, #17
Lloh9:
	adrp	x23, _top_ebp@GOTPAGE
Lloh10:
	ldr	x23, [x23, _top_ebp@GOTPAGEOFF]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x21, [x21]
	cmp	x21, x19
	b.lo	LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x23]
	add	x8, x8, x19
	cmp	x21, x8
	b.hi	LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	ldur	x20, [x21, #4]
	mov	x0, x20
	bl	_in_sched_functions
	cbz	w0, LBB0_4
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x20, #0
	subs	w22, w22, #1
	b.ne	LBB0_9
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_current,8,3                    ; @current
	.comm	_TASK_RUNNING,8,3               ; @TASK_RUNNING
	.comm	_top_esp,8,3                    ; @top_esp
	.comm	_top_ebp,8,3                    ; @top_ebp
.subsections_via_symbols
