	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mode1516
_mode1516:                              ## @mode1516
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movl	%edx, %r12d
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movl	32(%rbp), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	24(%rbp), %r13d
	movl	16(%rbp), %r15d
	movl	%esi, %edi
	subl	%eax, %edi
	callq	_FFABS
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r12d, %edi
	subl	%r13d, %edi
	callq	_FFABS
	movl	%eax, %ebx
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%r14d, %edi
	subl	%r15d, %edi
	callq	_FFABS
	movl	%eax, %r14d
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%ebx, %esi
	callq	_FFMIN
	movl	%eax, %edi
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movl	%r14d, %esi
	callq	_FFMIN
	movq	%r12, %rdi
	leal	(%r12,%r13), %ecx
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%rdx, %r8
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %r12
	addl	%ebx, %edx
	movl	%r15d, %r9d
	addl	%r15d, %edx
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	addl	%ebx, %edx
	leal	(%rdx,%rcx,2), %r15d
	addl	$4, %r15d
	sarl	$3, %r15d
	cmpl	-48(%rbp), %eax                 ## 4-byte Folded Reload
	jne	LBB0_3
## %bb.1:
	movq	%r13, %rsi
	movq	%rdi, %rbx
	movq	%r13, %r12
	callq	_FFMIN
	movl	%eax, %r14d
	movl	%ebx, %edi
	movl	%r12d, %esi
	jmp	LBB0_2
LBB0_3:
	cmpl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	jne	LBB0_5
## %bb.4:
	movq	%r8, %rbx
	movl	%ebx, %edi
	movl	%r9d, %r12d
	movl	%r9d, %esi
	callq	_FFMIN
	movl	%eax, %r14d
	movl	%ebx, %edi
	movl	%r12d, %esi
	jmp	LBB0_2
LBB0_5:
	movl	%ebx, %r10d
	movl	%r12d, %edi
	movl	%r10d, %esi
	callq	_FFMIN
	movl	%eax, %r14d
	movl	%r12d, %edi
	movl	%ebx, %esi
LBB0_2:
	callq	_FFMAX
	movl	%r15d, %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_av_clip                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mode1516
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mode1516
_mode1516:                              ; @mode1516
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x7
	mov	x19, x6
	mov	x20, x3
	mov	x24, x2
	mov	x21, x1
	ldr	w23, [x29, #16]
	sub	w0, w1, w23
	bl	_FFABS
	mov	x25, x0
	sub	w0, w24, w22
	bl	_FFABS
	mov	x27, x0
	sub	w0, w20, w19
	bl	_FFABS
	mov	x26, x0
	mov	x0, x25
	mov	x1, x27
	bl	_FFMIN
	mov	x1, x26
	bl	_FFMIN
	add	w8, w22, w24
	add	w9, w21, w20
	add	w9, w9, w19
	add	w9, w9, w23
	add	w8, w9, w8, lsl #1
	add	w8, w8, #4
	asr	w25, w8, #3
	cmp	w0, w27
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x24
	mov	x1, x22
	bl	_FFMIN
	mov	x19, x0
	mov	x0, x24
	mov	x1, x22
	b	LBB0_5
LBB0_2:
	cmp	w0, w26
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	bl	_FFMIN
	mov	x21, x0
	mov	x0, x20
	mov	x1, x19
	bl	_FFMAX
	mov	x2, x0
	mov	x0, x25
	mov	x1, x21
	b	LBB0_6
LBB0_4:
	mov	x0, x21
	mov	x1, x23
	bl	_FFMIN
	mov	x19, x0
	mov	x0, x21
	mov	x1, x23
LBB0_5:
	bl	_FFMAX
	mov	x2, x0
	mov	x0, x25
	mov	x1, x19
LBB0_6:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_av_clip
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mode1516
.subsections_via_symbols
