	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_exit_conditions          ## -- Begin function check_exit_conditions
	.p2align	4, 0x90
_check_exit_conditions:                 ## @check_exit_conditions
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_n_pending_ntp@GOTPCREL(%rip), %rax
	movq	_n_pending_dns@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	(%rax), %rax
	orq	%rsi, %rax
	jne	LBB0_1
LBB0_5:
	movq	_base@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_event_base_loopexit
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_shutting_down@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	movq	_time_derived@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.2:
	movq	_WAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_HAVE_OPT
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movq	(%rbx), %rsi
LBB0_4:
	movl	$2, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_TRACE                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_n_pending_ntp,8,3              ## @n_pending_ntp
	.comm	_n_pending_dns,8,3              ## @n_pending_dns
	.comm	_time_derived,8,3               ## @time_derived
	.comm	_WAIT,4,2                       ## @WAIT
	.comm	_base,4,2                       ## @base
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_shutting_down,4,2              ## @shutting_down
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_exit_conditions          ; -- Begin function check_exit_conditions
	.p2align	2
_check_exit_conditions:                 ; @check_exit_conditions
	.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	x8, _n_pending_ntp@GOTPAGE
Lloh1:
	ldr	x8, [x8, _n_pending_ntp@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x19, _n_pending_dns@GOTPAGE
Lloh4:
	ldr	x19, [x19, _n_pending_dns@GOTPAGEOFF]
	ldr	x1, [x19]
	orr	x8, x8, x1
	cbnz	x8, LBB0_2
LBB0_1:
Lloh5:
	adrp	x8, _base@GOTPAGE
Lloh6:
	ldr	x8, [x8, _base@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_event_base_loopexit
Lloh8:
	adrp	x8, _TRUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _shutting_down@GOTPAGE
Lloh12:
	ldr	x9, [x9, _shutting_down@GOTPAGEOFF]
Lloh13:
	str	w8, [x9]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh14:
	adrp	x8, _time_derived@GOTPAGE
Lloh15:
	ldr	x8, [x8, _time_derived@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.3:
Lloh17:
	adrp	x8, _WAIT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _WAIT@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_HAVE_OPT
	cbz	w0, LBB0_1
; %bb.4:
	ldr	x1, [x19]
LBB0_5:
	mov	w0, #2
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_TRACE
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_n_pending_ntp,8,3              ; @n_pending_ntp
	.comm	_n_pending_dns,8,3              ; @n_pending_dns
	.comm	_time_derived,8,3               ; @time_derived
	.comm	_WAIT,4,2                       ; @WAIT
	.comm	_base,4,2                       ; @base
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_shutting_down,4,2              ; @shutting_down
.subsections_via_symbols
