	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RAND_DRBG_instantiate          ## -- Begin function RAND_DRBG_instantiate
	.p2align	4, 0x90
_RAND_DRBG_instantiate:                 ## @RAND_DRBG_instantiate
	.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
	movq	%rdi, %rbx
	movq	$0, -64(%rbp)
	movq	$0, -56(%rbp)
	cmpq	%rdx, 24(%rdi)
	jae	LBB0_2
## %bb.1:
	movq	_RAND_F_RAND_DRBG_INSTANTIATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RAND_R_PERSONALISATION_STRING_TOO_LONG@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_2:
	cmpq	$0, 112(%rbx)
	je	LBB0_3
## %bb.4:
	movq	32(%rbx), %rax
	movq	_DRBG_UNINITIALISED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.9:
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	(%rbx), %r14
	movq	8(%rbx), %r13
	movq	16(%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_DRBG_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%rbx)
	movq	40(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	cmpq	$0, 48(%rbx)
	jne	LBB0_12
## %bb.11:
	movq	%r14, %rcx
	shrq	%rcx
	addq	%rcx, %r14
	addq	%rax, %r13
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	56(%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_12:
	leaq	104(%rbx), %rdi
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	callq	_tsan_load
	movl	%eax, %ecx
	incl	%ecx
	movl	$1, %edx
	cmovnel	%ecx, %edx
	testl	%eax, %eax
	cmovel	%eax, %edx
	movl	%edx, 64(%rbx)
	movq	72(%rbx), %r10
	testq	%r10, %r10
	je	LBB0_13
## %bb.14:
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	movq	%r13, %rcx
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	xorl	%r9d, %r9d
	callq	*%r10
	movq	%rax, %r14
	cmpq	%r13, %r14
	jae	LBB0_16
	jmp	LBB0_17
LBB0_3:
	movq	_RAND_F_RAND_DRBG_INSTANTIATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RAND_R_NO_DRBG_IMPLEMENTATION_SELECTED@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_5:
	movq	_RAND_F_RAND_DRBG_INSTANTIATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_DRBG_ERROR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.7:
	movq	_RAND_R_IN_ERROR_STATE@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	movq	_RAND_R_ALREADY_INSTANTIATED@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %esi
	callq	_RANDerr
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
LBB0_29:
	movq	-56(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_32
## %bb.30:
	movq	96(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_32
## %bb.31:
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	*%rax
LBB0_32:
	movq	-64(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_35
## %bb.33:
	movq	88(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_35
## %bb.34:
	movq	%rbx, %rdi
	movq	%r13, %rdx
	callq	*%rax
LBB0_35:
	movq	32(%rbx), %rcx
	movq	_DRBG_READY@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	sete	%al
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	xorl	%r14d, %r14d
	cmpq	%r13, %r14
	jb	LBB0_17
LBB0_16:
	cmpq	-48(%rbp), %r14                 ## 8-byte Folded Reload
	ja	LBB0_17
## %bb.18:
	movq	40(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_19
## %bb.20:
	movq	48(%rbx), %r9
	testq	%r9, %r9
	je	LBB0_19
## %bb.21:
	movq	(%rbx), %rdx
	movq	56(%rbx), %r8
	shrq	%rdx
	leaq	-64(%rbp), %rsi
	movq	%rbx, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	*%r9
	movq	%rax, %r13
	cmpq	40(%rbx), %rax
	jb	LBB0_26
## %bb.22:
	cmpq	56(%rbx), %r13
	jbe	LBB0_23
LBB0_26:
	movq	_RAND_F_RAND_DRBG_INSTANTIATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RAND_R_ERROR_RETRIEVING_NONCE@GOTPCREL(%rip), %rax
	jmp	LBB0_27
LBB0_17:
	movq	_RAND_F_RAND_DRBG_INSTANTIATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RAND_R_ERROR_RETRIEVING_ENTROPY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_RANDerr
	xorl	%r13d, %r13d
	jmp	LBB0_29
LBB0_19:
	xorl	%ecx, %ecx
	xorl	%r13d, %r13d
LBB0_24:
	movq	112(%rbx), %rax
	movq	-56(%rbp), %rsi
	movq	%r12, (%rsp)
	movq	%rbx, %rdi
	movq	%r14, %rdx
	movq	%r13, %r8
	movq	%r15, %r9
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_25
## %bb.28:
	movq	_DRBG_READY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%rbx)
	movl	$1, 80(%rbx)
	xorl	%edi, %edi
	callq	_time
	movl	%eax, 108(%rbx)
	movl	64(%rbx), %esi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_tsan_store
	jmp	LBB0_29
LBB0_25:
	movq	_RAND_F_RAND_DRBG_INSTANTIATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RAND_R_ERROR_INSTANTIATING_DRBG@GOTPCREL(%rip), %rax
LBB0_27:
	movl	(%rax), %esi
	callq	_RANDerr
	jmp	LBB0_29
LBB0_23:
	movq	-64(%rbp), %rcx
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_RAND_F_RAND_DRBG_INSTANTIATE,4,2 ## @RAND_F_RAND_DRBG_INSTANTIATE
	.comm	_RAND_R_PERSONALISATION_STRING_TOO_LONG,4,2 ## @RAND_R_PERSONALISATION_STRING_TOO_LONG
	.comm	_RAND_R_NO_DRBG_IMPLEMENTATION_SELECTED,4,2 ## @RAND_R_NO_DRBG_IMPLEMENTATION_SELECTED
	.comm	_DRBG_UNINITIALISED,8,3         ## @DRBG_UNINITIALISED
	.comm	_DRBG_ERROR,8,3                 ## @DRBG_ERROR
	.comm	_RAND_R_IN_ERROR_STATE,4,2      ## @RAND_R_IN_ERROR_STATE
	.comm	_RAND_R_ALREADY_INSTANTIATED,4,2 ## @RAND_R_ALREADY_INSTANTIATED
	.comm	_RAND_R_ERROR_RETRIEVING_ENTROPY,4,2 ## @RAND_R_ERROR_RETRIEVING_ENTROPY
	.comm	_RAND_R_ERROR_RETRIEVING_NONCE,4,2 ## @RAND_R_ERROR_RETRIEVING_NONCE
	.comm	_RAND_R_ERROR_INSTANTIATING_DRBG,4,2 ## @RAND_R_ERROR_INSTANTIATING_DRBG
	.comm	_DRBG_READY,8,3                 ## @DRBG_READY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RAND_DRBG_instantiate          ; -- Begin function RAND_DRBG_instantiate
	.p2align	2
_RAND_DRBG_instantiate:                 ; @RAND_DRBG_instantiate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x0
	stp	xzr, xzr, [sp]
	ldr	x8, [x0, #24]
Lloh0:
	adrp	x26, _DRBG_READY@GOTPAGE
Lloh1:
	ldr	x26, [x26, _DRBG_READY@GOTPAGEOFF]
	cmp	x8, x2
	b.hs	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _RAND_F_RAND_DRBG_INSTANTIATE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RAND_F_RAND_DRBG_INSTANTIATE@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _RAND_R_PERSONALISATION_STRING_TOO_LONG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RAND_R_PERSONALISATION_STRING_TOO_LONG@GOTPAGEOFF]
	b	LBB0_11
LBB0_2:
	ldr	x8, [x19, #112]
	cbz	x8, LBB0_9
; %bb.3:
	ldr	x8, [x19, #32]
Lloh7:
	adrp	x9, _DRBG_UNINITIALISED@GOTPAGE
Lloh8:
	ldr	x9, [x9, _DRBG_UNINITIALISED@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.4:
	mov	x20, x2
	mov	x22, x1
	ldp	x21, x25, [x19]
	ldr	x23, [x19, #16]
Lloh10:
	adrp	x8, _DRBG_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DRBG_ERROR@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	str	x8, [x19, #32]
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_7
; %bb.5:
	ldr	x9, [x19, #48]
	cbnz	x9, LBB0_7
; %bb.6:
	add	x21, x21, x21, lsr #1
	add	x25, x8, x25
	ldr	x8, [x19, #56]
	add	x23, x8, x23
LBB0_7:
	add	x24, x19, #104
	mov	x0, x24
	bl	_tsan_load
	adds	w8, w0, #1
	csinc	w8, w8, wzr, lo
	cmp	w0, #0
	csel	w8, wzr, w8, eq
	str	w8, [x19, #64]
	ldr	x8, [x19, #72]
	cbz	x8, LBB0_19
; %bb.8:
	mov	x1, sp
	mov	x0, x19
	mov	x2, x21
	mov	x3, x25
	mov	x4, x23
	mov	w5, #0
	blr	x8
	mov	x21, x0
	cmp	x21, x25
	b.hs	LBB0_20
	b	LBB0_26
LBB0_9:
Lloh13:
	adrp	x8, _RAND_F_RAND_DRBG_INSTANTIATE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _RAND_F_RAND_DRBG_INSTANTIATE@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x8, _RAND_R_NO_DRBG_IMPLEMENTATION_SELECTED@GOTPAGE
Lloh17:
	ldr	x8, [x8, _RAND_R_NO_DRBG_IMPLEMENTATION_SELECTED@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh18:
	adrp	x9, _RAND_F_RAND_DRBG_INSTANTIATE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _RAND_F_RAND_DRBG_INSTANTIATE@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x9]
Lloh21:
	adrp	x9, _DRBG_ERROR@GOTPAGE
Lloh22:
	ldr	x9, [x9, _DRBG_ERROR@GOTPAGEOFF]
Lloh23:
	adrp	x10, _RAND_R_IN_ERROR_STATE@GOTPAGE
Lloh24:
	ldr	x10, [x10, _RAND_R_IN_ERROR_STATE@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
Lloh26:
	adrp	x11, _RAND_R_ALREADY_INSTANTIATED@GOTPAGE
Lloh27:
	ldr	x11, [x11, _RAND_R_ALREADY_INSTANTIATED@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
LBB0_11:
	ldr	w1, [x8]
	bl	_RANDerr
	mov	x23, #0
	mov	x21, #0
LBB0_12:
	ldr	x1, [sp]
	cbz	x1, LBB0_15
; %bb.13:
	ldr	x8, [x19, #96]
	cbz	x8, LBB0_15
; %bb.14:
	mov	x0, x19
	mov	x2, x21
	blr	x8
LBB0_15:
	ldr	x1, [sp, #8]
	cbz	x1, LBB0_18
; %bb.16:
	ldr	x8, [x19, #88]
	cbz	x8, LBB0_18
; %bb.17:
	mov	x0, x19
	mov	x2, x23
	blr	x8
LBB0_18:
	ldr	x8, [x19, #32]
	ldr	x9, [x26]
	cmp	x8, x9
	cset	w0, eq
	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
	add	sp, sp, #96
	ret
LBB0_19:
	mov	x21, #0
	cmp	x21, x25
	b.lo	LBB0_26
LBB0_20:
	cmp	x21, x23
	b.hi	LBB0_26
; %bb.21:
	ldr	x3, [x19, #40]
	cbz	x3, LBB0_27
; %bb.22:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_28
; %bb.23:
	ldr	x9, [x19]
	lsr	x2, x9, #1
	ldr	x4, [x19, #56]
	add	x1, sp, #8
	mov	x0, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	blr	x8
	mov	x23, x0
	ldr	x8, [x19, #40]
	cmp	x0, x8
	b.lo	LBB0_25
; %bb.24:
	ldr	x8, [x19, #56]
	cmp	x23, x8
	b.ls	LBB0_29
LBB0_25:
Lloh28:
	adrp	x8, _RAND_F_RAND_DRBG_INSTANTIATE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _RAND_F_RAND_DRBG_INSTANTIATE@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
Lloh31:
	adrp	x8, _RAND_R_ERROR_RETRIEVING_NONCE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _RAND_R_ERROR_RETRIEVING_NONCE@GOTPAGEOFF]
	b	LBB0_33
LBB0_26:
Lloh33:
	adrp	x8, _RAND_F_RAND_DRBG_INSTANTIATE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _RAND_F_RAND_DRBG_INSTANTIATE@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
Lloh36:
	adrp	x8, _RAND_R_ERROR_RETRIEVING_ENTROPY@GOTPAGE
Lloh37:
	ldr	x8, [x8, _RAND_R_ERROR_RETRIEVING_ENTROPY@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	bl	_RANDerr
	mov	x23, #0
	b	LBB0_12
LBB0_27:
	mov	x23, #0
	b	LBB0_30
LBB0_28:
	mov	x3, #0
	mov	x23, #0
	b	LBB0_30
LBB0_29:
	ldr	x3, [sp, #8]
LBB0_30:
	ldr	x8, [x19, #112]
	ldr	x8, [x8]
	ldr	x1, [sp]
	mov	x0, x19
	mov	x2, x21
	mov	x4, x23
	mov	x5, x22
	mov	x6, x20
	blr	x8
	cbz	w0, LBB0_32
; %bb.31:
	ldr	x8, [x26]
	str	x8, [x19, #32]
	mov	w8, #1
	str	w8, [x19, #80]
	mov	x0, #0
	bl	_time
	str	w0, [x19, #108]
	ldr	w1, [x19, #64]
	mov	x0, x24
	bl	_tsan_store
	b	LBB0_12
LBB0_32:
Lloh39:
	adrp	x8, _RAND_F_RAND_DRBG_INSTANTIATE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _RAND_F_RAND_DRBG_INSTANTIATE@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
Lloh42:
	adrp	x8, _RAND_R_ERROR_INSTANTIATING_DRBG@GOTPAGE
Lloh43:
	ldr	x8, [x8, _RAND_R_ERROR_INSTANTIATING_DRBG@GOTPAGEOFF]
LBB0_33:
	ldr	w1, [x8]
	bl	_RANDerr
	b	LBB0_12
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh25
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_RAND_F_RAND_DRBG_INSTANTIATE,4,2 ; @RAND_F_RAND_DRBG_INSTANTIATE
	.comm	_RAND_R_PERSONALISATION_STRING_TOO_LONG,4,2 ; @RAND_R_PERSONALISATION_STRING_TOO_LONG
	.comm	_RAND_R_NO_DRBG_IMPLEMENTATION_SELECTED,4,2 ; @RAND_R_NO_DRBG_IMPLEMENTATION_SELECTED
	.comm	_DRBG_UNINITIALISED,8,3         ; @DRBG_UNINITIALISED
	.comm	_DRBG_ERROR,8,3                 ; @DRBG_ERROR
	.comm	_RAND_R_IN_ERROR_STATE,4,2      ; @RAND_R_IN_ERROR_STATE
	.comm	_RAND_R_ALREADY_INSTANTIATED,4,2 ; @RAND_R_ALREADY_INSTANTIATED
	.comm	_RAND_R_ERROR_RETRIEVING_ENTROPY,4,2 ; @RAND_R_ERROR_RETRIEVING_ENTROPY
	.comm	_RAND_R_ERROR_RETRIEVING_NONCE,4,2 ; @RAND_R_ERROR_RETRIEVING_NONCE
	.comm	_RAND_R_ERROR_INSTANTIATING_DRBG,4,2 ; @RAND_R_ERROR_INSTANTIATING_DRBG
	.comm	_DRBG_READY,8,3                 ; @DRBG_READY
.subsections_via_symbols
