	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function permute
_permute:                               ## @permute
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$130, %edx
	je	LBB0_9
## %bb.1:
	cmpl	$129, %edx
	je	LBB0_11
## %bb.2:
	cmpl	$128, %edx
	jne	LBB0_5
## %bb.3:
	movl	$8, %r9d
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rsi,%rcx,4), %r8d
	movl	%ecx, %edx
	shrl	$3, %edx
	leal	-8(%r9), %eax
	andl	$48, %eax
	orl	%edx, %eax
	movl	%r8d, (%rdi,%rax,4)
	movl	4(%rsi,%rcx,4), %r8d
	leal	1(%rcx), %edx
	shrl	$3, %edx
	movl	%r9d, %eax
	andl	$56, %eax
	orl	%edx, %eax
	movl	%r8d, (%rdi,%rax,4)
	addq	$2, %rcx
	addl	$16, %r9d
	cmpq	$64, %rcx
	jne	LBB0_4
	jmp	LBB0_13
LBB0_9:
	xorl	%r10d, %r10d
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rsi,%rcx,4), %r8d
	movl	%ecx, %r9d
	andl	$56, %r9d
	movl	%r10d, %eax
	andl	$3, %eax
	orq	%r9, %rax
	movl	%r8d, (%rdi,%rax,4)
	movl	4(%rsi,%rcx,4), %edx
	movl	%edx, 16(%rdi,%rax,4)
	addq	$2, %rcx
	incq	%r10
	cmpq	$64, %rcx
	jne	LBB0_10
	jmp	LBB0_13
LBB0_11:
	movl	$8, %r10d
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rsi,%rax,4), %r8d
	movl	%eax, %r9d
	andl	$36, %r9d
	leal	-8(%r10), %edx
	andl	$16, %edx
	orq	%r9, %rdx
	movl	%eax, %ecx
	shrl	$3, %ecx
	andl	$3, %ecx
	orq	%rcx, %rdx
	movl	%r8d, (%rdi,%rdx,4)
	movl	4(%rsi,%rax,4), %r8d
	movl	%r10d, %edx
	andl	$24, %edx
	orq	%r9, %rdx
	orq	%rcx, %rdx
	movl	%r8d, (%rdi,%rdx,4)
	addq	$2, %rax
	addq	$16, %r10
	cmpq	$64, %rax
	jne	LBB0_12
	jmp	LBB0_13
LBB0_5:
	movq	%rdi, %rax
	subq	%rsi, %rax
	cmpq	$15, %rax
	ja	LBB0_8
## %bb.6:
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rsi,%rax,4), %ecx
	movl	%ecx, (%rdi,%rax,4)
	movl	4(%rsi,%rax,4), %ecx
	movl	%ecx, 4(%rdi,%rax,4)
	movl	8(%rsi,%rax,4), %ecx
	movl	%ecx, 8(%rdi,%rax,4)
	movl	12(%rsi,%rax,4), %ecx
	movl	%ecx, 12(%rdi,%rax,4)
	addq	$4, %rax
	cmpq	$64, %rax
	jne	LBB0_7
LBB0_13:
	popq	%rbp
	retq
