	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function resampler_sinc_process_sse
_resampler_sinc_process_sse:            ## @resampler_sinc_process_sse
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	4(%rdi), %ecx
	addl	(%rdi), %ecx
	movl	$1, %r8d
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r8d
	xorl	%r14d, %r14d
	movl	%r8d, %eax
	xorl	%edx, %edx
	divl	(%rsi)
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	24(%rsi), %r9
	testq	%r9, %r9
	movq	%rsi, -112(%rbp)                ## 8-byte Spill
	je	LBB0_20
## %bb.1:
	movq	%rdi, %r13
	movq	8(%rsi), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	16(%rsi), %r12
	movl	8(%rdi), %eax
	movl	%r8d, %ecx
	negl	%ecx
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	xorl	%r14d, %r14d
                                        ## implicit-def: $ecx
                                        ## kill: killed $ecx
	movl	%r8d, -64(%rbp)                 ## 4-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	testq	%r9, %r9
	je	LBB0_20
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##     Child Loop BB0_10 Depth 2
                                        ##       Child Loop BB0_15 Depth 3
	movl	%eax, %ecx
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	subl	%r8d, %eax
	jb	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	16(%r13), %rdx
	movq	24(%r13), %rsi
	testq	%rdx, %rdx
	cmoveq	%rsi, %rdx
	leaq	-1(%rdx), %rdi
	movq	%rdi, 16(%r13)
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movss	(%rbx), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movq	32(%r13), %rdi
	movss	%xmm0, -4(%rdi,%rdx,4)
	addq	%rdx, %rsi
	decq	%rsi
	movss	%xmm0, (%rdi,%rsi,4)
	movss	4(%rbx), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	addq	$8, %rbx
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	40(%r13), %rdi
	movss	%xmm0, -4(%rdi,%rdx,4)
	movss	%xmm0, (%rdi,%rsi,4)
	addl	-60(%rbp), %ecx                 ## 4-byte Folded Reload
	movl	%ecx, 8(%r13)
	movl	%eax, %ecx
	decq	%r9
	jne	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r9d, %r9d
	cmpl	%r8d, %eax
	jae	LBB0_2
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%ecx, %eax
	cmpl	%r8d, %eax
	jae	LBB0_2
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r9, -120(%rbp)                 ## 8-byte Spill
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_10 Depth=2
	movl	$1, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	__MM_SHUFFLE
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	__mm_shuffle_ps
	movl	%eax, %r14d
	movl	$3, %edi
	movl	$2, %esi
	movl	$3, %edx
	movl	$2, %ecx
	callq	__MM_SHUFFLE
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	__mm_shuffle_ps
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	__mm_add_ps
	movl	%eax, %ebx
	movl	$3, %edi
	movl	$3, %esi
	movl	$1, %edx
	movl	$1, %ecx
	callq	__MM_SHUFFLE
	movl	%ebx, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	__mm_shuffle_ps
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	__mm_add_ps
	movl	%eax, %ebx
	movq	-128(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	__mm_store_ss
	leaq	4(%r12), %r14
	movl	%ebx, %edi
	movl	%ebx, %esi
	callq	__mm_movehl_ps
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	__mm_store_ss
	addq	$8, %r12
	movq	-136(%rbp), %r14                ## 8-byte Reload
	incq	%r14
	movl	8(%r13), %eax
	addl	-68(%rbp), %eax                 ## 4-byte Folded Reload
	movl	%eax, 8(%r13)
	movl	-64(%rbp), %r8d                 ## 4-byte Reload
	cmpl	%r8d, %eax
	movq	-120(%rbp), %r9                 ## 8-byte Reload
	jae	LBB0_2
LBB0_10:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_15 Depth 3
	movq	16(%r13), %rcx
	shlq	$2, %rcx
	movq	32(%r13), %rdx
	addq	%rcx, %rdx
	movq	%rdx, -144(%rbp)                ## 8-byte Spill
	addq	40(%r13), %rcx
	movq	%rcx, -152(%rbp)                ## 8-byte Spill
	movq	24(%r13), %rbx
	movb	4(%r13), %cl
	movl	%eax, %edx
	shrl	%cl, %edx
	movq	48(%r13), %rsi
	imull	%ebx, %edx
	movq	56(%r13), %rcx
	movq	_SINC_WINDOW_KAISER@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rsi
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	movl	%ebx, %esi
	andl	64(%r13), %eax
	addl	%edx, %edx
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rax, %xmm0
	leaq	(%rcx,%rdx,4), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%rsi,4), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	mulss	68(%r13), %xmm0
	callq	__mm_set1_ps
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=2
	movl	%edx, %eax
	leaq	(%rcx,%rax,4), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=2
	xorl	%eax, %eax
	callq	__mm_setzero_ps
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	__mm_setzero_ps
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	testl	%ebx, %ebx
	movq	%r14, -136(%rbp)                ## 8-byte Spill
	movq	%r12, -128(%rbp)                ## 8-byte Spill
	movl	%eax, %r15d
	je	LBB0_19
