	.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	$40, %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_34
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), %rax
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	movl	8(%r14), %edi
	callq	_ISC_LIST_HEAD
	movq	%rax, 16(%r14)
	testq	%rax, %rax
	je	LBB0_34
LBB0_9:
	movl	4(%r14), %edi
	xorl	%esi, %esi
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	movq	%rax, %r13
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_10:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
	testl	%edi, %edi
	je	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	testl	%ebx, %ebx
	je	LBB0_13
## %bb.16:                              ##   in Loop: Header=BB0_10 Depth=1
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%esi, -64(%rbp)                 ## 4-byte Spill
	movq	(%r13), %rax
	movl	$0, %r14d
	movq	_ENTROPY_SOURCETYPE_FILE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=2
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_get_from_filesource
	movl	%eax, %r14d
LBB0_19:                                ##   in Loop: Header=BB0_17 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_17 Depth=2
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edi
	callq	_ISC_LIST_HEAD
	movq	%rax, %r13
LBB0_21:                                ##   in Loop: Header=BB0_17 Depth=2
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	addl	%r14d, %esi
	subl	%r15d, %ebx
	incl	%r12d
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	4(%r14), %edi
	cmpl	%edi, %r12d
	jae	LBB0_22
## %bb.14:                              ##   in Loop: Header=BB0_17 Depth=2
	testl	%ebx, %ebx
	jne	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_10 Depth=1
	xorl	%ebx, %ebx
LBB0_22:                                ##   in Loop: Header=BB0_10 Depth=1
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_10 Depth=1
	xorl	%edi, %edi
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=1
	xorl	%ebx, %ebx
LBB0_23:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%r13, 16(%r14)
	cmpq	%rax, %r13
	setne	%cl
	testl	%esi, %esi
	setne	%dl
	orb	%cl, %dl
	cmpb	$1, %dl
	jne	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_10 Depth=1
	testl	%r15d, %r15d
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_10 Depth=1
	testl	%ebx, %ebx
	jne	LBB0_10
LBB0_26:
	movl	%esi, %r12d
	movl	8(%r14), %edi
	callq	_ISC_LIST_HEAD
	testl	%ebx, %ebx
	je	LBB0_32
	.p2align	4, 0x90
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_32
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=1
	movq	(%r15), %rax
	xorl	%esi, %esi
	movq	_ENTROPY_SOURCETYPE_CALLBACK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_27 Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_get_from_callback
	movl	%eax, %esi
LBB0_30:                                ##   in Loop: Header=BB0_27 Depth=1
	movl	%r12d, %r13d
	addl	%esi, %r13d
	movl	%ebx, %edi
	callq	_ISC_MIN
	movl	%r13d, %r12d
	cmpl	-60(%rbp), %r13d                ## 4-byte Folded Reload
	jae	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_27 Depth=1
	movl	%eax, %r14d
	movq	_link@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ISC_LIST_NEXT
	subl	%r14d, %ebx
	jne	LBB0_27
LBB0_32:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %eax
	movq	_THRESHOLD_BITS@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jge	LBB0_34
## %bb.33:
	addl	%r12d, %eax
	movl	%eax, (%rcx)
LBB0_34:
	addq	$40, %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	_ENTROPY_SOURCETYPE_FILE,8,3    ## @ENTROPY_SOURCETYPE_FILE
	.comm	_link,4,2                       ## @link
	.comm	_ENTROPY_SOURCETYPE_CALLBACK,8,3 ## @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:
	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	x20, x2
	mov	x21, x1
	mov	x19, x0
	bl	_VALID_ENTROPY
	bl	_REQUIRE
