	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RAND_DRBG_bytes                ## -- Begin function RAND_DRBG_bytes
	.p2align	4, 0x90
_RAND_DRBG_bytes:                       ## @RAND_DRBG_bytes
	.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	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	$0, -48(%rbp)
	movq	16(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
LBB0_4:
	leaq	-48(%rbp), %rsi
	callq	_rand_drbg_get_additional_data
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.5:
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %r13
	cmpq	%r13, %rbx
	cmovbq	%rbx, %r13
	movq	-48(%rbp), %r8
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	xorl	%ecx, %ecx
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	callq	_RAND_DRBG_generate
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	addq	%r13, %r15
	subq	%r13, %rbx
	jne	LBB0_6
LBB0_8:
	movl	$1, %r12d
	jmp	LBB0_9
LBB0_1:
	cmpq	$0, (%r14)
	je	LBB0_2
## %bb.3:
	movl	24(%r14), %ecx
	xorl	%r12d, %r12d
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_rand_pool_new
	movq	%rax, %rdi
	movq	%rax, 16(%r14)
	testq	%rax, %rax
	jne	LBB0_4
	jmp	LBB0_9
LBB0_2:
	xorl	%r12d, %r12d
LBB0_9:
	movq	-48(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.10:
	movq	16(%r14), %rdi
	callq	_rand_drbg_cleanup_additional_data
LBB0_11:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RAND_DRBG_bytes                ; -- Begin function RAND_DRBG_bytes
	.p2align	2
_RAND_DRBG_bytes:                       ; @RAND_DRBG_bytes
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	str	xzr, [sp, #8]
	ldr	x0, [x0, #16]
	cbz	x0, LBB0_8
LBB0_1:
	add	x1, sp, #8
	bl	_rand_drbg_get_additional_data
	cbz	x20, LBB0_5
; %bb.2:
	mov	x22, x0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	cmp	x20, x8
	csel	x23, x20, x8, lo
	ldr	x4, [sp, #8]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x23
	mov	w3, #0
	mov	x5, x22
	bl	_RAND_DRBG_generate
	cbz	x0, LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, x23
	subs	x20, x20, x23
	b.ne	LBB0_3
LBB0_5:
	mov	w20, #1
	ldr	x1, [sp, #8]
	cbz	x1, LBB0_7
LBB0_6:
	ldr	x0, [x19, #16]
	bl	_rand_drbg_cleanup_additional_data
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_8:
	ldr	x8, [x19]
	cbz	x8, LBB0_10
; %bb.9:
	ldr	w3, [x19, #24]
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	bl	_rand_pool_new
	str	x0, [x19, #16]
	cbnz	x0, LBB0_1
LBB0_10:
	mov	w20, #0
	ldr	x1, [sp, #8]
	cbnz	x1, LBB0_6
	b	LBB0_7
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
