	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_rotate_slice                ## -- Begin function ff_rotate_slice
	.p2align	4, 0x90
_ff_rotate_slice:                       ## @ff_rotate_slice
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	je	LBB0_5
## %bb.1:
	movq	(%rdi), %r10
	movl	(%r10), %r8d
	movl	4(%r10), %r9d
	movl	%esi, %ecx
	subl	%r9d, %ecx
	leal	(%r8,%r8), %eax
	cmpl	%eax, %ecx
	jl	LBB0_3
## %bb.2:
	addl	%r8d, %r9d
	movl	%r9d, 4(%r10)
	subl	%r8d, 8(%r10)
LBB0_3:
	movl	36(%r10), %r8d
	movl	40(%r10), %ecx
	subl	%ecx, %esi
	leal	(%r8,%r8), %eax
	cmpl	%eax, %esi
	jl	LBB0_5
## %bb.4:
	addl	%r8d, %ecx
	movl	%ecx, 40(%r10)
	subl	%r8d, 44(%r10)
LBB0_5:
	testl	%edx, %edx
	je	LBB0_10
## %bb.6:
	movq	(%rdi), %rax
	movl	12(%rax), %r8d
	movl	16(%rax), %esi
	movl	%edx, %edi
	subl	%esi, %edi
	leal	(%r8,%r8), %ecx
	cmpl	%ecx, %edi
	jl	LBB0_8
## %bb.7:
	addl	%r8d, %esi
	movl	%esi, 16(%rax)
	subl	%r8d, 20(%rax)
LBB0_8:
	movl	24(%rax), %ecx
	movl	28(%rax), %esi
	subl	%esi, %edx
	leal	(%rcx,%rcx), %edi
	cmpl	%edi, %edx
	jl	LBB0_10
## %bb.9:
	addl	%ecx, %esi
	movl	%esi, 28(%rax)
	subl	%ecx, 32(%rax)
LBB0_10:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_rotate_slice                ; -- Begin function ff_rotate_slice
	.p2align	2
_ff_rotate_slice:                       ; @ff_rotate_slice
	.cfi_startproc
; %bb.0:
	cbz	w1, LBB0_5
; %bb.1:
	ldr	x8, [x0]
	ldp	w9, w10, [x8]
	sub	w11, w1, w10
	cmp	w11, w9, lsl #1
	b.lt	LBB0_3
; %bb.2:
	add	w10, w10, w9
	ldr	w11, [x8, #8]
	sub	w9, w11, w9
	stp	w10, w9, [x8, #4]
LBB0_3:
	ldp	w9, w10, [x8, #36]
	sub	w11, w1, w10
	cmp	w11, w9, lsl #1
	b.lt	LBB0_5
; %bb.4:
	add	w10, w10, w9
	ldr	w11, [x8, #44]
	sub	w9, w11, w9
	stp	w10, w9, [x8, #40]
LBB0_5:
	cbz	w2, LBB0_10
; %bb.6:
	ldr	x8, [x0]
	ldp	w9, w10, [x8, #12]
	sub	w11, w2, w10
	cmp	w11, w9, lsl #1
	b.lt	LBB0_8
; %bb.7:
	add	w10, w10, w9
	ldr	w11, [x8, #20]
	sub	w9, w11, w9
	stp	w10, w9, [x8, #16]
LBB0_8:
	ldp	w9, w10, [x8, #24]
	sub	w11, w2, w10
	cmp	w11, w9, lsl #1
	b.lt	LBB0_10
; %bb.9:
	add	w10, w10, w9
	ldr	w11, [x8, #32]
	sub	w9, w11, w9
	stp	w10, w9, [x8, #28]
LBB0_10:
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
