	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RAND_set_rand_method           ## -- Begin function RAND_set_rand_method
	.p2align	4, 0x90
_RAND_set_rand_method:                  ## @RAND_set_rand_method
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_do_rand_init@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_rand_init@GOTPCREL(%rip), %rdi
	callq	_RUN_ONCE
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_rand_meth_lock@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_CRYPTO_THREAD_write_lock
	movq	_funct_ref@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ENGINE_finish
	movq	$0, (%r15)
	movq	_default_RAND_meth@GOTPCREL(%rip), %rax
	movq	%rbx, (%rax)
	movl	(%r14), %edi
	callq	_CRYPTO_THREAD_unlock
	movl	$1, %eax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rand_init,4,2                  ## @rand_init
	.comm	_do_rand_init,4,2               ## @do_rand_init
	.comm	_rand_meth_lock,4,2             ## @rand_meth_lock
	.comm	_funct_ref,8,3                  ## @funct_ref
	.comm	_default_RAND_meth,8,3          ## @default_RAND_meth
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RAND_set_rand_method           ; -- Begin function RAND_set_rand_method
	.p2align	2
_RAND_set_rand_method:                  ; @RAND_set_rand_method
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _do_rand_init@GOTPAGE
Lloh1:
	ldr	x8, [x8, _do_rand_init@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x0, _rand_init@GOTPAGE
Lloh4:
	ldr	x0, [x0, _rand_init@GOTPAGEOFF]
	bl	_RUN_ONCE
	cbz	w0, LBB0_2
; %bb.1:
Lloh5:
	adrp	x20, _rand_meth_lock@GOTPAGE
Lloh6:
	ldr	x20, [x20, _rand_meth_lock@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_CRYPTO_THREAD_write_lock
Lloh7:
	adrp	x21, _funct_ref@GOTPAGE
Lloh8:
	ldr	x21, [x21, _funct_ref@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ENGINE_finish
	str	xzr, [x21]
Lloh9:
	adrp	x8, _default_RAND_meth@GOTPAGE
Lloh10:
	ldr	x8, [x8, _default_RAND_meth@GOTPAGEOFF]
Lloh11:
	str	x19, [x8]
	ldr	w0, [x20]
	bl	_CRYPTO_THREAD_unlock
	mov	w0, #1
LBB0_2:
	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 AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_rand_init,4,2                  ; @rand_init
	.comm	_do_rand_init,4,2               ; @do_rand_init
	.comm	_rand_meth_lock,4,2             ; @rand_meth_lock
	.comm	_funct_ref,8,3                  ; @funct_ref
	.comm	_default_RAND_meth,8,3          ; @default_RAND_meth
.subsections_via_symbols
