	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_opus_psy_celt_frame_process ## -- Begin function ff_opus_psy_celt_frame_process
	.p2align	4, 0x90
_ff_opus_psy_celt_frame_process:        ## @ff_opus_psy_celt_frame_process
	.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
	xorl	%r15d, %r15d
	cmpq	$0, 8(%rsi)
	jne	LBB0_6
## %bb.1:
	movq	%rsi, %r12
	movq	%rdi, %r14
	movb	4(%rdi), %cl
	shll	%cl, %edx
	movslq	%edx, %rbx
	shlq	$3, %rbx
	addq	8(%rdi), %rbx
	movl	(%rsi), %r13d
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_celt_gauge_psy_weight
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_celt_search_for_intensity
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_celt_search_for_dual_stereo
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_celt_search_for_tf
	movl	(%r12), %ecx
	xorl	%r15d, %r15d
	cmpl	%r13d, %ecx
	je	LBB0_5
## %bb.2:
	movl	$1, %r15d
	movl	$1, %eax
	testl	%ecx, %ecx
	je	LBB0_4
## %bb.3:
	movl	4(%r14), %edi
	callq	_OPUS_BLOCK_SIZE
	movq	_CELT_OVERLAP@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
LBB0_4:
	movl	%eax, 4(%r12)
LBB0_5:
	movl	%r15d, (%r14)
LBB0_6:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CELT_OVERLAP,4,2               ## @CELT_OVERLAP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_opus_psy_celt_frame_process ; -- Begin function ff_opus_psy_celt_frame_process
	.p2align	2
_ff_opus_psy_celt_frame_process:        ; @ff_opus_psy_celt_frame_process
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x8, [x1, #8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_9
LBB0_2:
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	w9, [x0, #4]
	lsl	w9, w2, w9
	add	x21, x8, w9, sxtw #3
	ldr	w22, [x1]
	mov	x1, x21
	mov	x2, x20
	bl	_celt_gauge_psy_weight
	mov	x0, x19
	mov	x1, x20
	bl	_celt_search_for_intensity
	mov	x0, x19
	mov	x1, x20
	bl	_celt_search_for_dual_stereo
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_celt_search_for_tf
	ldr	w8, [x20]
	cmp	w8, w22
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #0
	b	LBB0_8
LBB0_4:
	cbz	w8, LBB0_6
; %bb.5:
	ldr	w0, [x19, #4]
	bl	_OPUS_BLOCK_SIZE
Lloh0:
	adrp	x8, _CELT_OVERLAP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CELT_OVERLAP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sdiv	w8, w0, w8
	b	LBB0_7
LBB0_6:
	mov	w8, #1
LBB0_7:
	str	w8, [x20, #4]
	mov	w0, #1
LBB0_8:
	str	w0, [x19]
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CELT_OVERLAP,4,2               ; @CELT_OVERLAP
.subsections_via_symbols
