	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function resampler_sinc_process_c
_resampler_sinc_process_c:              ## @resampler_sinc_process_c
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	4(%rdi), %eax
	movl	(%rdi), %ecx
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	addl	%eax, %ecx
	movl	$1, %ebx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %ebx
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	(%rsi)
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	24(%rsi), %r11
	testq	%r11, %r11
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.3:
	movq	8(%rsi), %r14
	movq	16(%rsi), %r12
	movq	_SINC_WINDOW_KAISER@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movl	8(%rdi), %r13d
	movl	%ebx, %r10d
	negl	%r10d
	xorl	%edx, %edx
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	movl	%r10d, -44(%rbp)                ## 4-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	%r13d, 8(%rdi)
	movl	-44(%rbp), %r10d                ## 4-byte Reload
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	testq	%r11, %r11
	je	LBB0_2
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
                                        ##     Child Loop BB0_13 Depth 2
                                        ##       Child Loop BB0_19 Depth 3
	movq	%rdx, %r9
	movl	%r13d, %eax
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	subl	%ebx, %r13d
	jb	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=2
	movq	16(%rdi), %rcx
	movq	24(%rdi), %rdx
	testq	%rcx, %rcx
	cmoveq	%rdx, %rcx
	leaq	-1(%rcx), %rsi
	movq	%rsi, 16(%rdi)
	movss	(%r14), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movq	32(%rdi), %rsi
	movss	%xmm0, -4(%rsi,%rcx,4)
	addq	%rcx, %rdx
	decq	%rdx
	movss	%xmm0, (%rsi,%rdx,4)
	movss	4(%r14), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	addq	$8, %r14
	movq	40(%rdi), %rsi
	movss	%xmm0, -4(%rsi,%rcx,4)
	movss	%xmm0, (%rsi,%rdx,4)
	addl	%r10d, %eax
	movl	%eax, 8(%rdi)
	movl	%r13d, %eax
	decq	%r11
	jne	LBB0_7
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	xorl	%r11d, %r11d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	%eax, %r13d
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r9, %rdx
	cmpl	%ebx, %r13d
	jae	LBB0_5
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	16(%rdi), %r10
	movq	24(%rdi), %rax
	shlq	$2, %r10
	movq	32(%rdi), %r15
	addq	%r10, %r15
	addq	40(%rdi), %r10
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	%eax, %esi
	movq	48(%rdi), %rax
	movq	56(%rdi), %rcx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	leaq	(%rcx,%rsi,4), %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_13 Depth=2
	addps	%xmm1, %xmm2
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
LBB0_23:                                ##   in Loop: Header=BB0_13 Depth=2
	movss	%xmm2, (%r12)
	extractps	$1, %xmm2, 4(%r12)
	addq	$8, %r12
	incq	%rdx
	addl	-52(%rbp), %r13d                ## 4-byte Folded Reload
	cmpl	%ebx, %r13d
	jae	LBB0_4
LBB0_13:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_19 Depth 3
	movl	%r13d, %r9d
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %r9d
	imull	-64(%rbp), %r9d                 ## 4-byte Folded Reload
	cmpq	%r8, %rax
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=2
	movl	64(%rdi), %ecx
	andl	%r13d, %ecx
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rcx, %xmm0
	addl	%r9d, %r9d
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%r9,4), %rcx
	mulss	68(%rdi), %xmm0
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_17
LBB0_18:                                ##   in Loop: Header=BB0_13 Depth=2
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%r9,4), %rdx
	xorps	%xmm3, %xmm3
	xorl	%ebx, %ebx
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_19 Depth=3
	movss	(%r15,%rbx,4), %xmm3            ## xmm3 = mem[0],zero,zero,zero
	insertps	$16, (%r10,%rbx,4), %xmm3       ## xmm3 = xmm3[0],mem[0],xmm3[2,3]
	movsldup	%xmm2, %xmm2                    ## xmm2 = xmm2[0,0,2,2]
	mulps	%xmm3, %xmm2
	movaps	%xmm2, %xmm3
	addps	%xmm1, %xmm3
	incq	%rbx
	cmpq	%rbx, %rsi
	je	LBB0_22
LBB0_19:                                ##   Parent Loop BB0_6 Depth=1
                                        ##     Parent Loop BB0_13 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movaps	%xmm3, %xmm1
	movss	(%rdx,%rbx,4), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	cmpq	%r8, %rax
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=3
	movss	(%rcx,%rbx,4), %xmm3            ## xmm3 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm3
	addss	%xmm3, %xmm2
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=2
	movl	%r9d, %r9d
	xorps	%xmm0, %xmm0
	xorl	%ecx, %ecx
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_18
LBB0_17:                                ##   in Loop: Header=BB0_13 Depth=2
	xorps	%xmm2, %xmm2
	jmp	LBB0_23
