	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rand_pool_add                  ## -- Begin function rand_pool_add
	.p2align	4, 0x90
_rand_pool_add:                         ## @rand_pool_add
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	(%rdi), %rcx
	movq	8(%rdi), %rax
	subq	%rax, %rcx
	cmpq	%rdx, %rcx
	jae	LBB0_2
## %bb.1:
	movq	_RAND_F_RAND_POOL_ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RAND_R_ENTROPY_INPUT_TOO_LONG@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_2:
	movq	%rdi, %rbx
	movq	16(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.3:
	movq	%rdx, %r12
	movl	$1, %r15d
	testq	%rdx, %rdx
	je	LBB0_9
## %bb.4:
	movq	%rsi, %r13
	cmpq	%rax, 24(%rbx)
	jbe	LBB0_10
## %bb.5:
	addq	%rax, %rcx
	cmpq	%r13, %rcx
	jne	LBB0_10
LBB0_6:
	movq	_RAND_F_RAND_POOL_ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %esi
	callq	_RANDerr
LBB0_8:
	xorl	%r15d, %r15d
LBB0_9:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_rand_pool_grow
	testl	%eax, %eax
	je	LBB0_8
## %bb.11:
	movq	16(%rbx), %rdi
	addq	8(%rbx), %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_memcpy
	addq	%r12, 8(%rbx)
	addq	%r14, 32(%rbx)
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_RAND_F_RAND_POOL_ADD,4,2       ## @RAND_F_RAND_POOL_ADD
	.comm	_RAND_R_ENTROPY_INPUT_TOO_LONG,4,2 ## @RAND_R_ENTROPY_INPUT_TOO_LONG
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ## @ERR_R_INTERNAL_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rand_pool_add                  ; -- Begin function rand_pool_add
	.p2align	2
_rand_pool_add:                         ; @rand_pool_add
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldp	x9, x8, [x0]
	sub	x9, x9, x8
	cmp	x9, x2
	b.hs	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _RAND_F_RAND_POOL_ADD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RAND_F_RAND_POOL_ADD@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _RAND_R_ENTROPY_INPUT_TOO_LONG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RAND_R_ENTROPY_INPUT_TOO_LONG@GOTPAGEOFF]
	b	LBB0_9
LBB0_2:
	mov	x20, x0
	ldr	x9, [x0, #16]
	cbz	x9, LBB0_8
; %bb.3:
	mov	x21, x2
	cbz	x2, LBB0_7
; %bb.4:
	mov	x22, x1
	ldr	x10, [x20, #24]
	add	x9, x9, x8
	cmp	x10, x8
	ccmp	x9, x1, #0, hi
	b.eq	LBB0_8
; %bb.5:
	mov	x19, x3
	mov	x0, x20
	mov	x1, x21
	bl	_rand_pool_grow
	cbz	w0, LBB0_10
; %bb.6:
	ldp	x9, x8, [x20, #8]
	add	x0, x8, x9
	mov	x1, x22
	mov	x2, x21
	bl	_memcpy
	ldr	x8, [x20, #8]
	add	x8, x8, x21
	str	x8, [x20, #8]
	ldr	x8, [x20, #32]
	add	x8, x8, x19
	str	x8, [x20, #32]
LBB0_7:
	mov	w0, #1
	b	LBB0_10
LBB0_8:
Lloh5:
	adrp	x8, _RAND_F_RAND_POOL_ADD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RAND_F_RAND_POOL_ADD@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
LBB0_9:
	ldr	w1, [x8]
	bl	_RANDerr
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_RAND_F_RAND_POOL_ADD,4,2       ; @RAND_F_RAND_POOL_ADD
	.comm	_RAND_R_ENTROPY_INPUT_TOO_LONG,4,2 ; @RAND_R_ENTROPY_INPUT_TOO_LONG
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ; @ERR_R_INTERNAL_ERROR
.subsections_via_symbols
