	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc__app_run                   ## -- Begin function isc__app_run
	.p2align	4, 0x90
_isc__app_run:                          ## @isc__app_run
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_main_thread@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	xorl	%eax, %eax
	callq	_GetCurrentThread
	xorl	%edi, %edi
	cmpq	%rax, %rbx
	sete	%dil
	callq	_REQUIRE
	movq	_lock@GOTPCREL(%rip), %rdi
	callq	_LOCK
	movq	_running@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_4
## %bb.1:
	movq	_ISC_TRUE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
	movq	_on_run@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_ISC_LIST_HEAD
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rax, %rbx
	movq	_ev_link@GOTPCREL(%rip), %r13
	leaq	-56(%rbp), %r14
	leaq	-48(%rbp), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_ISC_LIST_NEXT
	movq	%rax, %rbx
	movl	(%r12), %edi
	movq	-48(%rbp), %rsi
	movl	(%r13), %edx
	callq	_ISC_LIST_UNLINK
	movq	-48(%rbp), %rax
	movq	(%rax), %rcx
	movq	%rcx, -56(%rbp)
	movq	$0, (%rax)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_isc_task_sendanddetach
	movq	%rbx, -48(%rbp)
	testq	%rbx, %rbx
	jne	LBB0_3
LBB0_4:
	movq	_lock@GOTPCREL(%rip), %rdi
	callq	_UNLOCK
	movq	_want_shutdown@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_NUM_EVENTS@GOTPCREL(%rip), %rbx
	movq	_INFINITE@GOTPCREL(%rip), %r12
	movq	_dwWaitResult@GOTPCREL(%rip), %r14
	movq	_want_reload@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rax, %rax
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%rbx), %edi
	movq	_hEvents@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	callq	_WaitForMultipleObjects
	movl	%eax, (%r14)
	movl	(%rbx), %esi
	movl	%eax, %edi
	callq	_WaitSucceeded
	testq	%rax, %rax
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r14), %edi
	callq	_WaitSucceededIndex
	cmpl	$128, %eax
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$129, %eax
	jne	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_ISC_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r13)
	testq	%rax, %rax
	je	LBB0_16
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_ISC_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r13), %rax
	testq	%rax, %rax
	jne	LBB0_14
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.17:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_blocked@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_5
## %bb.18:
	movl	$-1, %edi
	callq	_exit
LBB0_6:
	movq	_ISC_R_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_14:
	movq	_ISC_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r13)
	movq	_ISC_R_RELOAD@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_main_thread,8,3                ## @main_thread
	.comm	_lock,4,2                       ## @lock
	.comm	_running,8,3                    ## @running
	.comm	_ISC_TRUE,8,3                   ## @ISC_TRUE
	.comm	_on_run,4,2                     ## @on_run
	.comm	_ev_link,4,2                    ## @ev_link
	.comm	_want_shutdown,8,3              ## @want_shutdown
	.comm	_NUM_EVENTS,4,2                 ## @NUM_EVENTS
	.comm	_hEvents,4,2                    ## @hEvents
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_INFINITE,4,2                   ## @INFINITE
	.comm	_dwWaitResult,4,2               ## @dwWaitResult
	.comm	_want_reload,8,3                ## @want_reload
	.comm	_ISC_FALSE,8,3                  ## @ISC_FALSE
	.comm	_ISC_R_RELOAD,4,2               ## @ISC_R_RELOAD
	.comm	_blocked,8,3                    ## @blocked
	.comm	_ISC_R_SUCCESS,4,2              ## @ISC_R_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc__app_run                   ; -- Begin function isc__app_run
	.p2align	2
_isc__app_run:                          ; @isc__app_run
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
Lloh0:
	adrp	x8, _main_thread@GOTPAGE
