	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_left_pred_int16_c
_add_left_pred_int16_c:                 ## @add_left_pred_int16_c
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%r8d, %eax
                                        ## kill: def $ecx killed $ecx def $rcx
	xorl	%r10d, %r10d
	cmpl	$2, %ecx
	jl	LBB0_3
## %bb.1:
	leal	-1(%rcx), %r8d
	xorl	%r10d, %r10d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	addl	(%rsi,%r10,4), %eax
	andl	%edx, %eax
	movl	%eax, (%rdi,%r10,4)
	addl	4(%rsi,%r10,4), %eax
	andl	%edx, %eax
	movl	%eax, 4(%rdi,%r10,4)
	addq	$2, %r10
	cmpq	%r8, %r10
	jb	LBB0_2
LBB0_3:
	cmpl	%ecx, %r10d
	jge	LBB0_8
## %bb.4:
	movl	%r10d, %r8d
	movl	%ecx, %r9d
	subl	%r10d, %ecx
	movq	%r8, %r10
	notq	%r10
	addq	%r9, %r10
	andq	$3, %rcx
	je	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	addl	(%rsi,%r8,4), %eax
	andl	%edx, %eax
	movl	%eax, (%rdi,%r8,4)
	incq	%r8
	decq	%rcx
	jne	LBB0_5
LBB0_6:
	cmpq	$3, %r10
	jb	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	addl	(%rsi,%r8,4), %eax
	andl	%edx, %eax
	movl	%eax, (%rdi,%r8,4)
	addl	4(%rsi,%r8,4), %eax
	andl	%edx, %eax
	movl	%eax, 4(%rdi,%r8,4)
	addl	8(%rsi,%r8,4), %eax
	andl	%edx, %eax
	movl	%eax, 8(%rdi,%r8,4)
	addl	12(%rsi,%r8,4), %eax
	andl	%edx, %eax
	movl	%eax, 12(%rdi,%r8,4)
	addq	$4, %r8
	cmpq	%r8, %r9
	jne	LBB0_7
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_add_left_pred_int16_c
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_left_pred_int16_c
_add_left_pred_int16_c:                 ; @add_left_pred_int16_c
	.cfi_startproc
; %bb.0:
	cmp	w3, #2
	b.lt	LBB0_4
; %bb.1:
	mov	x8, #0
	sub	w9, w3, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x10, x8, #2
	add	x11, x1, x10
	ldr	w12, [x11]
	add	w12, w12, w4
	and	w12, w12, w2
	add	x10, x0, x10
	str	w12, [x10]
	ldr	w11, [x11, #4]
	add	w11, w12, w11
	and	w4, w11, w2
	str	w4, [x10, #4]
	add	x8, x8, #2
	cmp	x8, x9
	b.lo	LBB0_2
; %bb.3:
	cmp	w8, w3
	b.lt	LBB0_5
	b	LBB0_7
LBB0_4:
	mov	w8, #0
	cmp	w8, w3
	b.ge	LBB0_7
LBB0_5:
	mov	w10, w8
	mov	w11, w3
	lsl	x9, x10, #2
	add	x8, x0, x9
	add	x9, x1, x9
	sub	x10, x11, x10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9], #4
	add	w11, w11, w4
	and	w4, w11, w2
	str	w4, [x8], #4
	subs	x10, x10, #1
	b.ne	LBB0_6
LBB0_7:
	mov	x0, x4
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_add_left_pred_int16_c
.subsections_via_symbols
