	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function mkrand
LCPI0_0:
	.long	2147483647                      ## 0x7fffffff
	.long	2147483647                      ## 0x7fffffff
	.long	2147483647                      ## 0x7fffffff
	.long	2147483647                      ## 0x7fffffff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_mkrand:                                ## @mkrand
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %rbx
	leal	31(%r14), %r12d
	movl	%r12d, %eax
	sarl	$5, %eax
	movslq	%eax, %r15
	movq	(%rdi), %rax
	addq	$4, %rsi
	leaq	(,%r15,4), %rdx
	callq	*(%rax)
	cmpl	$64, %r12d
	jb	LBB0_11
## %bb.1:
	cmpq	$3, %r15
	movl	$2, %eax
	cmovaeq	%r15, %rax
	leaq	-1(%rax), %r8
	movl	$1, %ecx
	cmpq	$8, %r8
	jb	LBB0_10
## %bb.2:
	movq	%r8, %rcx
	andq	$-8, %rcx
	leaq	-8(%rcx), %rsi
	movq	%rsi, %rdx
	shrq	$3, %rdx
	incq	%rdx
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.4:
	movq	%rdx, %rdi
	andq	$-2, %rdi
	movl	$1, %esi
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [2147483647,2147483647,2147483647,2147483647]
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movups	(%rbx,%rsi,4), %xmm1
	movups	16(%rbx,%rsi,4), %xmm2
	movups	32(%rbx,%rsi,4), %xmm3
	movups	48(%rbx,%rsi,4), %xmm4
	andps	%xmm0, %xmm1
	andps	%xmm0, %xmm2
	movups	%xmm1, (%rbx,%rsi,4)
	movups	%xmm2, 16(%rbx,%rsi,4)
	andps	%xmm0, %xmm3
	andps	%xmm0, %xmm4
	movups	%xmm3, 32(%rbx,%rsi,4)
	movups	%xmm4, 48(%rbx,%rsi,4)
	addq	$16, %rsi
	addq	$-2, %rdi
	jne	LBB0_5
## %bb.6:
	testb	$1, %dl
	je	LBB0_8
LBB0_7:
	movups	(%rbx,%rsi,4), %xmm0
	movups	16(%rbx,%rsi,4), %xmm1
	movaps	LCPI0_0(%rip), %xmm2            ## xmm2 = [2147483647,2147483647,2147483647,2147483647]
	andps	%xmm2, %xmm0
	andps	%xmm2, %xmm1
	movups	%xmm0, (%rbx,%rsi,4)
	movups	%xmm1, 16(%rbx,%rsi,4)
LBB0_8:
	cmpq	%rcx, %r8
	je	LBB0_11
## %bb.9:
	orq	$1, %rcx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	andb	$127, 3(%rbx,%rcx,4)
	incq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_10
LBB0_11:
	andl	$31, %r14d
	movl	%r14d, %ecx
	xorb	$31, %cl
	movl	$2147483647, %eax               ## imm = 0x7FFFFFFF
	shrl	%cl, %eax
	movl	$2147483647, %ecx               ## imm = 0x7FFFFFFF
	testl	%r14d, %r14d
	cmovel	%ecx, %eax
	andl	%eax, (%rbx,%r15,4)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	$1, %esi
	testb	$1, %dl
	jne	LBB0_7
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mkrand
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mkrand
_mkrand:                                ; @mkrand
	.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	x20, x2
	mov	x19, x1
	add	w22, w2, #31
	asr	w8, w22, #5
	sbfx	x21, x22, #5, #27
	ldr	x9, [x0]
	ldr	x9, [x9]
	add	x1, x1, #4
	sbfiz	x2, x8, #2, #32
	blr	x9
	cmp	w22, #64
	b.lo	LBB0_8
; %bb.1:
	mov	w8, #2
	cmp	x21, #2
	csel	x8, x21, x8, hi
	sub	x10, x8, #1
	cmp	x10, #16
	b.hs	LBB0_3
; %bb.2:
	mov	w9, #1
	b	LBB0_6
LBB0_3:
	and	x11, x10, #0xfffffffffffffff0
	orr	x9, x11, #0x1
	add	x12, x19, #36
	mov	x13, x11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x12, #-32]
	ldp	q2, q3, [x12]
	bic.4s	v0, #128, lsl #24
	bic.4s	v1, #128, lsl #24
	bic.4s	v2, #128, lsl #24
	bic.4s	v3, #128, lsl #24
	stp	q0, q1, [x12, #-32]
	stp	q2, q3, [x12], #64
	subs	x13, x13, #16
	b.ne	LBB0_4
; %bb.5:
	cmp	x10, x11
	b.eq	LBB0_8
LBB0_6:
	sub	x8, x8, x9
	add	x9, x19, x9, lsl #2
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9]
	and	w10, w10, #0x7fffffff
	str	w10, [x9], #4
	subs	x8, x8, #1
	b.ne	LBB0_7
LBB0_8:
	ands	w8, w20, #0x1f
	eor	w8, w8, #0x1f
	mov	w9, #2147483647
	lsr	w8, w9, w8
	csel	w8, w9, w8, eq
	lsl	x9, x21, #2
	ldr	w10, [x19, x9]
	and	w8, w10, w8
	str	w8, [x19, x9]
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mkrand
.subsections_via_symbols
