	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function apply_pitch_filters
LCPI0_0:
	.quad	0x3fd0000000000000              ## double 0.25
LCPI0_1:
	.quad	0x4030000000000000              ## double 16
LCPI0_2:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_3:
	.quad	0xbfd3333333333333              ## double -0.29999999999999999
LCPI0_4:
	.quad	0x3feccccccccccccd              ## double 0.90000000000000002
LCPI0_5:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_apply_pitch_filters:                   ## @apply_pitch_filters
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_RATE_HALF@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	_SILENCE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rdx, %rax
	jge	LBB0_4
## %bb.1:
	cmpq	%rcx, %rax
	je	LBB0_4
## %bb.2:
	movq	_I_F_Q@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rax
	jne	LBB0_20
## %bb.3:
	cmpq	%rdx, 8(%rbx)
	jge	LBB0_4
LBB0_20:
	movl	40(%rbx), %edi
	addq	$68, %r14
	movq	%r14, %rsi
	movl	$572, %edx                      ## imm = 0x23C
	callq	_memcpy
	movl	36(%rbx), %edi
	movq	%r14, %rsi
	movl	$572, %edx                      ## imm = 0x23C
	callq	_memcpy
	movq	16(%rbx), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	24(%rbx), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memset                         ## TAILCALL
LBB0_4:
	cmpq	%rdx, %rax
	jge	LBB0_5
## %bb.14:
	movq	_I_F_Q@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_17
## %bb.15:
	movl	32(%rbx), %eax
	xorps	%xmm1, %xmm1
	cmpl	$2, %eax
	jg	LBB0_18
## %bb.16:
	decl	%eax
	cvtsi2sd	%eax, %xmm0
	mulsd	LCPI0_3(%rip), %xmm0
	addsd	LCPI0_4(%rip), %xmm0
	cvtsd2ss	%xmm0, %xmm0
	xorps	%xmm1, %xmm1
	cvtss2sd	%xmm0, %xmm1
	jmp	LBB0_18
LBB0_5:
	movq	48(%rbx), %rax
	movq	16(%rbx), %rdx
	movq	24(%rbx), %rcx
	movsd	(%rax), %xmm1                   ## xmm1 = mem[0],zero
	xorl	%esi, %esi
	xorpd	%xmm0, %xmm0
	ucomisd	%xmm0, %xmm1
	movl	$0, %edi
	jne	LBB0_6
	jnp	LBB0_7
LBB0_6:
	movq	56(%rbx), %rdi
	movl	(%rdi), %edi
	incl	%edi
	cvtsi2sd	%edi, %xmm2
	mulsd	LCPI0_0(%rip), %xmm2
	cvttsd2si	%xmm2, %edi
LBB0_7:
	movl	%edi, (%rdx)
	addsd	LCPI0_1(%rip), %xmm1
	movsd	%xmm1, (%rcx)
	movsd	8(%rax), %xmm1                  ## xmm1 = mem[0],zero
	ucomisd	%xmm0, %xmm1
	jne	LBB0_8
	jnp	LBB0_9
LBB0_8:
	movq	56(%rbx), %rsi
	movl	4(%rsi), %esi
	incl	%esi
	xorps	%xmm0, %xmm0
	cvtsi2sd	%esi, %xmm0
	mulsd	LCPI0_0(%rip), %xmm0
	cvttsd2si	%xmm0, %esi
LBB0_9:
	addsd	LCPI0_1(%rip), %xmm1
	movl	%esi, 4(%rdx)
	movsd	%xmm1, 8(%rcx)
	movsd	16(%rax), %xmm1                 ## xmm1 = mem[0],zero
	xorl	%esi, %esi
	xorpd	%xmm0, %xmm0
	ucomisd	%xmm0, %xmm1
	movl	$0, %edi
	jne	LBB0_10
	jnp	LBB0_11
LBB0_10:
	movq	56(%rbx), %rdi
	movl	8(%rdi), %edi
	incl	%edi
	xorps	%xmm2, %xmm2
	cvtsi2sd	%edi, %xmm2
	mulsd	LCPI0_0(%rip), %xmm2
	cvttsd2si	%xmm2, %edi
