	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dispatch
_dispatch:                              ## @dispatch
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_VALID_MANAGER
	movl	%eax, %edi
	callq	_REQUIRE
	callq	_ISC_LIST_INIT
	callq	_ISC_LIST_INIT
	leaq	4(%r15), %rbx
	movq	%rbx, %rdi
	callq	_LOCK
	movq	%r15, %rdi
	callq	_FINISHED
	testl	%eax, %eax
	jne	LBB0_30
## %bb.1:
	movq	_DEFAULT_TASKMGR_QUANTUM@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_30
## %bb.2:
	xorl	%r13d, %r13d
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	%r15, %rdi
	callq	_empty_readyq
	testq	%rax, %rax
	jne	LBB0_30
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_isc_msgcat@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_ISC_MSGSET_TASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ISC_MSG_WORKING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	callq	_isc_msgcat_get
	movl	%eax, %edi
	callq	_XTHREADTRACE
	movq	%r15, %rdi
	callq	_pop_readyq
	testq	%rax, %rax
	je	LBB0_28
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r14
	movq	_ISC_FALSE@GOTPCREL(%rip), %rax
	movq	%rbx, %r12
	movq	(%rax), %rbx
	movq	%r14, %rdi
	callq	_VALID_TASK
	movl	%eax, %edi
	callq	_INSIST
	incl	(%r15)
	movq	%r12, %rdi
	callq	_UNLOCK
	leaq	24(%r14), %rdi
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	callq	_LOCK
	movq	(%r14), %rax
	xorl	%edi, %edi
	movq	_task_state_ready@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_INSIST
	movq	_task_state_running@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movq	_isc_msgcat@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_ISC_MSGSET_GENERAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ISC_MSG_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rcx
	callq	_isc_msgcat_get
	movl	%eax, %edi
	callq	_XTRACE
	movq	%r14, %rdi
	addq	$32, %rdi
	callq	_isc_stdtime_get
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	_ISC_TRUE@GOTPCREL(%rip), %r15
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	_task_state_idle@GOTPCREL(%rip), %rcx
LBB0_19:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	(%rcx), %rax
	movq	%rax, (%r14)
	movq	(%r15), %rbx
LBB0_22:                                ##   in Loop: Header=BB0_6 Depth=2
	testq	%rbx, %rbx
	movl	$0, %ebx
	jne	LBB0_23
LBB0_6:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	28(%r14), %edi
	callq	_EMPTY
	testq	%rax, %rax
	je	LBB0_7
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=2
	cmpq	$0, 8(%r14)
	jne	LBB0_14
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_6 Depth=2
	movq	%r13, %r15
	movl	28(%r14), %edi
	callq	_HEAD
	movq	%rax, %r13
	movl	28(%r14), %edi
	movq	_ev_link@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rsi
	callq	_DEQUEUE
	movl	(%r12), %edi
	movq	_ISC_MSGSET_TASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ISC_MSG_EXECUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rcx
	callq	_isc_msgcat_get
	movl	%eax, %edi
	callq	_XTRACE
	cmpq	$0, (%r13)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_UNLOCK
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	*(%r13)
	movq	%r12, %rdi
	callq	_LOCK
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=2
	incl	-44(%rbp)                       ## 4-byte Folded Spill
	movq	%r15, %r13
	incl	%r13d
	movq	_isc_msgcat@GOTPCREL(%rip), %r12
	movq	_ISC_TRUE@GOTPCREL(%rip), %r15
	cmpq	$0, 8(%r14)
	jne	LBB0_14
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=2
	movl	28(%r14), %edi
	callq	_EMPTY
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	%r14, %rdi
	callq	_TASK_SHUTTINGDOWN
	testq	%rax, %rax
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	%r14, %rdi
	callq	_task_shutdown
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_INSIST
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=2
	movl	28(%r14), %edi
	callq	_EMPTY
	testq	%rax, %rax
	je	LBB0_20
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=2
	movl	(%r12), %edi
	movq	_ISC_MSGSET_TASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ISC_MSG_EMPTY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rcx
	callq	_isc_msgcat_get
	movl	%eax, %edi
	callq	_XTRACE
	cmpq	$0, 8(%r14)
	jne	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	%r14, %rdi
	callq	_TASK_SHUTTINGDOWN
	movq	_task_state_idle@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_6 Depth=2
	movl	(%r12), %edi
	movq	_ISC_MSGSET_TASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ISC_MSG_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.4(%rip), %rcx
	callq	_isc_msgcat_get
	movl	%eax, %edi
	callq	_XTRACE
	movq	(%r15), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_task_state_done@GOTPCREL(%rip), %rcx
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_6 Depth=2
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	16(%r14), %eax
	jb	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_6 Depth=2
	movl	(%r12), %edi
	movq	_ISC_MSGSET_TASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ISC_MSG_QUANTUM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.5(%rip), %rcx
	callq	_isc_msgcat_get
	movl	%eax, %edi
	callq	_XTRACE
	movq	_task_state_ready@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movq	(%r15), %rbx
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_UNLOCK
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	callq	_task_finished
LBB0_25:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_LOCK
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	decl	(%r15)
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_28
## %bb.26:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_ready_link@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	callq	_ENQUEUE
	movq	_TASK_F_PRIVILEGED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 20(%r14)
	je	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_ready_priority_link@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	callq	_ENQUEUE
