	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_entropy_getdata            ## -- Begin function isc_entropy_getdata
	.p2align	4, 0x90
_isc_entropy_getdata:                   ## @isc_entropy_getdata
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r14d
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_ISC_SHA1_DIGESTLENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	%rbx, %rdi
	callq	_VALID_ENTROPY
	movl	%eax, %edi
	callq	_REQUIRE
	xorl	%edi, %edi
	movq	%r12, -136(%rbp)                ## 8-byte Spill
	testq	%r12, %r12
	setne	%dil
	callq	_REQUIRE
	xorl	%edi, %edi
	testl	%r15d, %r15d
	setne	%dil
	callq	_REQUIRE
	movq	_ISC_ENTROPY_GOODONLY@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	movl	(%rax), %eax
	andl	%r14d, %eax
	setne	%dil
	callq	_ISC_TF
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movq	_ISC_ENTROPY_PARTIAL@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	movl	(%rax), %eax
	andl	%r14d, %eax
	setne	%dil
	callq	_ISC_TF
	movq	%rax, %r12
	movq	_ISC_ENTROPY_BLOCKING@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	andl	(%rax), %r14d
	setne	%dil
	callq	_ISC_TF
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	testq	%r12, %r12
	sete	%al
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, %rbx
	testq	%rcx, %rcx
	setne	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_REQUIRE
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	4(%rax), %r14
	movq	%r14, %rdi
	callq	_LOCK
	testl	%r15d, %r15d
	je	LBB0_1
