	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prng_reset_nonce
_prng_reset_nonce:                      ## @prng_reset_nonce
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_nonce_md@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_md_kt_size
	movq	_nonce_secret_len@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	movq	_nonce_data@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	movl	%eax, %esi
	callq	_rand_bytes
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	popq	%rbp
	retq
LBB0_2:
	movq	_M_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	popq	%rbp
	jmp	_msg                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_nonce_md,4,2                   ## @nonce_md
	.comm	_nonce_secret_len,4,2           ## @nonce_secret_len
	.comm	_nonce_data,8,3                 ## @nonce_data
	.comm	_M_FATAL,4,2                    ## @M_FATAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ERROR: Random number generator cannot obtain entropy for PRNG"

	.no_dead_strip	_prng_reset_nonce
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prng_reset_nonce
_prng_reset_nonce:                      ; @prng_reset_nonce
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _nonce_md@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nonce_md@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_md_kt_size
Lloh3:
	adrp	x8, _nonce_secret_len@GOTPAGE
Lloh4:
	ldr	x8, [x8, _nonce_secret_len@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w1, w8, w0
Lloh6:
	adrp	x8, _nonce_data@GOTPAGE
Lloh7:
	ldr	x8, [x8, _nonce_data@GOTPAGEOFF]
Lloh8:
	ldr	x0, [x8]
	bl	_rand_bytes
	cbz	w0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh9:
	adrp	x8, _M_FATAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _M_FATAL@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_msg
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_nonce_md,4,2                   ; @nonce_md
	.comm	_nonce_secret_len,4,2           ; @nonce_secret_len
	.comm	_nonce_data,8,3                 ; @nonce_data
	.comm	_M_FATAL,4,2                    ; @M_FATAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ERROR: Random number generator cannot obtain entropy for PRNG"

	.no_dead_strip	_prng_reset_nonce
.subsections_via_symbols
