	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_seed                           ## -- Begin function seed
	.p2align	4, 0x90
_seed:                                  ## @seed
	.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
	callq	_srand
	xorl	%eax, %eax
	movq	_PERM@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rcx
	movb	%al, (%rcx,%rax)
	movq	(%r14), %rcx
	leal	1(%rax), %edx
	movb	%dl, 1(%rcx,%rax)
	movq	(%r14), %rcx
	leal	2(%rax), %edx
	movb	%dl, 2(%rcx,%rax)
	movq	(%r14), %rcx
	leal	3(%rax), %edx
	movb	%dl, 3(%rcx,%rax)
	addq	$4, %rax
	cmpq	$256, %rax                      ## imm = 0x100
	jne	LBB0_1
## %bb.2:
	movl	$255, %r12d
	movq	_RAND_MAX@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	leal	1(%r12), %ebx
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	xorl	%eax, %eax
	callq	_rand
	movl	%eax, %ecx
	movl	(%r15), %eax
	cltd
	idivl	%ebx
	movl	%eax, %esi
	movl	%ecx, %eax
	cltd
	idivl	%esi
	cltq
	cmpq	%rax, %r12
	jl	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r14), %rcx
	movb	(%rcx,%r12), %dl
	movb	(%rcx,%rax), %bl
	movb	%bl, (%rcx,%r12)
	movq	(%r14), %rcx
	movb	%dl, (%rcx,%rax)
	leaq	-1(%r12), %rax
	cmpq	$1, %r12
	movq	%rax, %r12
	ja	LBB0_3
## %bb.6:
	movq	(%r14), %rsi
	leaq	256(%rsi), %rdi
	movl	$256, %edx                      ## imm = 0x100
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memcpy                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PERM,8,3                       ## @PERM
	.comm	_RAND_MAX,4,2                   ## @RAND_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_seed                           ; -- Begin function seed
	.p2align	2
_seed:                                  ; @seed
	.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
	bl	_srand
	mov	x8, #0
Lloh0:
	adrp	x19, _PERM@GOTPAGE
Lloh1:
	ldr	x19, [x19, _PERM@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19]
	strb	w8, [x9, x8]
	add	x8, x8, #1
	cmp	x8, #256
	b.ne	LBB0_1
; %bb.2:
	mov	w20, #255
Lloh2:
	adrp	x21, _RAND_MAX@GOTPAGE
Lloh3:
	ldr	x21, [x21, _RAND_MAX@GOTPAGEOFF]
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	add	w22, w20, #1
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	bl	_rand
	ldr	w8, [x21]
	sdiv	w8, w8, w22
	sdiv	w8, w0, w8
	sxtw	x8, w8
	cmp	x20, x8
	b.lt	LBB0_4
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x19]
	ldrb	w10, [x9, x20]
	ldrb	w11, [x9, x8]
	strb	w11, [x9, x20]
	ldr	x9, [x19]
	strb	w10, [x9, x8]
	subs	x20, x20, #1
	b.hi	LBB0_3
; %bb.6:
	ldr	x1, [x19]
	add	x0, x1, #256
	mov	w2, #256
	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
	b	_memcpy
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_PERM,8,3                       ; @PERM
	.comm	_RAND_MAX,4,2                   ; @RAND_MAX
.subsections_via_symbols