## %bb.14:                              ##   in Loop: Header=BB0_10 Depth=2
	xorl	%r12d, %r12d
	movq	-104(%rbp), %r14                ## 8-byte Reload
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_15 Depth=3
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r12,4), %rdi
	callq	__mm_load_ps
LBB0_18:                                ##   in Loop: Header=BB0_15 Depth=3
	movl	%eax, %ebx
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	callq	__mm_mul_ps
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	callq	__mm_add_ps
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	-76(%rbp), %edi                 ## 4-byte Reload
	movl	%ebx, %esi
	callq	__mm_mul_ps
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	__mm_add_ps
	movl	%eax, %r15d
	addl	$4, %r12d
	cmpl	%r14d, %r12d
	jae	LBB0_19
LBB0_15:                                ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_10 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	%r12d, %r12d
	movq	-144(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%r12,4), %rdi
	callq	__mm_loadu_ps
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	-152(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%r12,4), %rdi
	callq	__mm_loadu_ps
	movq	48(%r13), %rdx
	movq	_SINC_WINDOW_KAISER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=3
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r12,4), %rdi
	callq	__mm_load_ps
	movl	%eax, %ebx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r12,4), %rdi
	callq	__mm_load_ps
	movq	%r13, %r14
	movl	%eax, %r13d
	movl	%ebx, %edi
	movl	-72(%rbp), %esi                 ## 4-byte Reload
	callq	__mm_mul_ps
	movl	%r13d, %edi
	movq	%r14, %r13
	movq	-104(%rbp), %r14                ## 8-byte Reload
	movl	%eax, %esi
	callq	__mm_add_ps
	jmp	LBB0_18
LBB0_20:
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	%r14, 32(%rax)
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SINC_WINDOW_KAISER,8,3         ## @SINC_WINDOW_KAISER
	.no_dead_strip	_resampler_sinc_process_sse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function resampler_sinc_process_sse
