	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RAND_DRBG_reseed               ## -- Begin function RAND_DRBG_reseed
	.p2align	4, 0x90
_RAND_DRBG_reseed:                      ## @RAND_DRBG_reseed
	.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
	movl	%ecx, %r13d
	movq	$0, -48(%rbp)
	movq	(%rdi), %rcx
	movq	_DRBG_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rcx
	jne	LBB0_3
## %bb.1:
	movq	_RAND_F_RAND_DRBG_RESEED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RAND_R_IN_ERROR_STATE@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_3:
	movq	%rdx, %r14
	movq	_DRBG_UNINITIALISED@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_5
## %bb.4:
	movq	_RAND_F_RAND_DRBG_RESEED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RAND_R_NOT_INSTANTIATED@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_5:
	movq	%rsi, %r15
	movq	%rdi, %rbx
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.9:
	cmpq	%r14, 8(%rbx)
	jae	LBB0_7
## %bb.10:
	movq	_RAND_F_RAND_DRBG_RESEED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RAND_R_ADDITIONAL_INPUT_TOO_LONG@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %esi
	callq	_RANDerr
	xorl	%eax, %eax
LBB0_21:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	xorl	%r14d, %r14d
LBB0_7:
	movq	%rax, (%rbx)
	leaq	64(%rbx), %r12
	movq	%r12, %rdi
	callq	_tsan_load
	movl	%eax, %ecx
	incl	%ecx
	movl	$1, %edx
	cmovnel	%ecx, %edx
	testl	%eax, %eax
	cmovel	%eax, %edx
	movl	%edx, 16(%rbx)
	movq	24(%rbx), %r10
	testq	%r10, %r10
	je	LBB0_8
## %bb.11:
	movl	80(%rbx), %edx
	movq	32(%rbx), %rcx
	movq	40(%rbx), %r8
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	movl	%r13d, %r9d
	callq	*%r10
	movq	%rax, %r13
	cmpq	32(%rbx), %r13
	jae	LBB0_13
	jmp	LBB0_14
LBB0_8:
	xorl	%r13d, %r13d
	cmpq	32(%rbx), %r13
	jb	LBB0_14
LBB0_13:
	cmpq	40(%rbx), %r13
	jbe	LBB0_15
LBB0_14:
	movq	_RAND_F_RAND_DRBG_RESEED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RAND_R_ERROR_RETRIEVING_ENTROPY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_RANDerr
