	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc__app_shutdown              ## -- Begin function isc__app_shutdown
	.p2align	4, 0x90
_isc__app_shutdown:                     ## @isc__app_shutdown
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_ISC_TRUE@GOTPCREL(%rip), %r14
	movq	(%r14), %rbx
	movq	_lock@GOTPCREL(%rip), %rdi
	callq	_LOCK
	movq	_running@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_REQUIRE
	movq	_shutdown_requested@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_ISC_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_3
LBB0_2:
	movq	(%r14), %rcx
	movq	%rcx, (%rax)
LBB0_3:
	movq	_lock@GOTPCREL(%rip), %rdi
	callq	_UNLOCK
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.4:
	movq	_hEvents@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_SHUTDOWN_EVENT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_SetEvent
LBB0_5:
	movq	_ISC_R_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISC_TRUE,8,3                   ## @ISC_TRUE
	.comm	_lock,4,2                       ## @lock
	.comm	_running,4,2                    ## @running
	.comm	_shutdown_requested,8,3         ## @shutdown_requested
	.comm	_ISC_FALSE,8,3                  ## @ISC_FALSE
	.comm	_hEvents,8,3                    ## @hEvents
	.comm	_SHUTDOWN_EVENT,8,3             ## @SHUTDOWN_EVENT
	.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_shutdown              ; -- Begin function isc__app_shutdown
	.p2align	2
_isc__app_shutdown:                     ; @isc__app_shutdown
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x20, _ISC_TRUE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ISC_TRUE@GOTPAGEOFF]
	ldr	x19, [x20]
Lloh2:
	adrp	x0, _lock@GOTPAGE
Lloh3:
	ldr	x0, [x0, _lock@GOTPAGEOFF]
	bl	_LOCK
Lloh4:
	adrp	x8, _running@GOTPAGE
Lloh5:
	ldr	x8, [x8, _running@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_REQUIRE
Lloh7:
	adrp	x8, _shutdown_requested@GOTPAGE
Lloh8:
	ldr	x8, [x8, _shutdown_requested@GOTPAGEOFF]
	ldr	x9, [x8]
	cbz	x9, LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _ISC_FALSE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ISC_FALSE@GOTPAGEOFF]
Lloh11:
	ldr	x19, [x8]
	b	LBB0_3
LBB0_2:
	ldr	x9, [x20]
	str	x9, [x8]
LBB0_3:
Lloh12:
	adrp	x0, _lock@GOTPAGE
Lloh13:
	ldr	x0, [x0, _lock@GOTPAGEOFF]
	bl	_UNLOCK
	cbz	x19, LBB0_5
; %bb.4:
Lloh14:
	adrp	x8, _hEvents@GOTPAGE
Lloh15:
	ldr	x8, [x8, _hEvents@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
Lloh17:
	adrp	x9, _SHUTDOWN_EVENT@GOTPAGE
Lloh18:
	ldr	x9, [x9, _SHUTDOWN_EVENT@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	bl	_SetEvent
LBB0_5:
Lloh20:
	adrp	x8, _ISC_R_SUCCESS@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ISC_R_SUCCESS@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_ISC_TRUE,8,3                   ; @ISC_TRUE
	.comm	_lock,4,2                       ; @lock
	.comm	_running,4,2                    ; @running
	.comm	_shutdown_requested,8,3         ; @shutdown_requested
	.comm	_ISC_FALSE,8,3                  ; @ISC_FALSE
	.comm	_hEvents,8,3                    ; @hEvents
	.comm	_SHUTDOWN_EVENT,8,3             ; @SHUTDOWN_EVENT
	.comm	_ISC_R_SUCCESS,4,2              ; @ISC_R_SUCCESS
.subsections_via_symbols
