	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_block_permute               ## -- Begin function ff_block_permute
	.p2align	4, 0x90
_ff_block_permute:                      ## @ff_block_permute
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$520, %rsp                      ## imm = 0x208
	.cfi_offset %rbx, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	testl	%ecx, %ecx
	jle	LBB0_15
## %bb.1:
	movl	%ecx, %r8d
	leaq	1(%r8), %r9
	testl	%ecx, %ecx
	je	LBB0_2
## %bb.8:
	movl	%r9d, %r10d
	andl	$-2, %r10d
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%rdx,%rax,4), %r11
	movq	(%rdi,%r11,8), %rbx
	movq	%rbx, -528(%rbp,%r11,8)
	movq	$0, (%rdi,%r11,8)
	movslq	4(%rdx,%rax,4), %r11
	movq	(%rdi,%r11,8), %rbx
	movq	%rbx, -528(%rbp,%r11,8)
	movq	$0, (%rdi,%r11,8)
	addq	$2, %rax
	cmpq	%rax, %r10
	jne	LBB0_9
## %bb.3:
	testb	$1, %r9b
	je	LBB0_5
LBB0_4:
	movslq	(%rdx,%rax,4), %r10
	movq	(%rdi,%r10,8), %rax
	movq	%rax, -528(%rbp,%r10,8)
	movq	$0, (%rdi,%r10,8)
LBB0_5:
	testl	%ecx, %ecx
	js	LBB0_15
## %bb.6:
	movl	%r9d, %r10d
	andl	$3, %r10d
	cmpl	$3, %r8d
	jae	LBB0_10
## %bb.7:
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_2:
	xorl	%eax, %eax
	testb	$1, %r9b
	jne	LBB0_4
	jmp	LBB0_5
LBB0_10:
	andl	$-4, %r9d
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movslq	(%rdx,%rax,4), %rbx
	movslq	(%rsi,%rbx,4), %rcx
	movq	-528(%rbp,%rbx,8), %rbx
	movq	%rbx, (%rdi,%rcx,8)
	movslq	4(%rdx,%rax,4), %rcx
	movslq	(%rsi,%rcx,4), %rbx
	movq	-528(%rbp,%rcx,8), %rcx
	movq	%rcx, (%rdi,%rbx,8)
	movslq	8(%rdx,%rax,4), %rcx
	movslq	(%rsi,%rcx,4), %rbx
	movq	-528(%rbp,%rcx,8), %rcx
	movq	%rcx, (%rdi,%rbx,8)
	movslq	12(%rdx,%rax,4), %rcx
	movslq	(%rsi,%rcx,4), %rbx
	movq	-528(%rbp,%rcx,8), %rcx
	movq	%rcx, (%rdi,%rbx,8)
	addq	$4, %rax
	cmpq	%rax, %r9
	jne	LBB0_11
LBB0_12:
	testq	%r10, %r10
	je	LBB0_15
## %bb.13:
	leaq	(%rdx,%rax,4), %rax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movslq	(%rax,%rdx,4), %rcx
	movslq	(%rsi,%rcx,4), %rbx
	movq	-528(%rbp,%rcx,8), %rcx
	movq	%rcx, (%rdi,%rbx,8)
	incq	%rdx
	cmpq	%rdx, %r10
	jne	LBB0_14
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	addq	$520, %rsp                      ## imm = 0x208
	popq	%rbx
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_block_permute               ; -- Begin function ff_block_permute
	.p2align	2
_ff_block_permute:                      ; @ff_block_permute
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w27, -24
	.cfi_offset w28, -32
	sub	sp, sp, #528
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	cmp	w3, #1
	b.lt	LBB0_11
; %bb.1:
	add	w8, w3, #1
	add	x9, sp, #8
	mov	x10, x8
	mov	x11, x2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x12, [x11], #4
	lsl	x12, x12, #3
	ldr	x13, [x0, x12]
	str	x13, [x9, x12]
	str	xzr, [x0, x12]
	subs	x10, x10, #1
	b.ne	LBB0_2
; %bb.3:
	tbnz	w3, #31, LBB0_11
; %bb.4:
	cmp	w3, #3
	b.hs	LBB0_6
; %bb.5:
	mov	x9, #0
	b	LBB0_9
LBB0_6:
	and	x9, x8, #0xfffffffc
	add	x10, x2, #8
	add	x11, sp, #8
	mov	x12, x9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldpsw	x13, x14, [x10, #-8]
	ldpsw	x15, x16, [x10], #16
	ldrsw	x17, [x1, x13, lsl #2]
	ldrsw	x3, [x1, x14, lsl #2]
	ldrsw	x4, [x1, x15, lsl #2]
	ldrsw	x5, [x1, x16, lsl #2]
	ldr	x13, [x11, x13, lsl #3]
	ldr	x14, [x11, x14, lsl #3]
	ldr	x15, [x11, x15, lsl #3]
	ldr	x16, [x11, x16, lsl #3]
	str	x13, [x0, x17, lsl #3]
	str	x14, [x0, x3, lsl #3]
	str	x15, [x0, x4, lsl #3]
	str	x16, [x0, x5, lsl #3]
	subs	x12, x12, #4
	b.ne	LBB0_7
; %bb.8:
	cmp	x9, x8
	b.eq	LBB0_11
LBB0_9:
	add	x10, x2, x9, lsl #2
	sub	x8, x8, x9
	add	x9, sp, #8
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldrsw	x11, [x10], #4
	ldrsw	x12, [x1, x11, lsl #2]
	ldr	x11, [x9, x11, lsl #3]
	str	x11, [x0, x12, lsl #3]
	subs	x8, x8, #1
	b.ne	LBB0_10
LBB0_11:
	ldur	x8, [x29, #-24]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	add	sp, sp, #528
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
