	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function permute_x86
_permute_x86:                           ## @permute_x86
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$129, %edx
	je	LBB0_4
## %bb.1:
	xorl	%eax, %eax
	cmpl	$128, %edx
	jne	LBB0_7
## %bb.2:
	movq	_idct_sse2_row_perm@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rsi,%rax,4), %r9d
	movl	%eax, %edx
	andl	$56, %edx
	movl	%eax, %ecx
	andl	$6, %ecx
	movslq	(%r8,%rcx,4), %rcx
	orq	%rdx, %rcx
	movl	%r9d, (%rdi,%rcx,4)
	leal	1(%rax), %ecx
	movl	4(%rsi,%rax,4), %r9d
	andl	$7, %ecx
	movslq	(%r8,%rcx,4), %rcx
	orq	%rdx, %rcx
	movl	%r9d, (%rdi,%rcx,4)
	addq	$2, %rax
	cmpq	$64, %rax
	jne	LBB0_3
	jmp	LBB0_6
LBB0_4:
	movq	_idct_simple_mmx_perm@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rsi,%rcx,4), %r8d
	movq	(%rax,%rcx,8), %rdx
	movl	%r8d, (%rdi,%rdx,4)
	movl	4(%rsi,%rcx,4), %r8d
	movq	8(%rax,%rcx,8), %rdx
	movl	%r8d, (%rdi,%rdx,4)
	movl	8(%rsi,%rcx,4), %r8d
	movq	16(%rax,%rcx,8), %rdx
	movl	%r8d, (%rdi,%rdx,4)
	movl	12(%rsi,%rcx,4), %r8d
	movq	24(%rax,%rcx,8), %rdx
	movl	%r8d, (%rdi,%rdx,4)
	addq	$4, %rcx
	cmpq	$64, %rcx
	jne	LBB0_5
LBB0_6:
	movl	$1, %eax
LBB0_7:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_idct_simple_mmx_perm,8,3       ## @idct_simple_mmx_perm
	.comm	_idct_sse2_row_perm,8,3         ## @idct_sse2_row_perm
	.no_dead_strip	_permute_x86
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function permute_x86
_permute_x86:                           ; @permute_x86
	.cfi_startproc
; %bb.0:
	cmp	w2, #129
	b.eq	LBB0_4
; %bb.1:
	cmp	w2, #128
	b.ne	LBB0_7
; %bb.2:
	mov	x8, #0
Lloh0:
	adrp	x9, _idct_sse2_row_perm@GOTPAGE
Lloh1:
	ldr	x9, [x9, _idct_sse2_row_perm@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x1, x8, lsl #2]
	and	x11, x8, #0x7
	ldr	w11, [x9, x11, lsl #2]
	and	w12, w8, #0x38
	orr	w11, w11, w12
	str	w10, [x0, w11, sxtw #2]
	add	x8, x8, #1
	cmp	x8, #64
	b.ne	LBB0_3
	b	LBB0_6
LBB0_4:
	mov	x8, #0
Lloh3:
	adrp	x9, _idct_simple_mmx_perm@GOTPAGE
Lloh4:
	ldr	x9, [x9, _idct_simple_mmx_perm@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x1, x8, lsl #2]
	ldr	x11, [x9, x8, lsl #3]
	str	w10, [x0, x11, lsl #2]
	add	x8, x8, #1
	cmp	x8, #64
	b.ne	LBB0_5
LBB0_6:
	mov	w0, #1
	ret
LBB0_7:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_idct_simple_mmx_perm,8,3       ; @idct_simple_mmx_perm
	.comm	_idct_sse2_row_perm,8,3         ; @idct_sse2_row_perm
	.no_dead_strip	_permute_x86
.subsections_via_symbols
