	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_speex_resampler_skip_zeros     ## -- Begin function speex_resampler_skip_zeros
	.p2align	4, 0x90
_speex_resampler_skip_zeros:            ## @speex_resampler_skip_zeros
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %r10
	testq	%r10, %r10
	je	LBB0_13
## %bb.1:
	movq	8(%rdi), %rcx
	cmpq	$8, %r10
	jb	LBB0_2
## %bb.3:
	leaq	20(%rdi), %rdx
	cmpq	%rdx, %rcx
	jae	LBB0_6
## %bb.4:
	leaq	(%rcx,%r10,4), %rdx
	leaq	16(%rdi), %rsi
	cmpq	%rdx, %rsi
	jae	LBB0_6
LBB0_2:
	xorl	%edx, %edx
LBB0_9:
	movq	%rdx, %r9
	orq	$1, %r9
	testb	$1, %r10b
	je	LBB0_11
## %bb.10:
	movl	16(%rdi), %r8d
	movl	%r8d, %esi
	shrl	$31, %esi
	addl	%r8d, %esi
	sarl	%esi
	movl	%esi, (%rcx,%rdx,4)
	movq	%r9, %rdx
LBB0_11:
	cmpq	%r9, %r10
	je	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	16(%rdi), %eax
	movl	%eax, %esi
	shrl	$31, %esi
	addl	%eax, %esi
	sarl	%esi
	movl	%esi, (%rcx,%rdx,4)
	movl	16(%rdi), %eax
	movl	%eax, %esi
	shrl	$31, %esi
	addl	%eax, %esi
	sarl	%esi
	movl	%esi, 4(%rcx,%rdx,4)
	addq	$2, %rdx
	cmpq	%rdx, %r10
	jne	LBB0_12
	jmp	LBB0_13
LBB0_6:
	movq	%r10, %rdx
	andq	$-8, %rdx
	movd	16(%rdi), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	movdqa	%xmm0, %xmm1
	psrld	$31, %xmm1
	paddd	%xmm0, %xmm1
	psrad	$1, %xmm1
	pshufd	$0, %xmm1, %xmm0                ## xmm0 = xmm1[0,0,0,0]
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, (%rcx,%rsi,4)
	movdqu	%xmm0, 16(%rcx,%rsi,4)
	addq	$8, %rsi
	cmpq	%rsi, %rdx
	jne	LBB0_7
## %bb.8:
	cmpq	%rdx, %r10
	jne	LBB0_9
LBB0_13:
	movq	_RESAMPLER_ERR_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RESAMPLER_ERR_SUCCESS,4,2      ## @RESAMPLER_ERR_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_speex_resampler_skip_zeros     ; -- Begin function speex_resampler_skip_zeros
	.p2align	2
_speex_resampler_skip_zeros:            ; @speex_resampler_skip_zeros
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	cbz	x8, LBB0_9
; %bb.1:
	ldr	x9, [x0, #8]
	cmp	x8, #4
	b.lo	LBB0_6
; %bb.2:
	add	x10, x9, x8, lsl #2
	add	x11, x0, #16
	add	x12, x0, #20
	cmp	x9, x12
	ccmp	x11, x10, #2, lo
	b.lo	LBB0_6
; %bb.3:
	and	x10, x8, #0xfffffffffffffffc
	ldr	s0, [x0, #16]
	cmlt.4s	v1, v0, #0
	usra.4s	v0, v1, #31
	sshr.4s	v0, v0, #1
	dup.4s	v0, v0[0]
	mov	x11, x10
	mov	x12, x9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	str	q0, [x12], #16
	subs	x11, x11, #4
	b.ne	LBB0_4
; %bb.5:
	cmp	x8, x10
	b.ne	LBB0_7
	b	LBB0_9
LBB0_6:
	mov	x10, #0
LBB0_7:
	sub	x8, x8, x10
	add	x9, x9, x10, lsl #2
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x0, #16]
	cmp	w10, #0
	cinc	w10, w10, lt
	asr	w10, w10, #1
	str	w10, [x9], #4
	subs	x8, x8, #1
	b.ne	LBB0_8
LBB0_9:
Lloh0:
	adrp	x8, _RESAMPLER_ERR_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RESAMPLER_ERR_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RESAMPLER_ERR_SUCCESS,4,2      ; @RESAMPLER_ERR_SUCCESS
.subsections_via_symbols