LBB0_28:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_FINISHED
	testl	%eax, %eax
	jne	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_DEFAULT_TASKMGR_QUANTUM@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jb	LBB0_3
LBB0_30:
	movl	20(%r15), %edi
	movq	_ready_link@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_ISC_LIST_APPENDLIST
	movl	16(%r15), %edi
	movq	_ready_priority_link@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_ISC_LIST_APPENDLIST
	movq	%r15, %rdi
	callq	_empty_readyq
	testq	%rax, %rax
	je	LBB0_32
## %bb.31:
	movq	_isc_taskmgrmode_normal@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r15)
LBB0_32:
	movq	%rbx, %rdi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_UNLOCK                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DEFAULT_TASKMGR_QUANTUM,4,2    ## @DEFAULT_TASKMGR_QUANTUM
	.comm	_isc_msgcat,4,2                 ## @isc_msgcat
	.comm	_ISC_MSGSET_TASK,4,2            ## @ISC_MSGSET_TASK
	.comm	_ISC_MSG_WORKING,4,2            ## @ISC_MSG_WORKING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"working"

	.comm	_ISC_FALSE,8,3                  ## @ISC_FALSE
	.comm	_task_state_ready,8,3           ## @task_state_ready
	.comm	_task_state_running,8,3         ## @task_state_running
	.comm	_ISC_MSGSET_GENERAL,4,2         ## @ISC_MSGSET_GENERAL
	.comm	_ISC_MSG_RUNNING,4,2            ## @ISC_MSG_RUNNING
L_.str.1:                               ## @.str.1
	.asciz	"running"

	.comm	_ev_link,4,2                    ## @ev_link
	.comm	_ISC_MSG_EXECUTE,4,2            ## @ISC_MSG_EXECUTE
L_.str.2:                               ## @.str.2
	.asciz	"execute action"

	.comm	_ISC_MSG_EMPTY,4,2              ## @ISC_MSG_EMPTY
L_.str.3:                               ## @.str.3
	.asciz	"empty"

	.comm	_ISC_MSG_DONE,4,2               ## @ISC_MSG_DONE
L_.str.4:                               ## @.str.4
	.asciz	"done"

	.comm	_ISC_TRUE,8,3                   ## @ISC_TRUE
	.comm	_task_state_done,8,3            ## @task_state_done
	.comm	_task_state_idle,8,3            ## @task_state_idle
	.comm	_ISC_MSG_QUANTUM,4,2            ## @ISC_MSG_QUANTUM
L_.str.5:                               ## @.str.5
	.asciz	"quantum"

	.comm	_ready_link,4,2                 ## @ready_link
	.comm	_TASK_F_PRIVILEGED,4,2          ## @TASK_F_PRIVILEGED
	.comm	_ready_priority_link,4,2        ## @ready_priority_link
	.comm	_isc_taskmgrmode_normal,8,3     ## @isc_taskmgrmode_normal
	.comm	_ISC_MSG_AWAKE,4,2              ## @ISC_MSG_AWAKE
	.comm	_ISC_MSG_WAIT,4,2               ## @ISC_MSG_WAIT
	.no_dead_strip	_dispatch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dispatch
_dispatch:                              ; @dispatch
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	bl	_VALID_MANAGER
	bl	_REQUIRE
	bl	_ISC_LIST_INIT
	bl	_ISC_LIST_INIT
	add	x22, x19, #4
	mov	x0, x22
	bl	_LOCK
	mov	x0, x19
	bl	_FINISHED
	cbnz	w0, LBB0_30
