	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function new_key_frame
_new_key_frame:                         ## @new_key_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	32(%rdi), %rdi
	movq	64(%r14), %rsi
	movl	56(%r14), %edx
	callq	_memcpy
	movq	48(%r14), %rdi
	movq	40(%r14), %rsi
	movl	8(%r14), %edx
	callq	_memcpy
	movl	4(%r14), %ecx
	imull	(%r14), %ecx
	movq	24(%r14), %rdi
	movq	16(%r14), %rsi
	testl	%ecx, %ecx
	jle	LBB0_7
## %bb.1:
	movq	%rdi, %rax
	subq	%rsi, %rax
	shrq	$5, %rax
	movq	32(%r14), %r9
	movl	%ecx, %r8d
	cmpl	$1, %ecx
	jne	LBB0_3
## %bb.2:
	xorl	%edx, %edx
	jmp	LBB0_5
LBB0_3:
	movl	%r8d, %ecx
	andl	$-2, %ecx
	leaq	56(%r9), %rbx
	xorl	%edx, %edx
	xorps	%xmm0, %xmm0
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	addl	%eax, -32(%rbx)
	movups	%xmm0, -56(%rbx)
	movq	$0, -40(%rbx)
	addl	%eax, (%rbx)
	addq	$2, %rdx
	movups	%xmm0, -24(%rbx)
	movq	$0, -8(%rbx)
	addq	$64, %rbx
	cmpq	%rdx, %rcx
	jne	LBB0_4
LBB0_5:
	testb	$1, %r8b
	je	LBB0_7
## %bb.6:
	shlq	$5, %rdx
	addl	%eax, 24(%r9,%rdx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r9,%rdx)
	movq	$0, 16(%r9,%rdx)
LBB0_7:
	movl	8(%r14), %edx
	callq	_memcpy
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_new_key_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function new_key_frame
_new_key_frame:                         ; @new_key_frame
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x0, [x0, #32]
	ldr	x1, [x19, #64]
	ldr	w2, [x19, #56]
	bl	_memcpy
	ldp	x1, x0, [x19, #40]
	ldr	w2, [x19, #8]
	bl	_memcpy
	ldp	w8, w9, [x19]
	mul	w8, w9, w8
	ldp	x1, x0, [x19, #16]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	sub	x9, x0, x1
	lsr	x9, x9, #5
	ldr	x10, [x19, #32]
	add	x10, x10, #24
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10]
	add	w11, w11, w9
	str	w11, [x10]
	stp	xzr, xzr, [x10, #-16]
	stur	xzr, [x10, #-24]
	add	x10, x10, #32
	subs	x8, x8, #1
	b.ne	LBB0_2
LBB0_3:
	ldr	w2, [x19, #8]
	bl	_memcpy
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_new_key_frame
.subsections_via_symbols
