	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pRNG
_pRNG:                                  ## @pRNG
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%edi, %ebx
	movl	%esi, %edi
	movl	$1877, %esi                     ## imm = 0x755
	callq	_MUL16
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%rbx), %ecx
	cmpl	$65535, %ecx                    ## imm = 0xFFFF
	leal	-65535(%rax,%rbx), %ebx
	cmovbl	%ecx, %ebx
	movl	$477218589, %edi                ## imm = 0x1C71C71D
	movl	%ebx, %esi
	callq	_MULH
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%rax,8), %eax
	movl	%ebx, %ecx
	subl	%eax, %ecx
	leaq	_pRNG.div_tbl(%rip), %rax
	movl	(%rax,%rcx,8), %r15d
	imull	%ebx, %r15d
	movl	4(%rax,%rcx,8), %esi
	movl	%ebx, %edi
	callq	_UMULH
	addl	%r15d, %eax
	movl	$1000, %ecx                     ## imm = 0x3E8
	subl	%r14d, %ecx
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
	movl	%edx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @pRNG.div_tbl
_pRNG.div_tbl:
	.long	8332                            ## 0x208c
	.long	2147483649                      ## 0x80000001
	.long	4545                            ## 0x11c1
	.long	0                               ## 0x0
	.long	3124                            ## 0xc34
	.long	2952790016                      ## 0xb0000000
	.long	2380                            ## 0x94c
	.long	3067833795                      ## 0xb6db6dc3
	.long	1922                            ## 0x782
	.long	3799394150                      ## 0xe2762766
	.long	1612                            ## 0x64c
	.long	3186588659                      ## 0xbdef7bf3
	.long	1388                            ## 0x56c
	.long	3221225496                      ## 0xc0000018
	.long	1219                            ## 0x4c3
	.long	1676084800                      ## 0x63e70640
	.long	1086                            ## 0x43e
	.long	3641385345                      ## 0xd90b2181

	.no_dead_strip	_pRNG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pRNG
_pRNG:                                  ; @pRNG
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x2
	mov	x20, x0
	mov	x0, x1
	mov	w1, #1877
	bl	_MUL16
	mov	w8, #-65535
	add	w9, w0, w20
	add	w8, w9, w8
	mov	w10, #65534
	cmp	w9, w10
	csel	w20, w8, w9, hi
	mov	w0, #50973
	movk	w0, #7281, lsl #16
	mov	x1, x20
	bl	_MULH
	add	w8, w0, w0, lsl #3
	sub	w8, w20, w8
Lloh0:
	adrp	x9, _pRNG.div_tbl@PAGE
Lloh1:
	add	x9, x9, _pRNG.div_tbl@PAGEOFF
	add	x8, x9, w8, uxtw #3
	ldp	w21, w1, [x8]
	mov	x0, x20
	bl	_UMULH
	madd	w8, w20, w21, w0
	mov	w9, #1000
	sub	w9, w9, w19
	udiv	w10, w8, w9
	msub	w0, w10, w9, w8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @pRNG.div_tbl
_pRNG.div_tbl:
	.long	8332                            ; 0x208c
	.long	2147483649                      ; 0x80000001
	.long	4545                            ; 0x11c1
	.long	0                               ; 0x0
	.long	3124                            ; 0xc34
	.long	2952790016                      ; 0xb0000000
	.long	2380                            ; 0x94c
	.long	3067833795                      ; 0xb6db6dc3
	.long	1922                            ; 0x782
	.long	3799394150                      ; 0xe2762766
	.long	1612                            ; 0x64c
	.long	3186588659                      ; 0xbdef7bf3
	.long	1388                            ; 0x56c
	.long	3221225496                      ; 0xc0000018
	.long	1219                            ; 0x4c3
	.long	1676084800                      ; 0x63e70640
	.long	1086                            ; 0x43e
	.long	3641385345                      ; 0xd90b2181

	.no_dead_strip	_pRNG
.subsections_via_symbols
