	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_random                         ## -- Begin function random
	.p2align	4, 0x90
_random:                                ## @random
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_randseed@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rcx
	movabsq	$4730756183288445817, %rdx      ## imm = 0x41A705AF1FE3FB79
	movq	%rcx, %rax
	imulq	%rdx
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	$15, %rdx
	addq	%rax, %rdx
	imulq	$127773, %rdx, %rax             ## imm = 0x1F31D
	subq	%rax, %rcx
	imulq	$16807, %rcx, %rax              ## imm = 0x41A7
	imulq	$-2836, %rdx, %rcx              ## imm = 0xF4EC
	leaq	(%rcx,%rax), %rdx
	testq	%rdx, %rdx
	leaq	2147483647(%rcx,%rax), %rax
	cmovgq	%rdx, %rax
	movq	%rax, (%rsi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_randseed,8,3                   ## @randseed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_random                         ; -- Begin function random
	.p2align	2
_random:                                ; @random
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _randseed@GOTPAGE
Lloh1:
	ldr	x8, [x8, _randseed@GOTPAGEOFF]
	ldr	x9, [x8]
	mov	x10, #64377
	movk	x10, #8163, lsl #16
	movk	x10, #1455, lsl #32
	movk	x10, #16807, lsl #48
	smulh	x10, x9, x10
	asr	x11, x10, #15
	add	x10, x11, x10, lsr #63
	mov	w11, #62237
	movk	w11, #1, lsl #16
	msub	x9, x10, x11, x9
	mov	w11, #16807
	mul	x9, x9, x11
	mov	x11, #-2836
	madd	x9, x10, x11, x9
	mov	w10, #2147483647
	add	x10, x9, x10
	cmp	x9, #1
	csel	x0, x10, x9, lt
	str	x0, [x8]
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_randseed,8,3                   ; @randseed
.subsections_via_symbols