LBB0_17:
	movq	-48(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_20
## %bb.18:
	movq	56(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	movq	%rbx, %rdi
	movq	%r13, %rdx
	callq	*%rax
LBB0_20:
	movq	(%rbx), %rcx
	movq	_DRBG_READY@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	sete	%al
	jmp	LBB0_21
LBB0_15:
	movq	72(%rbx), %rax
	movq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	movq	%r13, %rdx
	movq	%r15, %rcx
	movq	%r14, %r8
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_17
## %bb.16:
	movq	_DRBG_READY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movl	$1, 48(%rbx)
	xorl	%edi, %edi
	callq	_time
	movl	%eax, 68(%rbx)
	movl	16(%rbx), %esi
	movq	%r12, %rdi
	callq	_tsan_store
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_DRBG_ERROR,8,3                 ## @DRBG_ERROR
	.comm	_RAND_F_RAND_DRBG_RESEED,4,2    ## @RAND_F_RAND_DRBG_RESEED
	.comm	_RAND_R_IN_ERROR_STATE,4,2      ## @RAND_R_IN_ERROR_STATE
	.comm	_DRBG_UNINITIALISED,8,3         ## @DRBG_UNINITIALISED
	.comm	_RAND_R_NOT_INSTANTIATED,4,2    ## @RAND_R_NOT_INSTANTIATED
	.comm	_RAND_R_ADDITIONAL_INPUT_TOO_LONG,4,2 ## @RAND_R_ADDITIONAL_INPUT_TOO_LONG
	.comm	_RAND_R_ERROR_RETRIEVING_ENTROPY,4,2 ## @RAND_R_ERROR_RETRIEVING_ENTROPY
	.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_reseed               ; -- Begin function RAND_DRBG_reseed
	.p2align	2
_RAND_DRBG_reseed:                      ; @RAND_DRBG_reseed
	.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
	str	xzr, [sp, #8]
	ldr	x9, [x0]
Lloh0:
	adrp	x8, _DRBG_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRBG_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _RAND_F_RAND_DRBG_RESEED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RAND_F_RAND_DRBG_RESEED@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _RAND_R_IN_ERROR_STATE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RAND_R_IN_ERROR_STATE@GOTPAGEOFF]
	b	LBB0_7
LBB0_2:
Lloh8:
	adrp	x10, _DRBG_UNINITIALISED@GOTPAGE
Lloh9:
	ldr	x10, [x10, _DRBG_UNINITIALISED@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.3:
Lloh11:
	adrp	x8, _RAND_F_RAND_DRBG_RESEED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RAND_F_RAND_DRBG_RESEED@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x8, _RAND_R_NOT_INSTANTIATED@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RAND_R_NOT_INSTANTIATED@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
	mov	x23, x3
	mov	x20, x1
	mov	x19, x0
	cbz	x1, LBB0_9
; %bb.5:
	mov	x21, x2
	ldr	x9, [x19, #8]
	cmp	x9, x2
	b.hs	LBB0_10
; %bb.6:
Lloh16:
	adrp	x8, _RAND_F_RAND_DRBG_RESEED@GOTPAGE
Lloh17:
	ldr	x8, [x8, _RAND_F_RAND_DRBG_RESEED@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x8, _RAND_R_ADDITIONAL_INPUT_TOO_LONG@GOTPAGE
Lloh20:
	ldr	x8, [x8, _RAND_R_ADDITIONAL_INPUT_TOO_LONG@GOTPAGEOFF]
LBB0_7:
	ldr	w1, [x8]
	bl	_RANDerr
	mov	w0, #0
LBB0_8:
	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_9:
	mov	x21, #0
LBB0_10:
	str	x8, [x19]
	add	x22, x19, #64
	mov	x0, x22
	bl	_tsan_load
	adds	w8, w0, #1
	csinc	w8, w8, wzr, lo
	cmp	w0, #0
	csel	w8, wzr, w8, eq
	str	w8, [x19, #16]
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_12
; %bb.11:
	ldr	w2, [x19, #80]
	ldp	x3, x4, [x19, #32]
	add	x1, sp, #8
	mov	x0, x19
	mov	x5, x23
	blr	x8
	mov	x23, x0
	b	LBB0_13
LBB0_12:
	mov	x23, #0
LBB0_13:
	ldr	x8, [x19, #32]
Lloh21:
	adrp	x24, _DRBG_READY@GOTPAGE
Lloh22:
	ldr	x24, [x24, _DRBG_READY@GOTPAGEOFF]
	cmp	x23, x8
	b.lo	LBB0_15
; %bb.14:
	ldr	x8, [x19, #40]
	cmp	x23, x8
	b.ls	LBB0_20
LBB0_15:
Lloh23:
	adrp	x8, _RAND_F_RAND_DRBG_RESEED@GOTPAGE
Lloh24:
	ldr	x8, [x8, _RAND_F_RAND_DRBG_RESEED@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
Lloh26:
	adrp	x8, _RAND_R_ERROR_RETRIEVING_ENTROPY@GOTPAGE
Lloh27:
	ldr	x8, [x8, _RAND_R_ERROR_RETRIEVING_ENTROPY@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	bl	_RANDerr
LBB0_16:
	ldr	x1, [sp, #8]
	cbz	x1, LBB0_19
; %bb.17:
	ldr	x8, [x19, #56]
	cbz	x8, LBB0_19
; %bb.18:
	mov	x0, x19
	mov	x2, x23
	blr	x8
LBB0_19:
	ldr	x8, [x19]
	ldr	x9, [x24]
	cmp	x8, x9
	cset	w0, eq
	b	LBB0_8
LBB0_20:
	ldr	x8, [x19, #72]
	ldr	x8, [x8]
	ldr	x1, [sp, #8]
	mov	x0, x19
	mov	x2, x23
	mov	x3, x20
	mov	x4, x21
	blr	x8
	cbz	w0, LBB0_16
; %bb.21:
	ldr	x8, [x24]
	str	x8, [x19]
	mov	w8, #1
	str	w8, [x19, #48]
	mov	x0, #0
	bl	_time
	str	w0, [x19, #68]
	ldr	w1, [x19, #16]
	mov	x0, x22
	bl	_tsan_store
	b	LBB0_16
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_DRBG_ERROR,8,3                 ; @DRBG_ERROR
	.comm	_RAND_F_RAND_DRBG_RESEED,4,2    ; @RAND_F_RAND_DRBG_RESEED
	.comm	_RAND_R_IN_ERROR_STATE,4,2      ; @RAND_R_IN_ERROR_STATE
	.comm	_DRBG_UNINITIALISED,8,3         ; @DRBG_UNINITIALISED
	.comm	_RAND_R_NOT_INSTANTIATED,4,2    ; @RAND_R_NOT_INSTANTIATED
	.comm	_RAND_R_ADDITIONAL_INPUT_TOO_LONG,4,2 ; @RAND_R_ADDITIONAL_INPUT_TOO_LONG
	.comm	_RAND_R_ERROR_RETRIEVING_ENTROPY,4,2 ; @RAND_R_ERROR_RETRIEVING_ENTROPY
	.comm	_DRBG_READY,8,3                 ; @DRBG_READY
.subsections_via_symbols
