	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function upsample_5_4
_upsample_5_4:                          ## @upsample_5_4
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$5, %edx
	jl	LBB0_3
## %bb.1:
	movq	%rcx, %r13
	movq	%rdi, %r12
	movq	_UPS_FIR_SIZE@GOTPCREL(%rip), %rax
	movq	%rsi, %rbx
	subq	(%rax), %rbx
	sarq	$2, %rbx
	incq	%rbx
	movslq	%edx, %rax
	imulq	$1717986919, %rax, %rdx         ## imm = 0x66666667
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	$33, %rdx
	addl	%eax, %edx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movss	(%rsi), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movslq	%r14d, %r14
	movss	%xmm0, (%r12,%r14,4)
	leal	1(%r14), %eax
	movslq	%eax, %r15
	movq	_upsample_fir@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	movq	_UPS_MEM_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	*(%r13)
	movss	%xmm0, (%r12,%r15,4)
	leaq	4(%rbx), %rdi
	movq	_upsample_fir@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	4(%rax), %esi
	movq	_UPS_MEM_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	*(%r13)
	movss	%xmm0, 4(%r12,%r15,4)
	leaq	8(%rbx), %rdi
	movq	_upsample_fir@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	8(%rax), %esi
	movq	_UPS_MEM_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	*(%r13)
	movss	%xmm0, 8(%r12,%r15,4)
	leaq	12(%rbx), %rdi
	movq	_upsample_fir@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	12(%rax), %esi
	movq	_UPS_MEM_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	*(%r13)
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movss	%xmm0, 12(%r12,%r15,4)
	addl	$5, %r14d
	addq	$16, %rbx
	addq	$16, %rsi
	decl	%edx
	jne	LBB0_2
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UPS_FIR_SIZE,8,3               ## @UPS_FIR_SIZE
	.comm	_upsample_fir,8,3               ## @upsample_fir
	.comm	_UPS_MEM_SIZE,4,2               ## @UPS_MEM_SIZE
	.no_dead_strip	_upsample_5_4
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function upsample_5_4
_upsample_5_4:                          ; @upsample_5_4
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cmp	w2, #5
	b.lt	LBB0_3
; %bb.1:
	mov	x19, x3
	mov	x20, x1
	mov	x21, x0
	mov	w23, #0
Lloh0:
	adrp	x8, _UPS_FIR_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UPS_FIR_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	sub	x8, x1, x8
	asr	x8, x8, #2
	add	x22, x8, #1
	mov	w8, #26215
	movk	w8, #26214, lsl #16
	smull	x8, w2, w8
	lsr	x9, x8, #63
	asr	x8, x8, #33
	add	w24, w8, w9
Lloh3:
	adrp	x25, _upsample_fir@GOTPAGE
Lloh4:
	ldr	x25, [x25, _upsample_fir@GOTPAGEOFF]
Lloh5:
	adrp	x26, _UPS_MEM_SIZE@GOTPAGE
Lloh6:
	ldr	x26, [x26, _UPS_MEM_SIZE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	s0, [x20], #16
	str	s0, [x21, w23, sxtw #2]
	add	w27, w23, #1
	ldr	x8, [x19]
	ldr	x9, [x25]
	ldr	w1, [x9]
	ldr	w2, [x26]
	mov	x0, x22
	blr	x8
	add	x27, x21, w27, sxtw #2
	str	s0, [x27]
	ldr	x8, [x19]
	add	x0, x22, #4
	ldr	x9, [x25]
	ldr	w1, [x9, #4]
	ldr	w2, [x26]
	blr	x8
	str	s0, [x27, #4]
	ldr	x8, [x19]
	add	x0, x22, #8
	ldr	x9, [x25]
	ldr	w1, [x9, #8]
	ldr	w2, [x26]
	blr	x8
	str	s0, [x27, #8]
	ldr	x8, [x19]
	add	x0, x22, #12
	ldr	x9, [x25]
	ldr	w1, [x9, #12]
	ldr	w2, [x26]
	blr	x8
	str	s0, [x27, #12]
	add	w23, w23, #5
	add	x22, x22, #16
	subs	w24, w24, #1
	b.ne	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_UPS_FIR_SIZE,8,3               ; @UPS_FIR_SIZE
	.comm	_upsample_fir,8,3               ; @upsample_fir
	.comm	_UPS_MEM_SIZE,4,2               ; @UPS_MEM_SIZE
	.no_dead_strip	_upsample_5_4
.subsections_via_symbols
