	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function speex_resampler_process_native
_speex_resampler_process_native:        ## @speex_resampler_process_native
	.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
	movq	%r8, %r14
	movq	%rcx, %r8
	movq	%rdx, %r15
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	32(%rdi), %rax
	movslq	4(%rdi), %rcx
	movslq	%esi, %r12
	imulq	%r12, %rcx
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%rcx,4), %r13
	movl	$1, 8(%rdi)
	movl	%r12d, %esi
	movq	%r13, %rdx
	movq	%r15, %rcx
	movq	%r14, %r9
	callq	*16(%rdi)
	movq	24(%rbx), %rcx
	movq	(%rcx,%r12,8), %rdx
	movslq	(%r15), %rsi
	cmpq	%rsi, %rdx
	jge	LBB0_2
## %bb.1:
	movl	%edx, (%r15)
LBB0_2:
	movl	%eax, (%r14)
	movslq	(%r15), %r8
	subq	%r8, %rdx
	movq	%rdx, (%rcx,%r12,8)
	movq	-64(%rbp), %r10                 ## 8-byte Reload
	cmpl	$2, %r10d
	jl	LBB0_22
## %bb.3:
	decl	%r10d
	cmpl	$8, %r10d
	jb	LBB0_4
## %bb.5:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r8,4), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rax,%rcx,4), %rax
	movq	%r13, %rcx
	subq	%rax, %rcx
	cmpq	$32, %rcx
	jae	LBB0_7
LBB0_4:
	xorl	%ecx, %ecx
LBB0_15:
	movq	%rcx, %r9
	notq	%r9
	addq	%r10, %r9
	movq	%r10, %rax
	andq	$3, %rax
	je	LBB0_19
## %bb.16:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rcx,%rdx), %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rsi,4), %rdi
	leaq	(%rdi,%r8,4), %rbx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx,%rsi,4), %edx
	movl	%edx, (%rdi,%rsi,4)
	incq	%rsi
	cmpq	%rsi, %rax
	jne	LBB0_17
## %bb.18:
	addq	%rsi, %rcx
LBB0_19:
	cmpq	$3, %r9
	jb	LBB0_22
## %bb.20:
	addq	-48(%rbp), %r8                  ## 8-byte Folded Reload
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r8,4), %rax
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rax,%rcx,4), %edx
	movl	%edx, (%r13,%rcx,4)
	movl	4(%rax,%rcx,4), %edx
	movl	%edx, 4(%r13,%rcx,4)
	movl	8(%rax,%rcx,4), %edx
	movl	%edx, 8(%r13,%rcx,4)
	movl	12(%rax,%rcx,4), %edx
	movl	%edx, 12(%r13,%rcx,4)
	addq	$4, %rcx
	cmpq	%rcx, %r10
	jne	LBB0_21
	jmp	LBB0_22
LBB0_7:
	movl	%r10d, %ecx
	andl	$-8, %ecx
	leaq	-8(%rcx), %rax
	movq	%rax, %rsi
	shrq	$3, %rsi
	incq	%rsi
	movl	%esi, %edx
	andl	$3, %edx
	cmpq	$24, %rax
	jae	LBB0_9
## %bb.8:
	xorl	%edi, %edi
	jmp	LBB0_11
LBB0_9:
	andq	$-4, %rsi
	movq	-48(%rbp), %r9                  ## 8-byte Reload
	leaq	(%r8,%r9), %rax
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	leaq	(%rdi,%rax,4), %rbx
	addq	$112, %rbx
	leaq	(%rdi,%r9,4), %rax
	addq	$112, %rax
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movups	-112(%rbx,%rdi,4), %xmm0
	movups	-96(%rbx,%rdi,4), %xmm1
	movups	%xmm0, -112(%rax,%rdi,4)
	movups	%xmm1, -96(%rax,%rdi,4)
	movups	-80(%rbx,%rdi,4), %xmm0
	movups	-64(%rbx,%rdi,4), %xmm1
	movups	%xmm0, -80(%rax,%rdi,4)
	movups	%xmm1, -64(%rax,%rdi,4)
	movups	-48(%rbx,%rdi,4), %xmm0
	movups	-32(%rbx,%rdi,4), %xmm1
	movups	%xmm0, -48(%rax,%rdi,4)
	movups	%xmm1, -32(%rax,%rdi,4)
	movups	-16(%rbx,%rdi,4), %xmm0
	movups	(%rbx,%rdi,4), %xmm1
	movups	%xmm0, -16(%rax,%rdi,4)
	movups	%xmm1, (%rax,%rdi,4)
	addq	$32, %rdi
	addq	$-4, %rsi
	jne	LBB0_10
