	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function codec37_mv
_codec37_mv:                            ## @codec37_mv
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $r9d killed $r9d def $r9
	imull	%ecx, %r9d
	imull	%ecx, %edx
	xorl	%eax, %eax
	addl	%r8d, %r9d
	js	LBB0_3
## %bb.1:
	cmpl	%edx, %r9d
	jge	LBB0_3
## %bb.2:
	movq	(%rsi), %rax
LBB0_3:
	movq	%rax, (%rdi)
	xorl	%r8d, %r8d
	cmpl	$-1, %r9d
	jl	LBB0_6
## %bb.4:
	leal	1(%r9), %eax
	cmpl	%edx, %eax
	jge	LBB0_6
## %bb.5:
	movq	8(%rsi), %r8
LBB0_6:
	movq	%r8, 8(%rdi)
	xorl	%r8d, %r8d
	cmpl	$-2, %r9d
	jl	LBB0_9
## %bb.7:
	leal	2(%r9), %eax
	cmpl	%edx, %eax
	jge	LBB0_9
## %bb.8:
	movq	16(%rsi), %r8
LBB0_9:
	movslq	%ecx, %r10
	movq	%r8, 16(%rdi)
	xorl	%r8d, %r8d
	cmpl	$-3, %r9d
	jl	LBB0_12
## %bb.10:
	leal	3(%r9), %eax
	cmpl	%edx, %eax
	jge	LBB0_12
## %bb.11:
	movq	24(%rsi), %r8
LBB0_12:
	movq	%r8, 24(%rdi)
	leaq	(%rdi,%r10,8), %rdi
	leaq	(%rsi,%r10,8), %r8
	xorl	%eax, %eax
	addl	%ecx, %r9d
	js	LBB0_15
## %bb.13:
	cmpl	%edx, %r9d
	jge	LBB0_15
## %bb.14:
	movq	(%r8), %rax
LBB0_15:
	movq	%rax, (%rdi)
	xorl	%eax, %eax
	cmpl	$-1, %r9d
	jl	LBB0_18
## %bb.16:
	leal	1(%r9), %esi
	cmpl	%edx, %esi
	jge	LBB0_18
## %bb.17:
	movq	8(%r8), %rax
LBB0_18:
	movq	%rax, 8(%rdi)
	xorl	%eax, %eax
	cmpl	$-2, %r9d
	jl	LBB0_21
## %bb.19:
	leal	2(%r9), %esi
	cmpl	%edx, %esi
	jge	LBB0_21
## %bb.20:
	movq	16(%r8), %rax
LBB0_21:
	movq	%rax, 16(%rdi)
	xorl	%eax, %eax
	cmpl	$-3, %r9d
	jl	LBB0_24
## %bb.22:
	leal	3(%r9), %esi
	cmpl	%edx, %esi
	jge	LBB0_24
## %bb.23:
	movq	24(%r8), %rax
LBB0_24:
	movq	%rax, 24(%rdi)
	leaq	(%rdi,%r10,8), %rsi
	leaq	(%r8,%r10,8), %r8
	xorl	%eax, %eax
	addl	%ecx, %r9d
	js	LBB0_27
## %bb.25:
	cmpl	%edx, %r9d
	jge	LBB0_27
## %bb.26:
	movq	(%r8), %rax
LBB0_27:
	movq	%rax, (%rsi)
	xorl	%eax, %eax
	cmpl	$-1, %r9d
	jl	LBB0_30
## %bb.28:
	leal	1(%r9), %edi
	cmpl	%edx, %edi
	jge	LBB0_30
## %bb.29:
	movq	8(%r8), %rax
LBB0_30:
	movq	%rax, 8(%rsi)
	xorl	%eax, %eax
	cmpl	$-2, %r9d
	jl	LBB0_33
## %bb.31:
	leal	2(%r9), %edi
	cmpl	%edx, %edi
	jge	LBB0_33
## %bb.32:
	movq	16(%r8), %rax
LBB0_33:
	movq	%rax, 16(%rsi)
	xorl	%eax, %eax
	cmpl	$-3, %r9d
	jl	LBB0_36
## %bb.34:
	leal	3(%r9), %edi
	cmpl	%edx, %edi
	jge	LBB0_36
## %bb.35:
	movq	24(%r8), %rax
LBB0_36:
	movq	%rax, 24(%rsi)
	xorl	%eax, %eax
	addl	%ecx, %r9d
	js	LBB0_39
## %bb.37:
	cmpl	%edx, %r9d
	jge	LBB0_39
## %bb.38:
	movq	(%r8,%r10,8), %rax
LBB0_39:
	movq	%rax, (%rsi,%r10,8)
	xorl	%eax, %eax
	cmpl	$-1, %r9d
	jl	LBB0_42
## %bb.40:
	leal	1(%r9), %ecx
	cmpl	%edx, %ecx
	jge	LBB0_42
## %bb.41:
	movq	8(%r8,%r10,8), %rax
LBB0_42:
	movq	%rax, 8(%rsi,%r10,8)
	xorl	%eax, %eax
	cmpl	$-2, %r9d
	jl	LBB0_45
## %bb.43:
	leal	2(%r9), %ecx
	cmpl	%edx, %ecx
	jge	LBB0_45
## %bb.44:
	movq	16(%r8,%r10,8), %rax
LBB0_45:
	movq	%rax, 16(%rsi,%r10,8)
	xorl	%eax, %eax
	cmpl	$-3, %r9d
	jl	LBB0_48
