	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RAND_get_rand_method           ## -- Begin function RAND_get_rand_method
	.p2align	4, 0x90
_RAND_get_rand_method:                  ## @RAND_get_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	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), %r15
	movl	(%r15), %edi
	callq	_CRYPTO_THREAD_write_lock
	movq	_default_RAND_meth@GOTPCREL(%rip), %r12
	movq	(%r12), %rbx
	testq	%rbx, %rbx
	jne	LBB0_8
## %bb.3:
	xorl	%eax, %eax
	callq	_ENGINE_get_default_RAND
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%r14, %rdi
	callq	_ENGINE_get_RAND
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rax, %rbx
	movq	_funct_ref@GOTPCREL(%rip), %rax
	movq	%r14, (%rax)
	jmp	LBB0_7
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_6:
	movq	%r14, %rdi
	callq	_ENGINE_finish
	movq	_rand_meth@GOTPCREL(%rip), %rbx
LBB0_7:
	movq	%rbx, (%r12)
LBB0_8:
	movl	(%r15), %edi
	callq	_CRYPTO_THREAD_unlock
LBB0_9:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	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	_default_RAND_meth,8,3          ## @default_RAND_meth
	.comm	_funct_ref,8,3                  ## @funct_ref
	.comm	_rand_meth,4,2                  ## @rand_meth
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RAND_get_rand_method           ; -- Begin function RAND_get_rand_method
	.p2align	2
_RAND_get_rand_method:                  ; @RAND_get_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
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_5
; %bb.1:
Lloh5:
	adrp	x21, _rand_meth_lock@GOTPAGE
Lloh6:
	ldr	x21, [x21, _rand_meth_lock@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_CRYPTO_THREAD_write_lock
Lloh7:
	adrp	x22, _default_RAND_meth@GOTPAGE
Lloh8:
	ldr	x22, [x22, _default_RAND_meth@GOTPAGEOFF]
	ldr	x19, [x22]
	cbnz	x19, LBB0_8
; %bb.2:
	bl	_ENGINE_get_default_RAND
	mov	x20, x0
	cbz	x0, LBB0_6
; %bb.3:
	mov	x0, x20
	bl	_ENGINE_get_RAND
	cbz	x0, LBB0_6
; %bb.4:
	mov	x19, x0
Lloh9:
	adrp	x8, _funct_ref@GOTPAGE
Lloh10:
	ldr	x8, [x8, _funct_ref@GOTPAGEOFF]
Lloh11:
	str	x20, [x8]
	b	LBB0_7
LBB0_5:
	mov	x19, #0
	b	LBB0_9
LBB0_6:
	mov	x0, x20
	bl	_ENGINE_finish
Lloh12:
	adrp	x19, _rand_meth@GOTPAGE
Lloh13:
	ldr	x19, [x19, _rand_meth@GOTPAGEOFF]
LBB0_7:
	str	x19, [x22]
LBB0_8:
	ldr	w0, [x21]
	bl	_CRYPTO_THREAD_unlock
LBB0_9:
	mov	x0, x19
	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 AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.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	_default_RAND_meth,8,3          ; @default_RAND_meth
	.comm	_funct_ref,8,3                  ; @funct_ref
	.comm	_rand_meth,4,2                  ; @rand_meth
.subsections_via_symbols
