	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cmv_motcomp
_cmv_motcomp:                           ## @cmv_motcomp
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movslq	24(%rbp), %r15
	movslq	16(%rbp), %r10
	movslq	40(%rbp), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movslq	32(%rbp), %rax
	movslq	%r8d, %rsi
	movslq	%r9d, %r11
	movslq	%r14d, %r8
	movq	%rsi, %rbx
	addq	%r10, %rbx
	sets	%r9b
	cmpq	%rax, %rbx
	setge	%bl
	orb	%r9b, %bl
	movb	%bl, -42(%rbp)                  ## 1-byte Spill
	leaq	(%rsi,%r10), %rbx
	incq	%rbx
	testq	%rbx, %rbx
	sets	%r14b
	cmpq	%rax, %rbx
	setge	%bl
	orb	%r14b, %bl
	movb	%bl, -41(%rbp)                  ## 1-byte Spill
	leaq	(%rsi,%r10), %rbx
	addq	$2, %rbx
	testq	%rbx, %rbx
	sets	%r12b
	cmpq	%rax, %rbx
	setge	%r14b
	orb	%r12b, %r14b
	leaq	(%rsi,%r10), %rbx
	addq	$3, %rbx
	testq	%rbx, %rbx
	sets	%r12b
	cmpq	%rax, %rbx
	setge	%r13b
	orb	%r12b, %r13b
	leal	3(%r11), %eax
	movslq	%eax, %r12
	movq	%r11, %rax
	movq	%r8, %r9
	imulq	%r8, %rax
	addq	%rsi, %rax
	addq	%rax, %rdi
	addq	$3, %rdi
	addl	%r10d, %esi
	movq	%r15, %r8
	leal	(%r15,%r11), %eax
	movl	%ecx, %r15d
	imull	%ecx, %eax
	addl	%eax, %esi
	addl	$3, %esi
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movslq	%esi, %rax
	movzbl	(%rdx,%rax), %ecx
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movb	%cl, (%rdi)
	leaq	1(%r11), %rax
	addq	%r9, %rdi
	addl	%r15d, %esi
	cmpq	%r12, %r11
	movq	%rax, %r11
	jge	LBB0_14
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r8, %rcx
	addq	%r11, %rcx
	sets	%al
	cmpq	-56(%rbp), %rcx                 ## 8-byte Folded Reload
	setge	%bl
	orb	%al, %bl
	movzbl	-42(%rbp), %eax                 ## 1-byte Folded Reload
	orb	%bl, %al
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%r10d, %r10d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	leal	-3(%rsi), %eax
	cltq
	movzbl	(%rdx,%rax), %r10d
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movb	%r10b, -3(%rdi)
	movzbl	-41(%rbp), %eax                 ## 1-byte Folded Reload
	orb	%bl, %al
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%ecx, %ecx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	leal	-2(%rsi), %eax
	cltq
	movzbl	(%rdx,%rax), %ecx
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movb	%cl, -2(%rdi)
	movl	%r14d, %eax
	orb	%bl, %al
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%ecx, %ecx
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	leal	-1(%rsi), %eax
	cltq
	movzbl	(%rdx,%rax), %ecx
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movb	%cl, -1(%rdi)
	orb	%r13b, %bl
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	xorl	%ecx, %ecx
	jmp	LBB0_13
LBB0_14:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cmv_motcomp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cmv_motcomp
_cmv_motcomp:                           ; @cmv_motcomp
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	.cfi_offset w19, -8
	.cfi_offset w20, -16
                                        ; kill: def $w7 killed $w7 def $x7
                                        ; kill: def $w5 killed $w5 def $x5
                                        ; kill: def $w4 killed $w4 def $x4
                                        ; kill: def $w1 killed $w1 def $x1
	ldpsw	x15, x8, [sp, #16]
	sxtw	x19, w4
	sxtw	x10, w5
	sxtw	x9, w7
	sxtw	x11, w1
	add	x16, x19, w6, sxtw
	cmp	x16, #0
	ccmp	x16, x15, #0, ge
	cset	w12, ge
	add	x13, x16, #1
	cmp	x13, #0
	ccmp	x13, x15, #0, ge
	cset	w13, ge
	add	x14, x16, #2
	cmp	x14, #0
	ccmp	x14, x15, #0, ge
	cset	w14, ge
	add	x16, x16, #3
	cmp	x16, #0
	ccmp	x16, x15, #0, ge
	cset	w15, ge
	add	w16, w5, #3
	sxtw	x16, w16
	add	w17, w6, w4
	add	w4, w7, w5
	madd	w17, w3, w4, w17
	add	w17, w17, #3
	smaddl	x1, w5, w1, x19
	add	x0, x1, x0
	add	x0, x0, #1
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w1, [x2, w17, sxtw]
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	strb	w1, [x0, #2]
	add	x1, x10, #1
	add	w17, w17, w3
	add	x0, x0, x11
	cmp	x10, x16
	mov	x10, x1
	b.ge	LBB0_14
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, x9, x10
	cmp	x1, #0
	ccmp	x1, x8, #0, ge
	cset	w1, ge
	orr	w4, w12, w1
	tbz	w4, #0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w4, #0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	w4, w17, #3
	ldrb	w4, [x2, w4, sxtw]
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	sturb	w4, [x0, #-1]
	orr	w4, w13, w1
	tbz	w4, #0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w4, #0
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	w4, w17, #2
	ldrb	w4, [x2, w4, sxtw]
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	strb	w4, [x0]
	orr	w4, w14, w1
	tbz	w4, #0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w4, #0
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	w4, w17, #1
	ldrb	w4, [x2, w4, sxtw]
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	strb	w4, [x0, #1]
	orr	w1, w15, w1
	tbz	w1, #0, LBB0_1
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w1, #0
	b	LBB0_2
LBB0_14:
	ldp	x20, x19, [sp], #16             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cmv_motcomp
.subsections_via_symbols