LBB0_8:
	movups	(%rsi), %xmm0
	movups	%xmm0, (%rdi)
	movups	16(%rsi), %xmm0
	movups	%xmm0, 16(%rdi)
	movups	32(%rsi), %xmm0
	movups	%xmm0, 32(%rdi)
	movups	48(%rsi), %xmm0
	movups	%xmm0, 48(%rdi)
	movups	64(%rsi), %xmm0
	movups	%xmm0, 64(%rdi)
	movups	80(%rsi), %xmm0
	movups	%xmm0, 80(%rdi)
	movups	96(%rsi), %xmm0
	movups	%xmm0, 96(%rdi)
	movups	112(%rsi), %xmm0
	movups	%xmm0, 112(%rdi)
	movups	128(%rsi), %xmm0
	movups	%xmm0, 128(%rdi)
	movups	144(%rsi), %xmm0
	movups	%xmm0, 144(%rdi)
	movups	160(%rsi), %xmm0
	movups	%xmm0, 160(%rdi)
	movups	176(%rsi), %xmm0
	movups	%xmm0, 176(%rdi)
	movups	192(%rsi), %xmm0
	movups	%xmm0, 192(%rdi)
	movups	208(%rsi), %xmm0
	movups	%xmm0, 208(%rdi)
	movups	224(%rsi), %xmm0
	movups	%xmm0, 224(%rdi)
	movups	240(%rsi), %xmm0
	movups	%xmm0, 240(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_permute
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function permute
_permute:                               ; @permute
	.cfi_startproc
; %bb.0:
	cmp	w2, #130
	b.eq	LBB0_5
; %bb.1:
	cmp	w2, #129
	b.eq	LBB0_7
; %bb.2:
	cmp	w2, #128
	b.ne	LBB0_9
; %bb.3:
	mov	w8, #0
	mov	x9, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x1, x9, lsl #2]
	and	w11, w8, #0x38
	orr	w11, w11, w9, lsr #3
	str	w10, [x0, w11, uxtw #2]
	add	x9, x9, #1
	add	w8, w8, #8
	cmp	x9, #64
	b.ne	LBB0_4
	b	LBB0_12
LBB0_5:
	mov	x8, #0
	mov	x9, #-64
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x10, x9, #64
	ldr	w11, [x1, x8]
	and	x12, x10, #0x38
	bfxil	x12, x10, #1, #2
	and	x10, x8, #0x4
	orr	x10, x12, x10
	str	w11, [x0, x10, lsl #2]
	add	x8, x8, #4
	adds	x9, x9, #1
	b.lo	LBB0_6
	b	LBB0_12
LBB0_7:
	mov	x8, #0
	mov	x9, #0
	mov	w10, #36
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x1, x9, lsl #2]
	and	x12, x9, x10
	and	x13, x8, #0x18
	orr	x12, x13, x12
	bfxil	x12, x9, #3, #2
	str	w11, [x0, x12, lsl #2]
	add	x9, x9, #1
	add	x8, x8, #8
	cmp	x9, #64
	b.ne	LBB0_8
	b	LBB0_12
LBB0_9:
	sub	x8, x0, x1
	cmp	x8, #15
	b.hi	LBB0_13
; %bb.10:
	mov	x8, #0
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x1, x8]
	str	w9, [x0, x8]
	add	x8, x8, #4
	cmp	x8, #256
	b.ne	LBB0_11
LBB0_12:
	ret
LBB0_13:
	ldr	q0, [x1]
	str	q0, [x0]
	ldr	q0, [x1, #16]
	str	q0, [x0, #16]
	ldr	q0, [x1, #32]
	str	q0, [x0, #32]
	ldr	q0, [x1, #48]
	str	q0, [x0, #48]
	ldr	q0, [x1, #64]
	str	q0, [x0, #64]
	ldr	q0, [x1, #80]
	str	q0, [x0, #80]
	ldr	q0, [x1, #96]
	str	q0, [x0, #96]
	ldr	q0, [x1, #112]
	str	q0, [x0, #112]
	ldr	q0, [x1, #128]
	str	q0, [x0, #128]
	ldr	q0, [x1, #144]
	str	q0, [x0, #144]
	ldr	q0, [x1, #160]
	str	q0, [x0, #160]
	ldr	q0, [x1, #176]
	str	q0, [x0, #176]
	ldr	q0, [x1, #192]
	str	q0, [x0, #192]
	ldr	q0, [x1, #208]
	str	q0, [x0, #208]
	ldr	q0, [x1, #224]
	str	q0, [x0, #224]
	ldr	q0, [x1, #240]
	str	q0, [x0, #240]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_permute
.subsections_via_symbols
