	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_init_vscale_pfn             ## -- Begin function ff_init_vscale_pfn
	.p2align	4, 0x90
_ff_init_vscale_pfn:                    ## @ff_init_vscale_pfn
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movq	%r8, %r13
	movq	%rcx, %r14
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movl	32(%rbp), %r15d
	cmpq	$1, 104(%rdi)
	movl	(%rdi), %r12d
	movl	96(%rdi), %edi
	adcl	$-2, %r12d
	callq	_isPlanarYUV
	testq	%rax, %rax
	je	LBB0_4
LBB0_1:
	movl	96(%rbx), %edi
	callq	_isGray
	testq	%rax, %rax
	jne	LBB0_23
## %bb.2:
	movq	64(%rbx), %rax
	movslq	%r12d, %rcx
	movq	(%rax,%rcx,8), %rax
	testl	%r15d, %r15d
	je	LBB0_11
## %bb.3:
	movq	88(%rbx), %rcx
	jmp	LBB0_12
LBB0_4:
	movl	96(%rbx), %edi
	callq	_isGray
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	96(%rbx), %edi
	callq	_isALPHA
	testl	%eax, %eax
	je	LBB0_1
LBB0_6:
	movq	16(%rbp), %rax
	movq	56(%rbx), %rdx
	movq	64(%rbx), %rcx
	movslq	%r12d, %rsi
	movq	(%rcx,%rsi,8), %rcx
	movq	32(%rcx), %rsi
	movq	%rdx, (%rsi)
	movl	8(%rbx), %edx
	movl	%edx, (%rcx)
	movl	48(%rbx), %esi
	movl	%esi, 24(%rcx)
	movq	40(%rbx), %rsi
	movq	72(%rcx), %rdi
	movq	%rsi, (%rdi)
	movl	4(%rbx), %esi
	movl	%esi, 40(%rcx)
	movl	32(%rbx), %edi
	movl	%edi, 64(%rcx)
	movl	%r15d, 4(%rcx)
	movl	%r15d, 44(%rcx)
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:
	cmpq	$0, 24(%rbx)
	je	LBB0_16
## %bb.8:
	cmpl	$1, %edx
	jne	LBB0_16
## %bb.9:
	cmpl	$3, %esi
	jl	LBB0_19
	jmp	LBB0_20
LBB0_10:
	movq	24(%rbp), %rax
	movq	%rax, 8(%rcx)
	jmp	LBB0_30
LBB0_11:
	movq	40(%rbx), %rcx
LBB0_12:
	movq	32(%rax), %rdx
	movq	%rcx, (%rdx)
	movl	4(%rbx), %ecx
	movl	%ecx, (%rax)
	movl	32(%rbx), %edx
	movl	%edx, 24(%rax)
	movl	%r15d, 4(%rax)
	decl	%r12d
	testq	%r14, %r14
	je	LBB0_14
## %bb.13:
	movq	%r14, 8(%rax)
	jmp	LBB0_23
LBB0_14:
	cmpl	$1, %ecx
	jne	LBB0_21
## %bb.15:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_22
LBB0_16:
	cmpq	$0, 16(%rbx)
	je	LBB0_20
## %bb.17:
	cmpl	$2, %edx
	jne	LBB0_20
## %bb.18:
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	cmpl	$2, %esi
	jne	LBB0_20
LBB0_19:
	movq	%r13, 8(%rcx)
LBB0_20:
	movq	%rax, 16(%rcx)
	jmp	LBB0_30
LBB0_21:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
LBB0_22:
	movq	%rcx, 8(%rax)
LBB0_23:
	movq	64(%rbx), %rax
	movslq	%r12d, %rcx
	movq	(%rax,%rcx,8), %rax
	testl	%r15d, %r15d
	je	LBB0_25
## %bb.24:
	movq	80(%rbx), %rcx
	movq	32(%rax), %rdx
	movq	%rcx, (%rdx)
	movq	72(%rbx), %rcx
	jmp	LBB0_26
LBB0_25:
	movq	56(%rbx), %rcx
	movq	32(%rax), %rdx
	movq	%rcx, (%rdx)
	movq	56(%rbx), %rcx
LBB0_26:
	movq	32(%rax), %rdx
	movq	%rcx, 8(%rdx)
	movl	8(%rbx), %ecx
	movl	%ecx, (%rax)
	movl	48(%rbx), %edx
	movl	%edx, 24(%rax)
	movl	%r15d, 4(%rax)
	cmpl	$1, %ecx
	jne	LBB0_28