## %bb.46:
	addl	$3, %r9d
	cmpl	%edx, %r9d
	jge	LBB0_48
## %bb.47:
	movq	24(%r8,%r10,8), %rax
LBB0_48:
	movq	%rax, 24(%rsi,%r10,8)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_codec37_mv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function codec37_mv
_codec37_mv:                            ; @codec37_mv
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w3 killed $w3 def $x3
	mov	x9, #0
	madd	w12, w5, w3, w4
	mul	w8, w3, w2
	tbnz	w12, #31, LBB0_3
; %bb.1:
	cmp	w12, w8
	b.ge	LBB0_3
; %bb.2:
	ldr	x9, [x1]
LBB0_3:
	str	x9, [x0]
	add	w9, w12, #1
	cmn	w12, #1
	ccmp	w9, w8, #0, ge
	b.lt	LBB0_5
; %bb.4:
	mov	x9, #0
	b	LBB0_6
LBB0_5:
	ldr	x9, [x1, #8]
LBB0_6:
	str	x9, [x0, #8]
	add	w9, w12, #2
	cmn	w12, #2
	ccmp	w9, w8, #0, ge
	b.lt	LBB0_8
; %bb.7:
	mov	x10, #0
	b	LBB0_9
LBB0_8:
	ldr	x10, [x1, #16]
LBB0_9:
	sxtw	x9, w3
	str	x10, [x0, #16]
	add	w10, w12, #3
	cmn	w12, #3
	ccmp	w10, w8, #0, ge
	b.lt	LBB0_11
; %bb.10:
	mov	x10, #0
	b	LBB0_12
LBB0_11:
	ldr	x10, [x1, #24]
LBB0_12:
	mov	x13, #0
	str	x10, [x0, #24]
	lsl	x9, x9, #3
	add	x10, x0, x9
	add	x11, x1, x9
	adds	w12, w12, w3
	b.mi	LBB0_15
; %bb.13:
	cmp	w12, w8
	b.ge	LBB0_15
; %bb.14:
	ldr	x13, [x11]
LBB0_15:
	mov	x14, #0
	str	x13, [x10]
	cmn	w12, #1
	b.lt	LBB0_18
; %bb.16:
	add	w13, w12, #1
	cmp	w13, w8
	b.ge	LBB0_18
; %bb.17:
	ldr	x14, [x11, #8]
LBB0_18:
	mov	x13, #0
	str	x14, [x10, #8]
	cmn	w12, #2
	b.lt	LBB0_21
; %bb.19:
	add	w14, w12, #2
	cmp	w14, w8
	b.ge	LBB0_21
; %bb.20:
	ldr	x13, [x11, #16]
LBB0_21:
	mov	x14, #0
	str	x13, [x10, #16]
	cmn	w12, #3
	b.lt	LBB0_24
; %bb.22:
	add	w13, w12, #3
	cmp	w13, w8
	b.ge	LBB0_24
; %bb.23:
	ldr	x14, [x11, #24]
LBB0_24:
	mov	x13, #0
	str	x14, [x10, #24]
	add	x10, x10, x9
	add	x11, x11, x9
	adds	w12, w12, w3
	b.mi	LBB0_27
; %bb.25:
	cmp	w12, w8
	b.ge	LBB0_27
; %bb.26:
	ldr	x13, [x11]
LBB0_27:
	mov	x14, #0
	str	x13, [x10]
	cmn	w12, #1
	b.lt	LBB0_30
; %bb.28:
	add	w13, w12, #1
	cmp	w13, w8
	b.ge	LBB0_30
; %bb.29:
	ldr	x14, [x11, #8]
LBB0_30:
	mov	x13, #0
	str	x14, [x10, #8]
	cmn	w12, #2
	b.lt	LBB0_33
; %bb.31:
	add	w14, w12, #2
	cmp	w14, w8
	b.ge	LBB0_33
; %bb.32:
	ldr	x13, [x11, #16]
LBB0_33:
	mov	x14, #0
	str	x13, [x10, #16]
	cmn	w12, #3
	b.lt	LBB0_36
; %bb.34:
	add	w13, w12, #3
	cmp	w13, w8
	b.ge	LBB0_36
; %bb.35:
	ldr	x14, [x11, #24]
LBB0_36:
	mov	x13, #0
	str	x14, [x10, #24]
	add	x10, x10, x9
	add	x9, x11, x9
	adds	w11, w12, w3
	b.mi	LBB0_39
; %bb.37:
	cmp	w11, w8
	b.ge	LBB0_39
; %bb.38:
	ldr	x13, [x9]
LBB0_39:
	mov	x12, #0
	str	x13, [x10]
	cmn	w11, #1
	b.lt	LBB0_42
; %bb.40:
	add	w13, w11, #1
	cmp	w13, w8
	b.ge	LBB0_42
; %bb.41:
	ldr	x12, [x9, #8]
LBB0_42:
	mov	x13, #0
	str	x12, [x10, #8]
	cmn	w11, #2
	b.lt	LBB0_45
; %bb.43:
	add	w12, w11, #2
	cmp	w12, w8
	b.ge	LBB0_45
; %bb.44:
	ldr	x13, [x9, #16]
LBB0_45:
	mov	x12, #0
	str	x13, [x10, #16]
	cmn	w11, #3
	b.lt	LBB0_48
; %bb.46:
	add	w11, w11, #3
	cmp	w11, w8
	b.ge	LBB0_48
; %bb.47:
	ldr	x12, [x9, #24]
LBB0_48:
	str	x12, [x10, #24]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_codec37_mv
.subsections_via_symbols
