	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fillpool
_fillpool:                              ## @fillpool
	.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
	movl	%edx, %r15d
	movl	%esi, %ebx
	movq	%rdi, %r14
	callq	_VALID_ENTROPY
	movl	%eax, %edi
	callq	_REQUIRE
	testl	%ebx, %ebx
	je	LBB0_1
## %bb.4:
	movq	_THRESHOLD_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_ISC_MAX
	movq	_RND_POOLBITS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	%eax, %edi
	callq	_ISC_MIN
	movl	%eax, %edi
	movl	(%rbx), %esi
	movl	24(%r14), %eax
	jmp	LBB0_5
LBB0_1:
	xorl	%edi, %edi
	testl	%r15d, %r15d
	sete	%dil
	callq	_REQUIRE
	movl	24(%r14), %eax
	movq	_RND_POOLBITS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leal	3(%rsi), %ecx
	testl	%esi, %esi
	cmovnsl	%esi, %ecx
	sarl	$2, %ecx
	cmpl	%ecx, %eax
	jl	LBB0_3
## %bb.2:
	cmpl	%ecx, 28(%r14)
	jle	LBB0_33
LBB0_3:
	movq	_THRESHOLD_BITS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	shll	$2, %edi
LBB0_5:
	subl	%eax, %esi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_ISC_MIN
	movl	%eax, %ebx
	movq	_THRESHOLD_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	subl	(%r14), %esi
	jle	LBB0_7
## %bb.6:
	movl	%ebx, %edi
	callq	_ISC_MAX
	movl	%eax, %ebx
LBB0_7:
	movq	16(%r14), %r13
	testq	%r13, %r13
	jne	LBB0_9
## %bb.8:
	movl	8(%r14), %edi
	callq	_ISC_LIST_HEAD
	movq	%rax, %r13
	movq	%rax, 16(%r14)
	testq	%rax, %rax
	je	LBB0_33
LBB0_9:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
LBB0_10:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	cmpl	$0, 4(%r14)
	je	LBB0_22
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	xorl	%r12d, %r12d
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_12 Depth=2
	addl	%r14d, -44(%rbp)                ## 4-byte Folded Spill
	subl	%r15d, %ebx
	incl	%r12d
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	cmpl	4(%r14), %r12d
	jae	LBB0_22
LBB0_12:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testl	%ebx, %ebx
	je	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=2
	movl	(%r13), %eax
	cmpl	$128, %eax
	je	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=2
	xorl	%r14d, %r14d
	cmpl	$129, %eax
	jne	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_get_from_filesource
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_get_from_usocketsource
LBB0_18:                                ##   in Loop: Header=BB0_12 Depth=2
	movl	%eax, %r14d
LBB0_19:                                ##   in Loop: Header=BB0_12 Depth=2
	movl	%ebx, %edi
	movl	%r14d, %esi
	callq	_ISC_MIN
	movl	%eax, %r15d
	movq	_link@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_ISC_LIST_NEXT
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edi
	callq	_ISC_LIST_HEAD
	movq	%rax, %r13
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%r13, 16(%r14)
	movl	-48(%rbp), %r12d                ## 4-byte Reload
	testl	%r12d, %r12d
	je	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_10 Depth=1
	testl	%ebx, %ebx
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%r14, %rdi
	callq	_wait_for_sources
	testl	%eax, %eax
	jg	LBB0_10
	jmp	LBB0_25
LBB0_13:
	movq	%r13, 16(%r14)
	xorl	%ebx, %ebx
	movl	-48(%rbp), %r12d                ## 4-byte Reload
LBB0_25:
	movl	8(%r14), %edi
	callq	_ISC_LIST_HEAD
	testl	%ebx, %ebx
	je	LBB0_31
	.p2align	4, 0x90
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_31
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=1
	movl	(%r13), %eax
	xorl	%esi, %esi
	movq	_ENTROPY_SOURCETYPE_CALLBACK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_26 Depth=1
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	callq	_get_from_callback
	movl	%eax, %esi
LBB0_29:                                ##   in Loop: Header=BB0_26 Depth=1
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	addl	%esi, %r15d
	movl	%ebx, %edi
	callq	_ISC_MIN
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	cmpl	-60(%rbp), %r15d                ## 4-byte Folded Reload
	jae	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_26 Depth=1
	movl	%eax, %r14d
	movq	_link@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_ISC_LIST_NEXT
	subl	%r14d, %ebx
	jne	LBB0_26
LBB0_31:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %eax
	movq	_THRESHOLD_BITS@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jge	LBB0_33
## %bb.32:
	addl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	movl	%eax, (%rcx)
LBB0_33:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RND_POOLBITS,4,2               ## @RND_POOLBITS
	.comm	_THRESHOLD_BITS,4,2             ## @THRESHOLD_BITS
	.comm	_link,4,2                       ## @link
	.comm	_ENTROPY_SOURCETYPE_CALLBACK,4,2 ## @ENTROPY_SOURCETYPE_CALLBACK
	.no_dead_strip	_fillpool
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fillpool
_fillpool:                              ; @fillpool
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	bl	_VALID_ENTROPY
	bl	_REQUIRE
Lloh0:
	adrp	x25, _THRESHOLD_BITS@GOTPAGE
Lloh1:
	ldr	x25, [x25, _THRESHOLD_BITS@GOTPAGEOFF]
	cbz	w21, LBB0_2
; %bb.1:
	ldr	w1, [x25]
	mov	x0, x21
	bl	_ISC_MAX
Lloh2:
	adrp	x21, _RND_POOLBITS@GOTPAGE