_resampler_sinc_process_sse:            ; @resampler_sinc_process_sse
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	ldr	x16, [x1, #24]
	str	x1, [sp, #8]                    ; 8-byte Folded Spill
	cbz	x16, LBB0_18
; %bb.1:
	mov	x27, x0
	mov	x25, #0
	ldp	w8, w9, [x0]
	add	w8, w9, w8
	mov	w9, #1
	lsl	w17, w9, w8
	ldr	w9, [x1]
	ldp	x10, x19, [x1, #8]
	ldr	w8, [x0, #8]
	neg	w0, w17
                                        ; implicit-def: $w1
                                        ; kill: killed $w1
	udiv	w9, w17, w9
	stp	w9, w17, [sp, #40]              ; 8-byte Folded Spill
	str	x27, [sp, #80]                  ; 8-byte Folded Spill
	str	w0, [sp, #20]                   ; 4-byte Folded Spill
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldp	x10, x16, [sp, #24]             ; 16-byte Folded Reload
	ldr	w0, [sp, #20]                   ; 4-byte Folded Reload
	cbz	x16, LBB0_19
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
                                        ;     Child Loop BB0_9 Depth 2
                                        ;       Child Loop BB0_16 Depth 3
	mov	x9, x8
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	subs	w8, w9, w17
	b.lo	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	ldp	x11, x12, [x27, #16]
	cmp	x11, #0
	csel	x11, x12, x11, eq
	sub	x11, x11, #1
	ldr	s0, [x10]
	lsl	x13, x11, #2
	ldp	x14, x15, [x27, #32]
	str	s0, [x14, x13]
	add	x12, x12, x11
	lsl	x12, x12, #2
	str	s0, [x14, x12]
	str	x11, [x27, #16]
	ldr	s0, [x10, #4]
	str	s0, [x15, x13]
	str	s0, [x15, x12]
	add	x11, x10, #8
	add	w9, w0, w9
	str	w9, [x27, #8]
	mov	x9, x8
	mov	x10, x11
	subs	x16, x16, #1
	b.ne	LBB0_4
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, x9
	mov	x11, x10
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	stp	x11, x16, [sp, #24]             ; 16-byte Folded Spill
	cmp	w8, w17
	b.lo	LBB0_9
	b	LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	mov	w0, #1
	mov	w1, #0
	mov	w2, #1
	mov	w3, #0
	bl	__MM_SHUFFLE
	mov	x2, x0
	mov	x0, x23
	mov	x1, x24
	bl	__mm_shuffle_ps
	mov	x25, x0
	mov	w0, #3
	mov	w1, #2
	mov	w2, #3
	mov	w3, #2
	bl	__MM_SHUFFLE
	mov	x2, x0
	mov	x0, x23
	mov	x1, x24
	bl	__mm_shuffle_ps
	mov	x1, x0
	mov	x0, x25
	bl	__mm_add_ps
	mov	x23, x0
	mov	w0, #3
	mov	w1, #3
	mov	w2, #1
	mov	w3, #1
	bl	__MM_SHUFFLE
	mov	x2, x0
	mov	x0, x23
	mov	x1, x23
	bl	__mm_shuffle_ps
	mov	x1, x23
	bl	__mm_add_ps
	mov	x23, x0
	ldr	x19, [sp, #48]                  ; 8-byte Folded Reload
	mov	x0, x19
	mov	x1, x23
	bl	__mm_store_ss
	add	x24, x19, #4
	mov	x0, x23
	mov	x1, x23
	bl	__mm_movehl_ps
	mov	x1, x0
	mov	x0, x24
	bl	__mm_store_ss
	add	x19, x19, #8
	ldr	x25, [sp, #56]                  ; 8-byte Folded Reload
	add	x25, x25, #1
	ldr	w8, [x27, #8]
	ldp	w9, w17, [sp, #40]              ; 8-byte Folded Reload
	add	w8, w8, w9
	cmp	w8, w17
	str	w8, [x27, #8]
	b.hs	LBB0_2
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_16 Depth 3
	str	x19, [sp, #48]                  ; 8-byte Folded Spill
	ldp	x20, x21, [x27, #32]
	ldp	x22, x19, [x27, #16]
	ldr	w9, [x27, #4]
	lsr	w10, w8, w9
Lloh0:
	adrp	x9, _SINC_WINDOW_KAISER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SINC_WINDOW_KAISER@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x9]
	ldp	x12, x9, [x27, #48]
	mul	w10, w10, w19
	cmp	x12, x11
	b.ne	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	and	x11, x19, #0xffffffff
	lsl	w10, w10, #1
	add	x9, x9, w10, uxtw #2
	str	x9, [sp, #88]                   ; 8-byte Folded Spill
	add	x9, x9, x11, lsl #2
	str	x9, [sp, #72]                   ; 8-byte Folded Spill
	ldr	w9, [x27, #64]
	and	w8, w9, w8
	ucvtf	s0, w8
	ldr	s1, [x27, #68]
	fmul	s0, s1, s0
	bl	__mm_set1_ps
	str	w0, [sp, #68]                   ; 4-byte Folded Spill
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_9 Depth=2
	str	xzr, [sp, #72]                  ; 8-byte Folded Spill
	add	x8, x9, w10, uxtw #2
	str	x8, [sp, #88]                   ; 8-byte Folded Spill
LBB0_12:                                ;   in Loop: Header=BB0_9 Depth=2
	bl	__mm_setzero_ps
	mov	x23, x0
	bl	__mm_setzero_ps
	mov	x24, x0
	str	x25, [sp, #56]                  ; 8-byte Folded Spill
	cbz	w19, LBB0_8
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	w8, #0
	lsl	x9, x22, #2
	add	x22, x20, x9
	add	x20, x21, x9
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_16 Depth=3
	ldr	x8, [sp, #88]                   ; 8-byte Folded Reload
	add	x0, x8, x21, lsl #2
	bl	__mm_load_ps
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=3
	mov	x27, x0
	mov	x0, x26
	mov	x1, x27
	bl	__mm_mul_ps
	mov	x1, x0
	mov	x0, x23
	bl	__mm_add_ps
	mov	x23, x0
	mov	x0, x25
	mov	x1, x27
	bl	__mm_mul_ps
	mov	x1, x0
	mov	x0, x24
	bl	__mm_add_ps
	mov	x24, x0
	add	w8, w21, #4
	cmp	w8, w19
	ldr	x27, [sp, #80]                  ; 8-byte Folded Reload
	b.hs	LBB0_8
LBB0_16:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_9 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	mov	w21, w8
	lsl	x28, x21, #2
	add	x0, x22, x28
	bl	__mm_loadu_ps
	mov	x26, x0
	add	x0, x20, x28
	bl	__mm_loadu_ps
	mov	x25, x0
	ldr	x8, [x27, #48]
Lloh3:
	adrp	x9, _SINC_WINDOW_KAISER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SINC_WINDOW_KAISER@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=3
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	add	x0, x8, x28
	bl	__mm_load_ps
	mov	x27, x0
	ldr	x8, [sp, #88]                   ; 8-byte Folded Reload
	add	x0, x8, x28
	bl	__mm_load_ps
	mov	x28, x0
	mov	x0, x27
	ldr	w1, [sp, #68]                   ; 4-byte Folded Reload
	bl	__mm_mul_ps
	mov	x1, x0
	mov	x0, x28
	bl	__mm_add_ps
	b	LBB0_15
LBB0_18:
	mov	x25, #0
LBB0_19:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	str	x25, [x8, #32]
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SINC_WINDOW_KAISER,8,3         ; @SINC_WINDOW_KAISER
	.no_dead_strip	_resampler_sinc_process_sse
.subsections_via_symbols
