	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function decode_ppc
LCPI0_0:
	.quad	0x40d86a0000000000              ## double 25000
LCPI0_2:
	.quad	0x3f20000000000000              ## double 1.220703125E-4
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2
LCPI0_1:
	.long	0x3f000000                      ## float 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_decode_ppc:                            ## @decode_ppc
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
	movq	(%rdi), %rcx
	movq	8(%rdi), %r13
	movslq	(%rcx), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	imulq	$274877907, %rax, %rbx          ## imm = 0x10624DD3
	movq	%rbx, %rax
	shrq	$63, %rax
	sarq	$38, %rbx
	addl	%eax, %ebx
	movl	4(%rcx), %eax
	imull	$1000, 8(%rcx), %ecx            ## imm = 0x3E8
	cltd
	idivl	%ecx
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	(%r13), %eax
	shll	$4, %eax
	leal	(%rax,%rax,4), %edi
	movl	%ebx, %esi
	callq	_ROUNDED_DIV
	movl	%eax, %r14d
	imull	$480, (%r13), %edi              ## imm = 0x1E0
	movl	%ebx, %esi
	callq	_ROUNDED_DIV
	movl	%eax, %r15d
	subl	%r14d, %r15d
	movb	4(%r13), %cl
	movl	$-1, %r12d
	movl	$-1, %eax
	shll	%cl, %eax
	notl	%eax
	cvtsi2sd	%eax, %xmm0
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	movapd	%xmm1, %xmm2
	divsd	%xmm0, %xmm2
	xorps	%xmm0, %xmm0
	cvtsi2ssl	-48(%rbp), %xmm0        ## 4-byte Folded Reload
	cvtsd2ss	%xmm2, %xmm2
	movss	LCPI0_1(%rip), %xmm3            ## xmm3 = mem[0],zero,zero,zero
	mulss	%xmm2, %xmm3
	mulss	%xmm2, %xmm0
	addss	%xmm3, %xmm0
	movq	_TWINVQ_PGAIN_MU@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_twinvq_mulawinv
	movsd	%xmm0, -48(%rbp)                ## 8-byte Spill
	imull	-56(%rbp), %r15d                ## 4-byte Folded Reload
	movb	8(%r13), %cl
	shll	%cl, %r12d
	notl	%r12d
	movl	%r15d, %edi
	movl	%r12d, %esi
	callq	_ROUNDED_DIV
	movl	%eax, %ebx
	addl	%r14d, %ebx
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	addl	$-22000, %eax                   ## imm = 0xAA10
	cmpl	$999, %eax                      ## imm = 0x3E7
	ja	LBB0_3
## %bb.1:
	cmpl	$32, -52(%rbp)                  ## 4-byte Folded Reload
	jne	LBB0_3
## %bb.2:
	leal	800(%rbx), %edi
	imull	12(%r13), %edi
	imull	$400, (%r13), %esi              ## imm = 0x190
	callq	_ROUNDED_DIV
	jmp	LBB0_4
LBB0_3:
	movl	12(%r13), %eax
	imull	%ebx, %eax
	imull	$400, (%r13), %ecx              ## imm = 0x190
	cltd
	idivl	%ecx
LBB0_4:
	movl	%eax, %esi
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	mulsd	LCPI0_2(%rip), %xmm0
	cvtsd2ss	%xmm0, %xmm0
	movl	16(%r13), %r8d
	movl	%ebx, %edi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_add_peak                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TWINVQ_PGAIN_MU,4,2            ## @TWINVQ_PGAIN_MU
	.no_dead_strip	_decode_ppc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_ppc
_decode_ppc:                            ; @decode_ppc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	str	x4, [sp, #8]                    ; 8-byte Folded Spill
	mov	x20, x3
	mov	x22, x2
	mov	x21, x1
	ldp	x8, x25, [x0]
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	ldp	w26, w27, [x8]
                                        ; kill: def $w26 killed $w26 def $x26
	sxtw	x26, w26
	mul	x9, x26, x9
	lsr	x10, x9, #63
	asr	x9, x9, #38
	add	w23, w9, w10
	ldr	w28, [x8, #8]
	ldr	w8, [x25]
	add	w8, w8, w8, lsl #2
	lsl	w0, w8, #4
	mov	x1, x23
	bl	_ROUNDED_DIV
	mov	x24, x0
	ldr	w8, [x25]
	mov	w9, #480
	mul	w0, w8, w9
	mov	x1, x23
	bl	_ROUNDED_DIV
	sub	w23, w0, w24
	ldr	w8, [x25, #4]
	mov	w19, #-1
	lsl	w8, w19, w8
	mvn	w8, w8
	scvtf	d0, w8
	mov	x8, #116548232544256
	movk	x8, #16600, lsl #48
	fmov	d1, x8
	fdiv	d0, d1, d0
	fcvt	s0, d0
	scvtf	s2, w22
	fmov	s3, #0.50000000
	fmul	s3, s0, s3
	fmadd	s0, s0, s2, s3
Lloh0:
	adrp	x8, _TWINVQ_PGAIN_MU@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TWINVQ_PGAIN_MU@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_twinvq_mulawinv
	fmov	d8, d0
	mul	w0, w23, w21
	ldr	w8, [x25, #8]
	lsl	w8, w19, w8
	mvn	w1, w8
	bl	_ROUNDED_DIV
	add	w21, w0, w24
	mov	w8, #-22000
	add	w8, w26, w8
	cmp	w8, #999
	b.hi	LBB0_3
; %bb.1:
	mov	w8, #1000
	mul	w8, w28, w8
	sdiv	w8, w27, w8
	cmp	w8, #32
	b.ne	LBB0_3
; %bb.2:
	add	w8, w21, #800
	ldr	w9, [x25, #12]
	mul	w0, w9, w8
	ldr	w8, [x25]
	mov	w9, #400
	mul	w1, w8, w9
	bl	_ROUNDED_DIV
	mov	x1, x0
	b	LBB0_4
LBB0_3:
	ldr	w8, [x25, #12]
	mul	w8, w8, w21
	ldr	w9, [x25]
	mov	w10, #400
	mul	w9, w9, w10
	sdiv	w1, w8, w9
LBB0_4:
	ldr	x3, [sp, #8]                    ; 8-byte Folded Reload
	mov	x2, x20
	mov	x8, #4548635623644200960
	fmov	d0, x8
	fmul	d0, d8, d0
	fcvt	s0, d0
	ldr	w4, [x25, #16]
	mov	x0, x21
	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
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_add_peak
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TWINVQ_PGAIN_MU,4,2            ; @TWINVQ_PGAIN_MU
	.no_dead_strip	_decode_ppc
.subsections_via_symbols
