	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_os_get_random                  ## -- Begin function os_get_random
	.p2align	4, 0x90
_os_get_random:                         ## @os_get_random
	.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	%rsi, %r15
	movq	%rdi, %r14
	movq	_PROV_RSA_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_CRYPT_VERIFYCONTEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%ebx, %ebx
	leaq	-28(%rbp), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_CryptAcquireContext
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	-28(%rbp), %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_CryptGenRandom
	movq	%rax, %r14
	movl	-28(%rbp), %edi
	xorl	%esi, %esi
	callq	_CryptReleaseContext
	cmpq	$1, %r14
	sbbl	%ebx, %ebx
	jmp	LBB0_3
LBB0_1:
	movl	$-1, %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PROV_RSA_FULL,4,2              ## @PROV_RSA_FULL
	.comm	_CRYPT_VERIFYCONTEXT,4,2        ## @CRYPT_VERIFYCONTEXT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_os_get_random                  ; -- Begin function os_get_random
	.p2align	2
_os_get_random:                         ; @os_get_random
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _PROV_RSA_FULL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PROV_RSA_FULL@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
Lloh3:
	adrp	x8, _CRYPT_VERIFYCONTEXT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CRYPT_VERIFYCONTEXT@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	add	x0, sp, #12
	mov	x1, #0
	mov	x2, #0
	bl	_CryptAcquireContext
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w0, [sp, #12]
	mov	x1, x20
	mov	x2, x19
	bl	_CryptGenRandom
	mov	x19, x0
	ldr	w0, [sp, #12]
	mov	w1, #0
	bl	_CryptReleaseContext
	cmp	x19, #0
	csetm	w0, eq
	b	LBB0_3
LBB0_2:
	mov	w0, #-1
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PROV_RSA_FULL,4,2              ; @PROV_RSA_FULL
	.comm	_CRYPT_VERIFYCONTEXT,4,2        ; @CRYPT_VERIFYCONTEXT
.subsections_via_symbols