Lloh1:
	ldr	x8, [x8, _main_thread@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
	bl	_GetCurrentThread
	cmp	x19, x0
	cset	w0, eq
	bl	_REQUIRE
Lloh3:
	adrp	x0, _lock@GOTPAGE
Lloh4:
	ldr	x0, [x0, _lock@GOTPAGEOFF]
	bl	_LOCK
Lloh5:
	adrp	x8, _running@GOTPAGE
Lloh6:
	ldr	x8, [x8, _running@GOTPAGEOFF]
	ldr	x9, [x8]
Lloh7:
	adrp	x20, _ISC_TRUE@GOTPAGE
Lloh8:
	ldr	x20, [x20, _ISC_TRUE@GOTPAGEOFF]
	cbnz	x9, LBB0_4
; %bb.1:
	ldr	x9, [x20]
	str	x9, [x8]
Lloh9:
	adrp	x21, _on_run@GOTPAGE
Lloh10:
	ldr	x21, [x21, _on_run@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_ISC_LIST_HEAD
	str	x0, [sp, #8]
	cbz	x0, LBB0_4
; %bb.2:
	mov	x19, x0
Lloh11:
	adrp	x22, _ev_link@GOTPAGE
Lloh12:
	ldr	x22, [x22, _ev_link@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22]
	mov	x0, x19
	bl	_ISC_LIST_NEXT
	mov	x19, x0
	ldr	w0, [x21]
	ldr	x1, [sp, #8]
	ldr	w2, [x22]
	bl	_ISC_LIST_UNLINK
	ldr	x8, [sp, #8]
	ldr	x9, [x8]
	str	x9, [sp]
	str	xzr, [x8]
	mov	x0, sp
	add	x1, sp, #8
	bl	_isc_task_sendanddetach
	str	x19, [sp, #8]
	cbnz	x19, LBB0_3
LBB0_4:
Lloh13:
	adrp	x0, _lock@GOTPAGE
Lloh14:
	ldr	x0, [x0, _lock@GOTPAGEOFF]
	bl	_UNLOCK
Lloh15:
	adrp	x21, _want_shutdown@GOTPAGE
Lloh16:
	ldr	x21, [x21, _want_shutdown@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh17:
	adrp	x19, _ISC_R_SUCCESS@GOTPAGE
Lloh18:
	ldr	x19, [x19, _ISC_R_SUCCESS@GOTPAGEOFF]
Lloh19:
	adrp	x22, _NUM_EVENTS@GOTPAGE
Lloh20:
	ldr	x22, [x22, _NUM_EVENTS@GOTPAGEOFF]
Lloh21:
	adrp	x23, _hEvents@GOTPAGE
Lloh22:
	ldr	x23, [x23, _hEvents@GOTPAGEOFF]
Lloh23:
	adrp	x25, _FALSE@GOTPAGE
Lloh24:
	ldr	x25, [x25, _FALSE@GOTPAGEOFF]
Lloh25:
	adrp	x26, _INFINITE@GOTPAGE
Lloh26:
	ldr	x26, [x26, _INFINITE@GOTPAGEOFF]
Lloh27:
	adrp	x27, _dwWaitResult@GOTPAGE
Lloh28:
	ldr	x27, [x27, _dwWaitResult@GOTPAGEOFF]
Lloh29:
	adrp	x24, _want_reload@GOTPAGE
Lloh30:
	ldr	x24, [x24, _want_reload@GOTPAGEOFF]
Lloh31:
	adrp	x28, _blocked@GOTPAGE
Lloh32:
	ldr	x28, [x28, _blocked@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	cbnz	x8, LBB0_15
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x22]
	ldr	w1, [x23]
	ldr	w2, [x25]
	ldr	w3, [x26]
	bl	_WaitForMultipleObjects
	str	w0, [x27]
	ldr	w1, [x22]
	bl	_WaitSucceeded
	cbz	x0, LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x27]
	bl	_WaitSucceededIndex
	cmp	w0, #128
	b.eq	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w0, #129
	b.ne	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x20]
	str	x8, [x24]
	cbz	x8, LBB0_12
	b	LBB0_14
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x20]
	str	x8, [x21]
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x24]
	cbnz	x8, LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x21]
	ldr	x9, [x28]
	cmp	x8, #0
	ccmp	x9, #0, #4, ne
	b.eq	LBB0_5
; %bb.13:
	mov	w0, #-1
	bl	_exit
LBB0_14:
Lloh33:
	adrp	x8, _ISC_FALSE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ISC_FALSE@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	str	x8, [x24]
Lloh36:
	adrp	x19, _ISC_R_RELOAD@GOTPAGE
Lloh37:
	ldr	x19, [x19, _ISC_R_RELOAD@GOTPAGEOFF]
LBB0_15:
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_main_thread,8,3                ; @main_thread
	.comm	_lock,4,2                       ; @lock
	.comm	_running,8,3                    ; @running
	.comm	_ISC_TRUE,8,3                   ; @ISC_TRUE
	.comm	_on_run,4,2                     ; @on_run
	.comm	_ev_link,4,2                    ; @ev_link
	.comm	_want_shutdown,8,3              ; @want_shutdown
	.comm	_NUM_EVENTS,4,2                 ; @NUM_EVENTS
	.comm	_hEvents,4,2                    ; @hEvents
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_INFINITE,4,2                   ; @INFINITE
	.comm	_dwWaitResult,4,2               ; @dwWaitResult
	.comm	_want_reload,8,3                ; @want_reload
	.comm	_ISC_FALSE,8,3                  ; @ISC_FALSE
	.comm	_ISC_R_RELOAD,4,2               ; @ISC_R_RELOAD
	.comm	_blocked,8,3                    ; @blocked
	.comm	_ISC_R_SUCCESS,4,2              ; @ISC_R_SUCCESS
.subsections_via_symbols
