	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__vorbis_apply_window           ## -- Begin function _vorbis_apply_window
	.p2align	4, 0x90
__vorbis_apply_window:                  ## @_vorbis_apply_window
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%r8d, %r8d
	cmovel	%r8d, %ecx
	movq	%rdi, %r12
	cmovel	%r8d, %r9d
	movq	_vwin@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ecx, %rcx
	movslq	(%rsi,%rcx,4), %rdi
	movq	(%rax,%rdi,8), %rdi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movslq	%r9d, %rdi
	movslq	(%rsi,%rdi,4), %rsi
	movq	(%rax,%rsi,8), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movslq	%r8d, %rax
	movq	(%rdx,%rax,8), %r10
	movq	(%rdx,%rcx,8), %rcx
	movq	(%rdx,%rdi,8), %rdx
	leaq	3(%r10), %rsi
	testq	%r10, %r10
	cmovnsq	%r10, %rsi
	sarq	$2, %rsi
	leaq	3(%rcx), %r9
	testq	%rcx, %rcx
	cmovnsq	%rcx, %r9
	sarq	$2, %r9
	movq	%rsi, %r14
	subq	%r9, %r14
	movq	%rcx, %r15
	shrq	$63, %r15
	addq	%rcx, %r15
	sarq	%r15
	leaq	(%r14,%r15), %rax
	movq	%r10, %r11
	shrq	$63, %r11
	addq	%r10, %r11
	sarq	%r11
	addq	%rsi, %r11
	leaq	3(%rdx), %rdi
	testq	%rdx, %rdx
	cmovnsq	%rdx, %rdi
	sarq	$2, %rdi
	movq	%rdx, %rbx
	shrq	$63, %rbx
	addq	%rdx, %rbx
	movq	%r11, %r13
	subq	%rdi, %r13
	sarq	%rbx
	testq	%r14, %r14
	jle	LBB0_1
## %bb.2:
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	leaq	(,%r14,4), %rsi
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movq	%r10, -96(%rbp)                 ## 8-byte Spill
	movq	%r11, -88(%rbp)                 ## 8-byte Spill
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	callq	___bzero
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	-48(%rbp), %r9                  ## 8-byte Reload
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %r11                 ## 8-byte Reload
	movq	-96(%rbp), %r10                 ## 8-byte Reload
	movl	%r14d, %ecx
	jmp	LBB0_3
LBB0_1:
	xorl	%ecx, %ecx
LBB0_3:
	leaq	(%rbx,%r13), %r14
	cmpq	%rcx, %rax
	jle	LBB0_20
## %bb.4:
	negq	%r9
	addq	%rsi, %r9
	addq	%r15, %r9
	subq	%rcx, %r9
	cmpq	$8, %r9
	jae	LBB0_6
## %bb.5:
	xorl	%r9d, %r9d
LBB0_17:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_18
LBB0_6:
	leaq	(%r12,%rcx,4), %rdx
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	leaq	(%r15,%r9,4), %rsi
	cmpq	%rsi, %rdx
	jae	LBB0_9
## %bb.7:
	leaq	(%r12,%rax,4), %rdx
	cmpq	%rdx, %r15
	jae	LBB0_9
## %bb.8:
	xorl	%r9d, %r9d
LBB0_18:
	leaq	(%r15,%r9,4), %rdx
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movss	(%rdx), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	mulss	(%r12,%rcx,4), %xmm0
	movss	%xmm0, (%r12,%rcx,4)
	incq	%rcx
	addq	$4, %rdx
	cmpq	%rcx, %rax
	jg	LBB0_19
LBB0_20:
	movslq	%r13d, %r9
	cmpq	%r9, %r14
	movq	-104(%rbp), %rax                ## 8-byte Reload
	jle	LBB0_31
## %bb.21:
	negq	%rdi
	addq	%rdi, %r11
	addq	%rbx, %r11
	movq	%r11, %r8
	subq	%r9, %r8
	cmpq	$8, %r8
	jae	LBB0_22
