	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xavs2_copy_frame
_xavs2_copy_frame:                      ## @xavs2_copy_frame
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rdi), %rax
	cmpl	$0, (%rax)
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%r15), %rax
	movq	8(%r15), %rcx
	movslq	(%rcx), %rdi
	movslq	%ebx, %rbx
	imulq	%rbx, %rdi
	addq	(%rax), %rdi
	movq	(%r14), %rax
	movq	8(%r14), %rcx
	movslq	(%rax), %rsi
	imulq	%rbx, %rsi
	addq	(%rcx), %rsi
	movq	16(%r15), %rax
	movl	24(%r15), %edx
	imull	(%rax), %edx
	callq	_memcpy
	incl	%ebx
	movq	(%r15), %rax
	cmpl	(%rax), %ebx
	jl	LBB0_2
LBB0_3:
	cmpl	$0, 4(%rax)
	jle	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%r15), %rax
	movq	8(%r15), %rcx
	movslq	4(%rcx), %rdi
	movslq	%ebx, %rbx
	imulq	%rbx, %rdi
	addq	8(%rax), %rdi
	movq	(%r14), %rax
	movq	8(%r14), %rcx
	movslq	4(%rax), %rsi
	imulq	%rbx, %rsi
	addq	8(%rcx), %rsi
	movq	16(%r15), %rax
	movl	24(%r15), %edx
	imull	4(%rax), %edx
	callq	_memcpy
	incl	%ebx
	movq	(%r15), %rax
	cmpl	4(%rax), %ebx
	jl	LBB0_5
LBB0_6:
	cmpl	$0, 8(%rax)
	jle	LBB0_9
## %bb.7:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%r15), %rax
	movq	8(%r15), %rcx
	movslq	8(%rcx), %rdi
	movslq	%ebx, %rbx
	imulq	%rbx, %rdi
	addq	16(%rax), %rdi
	movq	(%r14), %rax
	movq	8(%r14), %rcx
	movslq	8(%rax), %rsi
	imulq	%rbx, %rsi
	addq	16(%rcx), %rsi
	movq	16(%r15), %rax
	movl	24(%r15), %edx
	imull	8(%rax), %edx
	callq	_memcpy
	incl	%ebx
	movq	(%r15), %rax
	cmpl	8(%rax), %ebx
	jl	LBB0_8
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_xavs2_copy_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xavs2_copy_frame
_xavs2_copy_frame:                      ; @xavs2_copy_frame
	.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	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #32]
	ldr	x8, [x8]
	ldp	x9, x10, [x20, #8]
	ldrsw	x9, [x9]
	sxtw	x11, w21
	madd	x0, x9, x11, x8
	ldp	x9, x8, [x19]
	ldr	x8, [x8]
	ldrsw	x9, [x9]
	madd	x1, x9, x11, x8
	ldr	w8, [x10]
	ldr	w9, [x20, #24]
	mul	w2, w9, w8
	bl	_memcpy
	add	w21, w21, #1
	ldr	x8, [x20]
	ldr	w9, [x8]
	cmp	w21, w9
	b.lt	LBB0_2
LBB0_3:
	ldr	w9, [x8, #4]
	cmp	w9, #1
	b.lt	LBB0_6
; %bb.4:
	mov	w21, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #32]
	ldr	x8, [x8, #8]
	ldp	x9, x10, [x20, #8]
	ldrsw	x9, [x9, #4]
	sxtw	x11, w21
	madd	x0, x9, x11, x8
	ldp	x9, x8, [x19]
	ldr	x8, [x8, #8]
	ldrsw	x9, [x9, #4]
	madd	x1, x9, x11, x8
	ldr	w8, [x10, #4]
	ldr	w9, [x20, #24]
	mul	w2, w9, w8
	bl	_memcpy
	add	w21, w21, #1
	ldr	x8, [x20]
	ldr	w9, [x8, #4]
	cmp	w21, w9
	b.lt	LBB0_5
LBB0_6:
	ldr	w8, [x8, #8]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.7:
	mov	w21, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #32]
	ldr	x8, [x8, #16]
	ldp	x9, x10, [x20, #8]
	ldrsw	x9, [x9, #8]
	sxtw	x11, w21
	madd	x0, x9, x11, x8
	ldp	x9, x8, [x19]
	ldr	x8, [x8, #16]
	ldrsw	x9, [x9, #8]
	madd	x1, x9, x11, x8
	ldr	w8, [x10, #8]
	ldr	w9, [x20, #24]
	mul	w2, w9, w8
	bl	_memcpy
	add	w21, w21, #1
	ldr	x8, [x20]
	ldr	w8, [x8, #8]
	cmp	w21, w8
	b.lt	LBB0_8
LBB0_9:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_xavs2_copy_frame
.subsections_via_symbols
