	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function psy_output_groups
_psy_output_groups:                     ## @psy_output_groups
	.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	%rdi, %rbx
	movq	32(%rdi), %rax
	movq	40(%rdi), %rcx
	movl	(%rax), %eax
	imull	(%rcx), %eax
	cltq
	imulq	$274877907, %rax, %rdi          ## imm = 0x10624DD3
	movq	%rdi, %rax
	shrq	$63, %rax
	sarq	$38, %rdi
	addl	%eax, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_OPUS_SAMPLES_TO_BLOCK_SIZE
	movq	_CELT_BLOCK_960@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	%eax, %edi
	callq	_FFMIN
	movq	%rax, %r14
	movq	_OPUS_MODE_CELT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_OPUS_BANDWIDTH_FULLBAND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	24(%rbx), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_flush_silent_frames
	testq	%rax, %rax
	jne	LBB0_3
LBB0_2:
	movl	(%r15), %esi
	movl	%r14d, %edi
	callq	_FFMIN
	movq	%rax, 8(%rbx)
	movl	$1, (%rbx)
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CELT_BLOCK_960,4,2             ## @CELT_BLOCK_960
	.comm	_OPUS_MODE_CELT,4,2             ## @OPUS_MODE_CELT
	.comm	_OPUS_BANDWIDTH_FULLBAND,4,2    ## @OPUS_BANDWIDTH_FULLBAND
	.no_dead_strip	_psy_output_groups
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function psy_output_groups
_psy_output_groups:                     ; @psy_output_groups
	.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
	mov	x19, x0
	ldp	x9, x8, [x0, #32]
	ldr	w8, [x8]
	ldr	w9, [x9]
	mul	w8, w9, w8
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #32
	lsr	x8, x8, #63
	add	w0, w8, w9, asr #6
	bl	_OPUS_SAMPLES_TO_BLOCK_SIZE
Lloh0:
	adrp	x21, _CELT_BLOCK_960@GOTPAGE
Lloh1:
	ldr	x21, [x21, _CELT_BLOCK_960@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_FFMIN
	mov	x20, x0
Lloh2:
	adrp	x8, _OPUS_MODE_CELT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _OPUS_MODE_CELT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _OPUS_BANDWIDTH_FULLBAND@GOTPAGE
Lloh6:
	ldr	x9, [x9, _OPUS_BANDWIDTH_FULLBAND@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #16]
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_flush_silent_frames
	cbnz	x0, LBB0_3
LBB0_2:
	ldr	w1, [x21]
	mov	x0, x20
	bl	_FFMIN
	str	x0, [x19, #8]
	mov	w8, #1
	str	w8, [x19]
LBB0_3:
	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	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CELT_BLOCK_960,4,2             ; @CELT_BLOCK_960
	.comm	_OPUS_MODE_CELT,4,2             ; @OPUS_MODE_CELT
	.comm	_OPUS_BANDWIDTH_FULLBAND,4,2    ; @OPUS_BANDWIDTH_FULLBAND
	.no_dead_strip	_psy_output_groups
.subsections_via_symbols
