	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i915_prandom_shuffle           ## -- Begin function i915_prandom_shuffle
	.p2align	4, 0x90
_i915_prandom_shuffle:                  ## @i915_prandom_shuffle
	.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
	subq	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rsi, -184(%rbp)                ## 8-byte Spill
	cmpq	$129, %rsi
	setae	%al
	movq	_U32_MAX@GOTPCREL(%rip), %rdx
	cmpq	%r13, (%rdx)
	movq	%rcx, -208(%rbp)                ## 8-byte Spill
	movq	%rdi, -192(%rbp)                ## 8-byte Spill
	setb	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_1
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	cmpq	$2, %r13
	jb	LBB0_7
## %bb.2:
	cmpq	$0, -184(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_7
## %bb.3:
	decq	%r13
	movq	-184(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rbx
	imulq	%r13, %rbx
	addq	-192(%rbp), %rbx                ## 8-byte Folded Reload
	negq	%r15
	movq	%r15, -200(%rbp)                ## 8-byte Spill
	movq	-184(%rbp), %r14                ## 8-byte Reload
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	addq	%r15, %rbx
	decq	%r13
	je	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leaq	1(%r13), %rdi
	movq	-208(%rbp), %rsi                ## 8-byte Reload
	callq	_i915_prandom_u32_max_state
	cmpq	%rax, %r13
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r12
	leaq	-176(%rbp), %r15
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_memcpy
	imulq	%r14, %r12
	addq	-192(%rbp), %r12                ## 8-byte Folded Reload
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_memcpy
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	-200(%rbp), %r15                ## 8-byte Reload
	movq	%r14, %rdx
	callq	_memcpy
	jmp	LBB0_6
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_U32_MAX,8,3                    ## @U32_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i915_prandom_shuffle           ; -- Begin function i915_prandom_shuffle
	.p2align	2
_i915_prandom_shuffle:                  ; @i915_prandom_shuffle
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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 w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	cmp	x1, #128
Lloh3:
	adrp	x8, _U32_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _U32_MAX@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ccmp	x8, x2, #0, ls
	cset	w0, lo
	bl	_WARN_ON
	cmp	x0, #0
	ccmp	x22, #2, #0, eq
	ccmp	x20, #0, #4, hs
	b.ne	LBB0_3
LBB0_1:
	ldur	x8, [x29, #-72]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.2:
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
LBB0_3:
	sub	x24, x22, #1
	madd	x22, x20, x24, x21
	neg	x25, x20
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, x25
	subs	x24, x24, #1
	b.eq	LBB0_1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x24, #1
	mov	x1, x19
	bl	_i915_prandom_u32_max_state
	cmp	x24, x0
	b.eq	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x23, x0
	add	x0, sp, #8
	mov	x1, x22
	mov	x2, x20
	bl	_memcpy
	madd	x23, x23, x20, x21
	mov	x0, x22
	mov	x1, x23
	mov	x2, x20
	bl	_memcpy
	add	x1, sp, #8
	mov	x0, x23
	mov	x2, x20
	bl	_memcpy
	b	LBB0_4
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_U32_MAX,8,3                    ; @U32_MAX
.subsections_via_symbols