Lloh0:
	adrp	x22, _THRESHOLD_BITS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _THRESHOLD_BITS@GOTPAGEOFF]
	str	w20, [sp, #12]                  ; 4-byte Folded Spill
	cbz	w21, LBB0_2
; %bb.1:
	ldr	w1, [x22]
	mov	x0, x21
	bl	_ISC_MAX
Lloh2:
	adrp	x20, _RND_POOLBITS@GOTPAGE
Lloh3:
	ldr	x20, [x20, _RND_POOLBITS@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_ISC_MIN
	ldr	w9, [x20]
	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_36
LBB0_4:
	ldr	w10, [x22]
	lsl	w0, w10, #2
LBB0_5:
	sub	w1, w9, w8
	bl	_ISC_MIN
	mov	x24, x0
	ldr	w8, [x19]
	ldr	w9, [x22]
	subs	w1, w9, w8
	b.le	LBB0_7
; %bb.6:
	mov	x0, x24
	bl	_ISC_MAX
	mov	x24, x0
LBB0_7:
	ldr	w20, [sp, #12]                  ; 4-byte Folded Reload
	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_36
LBB0_9:
	mov	w28, #0
	ldr	w8, [x19, #4]
Lloh7:
	adrp	x21, _ENTROPY_SOURCETYPE_FILE@GOTPAGE
Lloh8:
	ldr	x21, [x21, _ENTROPY_SOURCETYPE_FILE@GOTPAGEOFF]
	str	w24, [sp, #8]                   ; 4-byte Folded Spill
	mov	x22, x24
	mov	x24, x23
Lloh9:
	adrp	x27, _link@GOTPAGE
Lloh10:
	ldr	x27, [x27, _link@GOTPAGEOFF]
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
	cbz	w8, LBB0_21
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	cbz	w22, LBB0_21
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	w20, #0
LBB0_13:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x24]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	mov	x0, x24
	mov	x1, x22
	bl	_get_from_filesource
	mov	x25, x0
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_13 Depth=2
	mov	w25, #0
LBB0_16:                                ;   in Loop: Header=BB0_13 Depth=2
	mov	x0, x22
	mov	x1, x25
	bl	_ISC_MIN
	mov	x26, x0
	ldr	w1, [x27]
	mov	x0, x24
	bl	_ISC_LIST_NEXT
	mov	x24, x0
	cbnz	x0, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_13 Depth=2
	ldr	w0, [x19, #8]
	bl	_ISC_LIST_HEAD
	mov	x24, x0
LBB0_18:                                ;   in Loop: Header=BB0_13 Depth=2
	add	w28, w25, w28
	sub	w22, w22, w26
	add	w20, w20, #1
	ldr	w8, [x19, #4]
	cmp	w20, w8
	b.hs	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_13 Depth=2
	cbnz	w22, LBB0_13
LBB0_20:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	w20, [sp, #12]                  ; 4-byte Folded Reload
LBB0_21:                                ;   in Loop: Header=BB0_10 Depth=1
	str	x24, [x19, #16]
	cmp	w28, #0
	ccmp	x24, x23, #0, eq
	b.eq	LBB0_24
; %bb.22:                               ;   in Loop: Header=BB0_10 Depth=1
	cbz	w20, LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_10 Depth=1
	cbnz	w22, LBB0_10
LBB0_24:
	ldr	w0, [x19, #8]
	bl	_ISC_LIST_HEAD
	cbz	w22, LBB0_33
; %bb.25:
	mov	x23, x0
	cbz	x0, LBB0_33
; %bb.26:
Lloh11:
	adrp	x20, _ENTROPY_SOURCETYPE_CALLBACK@GOTPAGE
Lloh12:
	ldr	x20, [x20, _ENTROPY_SOURCETYPE_CALLBACK@GOTPAGEOFF]
Lloh13:
	adrp	x21, _THRESHOLD_BITS@GOTPAGE
Lloh14:
	ldr	x21, [x21, _THRESHOLD_BITS@GOTPAGEOFF]
	ldr	w24, [sp, #8]                   ; 4-byte Folded Reload
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=1
	mov	x0, x23
	mov	x1, x22
	ldr	w2, [sp, #12]                   ; 4-byte Folded Reload
	bl	_get_from_callback
	mov	x1, x0
	b	LBB0_30
LBB0_29:                                ;   in Loop: Header=BB0_27 Depth=1
	mov	w1, #0
LBB0_30:                                ;   in Loop: Header=BB0_27 Depth=1
	add	w28, w1, w28
	mov	x0, x22
	bl	_ISC_MIN
	cmp	w28, w24
	b.hs	LBB0_34
; %bb.31:                               ;   in Loop: Header=BB0_27 Depth=1
	sub	w22, w22, w0
	ldr	w1, [x27]
	mov	x0, x23
	bl	_ISC_LIST_NEXT
	cbz	w22, LBB0_34
; %bb.32:                               ;   in Loop: Header=BB0_27 Depth=1
	mov	x23, x0
	cbnz	x0, LBB0_27
	b	LBB0_34
LBB0_33:
Lloh15:
	adrp	x21, _THRESHOLD_BITS@GOTPAGE
Lloh16:
	ldr	x21, [x21, _THRESHOLD_BITS@GOTPAGEOFF]
LBB0_34:
	ldr	w8, [x19]
	ldr	w9, [x21]
	cmp	w8, w9
	b.ge	LBB0_36
; %bb.35:
	add	w8, w8, w28
	str	w8, [x19]
LBB0_36:
	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	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_RND_POOLBITS,4,2               ; @RND_POOLBITS
	.comm	_THRESHOLD_BITS,4,2             ; @THRESHOLD_BITS
	.comm	_ENTROPY_SOURCETYPE_FILE,8,3    ; @ENTROPY_SOURCETYPE_FILE
	.comm	_link,4,2                       ; @link
	.comm	_ENTROPY_SOURCETYPE_CALLBACK,8,3 ; @ENTROPY_SOURCETYPE_CALLBACK
	.no_dead_strip	_fillpool
.subsections_via_symbols
