	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wait_for_sources
_wait_for_sources:                      ## @wait_for_sources
	.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	%rdi, %rbx
	leaq	-48(%rbp), %rdi
	callq	_FD_ZERO
	leaq	-52(%rbp), %rdi
	callq	_FD_ZERO
	movl	(%rbx), %edi
	callq	_ISC_LIST_HEAD
	testq	%rax, %rax
	je	LBB0_17
## %bb.1:
	movq	%rax, %rbx
	movl	$-1, -44(%rbp)                  ## 4-byte Folded Spill
	movq	_ENTROPY_SOURCETYPE_FILE@GOTPCREL(%rip), %r13
	movq	_ENTROPY_SOURCETYPE_USOCKET@GOTPCREL(%rip), %r15
	movq	_link@GOTPCREL(%rip), %r12
	jmp	LBB0_6
LBB0_2:                                 ##   in Loop: Header=BB0_6 Depth=1
	leaq	-48(%rbp), %r14
LBB0_3:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r13d, %esi
	callq	_ISC_MAX
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r13d, %edi
	movq	%r14, %rsi
	callq	_FD_SET
LBB0_4:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %r13
	movq	%r12, %r15
	movq	_link@GOTPCREL(%rip), %r12
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_ISC_LIST_NEXT
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_14
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	cmpq	(%r13), %rax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	16(%rbx), %r14d
	testl	%r14d, %r14d
	js	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r14d, %esi
	callq	_ISC_MAX
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r14d, %edi
	leaq	-48(%rbp), %rsi
	callq	_FD_SET
	movq	(%rbx), %rax
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	cmpq	(%r15), %rax
	jne	LBB0_5
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %r12
	movq	%r13, %r15
	movl	8(%rbx), %r13d
	testl	%r13d, %r13d
	js	LBB0_4
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	12(%rbx), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_4
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	$52, %ecx
	btl	%eax, %ecx
	leaq	-52(%rbp), %r14
	jb	LBB0_3
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	$3, %ecx
	btl	%eax, %ecx
	jb	LBB0_2
	jmp	LBB0_4
LBB0_14:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	testl	%edi, %edi
	js	LBB0_17
## %bb.15:
	incl	%edi
	leaq	-48(%rbp), %rsi
	leaq	-52(%rbp), %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_select
	movl	%eax, %ecx
	testl	%eax, %eax
	movl	$-1, %eax
	cmovnsl	%ecx, %eax
	jmp	LBB0_18
LBB0_17:
	movl	$-1, %eax
LBB0_18:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENTROPY_SOURCETYPE_FILE,8,3    ## @ENTROPY_SOURCETYPE_FILE
	.comm	_ENTROPY_SOURCETYPE_USOCKET,8,3 ## @ENTROPY_SOURCETYPE_USOCKET
	.comm	_link,4,2                       ## @link
	.no_dead_strip	_wait_for_sources
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wait_for_sources
_wait_for_sources:                      ; @wait_for_sources
	.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
	mov	x19, x0
	add	x0, sp, #12
	bl	_FD_ZERO
	add	x0, sp, #8
	bl	_FD_ZERO
	ldr	w0, [x19]
	bl	_ISC_LIST_HEAD
	cbz	x0, LBB0_16
; %bb.1:
	mov	x19, x0
	mov	w20, #-1
Lloh0:
	adrp	x23, _ENTROPY_SOURCETYPE_FILE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _ENTROPY_SOURCETYPE_FILE@GOTPAGEOFF]
Lloh2:
	adrp	x24, _ENTROPY_SOURCETYPE_USOCKET@GOTPAGE
Lloh3:
	ldr	x24, [x24, _ENTROPY_SOURCETYPE_USOCKET@GOTPAGEOFF]
	mov	w25, #1
	mov	w26, #52
Lloh4:
	adrp	x27, _link@GOTPAGE
Lloh5:
	ldr	x27, [x27, _link@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x22, sp, #8
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_ISC_MAX
	mov	x20, x0
	mov	x0, x21
	mov	x1, x22
	bl	_FD_SET
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x27]
	mov	x0, x19
	bl	_ISC_LIST_NEXT
	mov	x19, x0
	cbz	x0, LBB0_14
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w21, [x19, #16]
	tbnz	w21, #31, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_ISC_MAX
	mov	x20, x0
	add	x1, sp, #12
	mov	x0, x21
	bl	_FD_SET
	ldr	x8, [x19]
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w21, [x19, #8]
	tbnz	w21, #31, LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x19, #12]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	lsl	w8, w25, w8
	tst	w8, w26
	b.ne	LBB0_2
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	tst	w8, #0x3
	b.eq	LBB0_4
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x22, sp, #12
	b	LBB0_3
LBB0_14:
	tbnz	w20, #31, LBB0_16
; %bb.15:
	add	w0, w20, #1
	add	x1, sp, #12
	add	x2, sp, #8
	mov	x3, #0
	mov	x4, #0
	bl	_select
	cmp	w0, #0
	csinv	w0, w0, wzr, ge
	b	LBB0_17
LBB0_16:
	mov	w0, #-1
LBB0_17:
	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	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ENTROPY_SOURCETYPE_FILE,8,3    ; @ENTROPY_SOURCETYPE_FILE
	.comm	_ENTROPY_SOURCETYPE_USOCKET,8,3 ; @ENTROPY_SOURCETYPE_USOCKET
	.comm	_link,4,2                       ; @link
	.no_dead_strip	_wait_for_sources
.subsections_via_symbols