LBB0_11:
	testq	%rdx, %rdx
	je	LBB0_14
## %bb.12:
	leaq	(,%r8,4), %rsi
	addq	-48(%rbp), %rdi                 ## 8-byte Folded Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	leaq	(%rbx,%rdi,4), %rax
	addq	$16, %rax
	leaq	(%rbx,%rdi,4), %rdi
	addq	%rdi, %rsi
	addq	$16, %rsi
	shlq	$5, %rdx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rsi,%rdi), %xmm0
	movups	(%rsi,%rdi), %xmm1
	movups	%xmm0, -16(%rax,%rdi)
	movups	%xmm1, (%rax,%rdi)
	addq	$32, %rdi
	cmpq	%rdi, %rdx
	jne	LBB0_13
LBB0_14:
	cmpq	%r10, %rcx
	jne	LBB0_15
LBB0_22:
	movq	_RESAMPLER_ERR_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RESAMPLER_ERR_SUCCESS,4,2      ## @RESAMPLER_ERR_SUCCESS
	.no_dead_strip	_speex_resampler_process_native
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function speex_resampler_process_native
_speex_resampler_process_native:        ; @speex_resampler_process_native
	.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, x4
	mov	x4, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	ldr	x23, [x0, #32]
	ldp	w25, w8, [x0]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	sxtw	x26, w21
	mul	x24, x8, x26
	add	x2, x23, x24, lsl #2
	mov	w8, #1
	str	w8, [x0, #8]
	ldr	x8, [x0, #16]
	mov	x3, x20
	mov	x5, x19
	blr	x8
	ldr	x8, [x22, #24]
	ldr	x10, [x8, w21, sxtw #3]
	ldrsw	x9, [x20]
	cmp	x10, x9
	b.ge	LBB0_2
; %bb.1:
	str	w10, [x20]
LBB0_2:
	str	w0, [x19]
	ldrsw	x9, [x20]
	sub	x10, x10, x9
	str	x10, [x8, x26, lsl #3]
	cmp	w25, #2
	b.lt	LBB0_8
; %bb.3:
	sub	w8, w25, #1
	cmp	w8, #16
	b.lo	LBB0_5
; %bb.4:
	lsl	x10, x24, #2
	lsl	x11, x9, #2
	add	x12, x11, x23
	add	x12, x12, x10
	add	x10, x10, x23
	sub	x10, x10, x12
	cmp	x10, #64
	b.hs	LBB0_9
LBB0_5:
	mov	x10, #0
LBB0_6:
	add	x9, x10, x9
	add	x9, x9, x24
	add	x9, x23, x9, lsl #2
	add	x11, x10, x24
	add	x11, x23, x11, lsl #2
	sub	x8, x8, x10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9], #4
	str	w10, [x11], #4
	subs	x8, x8, #1
	b.ne	LBB0_7
LBB0_8:
Lloh0:
	adrp	x8, _RESAMPLER_ERR_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RESAMPLER_ERR_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	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_9:
	and	x10, x8, #0xfffffff0
	add	x12, x23, x24, lsl #2
	add	x12, x12, #32
	mov	x13, x10
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	add	x14, x12, x11
	ldp	q0, q1, [x14, #-32]
	ldp	q2, q3, [x14]
	stp	q0, q1, [x12, #-32]
	stp	q2, q3, [x12], #64
	subs	x13, x13, #16
	b.ne	LBB0_10
; %bb.11:
	cmp	x10, x8
	b.eq	LBB0_8
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RESAMPLER_ERR_SUCCESS,4,2      ; @RESAMPLER_ERR_SUCCESS
	.no_dead_strip	_speex_resampler_process_native
.subsections_via_symbols
