	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function predictor_decode_mono_3950
_predictor_decode_mono_3950:            ## @predictor_decode_mono_3950
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r13
	movq	(%rdi), %rax
	movq	(%rax), %r14
	movq	%r14, %rsi
	xorl	%edx, %edx
	movl	%r15d, %ecx
	callq	_ape_apply_filters
	movq	8(%r13), %rax
	movl	(%rax), %r12d
	testl	%r15d, %r15d
	je	LBB0_6
## %bb.1:
	movq	16(%r13), %rsi
	movl	%r15d, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	40(%r13), %rax
	movl	(%rax), %ecx
	movl	%ecx, %edx
	shll	$5, %edx
	subl	%ecx, %edx
	sarl	$5, %edx
	addl	%r12d, %edx
	movl	%edx, (%rax)
	movl	%edx, (%r14,%rbx,4)
	incq	%rbx
	cmpl	%ebx, -56(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %edi
	movl	(%r14,%rbx,4), %r15d
	movq	_YDELAYA@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	%r12d, (%rsi,%rax,4)
	movl	%r12d, %ecx
	subl	-4(%rsi,%rax,4), %ecx
	movl	%ecx, -4(%rsi,%rax,4)
	movq	24(%r13), %rdx
	movq	(%rdx), %rdx
	movsd	-12(%rsi,%rax,4), %xmm0         ## xmm0 = mem[0],zero
	movdqu	(%rdx), %xmm1
	movd	%r12d, %xmm2
	pinsrd	$1, %ecx, %xmm2
	shufps	$20, %xmm0, %xmm2               ## xmm2 = xmm2[0,1],xmm0[1,0]
	pmulld	%xmm1, %xmm2
	pshufd	$238, %xmm2, %xmm0              ## xmm0 = xmm2[2,3,2,3]
	paddd	%xmm2, %xmm0
	pshufd	$85, %xmm0, %xmm1               ## xmm1 = xmm0[1,1,1,1]
	paddd	%xmm0, %xmm1
	movd	%xmm1, %r12d
	sarl	$10, %r12d
	addl	%r15d, %r12d
	callq	_APESIGN
	movq	16(%r13), %rcx
	movq	_YADAPTCOEFFSA@GOTPCREL(%rip), %r14
	movq	(%r14), %rdx
	movl	%eax, (%rcx,%rdx,4)
	movq	_YDELAYA@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	-4(%rcx,%rax,4), %edi
	callq	_APESIGN
	movq	16(%r13), %rcx
	movq	(%r14), %rdx
	movl	%eax, -4(%rcx,%rdx,4)
	movl	%r15d, %edi
	callq	_APESIGN
	movq	(%r14), %rcx
	movq	16(%r13), %rsi
	movq	24(%r13), %rdx
	movl	(%rsi,%rcx,4), %edi
	imull	%eax, %edi
	movq	(%rdx), %rdx
	addl	%edi, (%rdx)
	movl	-4(%rsi,%rcx,4), %edi
	imull	%eax, %edi
	addl	%edi, 4(%rdx)
	movl	-8(%rsi,%rcx,4), %edi
	imull	%eax, %edi
	addl	%edi, 8(%rdx)
	imull	-12(%rsi,%rcx,4), %eax
	addl	%eax, 12(%rdx)
	addq	$4, %rsi
	movq	%rsi, 16(%r13)
	movq	32(%r13), %rdi
	movq	_HISTORY_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rdi,%rax,4), %rax
	cmpq	%rax, %rsi
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_PREDICTOR_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shll	$2, %edx
	callq	_memmove
	movq	32(%r13), %rsi
	movq	%rsi, 16(%r13)
	jmp	LBB0_4
LBB0_5:
	movq	8(%r13), %rax