## %bb.2:
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	cmpq	$1, %r12
	movl	$5, %eax
	sbbl	$0, %eax
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	xorl	%eax, %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	_RND_ENTROPY_THRESHOLD@GOTPCREL(%rip), %rax
	movl	%r15d, -52(%rbp)                ## 4-byte Spill
	movl	%r15d, %ebx
	movq	-136(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %r12
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_3 Depth=1
	movslq	%r8d, %rax
	addq	%rax, %r12
	leal	(,%r8,8), %r15d
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movl	8(%r14), %esi
	movl	%r15d, %edi
	callq	_ISC_MIN
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	addl	%eax, %ecx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_subtract_entropy
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_add_pseudo
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	subl	-144(%rbp), %ebx                ## 4-byte Folded Reload
	movq	-136(%rbp), %r15                ## 8-byte Reload
	movq	_RND_ENTROPY_THRESHOLD@GOTPCREL(%rip), %rax
	je	LBB0_23
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_19 Depth 2
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_ISC_MIN
                                        ## kill: def $eax killed $eax def $rax
	cmpq	$0, -152(%rbp)                  ## 8-byte Folded Reload
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leal	(,%rbx,8), %edi
	leal	(,%rax,8), %esi
	callq	_ISC_MAX
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	8(%rcx), %ecx
	movq	-128(%rbp), %rdx                ## 8-byte Reload
	movq	_THRESHOLD_BITS@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %ecx
	jb	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_ISC_FALSE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_fillpool
	movl	8(%r14), %eax
	cmpl	(%rbx), %eax
	movl	$0, %eax
	cmovbl	-108(%rbp), %eax                ## 4-byte Folded Reload
	testl	%eax, %eax
	je	LBB0_15
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_THRESHOLD_BITS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	cmpl	%esi, (%r14)
	jae	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	movq	-128(%rbp), %rdx                ## 8-byte Reload
	jmp	LBB0_13
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_ISC_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r14, %rdi
	xorl	%esi, %esi
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	callq	_fillpool
	movl	(%r14), %eax
	cmpl	(%rbx), %eax
	jae	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	callq	_reseed
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	leaq	-156(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_isc_sha1_init
	movq	16(%r14), %rsi
	movq	_RND_POOLBYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_isc_sha1_update
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_isc_sha1_final
	movq	_ISC_SHA1_DIGESTLENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%r13, %rsi
	xorl	%ecx, %ecx
	callq	_entropypool_adddata
	movq	-144(%rbp), %r8                 ## 8-byte Reload
	testl	%r8d, %r8d
	je	LBB0_22
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%r8d, %edi
	cmpl	$1, %r8d
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_3 Depth=1
	xorl	%ecx, %ecx
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%edi, %edx
	andl	$-2, %edx
	xorl	%ecx, %ecx
	movq	_RND_ENTROPY_THRESHOLD@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_19:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rbx), %esi
	addl	%ecx, %esi
	movzbl	(%r13,%rsi), %eax
	xorb	(%r13,%rcx), %al
	movb	%al, (%r12,%rcx)
	movl	(%rbx), %eax
	addl	%ecx, %eax
	incl	%eax
	movzbl	(%r13,%rax), %eax
	xorb	1(%r13,%rcx), %al
	movb	%al, 1(%r12,%rcx)
	addq	$2, %rcx
	cmpq	%rcx, %rdx
	jne	LBB0_19
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	testb	$1, %dil
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_RND_ENTROPY_THRESHOLD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ecx, %eax
	movb	(%r13,%rax), %al
	xorb	(%r13,%rcx), %al
	movb	%al, (%r12,%rcx)
	jmp	LBB0_22
LBB0_7:
	cmpl	$4, %eax
	je	LBB0_27
## %bb.8:
	cmpl	$5, %eax
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movl	-52(%rbp), %r15d                ## 4-byte Reload
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	je	LBB0_24
## %bb.9:
                                        ## implicit-def: $eax
	jmp	LBB0_30
LBB0_1:
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	xorl	%eax, %eax
	jmp	LBB0_24
LBB0_23:
	xorl	%eax, %eax
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movl	-52(%rbp), %r15d                ## 4-byte Reload
	movq	-96(%rbp), %r14                 ## 8-byte Reload
LBB0_24:
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	xorl	%esi, %esi
	movq	-120(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memset
	testq	%rbx, %rbx
	je	LBB0_25
## %bb.26:
	movq	%rbx, %rax
	subl	-88(%rbp), %r15d                ## 4-byte Folded Reload
	movq	_ISC_R_SUCCESS@GOTPCREL(%rip), %rbx
LBB0_28:
	movl	%r15d, (%rax)
	jmp	LBB0_29
LBB0_25:
	movq	_ISC_R_SUCCESS@GOTPCREL(%rip), %rbx
LBB0_29:
	movq	%r14, %rdi
	callq	_UNLOCK
	movl	(%rbx), %eax
LBB0_30:
	movq	%r12, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_32
## %bb.31:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-104(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_add_entropy
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	_memset
	movq	%r13, %rdi
	xorl	%esi, %esi
	movq	-120(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memset
	xorl	%r15d, %r15d
	movq	_ISC_R_NOENTROPY@GOTPCREL(%rip), %rbx
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_28
	jmp	LBB0_29
LBB0_32:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ISC_SHA1_DIGESTLENGTH,4,2      ## @ISC_SHA1_DIGESTLENGTH
	.comm	_ISC_ENTROPY_GOODONLY,4,2       ## @ISC_ENTROPY_GOODONLY
	.comm	_ISC_ENTROPY_PARTIAL,4,2        ## @ISC_ENTROPY_PARTIAL
	.comm	_ISC_ENTROPY_BLOCKING,4,2       ## @ISC_ENTROPY_BLOCKING
	.comm	_RND_ENTROPY_THRESHOLD,4,2      ## @RND_ENTROPY_THRESHOLD
	.comm	_THRESHOLD_BITS,4,2             ## @THRESHOLD_BITS
	.comm	_ISC_FALSE,8,3                  ## @ISC_FALSE
	.comm	_RND_POOLBYTES,4,2              ## @RND_POOLBYTES
	.comm	_ISC_R_SUCCESS,4,2              ## @ISC_R_SUCCESS
	.comm	_ISC_R_NOENTROPY,4,2            ## @ISC_R_NOENTROPY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_entropy_getdata            ; -- Begin function isc_entropy_getdata
	.p2align	2
_isc_entropy_getdata:                   ; @isc_entropy_getdata
	.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
	sub	sp, sp, #80
	mov	x19, x4
	mov	x21, x3
	mov	x27, x2
	mov	x28, x1
	mov	x24, x0
	mov	x20, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _ISC_SHA1_DIGESTLENGTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ISC_SHA1_DIGESTLENGTH@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x8]
	mov	x9, x23
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x23, #15
	and	x9, x9, #0x1fffffff0
	sub	x22, x8, x9
	mov	sp, x22
	bl	_VALID_ENTROPY
	bl	_REQUIRE
	cmp	x28, #0
	cset	w0, ne
	bl	_REQUIRE
	cmp	w27, #0
	cset	w0, ne
	bl	_REQUIRE
Lloh8:
	adrp	x8, _ISC_ENTROPY_GOODONLY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ISC_ENTROPY_GOODONLY@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w19
	cset	w0, ne
	bl	_ISC_TF
	mov	x26, x0
Lloh11:
	adrp	x8, _ISC_ENTROPY_PARTIAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ISC_ENTROPY_PARTIAL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w19
	cset	w0, ne
	bl	_ISC_TF
	mov	x25, x0
Lloh14:
	adrp	x8, _ISC_ENTROPY_BLOCKING@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ISC_ENTROPY_BLOCKING@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	tst	w8, w19
	cset	w0, ne
	bl	_ISC_TF
	stur	x0, [x29, #-104]                ; 8-byte Folded Spill
	cmp	x21, #0
	ccmp	x25, #0, #4, eq
	cset	w0, eq
	bl	_REQUIRE
	add	x0, x24, #4
	stur	x0, [x29, #-120]                ; 8-byte Folded Spill
	bl	_LOCK
	cbz	w27, LBB0_16
; %bb.1:
	stur	x23, [x29, #-152]               ; 8-byte Folded Spill
	stp	x21, x20, [x29, #-136]          ; 16-byte Folded Spill
	mov	w23, #0
	cmp	x25, #0
	mov	w8, #4
	cinc	w8, w8, ne
	stur	w8, [x29, #-108]                ; 4-byte Folded Spill
Lloh17:
	adrp	x21, _RND_ENTROPY_THRESHOLD@GOTPAGE
Lloh18:
	ldr	x21, [x21, _RND_ENTROPY_THRESHOLD@GOTPAGEOFF]
Lloh19:
	adrp	x20, _THRESHOLD_BITS@GOTPAGE
Lloh20:
	ldr	x20, [x20, _THRESHOLD_BITS@GOTPAGEOFF]
	stur	w27, [x29, #-140]               ; 4-byte Folded Spill
	mov	x8, x28
	mov	x28, x27
	stur	x8, [x29, #-160]                ; 8-byte Folded Spill
	mov	x27, x8
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x27, x27, w25, sxtw
	sub	w28, w28, w25
	ldr	w1, [x24, #8]
	mov	x0, x19
	bl	_ISC_MIN
	mov	x1, x0
	add	w23, w0, w23
	mov	x0, x24
	bl	_subtract_entropy
	mov	x0, x24
	mov	x1, x19
	bl	_add_pseudo
	cbz	w28, LBB0_17
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	ldr	w1, [x21]
	mov	x0, x28
	bl	_ISC_MIN
	mov	x25, x0
	lsl	w19, w0, #3
	cbz	x26, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	lsl	w0, w28, #3
	mov	x1, x19
	bl	_ISC_MAX
	mov	x1, x0
	ldr	w8, [x24, #8]
	ldr	w9, [x20]
Lloh21:
	adrp	x10, _ISC_FALSE@GOTPAGE
Lloh22:
	ldr	x10, [x10, _ISC_FALSE@GOTPAGEOFF]
Lloh23:
	ldr	x10, [x10]
	cmp	w8, w9
	ldur	x8, [x29, #-104]                ; 8-byte Folded Reload
	csel	x2, x8, x10, lo
	mov	x0, x24
	bl	_fillpool
	ldr	w8, [x24, #8]
	ldr	w9, [x20]
	cmp	w8, w9
	ldur	w8, [x29, #-108]                ; 4-byte Folded Reload
	csel	w8, w8, wzr, lo
	cbz	w8, LBB0_10
	b	LBB0_13
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x24]
	ldr	w1, [x20]
	cmp	w8, w1
	b.hs	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x24
	ldur	x2, [x29, #-104]                ; 8-byte Folded Reload
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh24:
	adrp	x8, _ISC_FALSE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ISC_FALSE@GOTPAGEOFF]
Lloh26:
	ldr	x2, [x8]
	mov	x0, x24
	mov	w1, #0
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_fillpool
	ldr	w8, [x24]
	ldr	w9, [x20]
	cmp	w8, w9
	b.hs	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x24
	bl	_reseed
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	x0, x29, #92
	bl	_isc_sha1_init
	ldr	x1, [x24, #16]
Lloh27:
	adrp	x8, _RND_POOLBYTES@GOTPAGE
Lloh28:
	ldr	x8, [x8, _RND_POOLBYTES@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	sub	x0, x29, #92
	bl	_isc_sha1_update
	sub	x0, x29, #92
	mov	x1, x22
	bl	_isc_sha1_final
Lloh30:
	adrp	x8, _ISC_SHA1_DIGESTLENGTH@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ISC_SHA1_DIGESTLENGTH@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	mov	x0, x24
	mov	x1, x22
	mov	w3, #0
	bl	_entropypool_adddata
	cbz	w25, LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, #0
	mov	w9, w25
LBB0_12:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w10, [x22, x8]
	ldr	w11, [x21]
	add	w11, w8, w11
	ldrb	w11, [x22, w11, uxtw]
	eor	w10, w11, w10
	strb	w10, [x27, x8]
	add	x8, x8, #1
	cmp	x9, x8
	b.ne	LBB0_12
	b	LBB0_2
LBB0_13:
	cmp	w8, #4
	b.eq	LBB0_25
; %bb.14:
	cmp	w8, #5
	ldp	x21, x20, [x29, #-136]          ; 16-byte Folded Reload
	ldur	w27, [x29, #-140]               ; 4-byte Folded Reload
	ldur	x23, [x29, #-152]               ; 8-byte Folded Reload
	b.eq	LBB0_18
; %bb.15:
                                        ; implicit-def: $w0
	b	LBB0_23
LBB0_16:
	mov	w28, #0
	b	LBB0_18
LBB0_17:
	ldp	x21, x20, [x29, #-136]          ; 16-byte Folded Reload
	ldur	w27, [x29, #-140]               ; 4-byte Folded Reload
	ldur	x23, [x29, #-152]               ; 8-byte Folded Reload
LBB0_18:
	mov	x0, x22
	mov	w1, #0
	mov	x2, x23
	bl	_memset
	cbz	x21, LBB0_21
; %bb.19:
	sub	w8, w27, w28
Lloh33:
	adrp	x19, _ISC_R_SUCCESS@GOTPAGE
Lloh34:
	ldr	x19, [x19, _ISC_R_SUCCESS@GOTPAGEOFF]
LBB0_20:
	str	w8, [x21]
	b	LBB0_22
LBB0_21:
Lloh35:
	adrp	x19, _ISC_R_SUCCESS@GOTPAGE
Lloh36:
	ldr	x19, [x19, _ISC_R_SUCCESS@GOTPAGEOFF]
LBB0_22:
	ldur	x0, [x29, #-120]                ; 8-byte Folded Reload
	bl	_UNLOCK
	ldr	w0, [x19]
LBB0_23:
	mov	sp, x20
	ldur	x8, [x29, #-88]
Lloh37:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh38:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_26
; %bb.24:
	sub	sp, x29, #80
	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
LBB0_25:
	mov	x0, x24
	mov	x1, x23
	bl	_add_entropy
	ldur	x0, [x29, #-160]                ; 8-byte Folded Reload
	mov	w1, #0
	ldur	w2, [x29, #-140]                ; 4-byte Folded Reload
	bl	_memset
	mov	x0, x22
	mov	w1, #0
	ldur	x2, [x29, #-152]                ; 8-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_memset
	mov	w8, #0
Lloh40:
	adrp	x19, _ISC_R_NOENTROPY@GOTPAGE
Lloh41:
	ldr	x19, [x19, _ISC_R_NOENTROPY@GOTPAGEOFF]
	ldp	x21, x20, [x29, #-136]          ; 16-byte Folded Reload
	cbnz	x21, LBB0_20
	b	LBB0_22
LBB0_26:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_ISC_SHA1_DIGESTLENGTH,4,2      ; @ISC_SHA1_DIGESTLENGTH
	.comm	_ISC_ENTROPY_GOODONLY,4,2       ; @ISC_ENTROPY_GOODONLY
	.comm	_ISC_ENTROPY_PARTIAL,4,2        ; @ISC_ENTROPY_PARTIAL
	.comm	_ISC_ENTROPY_BLOCKING,4,2       ; @ISC_ENTROPY_BLOCKING
	.comm	_RND_ENTROPY_THRESHOLD,4,2      ; @RND_ENTROPY_THRESHOLD
	.comm	_THRESHOLD_BITS,4,2             ; @THRESHOLD_BITS
	.comm	_ISC_FALSE,8,3                  ; @ISC_FALSE
	.comm	_RND_POOLBYTES,4,2              ; @RND_POOLBYTES
	.comm	_ISC_R_SUCCESS,4,2              ; @ISC_R_SUCCESS
	.comm	_ISC_R_NOENTROPY,4,2            ; @ISC_R_NOENTROPY
.subsections_via_symbols
