	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_match_score
_get_match_score:                       ## @get_match_score
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%r8, %r15
	movq	%rcx, %r12
	movq	%rdi, %rbx
	movq	_BLOCKSIZE@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movq	_LPC_ORDER@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	callq	_ff_celp_lp_synthesis_filterf
	testq	%r12, %r12
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_orthogonalize
LBB0_2:
	testq	%r15, %r15
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_orthogonalize
LBB0_4:
	movq	16(%rbp), %rax
	movl	(%r13), %ecx
	testl	%ecx, %ecx
	jle	LBB0_5
## %bb.6:
	cmpl	$1, %ecx
	jne	LBB0_8
## %bb.7:
	xorps	%xmm0, %xmm0
	xorl	%edx, %edx
	jmp	LBB0_10
LBB0_5:
	xorps	%xmm1, %xmm1
	jmp	LBB0_14
LBB0_8:
	movl	%ecx, %esi
	andl	$-2, %esi
	xorps	%xmm1, %xmm1
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movss	(%rbx,%rdx,4), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	movss	4(%rbx,%rdx,4), %xmm0           ## xmm0 = mem[0],zero,zero,zero
	movsldup	%xmm2, %xmm3                    ## xmm3 = xmm2[0,0,2,2]
	insertps	$16, (%r14,%rdx,4), %xmm2       ## xmm2 = xmm2[0],mem[0],xmm2[2,3]
	mulps	%xmm3, %xmm2
	addps	%xmm1, %xmm2
	movsldup	%xmm0, %xmm1                    ## xmm1 = xmm0[0,0,2,2]
	insertps	$16, 4(%r14,%rdx,4), %xmm0      ## xmm0 = xmm0[0],mem[0],xmm0[2,3]
	mulps	%xmm1, %xmm0
	addps	%xmm2, %xmm0
	addq	$2, %rdx
	movaps	%xmm0, %xmm1
	cmpq	%rdx, %rsi
	jne	LBB0_9
LBB0_10:
	testb	$1, %cl
	je	LBB0_12
## %bb.11:
	movss	(%rbx,%rdx,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movsldup	%xmm1, %xmm2                    ## xmm2 = xmm1[0,0,2,2]
	insertps	$16, (%r14,%rdx,4), %xmm1       ## xmm1 = xmm1[0],mem[0],xmm1[2,3]
	mulps	%xmm1, %xmm2
	addps	%xmm2, %xmm0
LBB0_12:
	movshdup	%xmm0, %xmm2                    ## xmm2 = xmm0[1,1,3,3]
	xorps	%xmm1, %xmm1
	ucomiss	%xmm2, %xmm1
	jae	LBB0_14
## %bb.13:
	movq	24(%rbp), %rcx
	movaps	%xmm2, %xmm1
	divss	%xmm0, %xmm1
	movss	%xmm1, (%rcx)
	mulss	%xmm2, %xmm1
LBB0_14:
	movss	%xmm1, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BLOCKSIZE,4,2                  ## @BLOCKSIZE
	.comm	_LPC_ORDER,4,2                  ## @LPC_ORDER
	.no_dead_strip	_get_match_score
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_match_score
_get_match_score:                       ; @get_match_score
	.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	x20, x7
	mov	x19, x6
	mov	x21, x5
	mov	x23, x4
	mov	x24, x3
	mov	x22, x0
Lloh0:
	adrp	x25, _BLOCKSIZE@GOTPAGE
Lloh1:
	ldr	x25, [x25, _BLOCKSIZE@GOTPAGEOFF]
	ldr	w3, [x25]
Lloh2:
	adrp	x8, _LPC_ORDER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LPC_ORDER@GOTPAGEOFF]
Lloh4:
	ldr	w4, [x8]
	bl	_ff_celp_lp_synthesis_filterf
	cbz	x24, LBB0_2
; %bb.1:
	mov	x0, x22
	mov	x1, x24
	bl	_orthogonalize
LBB0_2:
	cbz	x23, LBB0_4
; %bb.3:
	mov	x0, x22
	mov	x1, x23
	bl	_orthogonalize
LBB0_4:
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.5:
	cmp	w8, #4
	b.hs	LBB0_8
; %bb.6:
	mov	x9, #0
	movi	d0, #0000000000000000
	movi	d1, #0000000000000000
	b	LBB0_11
LBB0_7:
	movi	d2, #0000000000000000
	b	LBB0_15
LBB0_8:
	and	x9, x8, #0xfffffffc
	add	x10, x21, #8
	add	x11, x22, #8
	movi	d0, #0000000000000000
	mov	x12, x9
	movi	d1, #0000000000000000
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldp	s2, s3, [x11, #-8]
	ldp	s4, s5, [x11], #16
	fmul	s6, s2, s2
	fmul	s7, s3, s3
	fmul	s16, s4, s4
	fmul	s17, s5, s5
	fadd	s0, s0, s6
	fadd	s0, s0, s7
	fadd	s0, s0, s16
	fadd	s0, s0, s17
	ldp	s6, s7, [x10, #-8]
	ldp	s16, s17, [x10], #16
	fmul	s2, s6, s2
	fmul	s3, s7, s3
	fmul	s4, s16, s4
	fmul	s5, s17, s5
	fadd	s1, s1, s2
	fadd	s1, s1, s3
	fadd	s1, s1, s4
	fadd	s1, s1, s5
	subs	x12, x12, #4
	b.ne	LBB0_9
; %bb.10:
	cmp	x9, x8
	b.eq	LBB0_13
LBB0_11:
	lsl	x11, x9, #2
	add	x10, x21, x11
	add	x11, x22, x11
	sub	x8, x8, x9
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	s2, [x11], #4
	fmadd	s0, s2, s2, s0
	ldr	s3, [x10], #4
	fmadd	s1, s3, s2, s1
	subs	x8, x8, #1
	b.ne	LBB0_12
LBB0_13:
	movi	d2, #0000000000000000
	fcmp	s1, #0.0
	b.ls	LBB0_15
; %bb.14:
	fdiv	s0, s1, s0
	str	s0, [x20]
	fmul	s2, s1, s0
LBB0_15:
	str	s2, [x19]
	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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BLOCKSIZE,4,2                  ; @BLOCKSIZE
	.comm	_LPC_ORDER,4,2                  ; @LPC_ORDER
	.no_dead_strip	_get_match_score
.subsections_via_symbols
