	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RAND_DRBG_generate             ## -- Begin function RAND_DRBG_generate
	.p2align	4, 0x90
_RAND_DRBG_generate:                    ## @RAND_DRBG_generate
	.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	%r9, %r12
	movq	%r8, %r15
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_DRBG_READY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.1:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %r14
	movq	%r15, %r12
	movq	%rsi, %r15
	xorl	%r13d, %r13d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_rand_drbg_restart
	movq	(%rbx), %rax
	movq	_DRBG_ERROR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.2:
	movq	_RAND_F_RAND_DRBG_GENERATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RAND_R_IN_ERROR_STATE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	callq	_RANDerr
	jmp	LBB0_28
LBB0_4:
	movq	_DRBG_UNINITIALISED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	%r15, %rsi
	movq	%r12, %r15
	movq	%r14, %r12
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_7
## %bb.5:
	movq	_RAND_F_RAND_DRBG_GENERATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RAND_R_NOT_INSTANTIATED@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_7:
	cmpq	%r14, 8(%rbx)
	jae	LBB0_9
## %bb.8:
	movq	_RAND_F_RAND_DRBG_GENERATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RAND_R_REQUEST_TOO_LARGE_FOR_DRBG@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_9:
	cmpq	%r12, 16(%rbx)
	jae	LBB0_11
## %bb.10:
	movq	_RAND_F_RAND_DRBG_GENERATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RAND_R_ADDITIONAL_INPUT_TOO_LONG@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_11:
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_openssl_get_fork_id
	cmpl	%eax, 24(%rbx)
	je	LBB0_13
## %bb.12:
	movl	%eax, 24(%rbx)
	movl	$1, %r13d
LBB0_13:
	movq	32(%rbx), %rax
	testq	%rax, %rax
	jle	LBB0_15
## %bb.14:
	cmpq	%rax, 40(%rbx)
	movl	$1, %eax
	cmovgel	%eax, %r13d
LBB0_15:
	cmpq	$0, 48(%rbx)
	jle	LBB0_19
## %bb.16:
	xorl	%edi, %edi
	callq	_time
	subq	56(%rbx), %rax
	jl	LBB0_18
## %bb.17:
	cmpq	48(%rbx), %rax
	jl	LBB0_19
LBB0_18:
	movl	$1, %r13d
LBB0_19:
	cmpq	$0, 72(%rbx)
	je	LBB0_22
## %bb.20:
	leaq	80(%rbx), %rdi
	callq	_tsan_load
	testl	%eax, %eax
	je	LBB0_22
## %bb.21:
	movq	72(%rbx), %rdi
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	callq	_tsan_load
	cmpl	-60(%rbp), %eax                 ## 4-byte Folded Reload
	movl	$1, %eax
	cmovnel	%eax, %r13d
LBB0_22:
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	orl	%ecx, %r13d
	je	LBB0_25
## %bb.23:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_RAND_DRBG_reseed
	xorl	%r13d, %r13d
	movl	$0, %r12d
	movl	$0, %r15d
	testl	%eax, %eax
	je	LBB0_24
LBB0_25:
	movq	64(%rbx), %rax
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	movq	%r15, %rcx
	movq	%r12, %r8
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_26
## %bb.27:
	incq	40(%rbx)
	movl	$1, %r13d
	jmp	LBB0_28
LBB0_26:
	movq	_DRBG_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	_RAND_F_RAND_DRBG_GENERATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RAND_R_GENERATE_ERROR@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %esi
	callq	_RANDerr
	xorl	%r13d, %r13d
LBB0_28:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	movq	_RAND_F_RAND_DRBG_GENERATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RAND_R_RESEED_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_DRBG_READY,8,3                 ## @DRBG_READY
	.comm	_DRBG_ERROR,8,3                 ## @DRBG_ERROR
	.comm	_RAND_F_RAND_DRBG_GENERATE,4,2  ## @RAND_F_RAND_DRBG_GENERATE
	.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_REQUEST_TOO_LARGE_FOR_DRBG,4,2 ## @RAND_R_REQUEST_TOO_LARGE_FOR_DRBG
	.comm	_RAND_R_ADDITIONAL_INPUT_TOO_LONG,4,2 ## @RAND_R_ADDITIONAL_INPUT_TOO_LONG
	.comm	_RAND_R_RESEED_ERROR,4,2        ## @RAND_R_RESEED_ERROR
	.comm	_RAND_R_GENERATE_ERROR,4,2      ## @RAND_R_GENERATE_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RAND_DRBG_generate             ; -- Begin function RAND_DRBG_generate
	.p2align	2
_RAND_DRBG_generate:                    ; @RAND_DRBG_generate
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x5
	mov	x23, x4
	mov	x24, x3
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _DRBG_READY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DRBG_READY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_5
; %bb.1:
	mov	x0, x19
	mov	x1, #0
	mov	w2, #0
	mov	w3, #0
	bl	_rand_drbg_restart
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _DRBG_ERROR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DRBG_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _RAND_F_RAND_DRBG_GENERATE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RAND_F_RAND_DRBG_GENERATE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _RAND_R_IN_ERROR_STATE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RAND_R_IN_ERROR_STATE@GOTPAGEOFF]
	b	LBB0_28
LBB0_3:
Lloh11:
	adrp	x9, _DRBG_UNINITIALISED@GOTPAGE