; %bb.1:
Lloh0:
	adrp	x8, _DEFAULT_TASKMGR_QUANTUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEFAULT_TASKMGR_QUANTUM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_30
; %bb.2:
	mov	w21, #0
Lloh3:
	adrp	x20, _isc_msgcat@GOTPAGE
Lloh4:
	ldr	x20, [x20, _isc_msgcat@GOTPAGEOFF]
Lloh5:
	adrp	x26, _ISC_MSGSET_TASK@GOTPAGE
Lloh6:
	ldr	x26, [x26, _ISC_MSGSET_TASK@GOTPAGEOFF]
Lloh7:
	adrp	x24, _ISC_TRUE@GOTPAGE
Lloh8:
	ldr	x24, [x24, _ISC_TRUE@GOTPAGEOFF]
	stp	x22, x19, [sp, #8]              ; 16-byte Folded Spill
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	mov	x0, x19
	bl	_empty_readyq
	cbnz	x0, LBB0_30
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x20]
	ldr	w1, [x26]
Lloh9:
	adrp	x8, _ISC_MSG_WORKING@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ISC_MSG_WORKING@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x3, l_.str@PAGE
Lloh13:
	add	x3, x3, l_.str@PAGEOFF
	bl	_isc_msgcat_get
	bl	_XTHREADTRACE
	mov	x0, x19
	bl	_pop_readyq
	cbz	x0, LBB0_28
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x27, x0
Lloh14:
	adrp	x8, _ISC_FALSE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ISC_FALSE@GOTPAGEOFF]
Lloh16:
	ldr	x23, [x8]
	bl	_VALID_TASK
	bl	_INSIST
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	mov	x0, x22
	bl	_UNLOCK
	add	x28, x27, #24
	mov	x0, x28
	bl	_LOCK
	ldr	x8, [x27]
Lloh17:
	adrp	x9, _task_state_ready@GOTPAGE