Lloh3:
	ldr	x21, [x21, _RND_POOLBITS@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_ISC_MIN
	ldr	w9, [x21]
	ldr	w8, [x19, #24]
	b	LBB0_5
LBB0_2:
	cmp	w20, #0
	cset	w0, eq
	bl	_REQUIRE
	ldr	w8, [x19, #24]
Lloh4:
	adrp	x9, _RND_POOLBITS@GOTPAGE
Lloh5:
	ldr	x9, [x9, _RND_POOLBITS@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	add	w10, w9, #3
	cmp	w9, #0
	csel	w10, w10, w9, lt
	asr	w10, w10, #2
	cmp	w8, w10
	b.lt	LBB0_4
; %bb.3:
	ldr	w11, [x19, #28]
	cmp	w11, w10
	b.le	LBB0_37
LBB0_4:
	ldr	w10, [x25]
	lsl	w0, w10, #2
LBB0_5:
	sub	w1, w9, w8
	bl	_ISC_MIN
	mov	x21, x0
	ldr	w8, [x19]
	ldr	w9, [x25]
	subs	w1, w9, w8
	b.le	LBB0_7
; %bb.6:
	mov	x0, x21
	bl	_ISC_MAX
	mov	x21, x0
LBB0_7:
	ldr	x23, [x19, #16]
	cbnz	x23, LBB0_9
; %bb.8:
	ldr	w0, [x19, #8]
	bl	_ISC_LIST_HEAD
	mov	x23, x0
	str	x0, [x19, #16]
	cbz	x0, LBB0_37
LBB0_9:
	mov	w26, #0
Lloh7:
	adrp	x27, _link@GOTPAGE
Lloh8:
	ldr	x27, [x27, _link@GOTPAGEOFF]
	mov	x22, x21
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_22
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	w28, #0
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=2
	add	w26, w24, w26
	add	w28, w28, #1
	ldr	w8, [x19, #4]
	cmp	w28, w8
	b.hs	LBB0_22
LBB0_13:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cbz	w22, LBB0_25
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	ldr	w8, [x23]
	cmp	w8, #128
	b.eq	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=2
	cmp	w8, #129
	b.ne	LBB0_19
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=2
	mov	x0, x23
	mov	x1, x22
	bl	_get_from_filesource
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_13 Depth=2
	mov	x0, x23
	mov	x1, x22
	bl	_get_from_usocketsource
LBB0_18:                                ;   in Loop: Header=BB0_13 Depth=2
	mov	x24, x0
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_13 Depth=2
	mov	w24, #0
LBB0_20:                                ;   in Loop: Header=BB0_13 Depth=2
	mov	x0, x22
	mov	x1, x24
	bl	_ISC_MIN
	sub	w22, w22, w0
	ldr	w1, [x27]
	mov	x0, x23
	bl	_ISC_LIST_NEXT
	mov	x23, x0
	cbnz	x0, LBB0_12
; %bb.21:                               ;   in Loop: Header=BB0_13 Depth=2
	ldr	w0, [x19, #8]
	bl	_ISC_LIST_HEAD
	mov	x23, x0
	b	LBB0_12
LBB0_22:                                ;   in Loop: Header=BB0_10 Depth=1
	str	x23, [x19, #16]
	cbz	w20, LBB0_26
; %bb.23:                               ;   in Loop: Header=BB0_10 Depth=1
	cbz	w22, LBB0_26
; %bb.24:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x19
	bl	_wait_for_sources
	cmp	w0, #0
	b.gt	LBB0_10
	b	LBB0_26
LBB0_25:
	str	x23, [x19, #16]
LBB0_26:
	ldr	w0, [x19, #8]
	bl	_ISC_LIST_HEAD
	cbz	w22, LBB0_35
; %bb.27:
	mov	x23, x0
	cbz	x0, LBB0_35
; %bb.28:
Lloh9:
	adrp	x24, _ENTROPY_SOURCETYPE_CALLBACK@GOTPAGE
Lloh10:
	ldr	x24, [x24, _ENTROPY_SOURCETYPE_CALLBACK@GOTPAGEOFF]
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x23]
	ldr	w9, [x24]
	cmp	w8, w9
	b.ne	LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=1
	mov	x0, x23
	mov	x1, x22
	mov	x2, x20
	bl	_get_from_callback
	mov	x1, x0
	b	LBB0_32
LBB0_31:                                ;   in Loop: Header=BB0_29 Depth=1
	mov	w1, #0
LBB0_32:                                ;   in Loop: Header=BB0_29 Depth=1
	add	w26, w1, w26
	mov	x0, x22
	bl	_ISC_MIN
	cmp	w26, w21
	b.hs	LBB0_35
; %bb.33:                               ;   in Loop: Header=BB0_29 Depth=1
	sub	w22, w22, w0
	ldr	w1, [x27]
	mov	x0, x23
	bl	_ISC_LIST_NEXT
	cbz	w22, LBB0_35
; %bb.34:                               ;   in Loop: Header=BB0_29 Depth=1
	mov	x23, x0
	cbnz	x0, LBB0_29
LBB0_35:
	ldr	w8, [x19]
	ldr	w9, [x25]
	cmp	w8, w9
	b.ge	LBB0_37
; %bb.36:
	add	w8, w8, w26
	str	w8, [x19]
LBB0_37:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_RND_POOLBITS,4,2               ; @RND_POOLBITS
	.comm	_THRESHOLD_BITS,4,2             ; @THRESHOLD_BITS
	.comm	_link,4,2                       ; @link
	.comm	_ENTROPY_SOURCETYPE_CALLBACK,4,2 ; @ENTROPY_SOURCETYPE_CALLBACK
	.no_dead_strip	_fillpool
.subsections_via_symbols