LBB0_29:
	decl	%ebx
	movq	%r9, %r13
	.p2align	4, 0x90
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	movslq	%ebx, %rbx
	movss	(%rax,%rbx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	mulss	(%r12,%r13,4), %xmm0
	movss	%xmm0, (%r12,%r13,4)
	incq	%r13
	decl	%ebx
	cmpq	%r13, %r14
	jg	LBB0_30
LBB0_31:
	movslq	%r13d, %rax
	movq	%r10, %rcx
	subq	%rax, %rcx
	jle	LBB0_43
## %bb.32:
	cmpq	$8, %rcx
	jb	LBB0_42
## %bb.33:
	movq	%rcx, %r8
	andq	$-8, %r8
	leaq	-8(%r8), %rdx
	movq	%rdx, %rdi
	shrq	$3, %rdi
	incq	%rdi
	movl	%edi, %esi
	andl	$3, %esi
	cmpq	$24, %rdx
	jae	LBB0_35
## %bb.34:
	xorl	%ebx, %ebx
	jmp	LBB0_37
LBB0_22:
	movq	%r9, %rcx
	notq	%rcx
	addq	%rcx, %r11
	leal	-1(%rbx), %ecx
	movl	%ecx, %edx
	subl	%r11d, %edx
	cmpl	%ecx, %edx
	jg	LBB0_29
## %bb.23:
	shrq	$32, %r11
	jne	LBB0_29
## %bb.24:
	movabsq	$-4294967296, %rcx              ## imm = 0xFFFFFFFF00000000
	leaq	(%r12,%r9,4), %rdx
	movq	%rbx, %rdi
	shlq	$32, %rdi
	addq	%rcx, %rdi
	movq	%rdi, %rcx
	sarq	$30, %rcx
	addq	%rax, %rcx
	addq	$4, %rcx
	cmpq	%rcx, %rdx
	jae	LBB0_26
## %bb.25:
	leaq	(%r12,%r14,4), %rcx
	movq	%rdi, %rdx
	sarq	$32, %rdx
	addq	%r9, %rdx
	subq	%r14, %rdx
	leaq	(%rax,%rdx,4), %rdx
	addq	$4, %rdx
	cmpq	%rcx, %rdx
	jb	LBB0_29
LBB0_26:
	movq	%r10, %r15
	movq	%r8, %r11
	andq	$-8, %r11
	subl	%r11d, %ebx
	leaq	(%r12,%r9,4), %rdx
	addq	$16, %rdx
	addq	%r11, %r9
	xorl	%ecx, %ecx
	movabsq	$-34359738368, %r10             ## imm = 0xFFFFFFF800000000
	.p2align	4, 0x90
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movq	%rdi, %rsi
	sarq	$30, %rsi
	movups	-28(%rax,%rsi), %xmm0
	movups	-12(%rax,%rsi), %xmm1
	shufps	$27, %xmm1, %xmm1               ## xmm1 = xmm1[3,2,1,0]
	shufps	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movups	-16(%rdx,%rcx,4), %xmm2
	mulps	%xmm1, %xmm2
	movups	(%rdx,%rcx,4), %xmm1
	mulps	%xmm0, %xmm1
	movups	%xmm2, -16(%rdx,%rcx,4)
	movups	%xmm1, (%rdx,%rcx,4)
	addq	$8, %rcx
	addq	%r10, %rdi
	cmpq	%rcx, %r11
	jne	LBB0_27
## %bb.28:
	movq	%r9, %r13
	cmpq	%r11, %r8
	movq	%r15, %r10
	jne	LBB0_29
	jmp	LBB0_31
LBB0_9:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	andq	$-8, %r9
	leaq	-8(%r9), %rdx
	movq	%rdx, %r8
	shrq	$3, %r8
	incq	%r8
	movq	%rdi, %rax
	testq	%rdx, %rdx
	je	LBB0_10
## %bb.11:
	movabsq	$4611686018427387900, %rsi      ## imm = 0x3FFFFFFFFFFFFFFC
	orq	$2, %rsi
	andq	%r8, %rsi
	leaq	(%r12,%rcx,4), %rdx
	addq	$48, %rdx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movups	(%r15,%rdi,4), %xmm0
	movups	16(%r15,%rdi,4), %xmm1
	movups	-48(%rdx,%rdi,4), %xmm2
	mulps	%xmm0, %xmm2
	movups	-32(%rdx,%rdi,4), %xmm0
	mulps	%xmm1, %xmm0
	movups	-16(%rdx,%rdi,4), %xmm1
	movups	(%rdx,%rdi,4), %xmm3
	movups	%xmm2, -48(%rdx,%rdi,4)
	movups	%xmm0, -32(%rdx,%rdi,4)
	movups	32(%r15,%rdi,4), %xmm0
	mulps	%xmm1, %xmm0
	movups	48(%r15,%rdi,4), %xmm1
	mulps	%xmm3, %xmm1
	movups	%xmm0, -16(%rdx,%rdi,4)
	movups	%xmm1, (%rdx,%rdi,4)
	addq	$16, %rdi
	addq	$-2, %rsi
	jne	LBB0_12
## %bb.13:
	testb	$1, %r8b
	je	LBB0_15
LBB0_14:
	leaq	(%rcx,%rdi), %rdx
	movups	(%r15,%rdi,4), %xmm0
	movups	16(%r15,%rdi,4), %xmm1
	movups	(%r12,%rdx,4), %xmm2
	mulps	%xmm0, %xmm2
	movups	16(%r12,%rdx,4), %xmm0
	mulps	%xmm1, %xmm0
	movups	%xmm2, (%r12,%rdx,4)
	movups	%xmm0, 16(%r12,%rdx,4)
LBB0_15:
	cmpq	%r9, -48(%rbp)                  ## 8-byte Folded Reload
	movq	%rax, %rdi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	je	LBB0_20
## %bb.16:
	addq	%r9, %rcx
	jmp	LBB0_17
LBB0_35:
	andq	$-4, %rdi
	leaq	(%r12,%rax,4), %rdx
	addq	$112, %rdx
	xorl	%ebx, %ebx
	xorps	%xmm0, %xmm0
	.p2align	4, 0x90
LBB0_36:                                ## =>This Inner Loop Header: Depth=1
	movups	%xmm0, -112(%rdx,%rbx,4)
	movups	%xmm0, -96(%rdx,%rbx,4)
	movups	%xmm0, -80(%rdx,%rbx,4)
	movups	%xmm0, -64(%rdx,%rbx,4)
	movups	%xmm0, -48(%rdx,%rbx,4)
	movups	%xmm0, -32(%rdx,%rbx,4)
	movups	%xmm0, -16(%rdx,%rbx,4)
	movups	%xmm0, (%rdx,%rbx,4)
	addq	$32, %rbx
	addq	$-4, %rdi
	jne	LBB0_36
LBB0_37:
	testq	%rsi, %rsi
	je	LBB0_40
## %bb.38:
	addq	%rax, %rbx
	leaq	(%r12,%rbx,4), %rdx
	addq	$16, %rdx
	shlq	$5, %rsi
	xorl	%edi, %edi
	xorps	%xmm0, %xmm0
	.p2align	4, 0x90
LBB0_39:                                ## =>This Inner Loop Header: Depth=1
	movups	%xmm0, -16(%rdx,%rdi)
	movups	%xmm0, (%rdx,%rdi)
	addq	$32, %rdi
	cmpq	%rdi, %rsi
	jne	LBB0_39
LBB0_40:
	cmpq	%r8, %rcx
	je	LBB0_43
## %bb.41:
	addq	%r8, %rax
	.p2align	4, 0x90
LBB0_42:                                ## =>This Inner Loop Header: Depth=1
	movl	$0, (%r12,%rax,4)
	incq	%rax
	cmpq	%rax, %r10
	jg	LBB0_42
LBB0_43:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	xorl	%edi, %edi
	testb	$1, %r8b
	jne	LBB0_14
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_vwin,8,3                       ## @vwin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__vorbis_apply_window           ; -- Begin function _vorbis_apply_window
	.p2align	2
__vorbis_apply_window:                  ; @_vorbis_apply_window
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x0
	cmp	w4, #0
	csel	w8, wzr, w3, eq
	csel	w9, wzr, w5, eq
Lloh0:
	adrp	x10, _vwin@GOTPAGE
Lloh1:
	ldr	x10, [x10, _vwin@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	ldrsw	x11, [x1, w8, sxtw #2]
	ldr	x28, [x10, x11, lsl #3]
	ldrsw	x11, [x1, w9, sxtw #2]
	ldr	x21, [x10, x11, lsl #3]
	ldr	x1, [x2, w4, sxtw #3]
	ldr	x8, [x2, w8, sxtw #3]
	ldr	x9, [x2, w9, sxtw #3]
	add	x10, x1, #3
	cmp	x1, #0
	csel	x10, x10, x1, lt
	asr	x22, x10, #2
	add	x10, x8, #3
	cinc	x11, x1, lt
	cmp	x8, #0
	csel	x10, x10, x8, lt
	asr	x10, x10, #2
	cinc	x8, x8, lt
	asr	x20, x8, #1
	sub	x25, x22, x10
	add	x27, x25, x20
	asr	x24, x11, #1
	add	x8, x9, #3
	cmp	x9, #0
	csel	x8, x8, x9, lt
	asr	x0, x8, #2
	cinc	x8, x9, lt
	add	x9, x24, x22
	sub	x23, x9, x0
	asr	x26, x8, #1
	cmp	x25, #1
	b.lt	LBB0_2
; %bb.1:
	stp	x1, x0, [sp, #16]               ; 16-byte Folded Spill
	lsl	x1, x25, #2
	mov	x0, x19
	str	x10, [sp, #8]                   ; 8-byte Folded Spill
	bl	_bzero
	ldp	x10, x1, [sp, #8]               ; 16-byte Folded Reload
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	and	x9, x25, #0xffffffff
	b	LBB0_3
LBB0_2:
	mov	x9, #0
LBB0_3:
	add	x8, x23, x26
	cmp	x27, x9
	b.le	LBB0_12
; %bb.4:
	neg	x10, x10
	add	x10, x10, x22
	add	x10, x10, x20
	sub	x11, x10, x9
	cmp	x11, #16
	b.lo	LBB0_9
; %bb.5:
	add	x12, x19, x9, lsl #2
	add	x10, x19, x27, lsl #2
	add	x13, x28, x11, lsl #2
	cmp	x12, x13
	ccmp	x28, x10, #2, lo
	b.lo	LBB0_9
; %bb.6:
	and	x10, x11, #0xfffffffffffffff0
	add	x9, x9, x10
	add	x12, x12, #32
	add	x13, x28, #32
	mov	x14, x10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x13, #-32]
	ldp	q2, q3, [x13], #64
	ldp	q4, q5, [x12, #-32]
	ldp	q6, q7, [x12]
	fmul.4s	v0, v0, v4
	fmul.4s	v1, v1, v5
	fmul.4s	v2, v2, v6
	fmul.4s	v3, v3, v7
	stp	q0, q1, [x12, #-32]
	stp	q2, q3, [x12], #64
	subs	x14, x14, #16
	b.ne	LBB0_7
; %bb.8:
	cmp	x11, x10
	b.ne	LBB0_10
	b	LBB0_12
LBB0_9:
	mov	x10, #0
LBB0_10:
	add	x10, x28, x10, lsl #2
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	s0, [x10], #4
	lsl	x11, x9, #2
	ldr	s1, [x19, x11]
	fmul	s0, s0, s1
	str	s0, [x19, x11]
	add	x9, x9, #1
	cmp	x27, x9
	b.gt	LBB0_11
LBB0_12:
	sxtw	x12, w23
	cmp	x8, x12
	b.le	LBB0_21
; %bb.13:
	neg	x9, x0
	add	x10, x24, x22
	add	x9, x10, x9
	add	x10, x9, x26
	sub	x9, x10, x12
	cmp	x9, #16
	b.lo	LBB0_18
; %bb.14:
	mvn	x11, x12
	sub	w13, w26, #1
	add	x10, x10, x11
	sub	w11, w13, w10
	cmp	w11, w13
	b.gt	LBB0_18
; %bb.15:
	lsr	x10, x10, #32
	cbnz	x10, LBB0_18
; %bb.16:
	add	x13, x19, x12, lsl #2
	mov	x10, #-4294967296
	add	x10, x10, x26, lsl #32
	add	x11, x21, x10, asr #30
	add	x11, x11, #4
	cmp	x13, x11
	b.hs	LBB0_28
; %bb.17:
	add	x11, x19, x8, lsl #2
	add	x14, x12, x10, asr #32
	sub	x14, x14, x8
	add	x14, x21, x14, lsl #2
	add	x14, x14, #4
	cmp	x14, x11
	b.hs	LBB0_28
LBB0_18:
	mov	x23, x12
LBB0_19:
	sub	w9, w26, #1
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	s0, [x21, w9, sxtw #2]
	lsl	x10, x23, #2
	ldr	s1, [x19, x10]
	fmul	s0, s0, s1
	str	s0, [x19, x10]
	add	x23, x23, #1
	sub	w9, w9, #1
	cmp	x8, x23
	b.gt	LBB0_20
LBB0_21:
	sxtw	x11, w23
	subs	x9, x1, x11
	b.le	LBB0_27
; %bb.22:
	mov	x8, x11
	cmp	x9, #16
	b.lo	LBB0_26
; %bb.23:
	and	x10, x9, #0xfffffffffffffff0
	add	x8, x11, x10
	add	x11, x19, x11, lsl #2
	add	x11, x11, #32
	movi.2d	v0, #0000000000000000
	mov	x12, x10
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	stp	q0, q0, [x11, #-32]
	stp	q0, q0, [x11], #64
	subs	x12, x12, #16
	b.ne	LBB0_24
; %bb.25:
	cmp	x9, x10
	b.eq	LBB0_27
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	str	wzr, [x19, x8, lsl #2]
	add	x8, x8, #1
	cmp	x1, x8
	b.gt	LBB0_26
LBB0_27:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_28:
	and	x11, x9, #0xfffffffffffffff0
	add	x23, x12, x11
	sub	w26, w26, w11
	add	x12, x13, #32
	mov	x13, #-68719476736
	mov	x14, x11
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	add	x15, x21, x10, asr #30
	ldur	q0, [x15, #-12]
	rev64.4s	v0, v0
	ext.16b	v0, v0, v0, #8
	ldur	q1, [x15, #-28]
	rev64.4s	v1, v1
	ext.16b	v1, v1, v1, #8
	ldur	q2, [x15, #-44]
	rev64.4s	v2, v2
	ext.16b	v2, v2, v2, #8
	ldur	q3, [x15, #-60]
	rev64.4s	v3, v3
	ext.16b	v3, v3, v3, #8
	ldp	q4, q5, [x12, #-32]
	ldp	q6, q7, [x12]
	fmul.4s	v0, v0, v4
	fmul.4s	v1, v1, v5
	fmul.4s	v2, v2, v6
	fmul.4s	v3, v3, v7
	stp	q0, q1, [x12, #-32]
	stp	q2, q3, [x12], #64
	add	x10, x10, x13
	subs	x14, x14, #16
	b.ne	LBB0_29
; %bb.30:
	cmp	x9, x11
	b.eq	LBB0_21
	b	LBB0_19
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_vwin,8,3                       ; @vwin
.subsections_via_symbols