LBB0_6:
	movl	%r12d, (%rax)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_YDELAYA,8,3                    ## @YDELAYA
	.comm	_YADAPTCOEFFSA,8,3              ## @YADAPTCOEFFSA
	.comm	_HISTORY_SIZE,4,2               ## @HISTORY_SIZE
	.comm	_PREDICTOR_SIZE,4,2             ## @PREDICTOR_SIZE
	.no_dead_strip	_predictor_decode_mono_3950
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function predictor_decode_mono_3950
_predictor_decode_mono_3950:            ; @predictor_decode_mono_3950
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x21, [x8]
	mov	x1, x21
	mov	x2, #0
	mov	x3, x20
	bl	_ape_apply_filters
	ldr	x8, [x19, #8]
	ldr	w22, [x8]
	cbz	w20, LBB0_6
; %bb.1:
	ldr	x1, [x19, #16]
Lloh0:
	adrp	x26, _YDELAYA@GOTPAGE
Lloh1:
	ldr	x26, [x26, _YDELAYA@GOTPAGEOFF]
Lloh2:
	adrp	x27, _YADAPTCOEFFSA@GOTPAGE
Lloh3:
	ldr	x27, [x27, _YADAPTCOEFFSA@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldp	w10, w9, [sp, #4]               ; 8-byte Folded Reload
	ldr	w11, [sp]                       ; 4-byte Folded Reload
	mul	w8, w25, w22
	madd	w8, w20, w28, w8
	madd	w8, w11, w24, w8
	madd	w8, w10, w9, w8
	add	w22, w23, w8, asr #10
	ldr	x8, [x19, #40]
	ldr	w9, [x8]
	lsl	w10, w9, #5
	sub	w9, w10, w9
	add	w9, w22, w9, asr #5
	str	w9, [x8]
	str	w9, [x21], #4
	ldr	w20, [sp, #12]                  ; 4-byte Folded Reload
	cbz	w20, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	w16, w20, #1
	ldr	w23, [x21]
	ldr	x8, [x26]
	add	x8, x1, x8, lsl #2
	ldp	w24, w9, [x8, #-8]
	sub	w28, w22, w9
	stp	w28, w22, [x8, #-4]
	ldr	x9, [x19, #24]
	ldr	x9, [x9]
	ldp	w25, w20, [x9]
	ldur	w8, [x8, #-12]
	stp	w8, w16, [sp, #8]               ; 8-byte Folded Spill
	ldr	w10, [x9, #8]
	ldr	w8, [x9, #12]
	stp	w10, w8, [sp]                   ; 8-byte Folded Spill
	mov	x0, x22
	bl	_APESIGN
	ldr	x8, [x19, #16]
	ldr	x9, [x27]
	str	w0, [x8, x9, lsl #2]
	ldr	x9, [x26]
	add	x8, x8, x9, lsl #2
	ldur	w0, [x8, #-4]
	bl	_APESIGN
	ldr	x8, [x19, #16]
	ldr	x9, [x27]
	add	x8, x8, x9, lsl #2
	stur	w0, [x8, #-4]
	mov	x0, x23
	bl	_APESIGN
	ldr	x8, [x27]
	ldp	x9, x10, [x19, #16]
	add	x8, x9, x8, lsl #2
	ldr	w11, [x8]
	ldr	x10, [x10]
	ldp	w12, w13, [x10]
	madd	w11, w11, w0, w12
	str	w11, [x10]
	ldur	w11, [x8, #-4]
	madd	w11, w11, w0, w13
	str	w11, [x10, #4]
	ldur	w11, [x8, #-8]
	ldp	w12, w13, [x10, #8]
	madd	w11, w11, w0, w12
	str	w11, [x10, #8]
	ldur	w8, [x8, #-12]
	madd	w8, w8, w0, w13
	str	w8, [x10, #12]
	add	x1, x9, #4
	str	x1, [x19, #16]
	ldr	x0, [x19, #32]
Lloh4:
	adrp	x8, _HISTORY_SIZE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HISTORY_SIZE@GOTPAGEOFF]
Lloh6:
	ldrsw	x8, [x8]
	add	x8, x0, x8, lsl #2
	cmp	x1, x8
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh7:
	adrp	x8, _PREDICTOR_SIZE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PREDICTOR_SIZE@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	lsl	w2, w8, #2
	bl	_memmove
	ldr	x1, [x19, #32]
	str	x1, [x19, #16]
	b	LBB0_2
LBB0_5:
	ldr	x8, [x19, #8]
LBB0_6:
	str	w22, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_YDELAYA,8,3                    ; @YDELAYA
	.comm	_YADAPTCOEFFSA,8,3              ; @YADAPTCOEFFSA
	.comm	_HISTORY_SIZE,4,2               ; @HISTORY_SIZE
	.comm	_PREDICTOR_SIZE,4,2             ; @PREDICTOR_SIZE
	.no_dead_strip	_predictor_decode_mono_3950
.subsections_via_symbols
