	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc__nothread_wait_hack        ## -- Begin function isc__nothread_wait_hack
	.p2align	4, 0x90
_isc__nothread_wait_hack:               ## @isc__nothread_wait_hack
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	callq	_UNUSED
	movq	%rbx, %rdi
	callq	_UNUSED
	movq	_in_recursive_evloop@GOTPCREL(%rip), %r15
	xorl	%edi, %edi
	cmpq	$0, (%r15)
	sete	%dil
	callq	_INSIST
	movq	_ISC_TRUE@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	%rax, (%r15)
	xorl	%edi, %edi
	cmpl	$1, (%rbx)
	sete	%dil
	callq	_INSIST
	decl	(%rbx)
	movq	_isc_g_appctx@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_evloop
	movq	_ISC_R_RELOAD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	(%r12), %rax
	movq	%rax, 8(%r14)
LBB0_2:
	movq	_signalled@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	movq	_ISC_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	je	LBB0_4
## %bb.3:
	movq	%rax, (%r14)
	movq	%rax, (%rcx)
LBB0_4:
	incl	(%rbx)
	movq	%rax, (%r15)
	movq	_ISC_R_SUCCESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_in_recursive_evloop,8,3        ## @in_recursive_evloop
	.comm	_ISC_TRUE,8,3                   ## @ISC_TRUE
	.comm	_isc_g_appctx,16,3              ## @isc_g_appctx
	.comm	_ISC_R_RELOAD,8,3               ## @ISC_R_RELOAD
	.comm	_signalled,8,3                  ## @signalled
	.comm	_ISC_FALSE,8,3                  ## @ISC_FALSE
	.comm	_ISC_R_SUCCESS,8,3              ## @ISC_R_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc__nothread_wait_hack        ; -- Begin function isc__nothread_wait_hack
	.p2align	2
_isc__nothread_wait_hack:               ; @isc__nothread_wait_hack
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	bl	_UNUSED
	mov	x0, x19
	bl	_UNUSED
Lloh0:
	adrp	x21, _in_recursive_evloop@GOTPAGE
Lloh1:
	ldr	x21, [x21, _in_recursive_evloop@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x8, #0
	cset	w0, eq
	bl	_INSIST
Lloh2:
	adrp	x22, _ISC_TRUE@GOTPAGE
Lloh3:
	ldr	x22, [x22, _ISC_TRUE@GOTPAGEOFF]
	ldr	x8, [x22]
	str	x8, [x21]
	ldr	w8, [x19]
	cmp	w8, #1
	cset	w0, eq
	bl	_INSIST
	ldr	w8, [x19]
	sub	w8, w8, #1
	str	w8, [x19]
Lloh4:
	adrp	x20, _isc_g_appctx@GOTPAGE
Lloh5:
	ldr	x20, [x20, _isc_g_appctx@GOTPAGEOFF]
	mov	x0, x20
	bl	_evloop
Lloh6:
	adrp	x8, _ISC_R_RELOAD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ISC_R_RELOAD@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x22]
	str	x8, [x20, #8]
LBB0_2:
Lloh9:
	adrp	x9, _signalled@GOTPAGE
Lloh10:
	ldr	x9, [x9, _signalled@GOTPAGEOFF]
	ldr	x10, [x9]
Lloh11:
	adrp	x8, _ISC_FALSE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ISC_FALSE@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cbz	x10, LBB0_4
; %bb.3:
	str	x8, [x20]
	str	x8, [x9]
LBB0_4:
	ldr	w9, [x19]
	add	w9, w9, #1
	str	w9, [x19]
	str	x8, [x21]
Lloh14:
	adrp	x8, _ISC_R_SUCCESS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ISC_R_SUCCESS@GOTPAGEOFF]
Lloh16:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_in_recursive_evloop,8,3        ; @in_recursive_evloop
	.comm	_ISC_TRUE,8,3                   ; @ISC_TRUE
	.comm	_isc_g_appctx,16,3              ; @isc_g_appctx
	.comm	_ISC_R_RELOAD,8,3               ; @ISC_R_RELOAD
	.comm	_signalled,8,3                  ; @signalled
	.comm	_ISC_FALSE,8,3                  ; @ISC_FALSE
	.comm	_ISC_R_SUCCESS,8,3              ; @ISC_R_SUCCESS
.subsections_via_symbols