LBB0_11:
	movl	%edi, 8(%rdx)
	addsd	LCPI0_1(%rip), %xmm1
	movsd	%xmm1, 16(%rcx)
	movsd	24(%rax), %xmm1                 ## xmm1 = mem[0],zero
	ucomisd	%xmm0, %xmm1
	jne	LBB0_12
	jnp	LBB0_13
LBB0_12:
	movq	56(%rbx), %rax
	movl	12(%rax), %eax
	incl	%eax
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	mulsd	LCPI0_0(%rip), %xmm0
	cvttsd2si	%xmm0, %esi
LBB0_13:
	movl	%esi, 12(%rdx)
	addsd	LCPI0_1(%rip), %xmm1
	movsd	%xmm1, 24(%rcx)
	jmp	LBB0_19
LBB0_17:
	xorl	%edi, %edi
	cmpq	%rcx, %rax
	sete	%dil
	callq	_av_assert2
	movsd	LCPI0_2(%rip), %xmm1            ## xmm1 = mem[0],zero
LBB0_18:
	movq	16(%rbx), %rax
	xorps	%xmm0, %xmm0
	cvtsi2sdl	(%rax), %xmm0
	movsd	%xmm1, -32(%rbp)                ## 8-byte Spill
	callq	_FFMIN
	cvttsd2si	%xmm0, %eax
	movq	16(%rbx), %rcx
	movl	%eax, (%rcx)
	xorps	%xmm0, %xmm0
	cvtsi2sdl	4(%rcx), %xmm0
	movsd	-32(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	callq	_FFMIN
	cvttsd2si	%xmm0, %eax
	movq	16(%rbx), %rcx
	movl	%eax, 4(%rcx)
	xorps	%xmm0, %xmm0
	cvtsi2sdl	8(%rcx), %xmm0
	movsd	-32(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	callq	_FFMIN
	cvttsd2si	%xmm0, %eax
	movq	16(%rbx), %rcx
	movl	%eax, 8(%rcx)
	xorps	%xmm0, %xmm0
	cvtsi2sdl	12(%rcx), %xmm0
	movsd	-32(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	callq	_FFMIN
	cvttsd2si	%xmm0, %eax
	movq	16(%rbx), %rcx
	movl	%eax, 12(%rcx)
	movq	64(%rbx), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	16(%rbx), %rdx
	movq	24(%rbx), %rcx
LBB0_19:
	movl	40(%rbx), %edi
	movq	64(%rbx), %r8
	movq	%r14, %rsi
	callq	_do_pitchfilter
	movq	%rax, %r15
	movq	16(%rbx), %rax
	xorps	%xmm0, %xmm0
	cvtsi2sdl	(%rax), %xmm0
	movsd	LCPI0_2(%rip), %xmm1            ## xmm1 = mem[0],zero
	callq	_FFMIN
	mulsd	LCPI0_5(%rip), %xmm0
	cvttsd2si	%xmm0, %eax
	movq	16(%rbx), %rcx
	movl	%eax, (%rcx)
	xorps	%xmm0, %xmm0
	cvtsi2sdl	4(%rcx), %xmm0
	movsd	LCPI0_2(%rip), %xmm1            ## xmm1 = mem[0],zero
	callq	_FFMIN
	mulsd	LCPI0_5(%rip), %xmm0
	cvttsd2si	%xmm0, %eax
	movq	16(%rbx), %rcx
	movl	%eax, 4(%rcx)
	xorps	%xmm0, %xmm0
	cvtsi2sdl	8(%rcx), %xmm0
	movsd	LCPI0_2(%rip), %xmm1            ## xmm1 = mem[0],zero
	callq	_FFMIN
	mulsd	LCPI0_5(%rip), %xmm0
	cvttsd2si	%xmm0, %eax
	movq	16(%rbx), %rcx
	movl	%eax, 8(%rcx)
	xorps	%xmm0, %xmm0
	cvtsi2sdl	12(%rcx), %xmm0
	movsd	LCPI0_2(%rip), %xmm1            ## xmm1 = mem[0],zero
	callq	_FFMIN
	mulsd	LCPI0_5(%rip), %xmm0
	cvttsd2si	%xmm0, %eax
	movq	16(%rbx), %rdx
	movl	%eax, 12(%rdx)
	movl	36(%rbx), %edi
	movq	24(%rbx), %rcx
	movq	64(%rbx), %r8
	movq	%r15, %rsi
	callq	_do_pitchfilter
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rax, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_apply_gain_ctrl                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RATE_HALF,8,3                  ## @RATE_HALF
	.comm	_SILENCE,8,3                    ## @SILENCE
	.comm	_I_F_Q,8,3                      ## @I_F_Q
	.no_dead_strip	_apply_pitch_filters
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function apply_pitch_filters
_apply_pitch_filters:                   ; @apply_pitch_filters
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-64]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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 b8, -56
	.cfi_offset b9, -64
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _RATE_HALF@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RATE_HALF@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x9]
Lloh3:
	adrp	x9, _SILENCE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SILENCE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x10
	ccmp	x8, x9, #4, lt
	b.ne	LBB0_5
LBB0_1:
	cmp	x8, x10
	b.ge	LBB0_8
; %bb.2:
Lloh6:
	adrp	x10, _I_F_Q@GOTPAGE
Lloh7:
	ldr	x10, [x10, _I_F_Q@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x8, x10
	b.ne	LBB0_10
; %bb.3:
	ldr	w8, [x19, #32]
	movi	d8, #0000000000000000
	cmp	w8, #2
	b.gt	LBB0_11
; %bb.4:
	sub	w8, w8, #1
	scvtf	d0, w8
	mov	x8, #-3689348814741910324
	movk	x8, #52429
	movk	x8, #16364, lsl #48
	fmov	d1, x8
	mov	x8, #3689348814741910323
	movk	x8, #49107, lsl #48
	fmov	d2, x8
	fmadd	d0, d0, d2, d1
	fcvt	s0, d0
	fcvt	d8, s0
	b	LBB0_11
LBB0_5:
Lloh9:
	adrp	x11, _I_F_Q@GOTPAGE
Lloh10:
	ldr	x11, [x11, _I_F_Q@GOTPAGEOFF]
Lloh11:
	ldr	x11, [x11]
	cmp	x8, x11
	b.ne	LBB0_7
; %bb.6:
	ldr	x11, [x19, #8]
	cmp	x11, x10
	b.ge	LBB0_1
LBB0_7:
	ldr	w0, [x19, #40]
	add	x20, x20, #68
	mov	x1, x20
	mov	w2, #572
	bl	_memcpy
	ldr	w0, [x19, #36]
	mov	x1, x20
	mov	w2, #572
	bl	_memcpy
	ldr	x0, [x19, #16]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	x0, [x19, #24]
	mov	w1, #0
	mov	w2, #8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #64               ; 16-byte Folded Reload
	b	_memset
LBB0_8:
	ldr	x8, [x19, #48]
	ldp	x2, x3, [x19, #16]
	ldr	d1, [x8]
	fcmp	d1, #0.0
	b.eq	LBB0_12
; %bb.9:
	ldr	x9, [x19, #56]
	ldr	w9, [x9]
	add	w9, w9, #1
	scvtf	d0, w9
	fmov	d2, #0.25000000
	fmul	d0, d0, d2
	fcvtzs	w9, d0
	b	LBB0_13
LBB0_10:
	cmp	x8, x9
	cset	w0, eq
	bl	_av_assert2
	fmov	d8, #1.00000000
LBB0_11:
	ldr	x8, [x19, #16]
	ldr	s0, [x8]
	sshll.2d	v0, v0, #0
	scvtf	d0, d0
	fmov	d1, d8
	bl	_FFMIN
	fcvtzs	w8, d0
	ldr	x9, [x19, #16]
	str	w8, [x9]
	ldr	s0, [x9, #4]
	sshll.2d	v0, v0, #0
	scvtf	d0, d0
	fmov	d1, d8
	bl	_FFMIN
	fcvtzs	w8, d0
	ldr	x9, [x19, #16]
	str	w8, [x9, #4]
	ldr	s0, [x9, #8]
	sshll.2d	v0, v0, #0
	scvtf	d0, d0
	fmov	d1, d8
	bl	_FFMIN
	fcvtzs	w8, d0
	ldr	x9, [x19, #16]
	str	w8, [x9, #8]
	ldr	s0, [x9, #12]
	sshll.2d	v0, v0, #0
	scvtf	d0, d0
	fmov	d1, d8
	bl	_FFMIN
	fcvtzs	w8, d0
	ldr	x9, [x19, #16]
	str	w8, [x9, #12]
	ldr	x0, [x19, #64]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldp	x2, x3, [x19, #16]
	b	LBB0_23
LBB0_12:
	mov	w9, #0
LBB0_13:
	str	w9, [x2]
	fmov	d0, #16.00000000
	fadd	d1, d1, d0
	str	d1, [x3]
	ldr	d1, [x8, #8]
	fcmp	d1, #0.0
	b.eq	LBB0_15
; %bb.14:
	ldr	x9, [x19, #56]
	ldr	w9, [x9, #4]
	add	w9, w9, #1
	scvtf	d2, w9
	fmov	d3, #0.25000000
	fmul	d2, d2, d3
	fcvtzs	w9, d2
	b	LBB0_16
LBB0_15:
	mov	w9, #0
LBB0_16:
	str	w9, [x2, #4]
	fadd	d0, d1, d0
	str	d0, [x3, #8]
	ldr	d1, [x8, #16]
	fcmp	d1, #0.0
	b.eq	LBB0_18
; %bb.17:
	ldr	x9, [x19, #56]
	ldr	w9, [x9, #8]
	add	w9, w9, #1
	scvtf	d0, w9
	fmov	d2, #0.25000000
	fmul	d0, d0, d2
	fcvtzs	w9, d0
	b	LBB0_19
LBB0_18:
	mov	w9, #0
LBB0_19:
	str	w9, [x2, #8]
	fmov	d0, #16.00000000
	fadd	d1, d1, d0
	str	d1, [x3, #16]
	ldr	d1, [x8, #24]
	fcmp	d1, #0.0
	b.eq	LBB0_21
; %bb.20:
	ldr	x8, [x19, #56]
	ldr	w8, [x8, #12]
	add	w8, w8, #1
	scvtf	d2, w8
	fmov	d3, #0.25000000
	fmul	d2, d2, d3
	fcvtzs	w8, d2
	b	LBB0_22
LBB0_21:
	mov	w8, #0
LBB0_22:
	str	w8, [x2, #12]
	fadd	d0, d1, d0
	str	d0, [x3, #24]
LBB0_23:
	ldr	w0, [x19, #40]
	ldr	x4, [x19, #64]
	mov	x1, x20
	bl	_do_pitchfilter
	mov	x21, x0
	ldr	x8, [x19, #16]
	ldr	s0, [x8]
	sshll.2d	v0, v0, #0
	scvtf	d0, d0
	fmov	d1, #1.00000000
	bl	_FFMIN
	fmov	d8, #0.50000000
	fmul	d0, d0, d8
	fcvtzs	w8, d0
	ldr	x9, [x19, #16]
	str	w8, [x9]
	ldr	s0, [x9, #4]
	sshll.2d	v0, v0, #0
	scvtf	d0, d0
	fmov	d1, #1.00000000
	bl	_FFMIN
	fmul	d0, d0, d8
	fcvtzs	w8, d0
	ldr	x9, [x19, #16]
	str	w8, [x9, #4]
	ldr	s0, [x9, #8]
	sshll.2d	v0, v0, #0
	scvtf	d0, d0
	fmov	d1, #1.00000000
	bl	_FFMIN
	fmul	d0, d0, d8
	fcvtzs	w8, d0
	ldr	x9, [x19, #16]
	str	w8, [x9, #8]
	ldr	s0, [x9, #12]
	sshll.2d	v0, v0, #0
	scvtf	d0, d0
	fmov	d1, #1.00000000
	bl	_FFMIN
	fmul	d0, d0, d8
	fcvtzs	w8, d0
	ldp	x2, x3, [x19, #16]
	str	w8, [x2, #12]
	ldr	w0, [x19, #36]
	ldr	x4, [x19, #64]
	mov	x1, x21
	bl	_do_pitchfilter
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #64               ; 16-byte Folded Reload
	b	_apply_gain_ctrl
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_RATE_HALF,8,3                  ; @RATE_HALF
	.comm	_SILENCE,8,3                    ; @SILENCE
	.comm	_I_F_Q,8,3                      ; @I_F_Q
	.no_dead_strip	_apply_pitch_filters
.subsections_via_symbols
