	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vertical_frame_pack
_vertical_frame_pack:                   ## @vertical_frame_pack
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %rax
	movq	(%rax), %r14
	movl	$1, %r15d
	subl	%edx, %r15d
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	16(%rax), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	16(%rax), %rax
	movq	8(%rax), %rax
	movq	%rax, -72(%rbp)
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	16(%rax), %rax
	movq	16(%rax), %rax
	movq	%rax, -64(%rbp)
	movq	(%rsi), %rax
	movq	8(%rsi), %rcx
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movups	(%rcx), %xmm0
	movaps	%xmm0, -112(%rbp)
	movq	16(%rcx), %rcx
	movl	8(%rax), %eax
	movq	%rcx, -96(%rbp)
	movl	%edx, %ecx
	imull	%ebx, %ecx
	addl	%edx, %ecx
	movl	%ecx, -128(%rbp)
	movl	%esi, %ecx
	imull	%ebx, %ecx
	addl	%esi, %ecx
	movl	%ecx, -124(%rbp)
	movl	%eax, %ecx
	imull	%ebx, %ecx
	addl	%eax, %ecx
	movl	%ecx, -120(%rbp)
	movq	(%r14), %rax
	movq	(%rax), %rax
	movl	12(%rax), %ecx
	movl	8(%rax), %r8d
	movl	(%rax), %edx
	movl	4(%rax), %r9d
	movl	%edx, (%rsp)
	leaq	-112(%rbp), %rdi
	leaq	-128(%rbp), %rsi
	leaq	-80(%rbp), %r12
	movq	%r12, %rdx
	callq	_av_image_copy
	movq	(%r14), %rax
	movq	8(%r14), %rcx
	movq	8(%rax), %rdx
	movl	(%rdx), %esi
	movb	(%rcx), %cl
	sarl	%cl, %esi
	movq	16(%rdx), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -80(%rbp)
	movq	(%r14), %rcx
	movq	8(%rcx), %rcx
	movq	16(%rcx), %rcx
	movq	8(%rcx), %rcx
	movq	%rcx, -72(%rbp)
	movq	(%r14), %rcx
	movq	8(%rcx), %rcx
	movq	16(%rcx), %rcx
	movq	16(%rcx), %rcx
	movq	%rcx, -64(%rbp)
	movq	(%r13), %rcx
	movq	8(%r13), %rdx
	movl	(%rcx), %r8d
	movq	(%r14), %rdi
	movq	8(%rdi), %rdi
	imull	%r15d, %esi
	imull	(%rdi), %r15d
	addl	%ebx, %r15d
	imull	%r8d, %r15d
	movslq	%r15d, %rdi
	shlq	$2, %rdi
	addq	(%rdx), %rdi
	movq	%rdi, -112(%rbp)
	movl	4(%rcx), %edi
	addl	%ebx, %esi
	movl	%esi, %eax
	imull	%edi, %eax
	cltq
	shlq	$2, %rax
	addq	8(%rdx), %rax
	movq	%rax, -104(%rbp)
	movl	8(%rcx), %eax
	imull	%eax, %esi
	movslq	%esi, %rcx
	shlq	$2, %rcx
	addq	16(%rdx), %rcx
	movq	%rcx, -96(%rbp)
	movl	%r8d, %ecx
	imull	%ebx, %ecx
	addl	%r8d, %ecx
	movl	%ecx, -128(%rbp)
	movl	%edi, %ecx
	imull	%ebx, %ecx
	addl	%edi, %ecx
	movl	%ecx, -124(%rbp)
	imull	%eax, %ebx
	addl	%eax, %ebx
	movl	%ebx, -120(%rbp)
	movq	(%r14), %rax
	movq	8(%rax), %rax
	movl	12(%rax), %ecx
	movl	8(%rax), %r8d
	movl	(%rax), %edx
	movl	4(%rax), %r9d
	movl	%edx, (%rsp)
	leaq	-112(%rbp), %rdi
	leaq	-128(%rbp), %rsi
	movq	%r12, %rdx
	callq	_av_image_copy
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_vertical_frame_pack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vertical_frame_pack
_vertical_frame_pack:                   ; @vertical_frame_pack
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	ldr	x8, [x0]
	ldr	x21, [x8]
	mov	w8, #1
	sub	w22, w8, w2
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldr	x8, [x8, #16]
	ldr	x8, [x8]
	str	x8, [sp, #56]
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldr	x8, [x8, #16]
	ldr	x8, [x8, #8]
	str	x8, [sp, #64]
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldr	x8, [x8, #16]
	ldr	x8, [x8, #16]
	str	x8, [sp, #72]
	ldp	x9, x8, [x1]
	ldp	x10, x11, [x8]
	stp	x10, x11, [sp, #24]
	ldr	x8, [x8, #16]
	ldr	w10, [x9, #8]
	str	x8, [sp, #40]
	ldr	d0, [x9]
	dup.2s	v1, w2
	mla.2s	v0, v0, v1
	str	d0, [sp, #8]
	madd	w8, w10, w2, w10
	str	w8, [sp, #16]
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldp	w4, w3, [x8, #8]
	ldp	w6, w5, [x8]
	add	x0, sp, #24
	add	x1, sp, #8
	add	x2, sp, #56
	bl	_av_image_copy
	ldp	x8, x9, [x21]
	ldr	x8, [x8, #8]
	ldr	w10, [x8]
	ldr	w9, [x9]
	asr	w9, w10, w9
	ldr	x8, [x8, #16]
	ldr	x8, [x8]
	str	x8, [sp, #56]
	ldr	x8, [x21]
	ldr	x8, [x8, #8]
	ldr	x8, [x8, #16]
	ldr	x8, [x8, #8]
	str	x8, [sp, #64]
	ldr	x8, [x21]
	ldr	x8, [x8, #8]
	ldr	x8, [x8, #16]
	ldr	x8, [x8, #16]
	str	x8, [sp, #72]
	ldp	x10, x8, [x20]
	ldr	w11, [x10]
	ldr	x12, [x21]
	ldr	x12, [x12, #8]
	ldr	w12, [x12]
	madd	w12, w12, w22, w19
	mul	w12, w11, w12
	ldp	x13, x14, [x8]
	add	x12, x13, w12, sxtw #2
	str	x12, [sp, #24]
	ldr	w12, [x10, #4]
	madd	w9, w9, w22, w19
	mul	w13, w9, w12
	add	x13, x14, w13, sxtw #2
	str	x13, [sp, #32]
	ldr	x8, [x8, #16]
	ldr	w10, [x10, #8]
	mul	w9, w9, w10
	add	x8, x8, w9, sxtw #2
	str	x8, [sp, #40]
	madd	w8, w11, w19, w11
	madd	w9, w12, w19, w12
	stp	w8, w9, [sp, #8]
	madd	w8, w10, w19, w10
	str	w8, [sp, #16]
	ldr	x8, [x21]
	ldr	x8, [x8, #8]
	ldp	w4, w3, [x8, #8]
	ldp	w6, w5, [x8]
	add	x0, sp, #24
	add	x1, sp, #8
	add	x2, sp, #56
	bl	_av_image_copy
	ldur	x8, [x29, #-40]
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_2
; %bb.1:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_vertical_frame_pack
.subsections_via_symbols
