	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function randomid
_randomid:                              ## @randomid
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	cmpq	8(%rdi), %rax
	jge	LBB0_2
## %bb.1:
	movq	_time_uptime@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	16(%rbx), %rax
	jle	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	callq	_initid
LBB0_3:
	xorl	%eax, %eax
	callq	_arc4random
	movl	%eax, %r14d
	andl	$3, %r14d
	movq	(%rbx), %rax
	addq	%r14, %rax
	cmpq	8(%rbx), %rax
	jl	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_initid
LBB0_5:
	movl	72(%rbx), %esi
	movl	28(%rbx), %ecx
	movl	64(%rbx), %edi
	movl	24(%rbx), %eax
	imull	%esi, %eax
	addl	%edi, %eax
	cltd
	idivl	%ecx
	testl	%r14d, %r14d
	je	LBB0_9
## %bb.6:
	imull	%esi, %edx
	addl	%edi, %edx
	movl	%edx, %eax
	cltd
	idivl	%ecx
	cmpl	$1, %r14d
	je	LBB0_9
## %bb.7:
	imull	%esi, %edx
	addl	%edi, %edx
	movl	%edx, %eax
	cltd
	idivl	%ecx
	cmpl	$2, %r14d
	je	LBB0_9
## %bb.8:
	imull	%esi, %edx
	addl	%edi, %edx
	movl	%edx, %eax
	cltd
	idivl	%ecx
LBB0_9:
	movl	%edx, 24(%rbx)
	movl	%r14d, %eax
	movq	(%rbx), %rcx
	addq	%rcx, %rax
	incq	%rax
	movq	%rax, (%rbx)
	movl	32(%rbx), %r14d
	movl	56(%rbx), %edi
	movslq	%edx, %rsi
	addq	48(%rbx), %rsi
	movl	40(%rbx), %edx
	callq	_pmod
	xorl	%r14d, %eax
	orl	36(%rbx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_time_uptime,8,3                ## @time_uptime
	.no_dead_strip	_randomid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function randomid
_randomid:                              ; @randomid
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldp	x8, x9, [x0]
	cmp	x8, x9
	b.ge	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _time_uptime@GOTPAGE
Lloh1:
	ldr	x8, [x8, _time_uptime@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x19, #16]
	cmp	x8, x9
	b.le	LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_initid
LBB0_3:
	bl	_arc4random
	and	w20, w0, #0x3
	ldp	x8, x9, [x19]
	add	x8, x8, x20
	cmp	x8, x9
	b.lt	LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_initid
LBB0_5:
	ldr	w9, [x19, #72]
	ldr	w11, [x19, #64]
	ldp	w8, w10, [x19, #24]
	madd	w8, w8, w9, w11
	sdiv	w12, w8, w10
	msub	w8, w12, w10, w8
	cbz	w20, LBB0_9
; %bb.6:
	madd	w8, w8, w9, w11
	sdiv	w12, w8, w10
	msub	w8, w12, w10, w8
	cmp	w20, #1
	b.eq	LBB0_9
; %bb.7:
	madd	w8, w8, w9, w11
	sdiv	w12, w8, w10
	msub	w8, w12, w10, w8
	cmp	w20, #2
	b.eq	LBB0_9
; %bb.8:
	madd	w8, w8, w9, w11
	sdiv	w9, w8, w10
	msub	w8, w9, w10, w8
LBB0_9:
	add	w9, w20, #1
	str	w8, [x19, #24]
	ldr	x10, [x19]
	add	x9, x10, x9
	str	x9, [x19]
	ldr	w20, [x19, #32]
	ldr	w0, [x19, #56]
	ldr	x9, [x19, #48]
	add	x1, x9, w8, sxtw
	ldr	w2, [x19, #40]
	bl	_pmod
	eor	w8, w0, w20
	ldr	w9, [x19, #36]
	orr	w0, w8, w9
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_time_uptime,8,3                ; @time_uptime
	.no_dead_strip	_randomid
.subsections_via_symbols
