	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pick_pixel4_16
_pick_pixel4_16:                        ## @pick_pixel4_16
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	%r8, %r13
	movl	%esi, %r15d
	movq	%rdi, %rbx
	cmpl	$0, (%rcx)
	js	LBB0_1
## %bb.2:
	cmpl	$0, (%r13)
	js	LBB0_3
LBB0_4:
	movq	16(%rbp), %r12
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	cmpl	$0, (%r14)
	js	LBB0_5
## %bb.6:
	cmpl	$0, (%r12)
	js	LBB0_7
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rcx, %r12
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	movslq	(%rax), %rax
	movl	%edx, %r14d
	movslq	%edx, %rdx
	imulq	%rax, %rdx
	leal	(%r15,%r15), %eax
	movslq	%eax, %rdi
	addq	(%rcx), %rdi
	addq	%rdx, %rdi
	callq	_AV_RN16
	movl	%r14d, %edx
	movl	%eax, (%r12)
	cmpl	$0, (%r13)
	jns	LBB0_4
LBB0_3:
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	movslq	4(%rax), %rax
	movl	%edx, %r14d
	movslq	%edx, %rdx
	imulq	%rax, %rdx
	leal	(%r15,%r15), %eax
	movslq	%eax, %rdi
	addq	8(%rcx), %rdi
	addq	%rdx, %rdi
	callq	_AV_RN16
	movl	%r14d, %edx
	movl	%eax, (%r13)
	jmp	LBB0_4
LBB0_5:
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	movslq	8(%rax), %rax
	movl	%edx, %r13d
	movslq	%edx, %rdx
	imulq	%rax, %rdx
	leal	(%r15,%r15), %eax
	movslq	%eax, %rdi
	addq	16(%rcx), %rdi
	addq	%rdx, %rdi
	callq	_AV_RN16
	movl	%r13d, %edx
	movl	%eax, (%r14)
	cmpl	$0, (%r12)
	jns	LBB0_8
LBB0_7:
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	movslq	12(%rax), %rax
	movslq	%edx, %rdx
	imulq	%rax, %rdx
	addl	%r15d, %r15d
	movslq	%r15d, %rdi
	addq	24(%rcx), %rdi
	addq	%rdx, %rdi
	callq	_AV_RN16
	movl	%eax, (%r12)
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pick_pixel4_16
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pick_pixel4_16
_pick_pixel4_16:                        ; @pick_pixel4_16
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x6
	mov	x23, x5
	mov	x24, x4
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
	ldr	w8, [x3]
	tbnz	w8, #31, LBB0_5
; %bb.1:
	ldr	w8, [x24]
	tbnz	w8, #31, LBB0_6
LBB0_2:
	ldr	w8, [x23]
	tbnz	w8, #31, LBB0_7
LBB0_3:
	ldr	w8, [x19]
	tbnz	w8, #31, LBB0_8
LBB0_4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x25, x3
	ldp	x9, x8, [x22]
	ldr	x8, [x8]
	ldrsw	x9, [x9]
	sxtw	x10, w21
	lsl	w11, w20, #1
	add	x8, x8, w11, sxtw
	madd	x0, x9, x10, x8
	bl	_AV_RN16
	str	w0, [x25]
	ldr	w8, [x24]
	tbz	w8, #31, LBB0_2
LBB0_6:
	ldp	x9, x8, [x22]
	ldr	x8, [x8, #8]
	ldrsw	x9, [x9, #4]
	mov	x10, x21
	sxtw	x10, w10
	lsl	w11, w20, #1
	add	x8, x8, w11, sxtw
	madd	x0, x9, x10, x8
	bl	_AV_RN16
	str	w0, [x24]
	ldr	w8, [x23]
	tbz	w8, #31, LBB0_3
LBB0_7:
	ldp	x9, x8, [x22]
	ldr	x8, [x8, #16]
	ldrsw	x9, [x9, #8]
	mov	x10, x21
	sxtw	x10, w10
	lsl	w11, w20, #1
	add	x8, x8, w11, sxtw
	madd	x0, x9, x10, x8
	bl	_AV_RN16
	str	w0, [x23]
	ldr	w8, [x19]
	tbz	w8, #31, LBB0_4
LBB0_8:
	ldp	x9, x8, [x22]
	ldr	x8, [x8, #24]
	ldrsw	x9, [x9, #12]
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	sxtw	x10, w21
	lsl	w11, w20, #1
	add	x8, x8, w11, sxtw
	madd	x0, x9, x10, x8
	bl	_AV_RN16
	str	w0, [x19]
	b	LBB0_4
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pick_pixel4_16
.subsections_via_symbols
