	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function floor1_interpolate_fit
LCPI0_0:
	.long	32767                           ## 0x7fff
	.long	32767                           ## 0x7fff
	.long	32767                           ## 0x7fff
	.long	32767                           ## 0x7fff
LCPI0_1:
	.long	32768                           ## 0x8000
	.long	32768                           ## 0x8000
	.long	32768                           ## 0x8000
	.long	32768                           ## 0x8000
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_floor1_interpolate_fit
	.p2align	4, 0x90
_floor1_interpolate_fit:                ## @floor1_interpolate_fit
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	testq	%rdx, %rdx
	je	LBB0_23
## %bb.1:
	movq	%rcx, %r15
	testq	%rcx, %rcx
	je	LBB0_23
## %bb.2:
	movl	%r8d, %r14d
	movq	%rdx, %rbx
	movq	(%rsi), %r12
	leal	(,%r12,4), %esi
	callq	__vorbis_block_alloc
	testq	%r12, %r12
	jle	LBB0_23
## %bb.3:
	movl	$65536, %r10d                   ## imm = 0x10000
	subl	%r14d, %r10d
	cmpq	$4, %r12
	jae	LBB0_5
## %bb.4:
	xorl	%edx, %edx
	jmp	LBB0_18
LBB0_5:
	leaq	(%rax,%r12,4), %rdx
	leaq	(%rbx,%r12,4), %rsi
	cmpq	%rsi, %rax
	setb	%r8b
	cmpq	%rbx, %rdx
	seta	%r9b
	leaq	(%r15,%r12,4), %rsi
	cmpq	%rsi, %rax
	setb	%sil
	cmpq	%r15, %rdx
	seta	%dil
	xorl	%edx, %edx
	testb	%r9b, %r8b
	jne	LBB0_18
## %bb.6:
	andb	%dil, %sil
	jne	LBB0_18
## %bb.7:
	movq	%r12, %rdx
	andq	$-4, %rdx
	movd	%r10d, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movd	%r14d, %xmm1
	pshufd	$0, %xmm1, %xmm1                ## xmm1 = xmm1[0,0,0,0]
	xorl	%esi, %esi
	movdqa	LCPI0_0(%rip), %xmm2            ## xmm2 = [32767,32767,32767,32767]
	movdqa	LCPI0_1(%rip), %xmm3            ## xmm3 = [32768,32768,32768,32768]
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_8 Depth=1
	addq	$4, %rsi
	cmpq	%rsi, %rdx
	je	LBB0_17
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%rbx,%rsi,4), %xmm5
	pand	%xmm2, %xmm5
	pmulld	%xmm0, %xmm5
	movdqu	(%r15,%rsi,4), %xmm4
	pand	%xmm2, %xmm4
	pmulld	%xmm1, %xmm4
	paddd	%xmm5, %xmm4
	paddd	%xmm3, %xmm4
	psrad	$16, %xmm4
	movdqu	%xmm4, (%rax,%rsi,4)
	movdqu	(%rbx,%rsi,4), %xmm6
	movdqu	(%r15,%rsi,4), %xmm5
	pand	%xmm6, %xmm5
	pslld	$16, %xmm5
	psrad	$31, %xmm5
	movd	%xmm5, %edi
	testb	$1, %dil
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movd	%xmm4, %edi
	orl	$32768, %edi                    ## imm = 0x8000
	movl	%edi, (%rax,%rsi,4)
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	pextrb	$4, %xmm5, %edi
	testb	$1, %dil
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	pextrd	$1, %xmm4, %edi
	orl	$32768, %edi                    ## imm = 0x8000
	movl	%edi, 4(%rax,%rsi,4)
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	pextrb	$8, %xmm5, %edi
	testb	$1, %dil
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=1
	pextrd	$2, %xmm4, %edi
	orl	$32768, %edi                    ## imm = 0x8000
	movl	%edi, 8(%rax,%rsi,4)
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=1
	pextrb	$12, %xmm5, %edi
	testb	$1, %dil
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_8 Depth=1
	pextrd	$3, %xmm4, %edi
	orl	$32768, %edi                    ## imm = 0x8000
	movl	%edi, 12(%rax,%rsi,4)
	jmp	LBB0_16
LBB0_17:
	cmpq	%rdx, %r12
	jne	LBB0_18
LBB0_23:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movl	$32767, %esi                    ## imm = 0x7FFF
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_19 Depth=1
	incq	%rdx
	cmpq	%rdx, %r12
	je	LBB0_23
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx,%rdx,4), %edi
	andl	%esi, %edi
	imull	%r10d, %edi
	movl	(%r15,%rdx,4), %ecx
	andl	%esi, %ecx
	imull	%r14d, %ecx
	addl	%ecx, %edi
	addl	$32768, %edi                    ## imm = 0x8000
	sarl	$16, %edi
	movl	%edi, (%rax,%rdx,4)
	testb	$-128, 1(%rbx,%rdx,4)
	je	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	testb	$-128, 1(%r15,%rdx,4)
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=1
	orl	$32768, %edi                    ## imm = 0x8000
	movl	%edi, (%rax,%rdx,4)
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_floor1_interpolate_fit         ; -- Begin function floor1_interpolate_fit
	.p2align	2
