	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_vmafmotion_init             ## -- Begin function ff_vmafmotion_init
	.p2align	4, 0x90
_ff_vmafmotion_init:                    ## @ff_vmafmotion_init
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movl	%esi, %ebx
	movq	%rdi, %r15
	movl	%ecx, %edi
	callq	_av_pix_fmt_desc_get
	movq	%rax, %r14
	movl	%ebx, (%r15)
	movl	%r12d, 4(%r15)
	shll	$2, %ebx
	movl	%ebx, %edi
	movl	$32, %esi
	callq	_FFALIGN
	movq	%rax, 40(%r15)
	movslq	%r12d, %rbx
	imulq	%rax, %rbx
	movq	%rbx, %rdi
	callq	_av_malloc
	movq	32(%r15), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rbx, %rdi
	callq	_av_malloc
	movq	32(%r15), %rcx
	movq	%rax, 8(%rcx)
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	callq	_av_malloc
	movq	%rax, 24(%r15)
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_FILTER_5@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movl	(%rax), %edi
	movq	_BIT_SHIFT@GOTPCREL(%rip), %rbx
	movb	(%rbx), %cl
	shll	%cl, %edi
	callq	_lrint
	movq	16(%r15), %rcx
	movl	%eax, (%rcx)
	movq	(%r12), %rax
	movl	4(%rax), %edi
	movb	(%rbx), %cl
	shll	%cl, %edi
	callq	_lrint
	movq	16(%r15), %rcx
	movl	%eax, 4(%rcx)
	movq	(%r12), %rax
	movl	8(%rax), %edi
	movb	(%rbx), %cl
	shll	%cl, %edi
	callq	_lrint
	movq	16(%r15), %rcx
	movl	%eax, 8(%rcx)
	movq	(%r12), %rax
	movl	12(%rax), %edi
	movb	(%rbx), %cl
	shll	%cl, %edi
	callq	_lrint
	movq	16(%r15), %rcx
	movl	%eax, 12(%rcx)
	movq	(%r12), %rax
	movl	16(%rax), %edi
	movb	(%rbx), %cl
	shll	%cl, %edi
	callq	_lrint
	movq	16(%r15), %rcx
	movl	%eax, 16(%rcx)
	addq	$8, %r15
	movq	(%r14), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_vmafmotiondsp_init
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_FILTER_5,8,3                   ## @FILTER_5
	.comm	_BIT_SHIFT,4,2                  ## @BIT_SHIFT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_vmafmotion_init             ; -- Begin function ff_vmafmotion_init
	.p2align	2
_ff_vmafmotion_init:                    ; @ff_vmafmotion_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	mov	x0, x3
	bl	_av_pix_fmt_desc_get
	mov	x20, x0
	stp	w22, w21, [x19]
	lsl	w0, w22, #2
	mov	w1, #32
	bl	_FFALIGN
	str	x0, [x19, #40]
	sxtw	x8, w21
	mul	x21, x0, x8
	mov	x0, x21
	bl	_av_malloc
	ldr	x8, [x19, #32]
	str	x0, [x8]
	cbz	x0, LBB0_4
; %bb.1:
	mov	x0, x21
	bl	_av_malloc
	ldr	x8, [x19, #32]
	str	x0, [x8, #8]
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x21
	bl	_av_malloc
	str	x0, [x19, #24]
	cbz	x0, LBB0_4
; %bb.3:
Lloh0:
	adrp	x21, _FILTER_5@GOTPAGE
Lloh1:
	ldr	x21, [x21, _FILTER_5@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	w8, [x8]
Lloh2:
	adrp	x22, _BIT_SHIFT@GOTPAGE
Lloh3:
	ldr	x22, [x22, _BIT_SHIFT@GOTPAGEOFF]
	ldr	w9, [x22]
	lsl	w0, w8, w9
	bl	_lrint
	ldr	x8, [x19, #16]
	str	w0, [x8]
	ldr	x8, [x21]
	ldr	w8, [x8, #4]
	ldr	w9, [x22]
	lsl	w0, w8, w9
	bl	_lrint
	ldr	x8, [x19, #16]
	str	w0, [x8, #4]
	ldr	x8, [x21]
	ldr	w8, [x8, #8]
	ldr	w9, [x22]
	lsl	w0, w8, w9
	bl	_lrint
	ldr	x8, [x19, #16]
	str	w0, [x8, #8]
	ldr	x8, [x21]
	ldr	w8, [x8, #12]
	ldr	w9, [x22]
	lsl	w0, w8, w9
	bl	_lrint
	ldr	x8, [x19, #16]
	str	w0, [x8, #12]
	ldr	x8, [x21]
	ldr	w8, [x8, #16]
	ldr	w9, [x22]
	lsl	w0, w8, w9
	bl	_lrint
	ldr	x8, [x19, #16]
	str	w0, [x8, #16]
	add	x0, x19, #8
	ldr	x8, [x20]
	ldr	w1, [x8]
	bl	_vmafmotiondsp_init
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh4:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_AVERROR
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_FILTER_5,8,3                   ; @FILTER_5
	.comm	_BIT_SHIFT,4,2                  ; @BIT_SHIFT
.subsections_via_symbols
