	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_res_nrandomid                  ## -- Begin function res_nrandomid
	.p2align	4, 0x90
_res_nrandomid:                         ## @res_nrandomid
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	testq	%rbx, %rbx
	jne	LBB0_2
## %bb.1:
	movq	_srnd@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_2:
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	callq	_gettimeofday
	movl	-44(%rbp), %eax
	xorl	-48(%rbp), %eax
	cltq
	movq	%rax, -40(%rbp)
	leaq	112(%rbx), %r14
	leaq	-40(%rbp), %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$2, %edx
	callq	_memcpy
	leaq	-52(%rbp), %r12
	movq	%r12, %rdi
	callq	_MD5_Init
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$16, %edx
	callq	_MD5_Update
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_MD5_Final
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	$2, %edx
	callq	_memcpy
	movl	-40(%rbp), %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_srnd,8,3                       ## @srnd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_res_nrandomid                  ; -- Begin function res_nrandomid
	.p2align	2
_res_nrandomid:                         ; @res_nrandomid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _srnd@GOTPAGE
Lloh1:
	ldr	x9, [x9, _srnd@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, #0
	csel	x19, x9, x8, eq
	add	x0, sp, #24
	mov	x1, #0
	bl	_gettimeofday
	ldp	w8, w9, [sp, #24]
	eor	w8, w9, w8
	sxtw	x8, w8
	str	x8, [sp, #16]
	add	x20, x19, #112
	add	x1, sp, #16
	mov	x0, x20
	mov	w2, #2
	bl	_memcpy
	add	x0, sp, #12
	bl	_MD5_Init
	add	x0, sp, #12
	mov	x1, x19
	mov	w2, #16
	bl	_MD5_Update
	add	x1, sp, #12
	mov	x0, x19
	bl	_MD5_Final
	add	x0, sp, #16
	mov	x1, x20
	mov	w2, #2
	bl	_memcpy
	ldr	w0, [sp, #16]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_srnd,8,3                       ; @srnd
.subsections_via_symbols
