	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function fyshuffle
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_fyshuffle:                             ## @fyshuffle
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	cmpl	$2, %r15d
	jl	LBB0_3
## %bb.1:
	movq	%rdi, %r14
	movl	%r15d, %ebx
	incq	%rbx
	movq	_RAND_MAX@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leal	-2(%rbx), %r13d
	xorps	%xmm0, %xmm0
	cvtsi2sd	%r15d, %xmm0
	movsd	%xmm0, -48(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	callq	_rand
	movsd	(%r12), %xmm1                   ## xmm1 = mem[0],zero
	addsd	LCPI0_0(%rip), %xmm1
	divsd	%xmm1, %xmm0
	mulsd	-48(%rbp), %xmm0                ## 8-byte Folded Reload
	cvttsd2si	%xmm0, %eax
	cltq
	movl	(%r14,%r13,4), %ecx
	movl	(%r14,%rax,4), %edx
	movl	%edx, (%r14,%r13,4)
	movl	%ecx, (%r14,%rax,4)
	decq	%rbx
	decl	%r15d
	cmpq	$2, %rbx
	ja	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RAND_MAX,8,3                   ## @RAND_MAX
	.no_dead_strip	_fyshuffle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fyshuffle
_fyshuffle:                             ; @fyshuffle
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-80]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset b8, -72
	.cfi_offset b9, -80
	mov	x19, x1
	cmp	w19, #2
	b.lt	LBB0_3
; %bb.1:
	mov	x20, x0
	and	x8, x19, #0xffffffff
	add	x21, x8, #1
Lloh0:
	adrp	x22, _RAND_MAX@GOTPAGE
Lloh1:
	ldr	x22, [x22, _RAND_MAX@GOTPAGEOFF]
	fmov	d8, #1.00000000
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	w23, w21, #2
	scvtf	d9, w19
	bl	_rand
	ldr	d1, [x22]
	fadd	d1, d1, d8
	fdiv	d0, d0, d1
	fmul	d0, d0, d9
	fcvtzs	w8, d0
	lsl	x9, x23, #2
	ldr	w10, [x20, x9]
	sbfiz	x8, x8, #2, #32
	ldr	w11, [x20, x8]
	str	w11, [x20, x9]
	str	w10, [x20, x8]
	sub	x21, x21, #1
	sub	w19, w19, #1
	cmp	x21, #2
	b.hi	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #80               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_RAND_MAX,8,3                   ; @RAND_MAX
	.no_dead_strip	_fyshuffle
.subsections_via_symbols