Lloh12:
	ldr	x9, [x9, _DRBG_UNINITIALISED@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
Lloh14:
	adrp	x8, _RAND_F_RAND_DRBG_GENERATE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RAND_F_RAND_DRBG_GENERATE@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x8, _RAND_R_NOT_INSTANTIATED@GOTPAGE
Lloh18:
	ldr	x8, [x8, _RAND_R_NOT_INSTANTIATED@GOTPAGEOFF]
	b	LBB0_28
LBB0_5:
	ldr	x8, [x19, #8]
	cmp	x8, x20
	b.hs	LBB0_7
; %bb.6:
Lloh19:
	adrp	x8, _RAND_F_RAND_DRBG_GENERATE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _RAND_F_RAND_DRBG_GENERATE@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x8, _RAND_R_REQUEST_TOO_LARGE_FOR_DRBG@GOTPAGE
Lloh23:
	ldr	x8, [x8, _RAND_R_REQUEST_TOO_LARGE_FOR_DRBG@GOTPAGEOFF]
	b	LBB0_28
LBB0_7:
	ldr	x8, [x19, #16]
	cmp	x8, x22
	b.hs	LBB0_9
; %bb.8:
Lloh24:
	adrp	x8, _RAND_F_RAND_DRBG_GENERATE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _RAND_F_RAND_DRBG_GENERATE@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
Lloh27:
	adrp	x8, _RAND_R_ADDITIONAL_INPUT_TOO_LONG@GOTPAGE
Lloh28:
	ldr	x8, [x8, _RAND_R_ADDITIONAL_INPUT_TOO_LONG@GOTPAGEOFF]
	b	LBB0_28
LBB0_9:
	bl	_openssl_get_fork_id
	ldr	w8, [x19, #24]
	cmp	w8, w0
	b.ne	LBB0_11
; %bb.10:
	mov	w26, #0
	b	LBB0_12
LBB0_11:
	str	w0, [x19, #24]
	mov	w26, #1
LBB0_12:
	ldr	x8, [x19, #32]
	cmp	x8, #1
	b.lt	LBB0_14
; %bb.13:
	ldr	x9, [x19, #40]
	cmp	x9, x8
	csinc	w26, w26, wzr, lt
LBB0_14:
	ldr	x8, [x19, #48]
	cmp	x8, #1
	b.lt	LBB0_18
; %bb.15:
	mov	x0, #0
	bl	_time
	ldr	x8, [x19, #56]
	subs	x8, x0, x8
	b.lt	LBB0_17
; %bb.16:
	ldr	x9, [x19, #48]
	cmp	x8, x9
	b.lt	LBB0_18
LBB0_17:
	mov	w26, #1
LBB0_18:
	ldr	x8, [x19, #72]
	cbz	x8, LBB0_21
; %bb.19:
	add	x0, x19, #80
	bl	_tsan_load
	cbz	w0, LBB0_21
; %bb.20:
	mov	x25, x0
	ldr	x0, [x19, #72]
	bl	_tsan_load
	cmp	w0, w25
	csinc	w26, w26, wzr, eq
LBB0_21:
	orr	w8, w26, w24
	cbz	w8, LBB0_24
; %bb.22:
	mov	x0, x19
	mov	x1, x23
	mov	x2, x22
	mov	x3, x24
	bl	_RAND_DRBG_reseed
	cbz	w0, LBB0_27
; %bb.23:
	mov	x22, #0
	mov	x23, #0
LBB0_24:
	ldr	x8, [x19, #64]
	ldr	x8, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	mov	x3, x23
	mov	x4, x22
	blr	x8
	cbz	w0, LBB0_26
; %bb.25:
	ldr	x8, [x19, #40]
	add	x8, x8, #1
	str	x8, [x19, #40]
	mov	w0, #1
	b	LBB0_29
LBB0_26:
Lloh29:
	adrp	x8, _DRBG_ERROR@GOTPAGE
Lloh30:
	ldr	x8, [x8, _DRBG_ERROR@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	str	x8, [x19]
Lloh32:
	adrp	x8, _RAND_F_RAND_DRBG_GENERATE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _RAND_F_RAND_DRBG_GENERATE@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
Lloh35:
	adrp	x8, _RAND_R_GENERATE_ERROR@GOTPAGE
Lloh36:
	ldr	x8, [x8, _RAND_R_GENERATE_ERROR@GOTPAGEOFF]
	b	LBB0_28
LBB0_27:
Lloh37:
	adrp	x8, _RAND_F_RAND_DRBG_GENERATE@GOTPAGE
Lloh38:
	ldr	x8, [x8, _RAND_F_RAND_DRBG_GENERATE@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
Lloh40:
	adrp	x8, _RAND_R_RESEED_ERROR@GOTPAGE
Lloh41:
	ldr	x8, [x8, _RAND_R_RESEED_ERROR@GOTPAGEOFF]
LBB0_28:
	ldr	w1, [x8]
	bl	_RANDerr
	mov	w0, #0
LBB0_29:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_DRBG_READY,8,3                 ; @DRBG_READY
	.comm	_DRBG_ERROR,8,3                 ; @DRBG_ERROR
	.comm	_RAND_F_RAND_DRBG_GENERATE,4,2  ; @RAND_F_RAND_DRBG_GENERATE
	.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_REQUEST_TOO_LARGE_FOR_DRBG,4,2 ; @RAND_R_REQUEST_TOO_LARGE_FOR_DRBG
	.comm	_RAND_R_ADDITIONAL_INPUT_TOO_LONG,4,2 ; @RAND_R_ADDITIONAL_INPUT_TOO_LONG
	.comm	_RAND_R_RESEED_ERROR,4,2        ; @RAND_R_RESEED_ERROR
	.comm	_RAND_R_GENERATE_ERROR,4,2      ; @RAND_R_GENERATE_ERROR
.subsections_via_symbols