Lloh18:
	ldr	x9, [x9, _task_state_ready@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_INSIST
Lloh20:
	adrp	x8, _task_state_running@GOTPAGE
Lloh21:
	ldr	x8, [x8, _task_state_running@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	mov	x22, x27
	str	x8, [x22], #32
	ldr	w0, [x20]
Lloh23:
	adrp	x8, _ISC_MSGSET_GENERAL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ISC_MSGSET_GENERAL@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
Lloh26:
	adrp	x8, _ISC_MSG_RUNNING@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ISC_MSG_RUNNING@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
Lloh29:
	adrp	x3, l_.str.1@PAGE
Lloh30:
	add	x3, x3, l_.str.1@PAGEOFF
	bl	_isc_msgcat_get
	bl	_XTRACE
	mov	x0, x22
	bl	_isc_stdtime_get
	mov	w19, #0
	mov	x25, x23
	str	x23, [sp, #24]                  ; 8-byte Folded Spill
	b	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_9 Depth=2
Lloh31:
	adrp	x8, _task_state_idle@GOTPAGE
Lloh32:
	ldr	x8, [x8, _task_state_idle@GOTPAGEOFF]
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=2
	ldr	x8, [x8]
	str	x8, [x27]
	ldr	x23, [x24]
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	mov	x8, x23
	mov	x23, #0
	cbnz	x8, LBB0_23
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x27, #28]
	bl	_EMPTY
	cbz	x0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	x8, [x27, #8]
	cbnz	x8, LBB0_17
	b	LBB0_14
LBB0_11:                                ;   in Loop: Header=BB0_9 Depth=2
	ldr	w0, [x27, #28]
	bl	_HEAD
	mov	x22, x0
	ldr	w0, [x27, #28]
Lloh33:
	adrp	x8, _ev_link@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ev_link@GOTPAGEOFF]
Lloh35:
	ldr	w2, [x8]
	mov	x1, x22
	bl	_DEQUEUE
	ldr	w0, [x20]
	ldr	w1, [x26]
Lloh36:
	adrp	x8, _ISC_MSG_EXECUTE@GOTPAGE
Lloh37:
	ldr	x8, [x8, _ISC_MSG_EXECUTE@GOTPAGEOFF]
Lloh38:
	ldr	w2, [x8]
Lloh39:
	adrp	x3, l_.str.2@PAGE
Lloh40:
	add	x3, x3, l_.str.2@PAGEOFF
	bl	_isc_msgcat_get
	bl	_XTRACE
	ldr	x8, [x22]
	cbz	x8, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x28
	bl	_UNLOCK
	ldr	x8, [x22]
	mov	x0, x27
	mov	x1, x22
	blr	x8
	mov	x0, x28
	bl	_LOCK
LBB0_13:                                ;   in Loop: Header=BB0_9 Depth=2
	add	w19, w19, #1
	add	w21, w21, #1
	ldr	x8, [x27, #8]
	cbnz	x8, LBB0_17
LBB0_14:                                ;   in Loop: Header=BB0_9 Depth=2
	ldr	w0, [x27, #28]
	bl	_EMPTY
	cbz	x0, LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x27
	bl	_TASK_SHUTTINGDOWN
	cbnz	x0, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x27
	bl	_task_shutdown
	cmp	x0, #0
	cset	w0, eq
	bl	_INSIST
LBB0_17:                                ;   in Loop: Header=BB0_9 Depth=2
	ldr	w0, [x27, #28]
	bl	_EMPTY
	cbz	x0, LBB0_21
; %bb.18:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	w0, [x20]
	ldr	w1, [x26]
Lloh41:
	adrp	x8, _ISC_MSG_EMPTY@GOTPAGE
Lloh42:
	ldr	x8, [x8, _ISC_MSG_EMPTY@GOTPAGEOFF]
Lloh43:
	ldr	w2, [x8]
Lloh44:
	adrp	x3, l_.str.3@PAGE
Lloh45:
	add	x3, x3, l_.str.3@PAGEOFF
	bl	_isc_msgcat_get
	bl	_XTRACE
	ldr	x8, [x27, #8]
	cbnz	x8, LBB0_6
; %bb.19:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x27
	bl	_TASK_SHUTTINGDOWN
	cbz	x0, LBB0_6
; %bb.20:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	w0, [x20]
	ldr	w1, [x26]
Lloh46:
	adrp	x8, _ISC_MSG_DONE@GOTPAGE
Lloh47:
	ldr	x8, [x8, _ISC_MSG_DONE@GOTPAGEOFF]
Lloh48:
	ldr	w2, [x8]
Lloh49:
	adrp	x3, l_.str.4@PAGE
Lloh50:
	add	x3, x3, l_.str.4@PAGEOFF
	bl	_isc_msgcat_get
	bl	_XTRACE
	ldr	x8, [x24]
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
Lloh51:
	adrp	x8, _task_state_done@GOTPAGE
Lloh52:
	ldr	x8, [x8, _task_state_done@GOTPAGEOFF]
	b	LBB0_7
LBB0_21:                                ;   in Loop: Header=BB0_9 Depth=2
	ldr	w8, [x27, #16]
	cmp	w19, w8
	b.lo	LBB0_8
; %bb.22:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	w0, [x20]
	ldr	w1, [x26]
Lloh53:
	adrp	x8, _ISC_MSG_QUANTUM@GOTPAGE
Lloh54:
	ldr	x8, [x8, _ISC_MSG_QUANTUM@GOTPAGEOFF]
Lloh55:
	ldr	w2, [x8]
Lloh56:
	adrp	x3, l_.str.5@PAGE
Lloh57:
	add	x3, x3, l_.str.5@PAGEOFF
	bl	_isc_msgcat_get
	bl	_XTRACE
Lloh58:
	adrp	x8, _task_state_ready@GOTPAGE
Lloh59:
	ldr	x8, [x8, _task_state_ready@GOTPAGEOFF]
Lloh60:
	ldr	x8, [x8]
	str	x8, [x27]
	ldr	x23, [x24]
	mov	x25, x23
	b	LBB0_8
LBB0_23:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x28
	bl	_UNLOCK
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	cbz	x8, LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x27
	bl	_task_finished
LBB0_25:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x22, [sp, #8]                   ; 8-byte Folded Reload
	mov	x0, x22
	bl	_LOCK
	ldr	x19, [sp, #16]                  ; 8-byte Folded Reload
	ldr	w8, [x19]
	sub	w8, w8, #1
	str	w8, [x19]
	cbz	x25, LBB0_28
; %bb.26:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh61:
	adrp	x8, _ready_link@GOTPAGE
Lloh62:
	ldr	x8, [x8, _ready_link@GOTPAGEOFF]
Lloh63:
	ldr	w2, [x8]
	mov	x1, x27
	bl	_ENQUEUE
	ldr	w8, [x27, #20]
Lloh64:
	adrp	x9, _TASK_F_PRIVILEGED@GOTPAGE
Lloh65:
	ldr	x9, [x9, _TASK_F_PRIVILEGED@GOTPAGEOFF]
Lloh66:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh67:
	adrp	x8, _ready_priority_link@GOTPAGE
Lloh68:
	ldr	x8, [x8, _ready_priority_link@GOTPAGEOFF]
Lloh69:
	ldr	w2, [x8]
	mov	x1, x27
	bl	_ENQUEUE
LBB0_28:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_FINISHED
	cbnz	w0, LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh70:
	adrp	x8, _DEFAULT_TASKMGR_QUANTUM@GOTPAGE
Lloh71:
	ldr	x8, [x8, _DEFAULT_TASKMGR_QUANTUM@GOTPAGEOFF]
Lloh72:
	ldr	w8, [x8]
	cmp	w21, w8
	b.lo	LBB0_3
LBB0_30:
	ldr	w0, [x19, #20]
Lloh73:
	adrp	x8, _ready_link@GOTPAGE
Lloh74:
	ldr	x8, [x8, _ready_link@GOTPAGEOFF]
Lloh75:
	ldr	w2, [x8]
	bl	_ISC_LIST_APPENDLIST
	ldr	w0, [x19, #16]
Lloh76:
	adrp	x8, _ready_priority_link@GOTPAGE
Lloh77:
	ldr	x8, [x8, _ready_priority_link@GOTPAGEOFF]
Lloh78:
	ldr	w2, [x8]
	bl	_ISC_LIST_APPENDLIST
	mov	x0, x19
	bl	_empty_readyq
	cbz	x0, LBB0_32
; %bb.31:
Lloh79:
	adrp	x8, _isc_taskmgrmode_normal@GOTPAGE
Lloh80:
	ldr	x8, [x8, _isc_taskmgrmode_normal@GOTPAGEOFF]
Lloh81:
	ldr	x8, [x8]
	str	x8, [x19, #8]
LBB0_32:
	mov	x0, x22
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_UNLOCK
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.cfi_endproc
                                        ; -- End function
	.comm	_DEFAULT_TASKMGR_QUANTUM,4,2    ; @DEFAULT_TASKMGR_QUANTUM
	.comm	_isc_msgcat,4,2                 ; @isc_msgcat
	.comm	_ISC_MSGSET_TASK,4,2            ; @ISC_MSGSET_TASK
	.comm	_ISC_MSG_WORKING,4,2            ; @ISC_MSG_WORKING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"working"

	.comm	_ISC_FALSE,8,3                  ; @ISC_FALSE
	.comm	_task_state_ready,8,3           ; @task_state_ready
	.comm	_task_state_running,8,3         ; @task_state_running
	.comm	_ISC_MSGSET_GENERAL,4,2         ; @ISC_MSGSET_GENERAL
	.comm	_ISC_MSG_RUNNING,4,2            ; @ISC_MSG_RUNNING
l_.str.1:                               ; @.str.1
	.asciz	"running"

	.comm	_ev_link,4,2                    ; @ev_link
	.comm	_ISC_MSG_EXECUTE,4,2            ; @ISC_MSG_EXECUTE
l_.str.2:                               ; @.str.2
	.asciz	"execute action"

	.comm	_ISC_MSG_EMPTY,4,2              ; @ISC_MSG_EMPTY
l_.str.3:                               ; @.str.3
	.asciz	"empty"

	.comm	_ISC_MSG_DONE,4,2               ; @ISC_MSG_DONE
l_.str.4:                               ; @.str.4
	.asciz	"done"

	.comm	_ISC_TRUE,8,3                   ; @ISC_TRUE
	.comm	_task_state_done,8,3            ; @task_state_done
	.comm	_task_state_idle,8,3            ; @task_state_idle
	.comm	_ISC_MSG_QUANTUM,4,2            ; @ISC_MSG_QUANTUM
l_.str.5:                               ; @.str.5
	.asciz	"quantum"

	.comm	_ready_link,4,2                 ; @ready_link
	.comm	_TASK_F_PRIVILEGED,4,2          ; @TASK_F_PRIVILEGED
	.comm	_ready_priority_link,4,2        ; @ready_priority_link
	.comm	_isc_taskmgrmode_normal,8,3     ; @isc_taskmgrmode_normal
	.comm	_ISC_MSG_AWAKE,4,2              ; @ISC_MSG_AWAKE
	.comm	_ISC_MSG_WAIT,4,2               ; @ISC_MSG_WAIT
	.no_dead_strip	_dispatch
.subsections_via_symbols