_floor1_interpolate_fit:                ; @floor1_interpolate_fit
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x8, x0
	mov	x0, #0
	cbz	x2, LBB0_22
; %bb.1:
	mov	x20, x3
	cbz	x3, LBB0_22
; %bb.2:
	mov	x19, x4
	mov	x21, x2
	ldr	x22, [x1]
	lsl	w1, w22, #2
	mov	x0, x8
	bl	__vorbis_block_alloc
	cmp	x22, #1
	b.lt	LBB0_22
; %bb.3:
	mov	w8, #65536
	sub	w8, w8, w19
	cmp	x22, #4
	b.hs	LBB0_5
; %bb.4:
	mov	x9, #0
	b	LBB0_18
LBB0_5:
	mov	x9, #0
	lsl	x10, x22, #2
	add	x11, x21, x10
	add	x12, x20, x10
	cmp	x0, x12
	add	x12, x0, x10
	ccmp	x12, x20, #0, lo
	cset	w10, hi
	cmp	x12, x21
	ccmp	x0, x11, #2, hi
	b.lo	LBB0_18
; %bb.6:
	tbnz	w10, #0, LBB0_18
; %bb.7:
	mov	x10, #0
	dup.4s	v0, w8
	and	x9, x22, #0xfffffffffffffffc
	dup.4s	v1, w19
	movi.4s	v2, #127, msl #8
	movi.4s	v3, #128, lsl #8
	mov	x11, x9
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x10, x10, #16
	subs	x11, x11, #4
	b.eq	LBB0_17
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	q5, [x21, x10]
	and.16b	v4, v5, v2
	ldr	q6, [x20, x10]
	and.16b	v7, v6, v2
	mul.4s	v7, v7, v1
	mla.4s	v7, v4, v0
	add.4s	v4, v7, v3
	sshr.4s	v4, v4, #16
	str	q4, [x0, x10]
	cmtst.4s	v5, v5, v3
	and.16b	v6, v6, v3
	cmeq.4s	v6, v6, #0
	bic.16b	v5, v5, v6
	xtn.4h	v5, v5
	umov.h	w12, v5[0]
	tbnz	w12, #0, LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	umov.h	w12, v5[1]
	tbnz	w12, #0, LBB0_14
LBB0_11:                                ;   in Loop: Header=BB0_9 Depth=1
	umov.h	w12, v5[2]
	tbnz	w12, #0, LBB0_15
LBB0_12:                                ;   in Loop: Header=BB0_9 Depth=1
	umov.h	w12, v5[3]
	tbz	w12, #0, LBB0_8
	b	LBB0_16
LBB0_13:                                ;   in Loop: Header=BB0_9 Depth=1
	fmov	w12, s4
	orr	w12, w12, #0x8000
	str	w12, [x0, x10]
	umov.h	w12, v5[1]
	tbz	w12, #0, LBB0_11
LBB0_14:                                ;   in Loop: Header=BB0_9 Depth=1
	mov.s	w12, v4[1]
	orr	w12, w12, #0x8000
	add	x13, x0, x10
	str	w12, [x13, #4]
	umov.h	w12, v5[2]
	tbz	w12, #0, LBB0_12
LBB0_15:                                ;   in Loop: Header=BB0_9 Depth=1
	mov.s	w12, v4[2]
	orr	w12, w12, #0x8000
	add	x13, x0, x10
	str	w12, [x13, #8]
	umov.h	w12, v5[3]
	tbz	w12, #0, LBB0_8
LBB0_16:                                ;   in Loop: Header=BB0_9 Depth=1
	mov.s	w12, v4[3]
	orr	w12, w12, #0x8000
	add	x13, x0, x10
	str	w12, [x13, #12]
	b	LBB0_8
LBB0_17:
	cmp	x22, x9
	b.eq	LBB0_22
LBB0_18:
	lsl	x11, x9, #2
	add	x12, x21, x11
	ldr	w10, [x12]
	and	w10, w10, #0x7fff
	ldr	w13, [x20, x11]
	and	w13, w13, #0x7fff
	mul	w13, w13, w19
	madd	w10, w10, w8, w13
	add	w10, w10, #8, lsl #12           ; =32768
	asr	w10, w10, #16
	str	w10, [x0, x11]
	ldrb	w11, [x12, #1]
	tbz	w11, #7, LBB0_21
; %bb.19:
	add	x11, x20, x9, lsl #2
	ldrb	w11, [x11, #1]
	tbz	w11, #7, LBB0_21
; %bb.20:
	orr	w10, w10, #0x8000
	str	w10, [x0, x9, lsl #2]
LBB0_21:
	add	x9, x9, #1
	b	LBB0_17
LBB0_22:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
