	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Sys_RandomBytes                ## -- Begin function Sys_RandomBytes
	.p2align	4, 0x90
_Sys_RandomBytes:                       ## @Sys_RandomBytes
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_PROV_RSA_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_CRYPT_VERIFYCONTEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-20(%rbp), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_CryptAcquireContext
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movl	-20(%rbp), %edi
	movl	%r14d, %esi
	movq	%rbx, %rdx
	callq	_CryptGenRandom
	movl	%eax, %ebx
	movl	-20(%rbp), %edi
	xorl	%esi, %esi
	callq	_CryptReleaseContext
	testl	%ebx, %ebx
	jne	LBB0_2
LBB0_3:
	movq	_qfalse@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_qtrue@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PROV_RSA_FULL,4,2              ## @PROV_RSA_FULL
	.comm	_CRYPT_VERIFYCONTEXT,4,2        ## @CRYPT_VERIFYCONTEXT
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_qtrue,4,2                      ## @qtrue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Sys_RandomBytes                ; -- Begin function Sys_RandomBytes
	.p2align	2
_Sys_RandomBytes:                       ; @Sys_RandomBytes
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	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
Lloh6:
	adrp	x21, _qfalse@GOTPAGE
Lloh7:
	ldr	x21, [x21, _qfalse@GOTPAGEOFF]
	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
Lloh8:
	adrp	x8, _qtrue@GOTPAGE
Lloh9:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
	cmp	w19, #0
	csel	x21, x21, x8, eq
LBB0_2:
	ldr	w0, [x21]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_PROV_RSA_FULL,4,2              ; @PROV_RSA_FULL
	.comm	_CRYPT_VERIFYCONTEXT,4,2        ; @CRYPT_VERIFYCONTEXT
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_qtrue,4,2                      ; @qtrue
.subsections_via_symbols
