	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fill16
_fill16:                                ## @fill16
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	addq	$-8, %rdi
	callq	_AV_RN16
	cmpl	$4, %ebx
	jl	LBB0_1
## %bb.16:
	movl	%eax, %r15d
	shll	$16, %r15d
	orl	%eax, %r15d
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_AV_WN32
	addq	$16, %r14
	leal	-4(%rbx), %eax
	cmpl	$7, %ebx
	movl	%eax, %ebx
	ja	LBB0_17
## %bb.2:
	testl	%eax, %eax
	jne	LBB0_3
	jmp	LBB0_15
LBB0_1:
	movl	%ebx, %eax
	testl	%eax, %eax
	je	LBB0_15
LBB0_3:
	movl	%eax, %ecx
	decl	%ecx
	je	LBB0_13
## %bb.4:
	incq	%rcx
	movq	%rcx, %rdx
	andq	$-2, %rdx
	movq	-8(%r14), %xmm0                 ## xmm0 = mem[0],zero
	leaq	-2(%rdx), %rbx
	movq	%rbx, %rdi
	shrq	%rdi
	incq	%rdi
	movl	%edi, %esi
	andl	$7, %esi
	cmpq	$14, %rbx
	jae	LBB0_6
## %bb.5:
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_6:
	andq	$-8, %rdi
	xorl	%ebx, %ebx
	pshufd	$68, %xmm0, %xmm1               ## xmm1 = xmm0[0,1,0,1]
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm1, (%r14,%rbx,4)
	movdqu	%xmm1, 16(%r14,%rbx,4)
	movdqu	%xmm1, 32(%r14,%rbx,4)
	movdqu	%xmm1, 48(%r14,%rbx,4)
	addq	$16, %rbx
	addq	$-8, %rdi
	jne	LBB0_7
LBB0_8:
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.9:
	leaq	(%r14,%rbx,4), %rdi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%xmm0, (%rdi,%rbx,8)
	incq	%rbx
	cmpq	%rbx, %rsi
	jne	LBB0_10
LBB0_11:
	cmpq	%rdx, %rcx
	je	LBB0_15
## %bb.12:
	subl	%edx, %eax
	leaq	(%r14,%rdx,4), %r14
LBB0_13:
	movl	%eax, %eax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	-8(%r14,%rcx,4), %edx
	movl	%edx, (%r14,%rcx,4)
	incq	%rcx
	cmpl	%ecx, %eax
	jne	LBB0_14
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_fill16
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fill16
_fill16:                                ; @fill16
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	sub	x0, x0, #8
	bl	_AV_RN16
	cmp	w20, #4
	b.lt	LBB0_4
; %bb.1:
	orr	w21, w0, w0, lsl #16
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_AV_WN32
	add	x19, x19, #16
	sub	w8, w20, #4
	cmp	w20, #7
	mov	x20, x8
	b.hi	LBB0_2
; %bb.3:
	cbnz	w8, LBB0_5
	b	LBB0_11
LBB0_4:
	mov	x8, x20
	cbz	w8, LBB0_11
LBB0_5:
	subs	w9, w8, #1
	b.eq	LBB0_9
; %bb.6:
	add	x10, x9, #1
	and	x11, x10, #0x1fffffffe
	sub	w8, w8, w11
	add	x9, x19, x11, lsl #2
	ldur	d0, [x19, #-8]
	mov	x12, x11
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	str	d0, [x19], #8
	subs	x12, x12, #2
	b.ne	LBB0_7
; %bb.8:
	cmp	x10, x11
	b.ne	LBB0_10
	b	LBB0_11
LBB0_9:
	mov	x9, x19
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldur	w10, [x9, #-8]
	str	w10, [x9], #4
	subs	w8, w8, #1
	b.ne	LBB0_10
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_fill16
.subsections_via_symbols