LBB0_1:
	xorl	%edx, %edx
LBB0_2:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rdx, 32(%rax)
	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_c
.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_c
_resampler_sinc_process_c:              ; @resampler_sinc_process_c
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	.cfi_offset w19, -8
	.cfi_offset w20, -16
	.cfi_offset w21, -24
	.cfi_offset w22, -32
	.cfi_offset w23, -40
	.cfi_offset w24, -48
	ldr	x10, [x1, #24]
	cbz	x10, LBB0_19
; %bb.1:
	mov	x8, #0
	ldp	w11, w9, [x0]
	add	w11, w9, w11
	mov	w12, #1
	lsl	w11, w12, w11
	ldr	w15, [x1]
	ldp	x17, x12, [x1, #8]
Lloh0:
	adrp	x13, _SINC_WINDOW_KAISER@GOTPAGE
Lloh1:
	ldr	x13, [x13, _SINC_WINDOW_KAISER@GOTPAGEOFF]
Lloh2:
	ldr	x13, [x13]
	ldr	w16, [x0, #8]
	neg	w14, w11
	udiv	w15, w11, w15
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	w16, [x0, #8]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	cbz	x10, LBB0_20
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
                                        ;     Child Loop BB0_12 Depth 2
                                        ;       Child Loop BB0_17 Depth 3
	mov	x2, x16
	mov	x3, x17
LBB0_5:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	subs	w16, w2, w11
	b.lo	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	ldp	x17, x4, [x0, #16]
	cmp	x17, #0
	csel	x17, x4, x17, eq
	sub	x17, x17, #1
	ldr	s0, [x3]
	lsl	x5, x17, #2
	ldp	x6, x7, [x0, #32]
	str	s0, [x6, x5]
	add	x4, x4, x17
	lsl	x4, x4, #2
	str	s0, [x6, x4]
	str	x17, [x0, #16]
	ldr	s0, [x3, #4]
	str	s0, [x7, x5]
	str	s0, [x7, x4]
	add	x17, x3, #8
	add	w2, w14, w2
	str	w2, [x0, #8]
	mov	x2, x16
	mov	x3, x17
	subs	x10, x10, #1
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w16, w11
	b.hs	LBB0_3
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x16, x2
	mov	x17, x3
	cmp	w16, w11
	b.hs	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldp	x3, x2, [x0, #16]
	lsl	x4, x3, #2
	ldp	x3, x5, [x0, #32]
	add	x3, x3, x4
	add	x4, x5, x4
	and	x5, x2, #0xffffffff
	ldp	x6, x7, [x0, #48]
	add	x19, x7, w2, uxtw #2
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=2
	movi	d2, #0000000000000000
	movi	d1, #0000000000000000
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=2
	str	s2, [x12]
	str	s1, [x12, #4]
	add	x12, x12, #8
	add	x8, x8, #1
	add	w16, w16, w15
	cmp	w16, w11
	b.hs	LBB0_2
LBB0_12:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_17 Depth 3
	lsr	w20, w16, w9
	mul	w24, w20, w2
	cmp	x6, x13
	b.ne	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	lsl	w24, w24, #1
	add	x20, x19, w24, uxtw #2
	ldr	w21, [x0, #64]
	and	w21, w21, w16
	ucvtf	s0, w21
	ldr	s1, [x0, #68]
	fmul	s0, s1, s0
	cbnz	w2, LBB0_15
	b	LBB0_10
LBB0_14:                                ;   in Loop: Header=BB0_12 Depth=2
	mov	x20, #0
	movi	d0, #0000000000000000
	cbz	w2, LBB0_10
LBB0_15:                                ;   in Loop: Header=BB0_12 Depth=2
	movi	d1, #0000000000000000
	mov	x21, x5
	mov	x22, x4
	mov	x23, x3
	movi	d2, #0000000000000000
	add	x24, x7, x24, lsl #2
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=3
	ldr	s4, [x23], #4
	fmadd	s2, s4, s3, s2
	ldr	s4, [x22], #4
	fmadd	s1, s4, s3, s1
	add	x24, x24, #4
	add	x20, x20, #4
	subs	x21, x21, #1
	b.eq	LBB0_11
LBB0_17:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_12 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	s3, [x24]
	cmp	x6, x13
	b.ne	LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=3
	ldr	s4, [x20]
	fmadd	s3, s4, s0, s3
	b	LBB0_16
LBB0_19:
	mov	x8, #0
LBB0_20:
	str	x8, [x1, #32]
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SINC_WINDOW_KAISER,8,3         ; @SINC_WINDOW_KAISER
	.no_dead_strip	_resampler_sinc_process_c
.subsections_via_symbols