## %bb.27:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_29
LBB0_28:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
LBB0_29:
	movq	%rcx, 8(%rax)
LBB0_30:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	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_init_vscale_pfn             ; -- Begin function ff_init_vscale_pfn
	.p2align	2
_ff_init_vscale_pfn:                    ; @ff_init_vscale_pfn
	.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	x26, x7
	mov	x22, x6
	mov	x23, x5
	mov	x24, x4
	mov	x25, x3
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w27, [x29, #16]
	ldr	w8, [x0]
	ldr	x9, [x0, #104]
	cmp	x9, #0
	mov	w9, #-2
	cinc	w9, w9, eq
	add	w28, w9, w8
	ldr	w0, [x0, #96]
	bl	_isPlanarYUV
	cbz	x0, LBB0_4
LBB0_1:
	ldr	w0, [x19, #96]
	bl	_isGray
	cbnz	x0, LBB0_22
; %bb.2:
	ldr	x8, [x19, #64]
	ldr	x8, [x8, w28, sxtw #3]
	cbz	w27, LBB0_11
; %bb.3:
	ldr	x9, [x19, #88]
	b	LBB0_12
LBB0_4:
	ldr	w0, [x19, #96]
	bl	_isGray
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w0, [x19, #96]
	bl	_isALPHA
	cbz	w0, LBB0_1
LBB0_6:
	ldp	x9, x8, [x19, #56]
	ldr	x8, [x8, w28, sxtw #3]
	ldr	x10, [x8, #32]
	str	x9, [x10]
	ldr	w9, [x19, #48]
	str	w9, [x8, #24]
	ldr	x9, [x19, #40]
	ldr	x10, [x8, #72]
	str	x9, [x10]
	ldp	w9, w10, [x19, #4]
	ldr	w11, [x19, #32]
	str	w11, [x8, #64]
	stp	w10, w27, [x8]
	stp	w9, w27, [x8, #40]
	cbz	x22, LBB0_10
; %bb.7:
	ldr	x11, [x19, #24]
	cbz	x11, LBB0_16
; %bb.8:
	cmp	w10, #1
	b.ne	LBB0_16
; %bb.9:
	cmp	w9, #3
	b.lt	LBB0_19
	b	LBB0_20
LBB0_10:
	str	x26, [x8, #8]
	b	LBB0_28
LBB0_11:
	ldr	x9, [x19, #40]
LBB0_12:
	ldr	x10, [x8, #32]
	str	x9, [x10]
	ldr	w9, [x19, #4]
	ldr	w10, [x19, #32]
	str	w10, [x8, #24]
	stp	w9, w27, [x8]
	sub	w28, w28, #1
	cbz	x25, LBB0_14
; %bb.13:
	str	x25, [x8, #8]
	b	LBB0_22
LBB0_14:
	cmp	w9, #1
	b.ne	LBB0_21
; %bb.15:
	str	x21, [x8, #8]
	b	LBB0_22
LBB0_16:
	ldr	x11, [x19, #16]
	cbz	x11, LBB0_20
; %bb.17:
	cmp	w10, #2
	b.ne	LBB0_20
; %bb.18:
	mov	x24, x23
	cmp	w9, #2
	b.ne	LBB0_20
LBB0_19:
	str	x24, [x8, #8]
LBB0_20:
	str	x22, [x8, #16]
	b	LBB0_28
LBB0_21:
	str	x20, [x8, #8]
LBB0_22:
	ldr	x8, [x19, #64]
	ldr	x8, [x8, w28, sxtw #3]
	cbz	w27, LBB0_24
; %bb.23:
	ldr	x10, [x8, #32]
	ldp	x9, x11, [x19, #72]
	str	x11, [x10]
	b	LBB0_25
LBB0_24:
	ldr	x9, [x19, #56]
	ldr	x10, [x8, #32]
	str	x9, [x10]
	ldr	x9, [x19, #56]
LBB0_25:
	ldr	x10, [x8, #32]
	str	x9, [x10, #8]
	ldr	w9, [x19, #8]
	ldr	w10, [x19, #48]
	str	w10, [x8, #24]
	stp	w9, w27, [x8]
	cmp	w9, #1
	b.ne	LBB0_27
; %bb.26:
	str	x21, [x8, #8]
	b	LBB0_28
LBB0_27:
	str	x20, [x8, #8]
LBB0_28:
	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
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
