	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function ff_opus_psy_celt_frame_init
LCPI0_0:
	.long	2                               ## 0x2
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ff_opus_psy_celt_frame_init
	.p2align	4, 0x90
_ff_opus_psy_celt_frame_init:           ## @ff_opus_psy_celt_frame_init
	.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	%edx, %r15d
	movq	%rdi, %r13
	movl	16(%rdi), %ecx
	movl	$1, %r12d
	shll	%cl, %r12d
	shll	%cl, %r15d
	movq	24(%rdi), %rax
	movq	_OPUS_MODE_HYBRID@GOTPCREL(%rip), %rdx
	xorl	%edi, %edi
	cmpq	(%rdx), %rax
	movq	%rsi, %r14
	movl	$17, %edx
	cmovnel	%edi, %edx
	movl	$1, %eax
	movl	%edx, (%rsi)
	movq	_ff_celt_band_end@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	32(%r13), %rsi
	movl	(%rdx,%rsi,4), %edx
	movl	%edx, 64(%r14)
	movq	48(%r13), %rdx
	movl	(%rdx), %edx
	movl	%edx, 104(%r14)
	movl	%ecx, 4(%r14)
	cmpl	$31, %ecx
	jne	LBB0_2
## %bb.1:
	movl	$1, 8(%r14)
	jmp	LBB0_10
LBB0_2:
	movq	40(%r13), %r8
	cmpl	$2, %r12d
	movl	$1, %edi
	cmovgel	%r12d, %edi
	movslq	%r15d, %r9
	leaq	-1(%rdi), %rdx
	movl	%edi, %r10d
	andl	$3, %r10d
	cmpq	$3, %rdx
	jae	LBB0_4
## %bb.3:
	xorl	%ebx, %ebx
	jmp	LBB0_6
LBB0_4:
	andl	$2147483644, %edi               ## imm = 0x7FFFFFFC
	leaq	(%r8,%r9,8), %rdx
	addq	$24, %rdx
	movl	$1, %eax
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	-24(%rdx,%rbx,8), %rsi
	movq	-16(%rdx,%rbx,8), %rcx
	andl	(%rsi), %eax
	andl	(%rcx), %eax
	movq	-8(%rdx,%rbx,8), %rcx
	andl	(%rcx), %eax
	movq	(%rdx,%rbx,8), %rcx
	andl	(%rcx), %eax
	addq	$4, %rbx
	cmpq	%rbx, %rdi
	jne	LBB0_5
LBB0_6:
	testq	%r10, %r10
	je	LBB0_9
## %bb.7:
	addq	%r9, %rbx
	leaq	(%r8,%rbx,8), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rsi,8), %rcx
	andl	(%rcx), %eax
	incq	%rsi
	cmpq	%rsi, %r10
	jne	LBB0_8
LBB0_9:
	movl	%eax, 8(%r14)
	testl	%eax, %eax
	je	LBB0_11
LBB0_10:
	movq	$0, 96(%r14)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movl	(%r13), %esi
	testl	%esi, %esi
	jle	LBB0_15
## %bb.12:
	movq	8(%r13), %rax
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%r15d, (%rax,%rbx,4)
	jge	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	incq	%rbx
	cmpq	%rbx, %rsi
	jne	LBB0_13
LBB0_15:
	xorl	%ebx, %ebx
LBB0_16:
	subl	%ebx, %esi
	movl	%r12d, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_FFMIN
	cmpl	%eax, %ebx
	jge	LBB0_21
## %bb.17:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	addl	%r12d, %r15d
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movl	%ebx, %r14d
	movl	%r12d, %r15d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	xorl	%ecx, %ecx
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	cmpl	%edx, (%rax,%r14,4)
	setl	%cl
	addl	%ecx, %r12d
	incq	%r14
	movl	(%r13), %esi
	subl	%ebx, %esi
	movl	%r15d, %edi
	callq	_FFMIN
	cmpl	%r14d, %eax
	jg	LBB0_18
## %bb.19:
	xorl	%eax, %eax
	testl	%r12d, %r12d
	setne	%al
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	%eax, 12(%r14)
	je	LBB0_22
## %bb.20:
	movl	16(%r13), %edi
	callq	_OPUS_BLOCK_SIZE
	movq	_CELT_OVERLAP@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	jmp	LBB0_23
LBB0_21:
	movl	$0, 12(%r14)
LBB0_22:
	movl	$1, %eax
LBB0_23:
	movl	%eax, 16(%r14)
	movl	$1056964608, 20(%r14)           ## imm = 0x3F000000
	xorps	%xmm0, %xmm0
	movups	%xmm0, 80(%r14)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [2,1,2,1]
	movups	%xmm0, 24(%r14)
	movl	$5, 40(%r14)
	movl	48(%r14), %edi
	movl	64(%r14), %eax
	movl	%eax, 72(%r14)
	movl	%eax, 68(%r14)
	movq	$0, 56(%r14)
	movq	_CELT_SPREAD_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%r14)
	movq	_CELT_MAX_BANDS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	shll	$2, %edx
	xorl	%esi, %esi
	callq	_memset
	movl	44(%r14), %edi
	movl	(%rbx), %edx
	shll	$2, %edx
	xorl	%esi, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memset                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OPUS_MODE_HYBRID,8,3           ## @OPUS_MODE_HYBRID
	.comm	_ff_celt_band_end,8,3           ## @ff_celt_band_end
	.comm	_CELT_OVERLAP,4,2               ## @CELT_OVERLAP
	.comm	_CELT_SPREAD_NORMAL,4,2         ## @CELT_SPREAD_NORMAL
	.comm	_CELT_MAX_BANDS,4,2             ## @CELT_MAX_BANDS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function ff_opus_psy_celt_frame_init
lCPI0_0:
	.long	2                               ; 0x2
	.long	1                               ; 0x1
lCPI0_1:
	.long	1                               ; 0x1
	.long	5                               ; 0x5
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ff_opus_psy_celt_frame_init
	.p2align	2
_ff_opus_psy_celt_frame_init:           ; @ff_opus_psy_celt_frame_init
	.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	x19, x1
	ldr	w8, [x0, #16]
Lloh0:
	adrp	x9, _OPUS_MODE_HYBRID@GOTPAGE
Lloh1:
	ldr	x9, [x9, _OPUS_MODE_HYBRID@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldp	x10, x11, [x0, #24]
	cmp	x10, x9
	mov	w9, #1
	mov	w10, #17
	csel	w10, w10, wzr, eq
	str	w10, [x1]
Lloh3:
	adrp	x10, _ff_celt_band_end@GOTPAGE
Lloh4:
	ldr	x10, [x10, _ff_celt_band_end@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	ldr	w10, [x10, x11, lsl #2]
	str	w10, [x1, #64]
	ldr	x10, [x0, #48]
	ldr	w10, [x10]
	str	w10, [x1, #104]
	str	w8, [x1, #4]
	cmp	w8, #31
	b.ne	LBB0_2
; %bb.1:
	str	w9, [x19, #8]
	b	LBB0_10
LBB0_2:
	mov	x20, x0
	lsl	w21, w9, w8
	lsl	w22, w2, w8
	ldr	x8, [x0, #40]
	sxtw	x10, w22
	cmp	w21, #1
	csinc	w9, w21, wzr, gt
	cmp	w9, #4
	b.hs	LBB0_4
; %bb.3:
	mov	x11, #0
	mov	w12, #1
	b	LBB0_7
LBB0_4:
	and	x11, x9, #0x7ffffffc
	add	x12, x8, x10, lsl #3
	add	x13, x12, #16
	mov	w12, #-1
	mov	w14, #1
	mov	x15, x11
	mov	w16, #-1
	mov	w17, #-1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x0, x1, [x13, #-16]
	ldp	x2, x3, [x13], #32
	ldr	w0, [x0]
	ldr	w1, [x1]
	ldr	w2, [x2]
	and	w14, w0, w14
	and	w12, w1, w12
	ldr	w0, [x3]
	and	w16, w2, w16
	and	w17, w0, w17
	subs	x15, x15, #4
	b.ne	LBB0_5
; %bb.6:
	and	w12, w12, w14
	and	w12, w16, w12
	and	w12, w17, w12
	cmp	x11, x9
	b.eq	LBB0_9
LBB0_7:
	add	x10, x11, x10
	add	x8, x8, x10, lsl #3
	sub	x9, x9, x11
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x8], #8
	ldr	w10, [x10]
	and	w12, w10, w12
	subs	x9, x9, #1
	b.ne	LBB0_8
LBB0_9:
	str	w12, [x19, #8]
	cbz	w12, LBB0_11
LBB0_10:
	str	xzr, [x19, #96]
	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
LBB0_11:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.12:
	mov	x23, #0
	ldr	x9, [x20, #8]
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9, x23, lsl #2]
	cmp	w10, w22
	b.ge	LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x23, x23, #1
	cmp	x8, x23
	b.ne	LBB0_13
LBB0_15:
	mov	w23, #0
LBB0_16:
	sub	w1, w8, w23
	mov	x0, x21
	bl	_FFMIN
	cmp	w23, w0
	b.ge	LBB0_21
; %bb.17:
	mov	w24, #0
	add	w22, w22, w21
	mov	w25, w23
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	w8, [x8, x25, lsl #2]
	cmp	w8, w22
	cinc	w24, w24, lt
	add	x25, x25, #1
	ldr	w8, [x20]
	sub	w1, w8, w23
	mov	x0, x21
	bl	_FFMIN
	cmp	w0, w25
	b.gt	LBB0_18
; %bb.19:
	cmp	w24, #0
	cset	w8, ne
	str	w8, [x19, #12]
	cbz	w24, LBB0_22
; %bb.20:
	ldr	w0, [x20, #16]
	bl	_OPUS_BLOCK_SIZE
Lloh6:
	adrp	x8, _CELT_OVERLAP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CELT_OVERLAP@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	sdiv	w8, w0, w8
	b	LBB0_23
LBB0_21:
	str	wzr, [x19, #12]
LBB0_22:
	mov	w8, #1
LBB0_23:
	mov	w9, #1056964608
	stp	w8, w9, [x19, #16]
Lloh9:
	adrp	x8, lCPI0_0@PAGE
Lloh10:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19, #24]
	mov	w8, #2
	str	w8, [x19, #32]
	stp	xzr, xzr, [x19, #80]
Lloh11:
	adrp	x8, lCPI0_1@PAGE
Lloh12:
	ldr	d0, [x8, lCPI0_1@PAGEOFF]
	stur	d0, [x19, #36]
	ldr	w8, [x19, #64]
	stp	w8, w8, [x19, #68]
	str	xzr, [x19, #56]
Lloh13:
	adrp	x8, _CELT_SPREAD_NORMAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CELT_SPREAD_NORMAL@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x19, #52]
	ldr	w0, [x19, #48]
Lloh16:
	adrp	x20, _CELT_MAX_BANDS@GOTPAGE
Lloh17:
	ldr	x20, [x20, _CELT_MAX_BANDS@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w2, w8, #2
	mov	w1, #0
	bl	_memset
	ldr	w0, [x19, #44]
	ldr	w8, [x20]
	lsl	w2, w8, #2
	mov	w1, #0
	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
	b	_memset
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdr	Lloh11, Lloh12
	.loh AdrpLdr	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_OPUS_MODE_HYBRID,8,3           ; @OPUS_MODE_HYBRID
	.comm	_ff_celt_band_end,8,3           ; @ff_celt_band_end
	.comm	_CELT_OVERLAP,4,2               ; @CELT_OVERLAP
	.comm	_CELT_SPREAD_NORMAL,4,2         ; @CELT_SPREAD_NORMAL
	.comm	_CELT_MAX_BANDS,4,2             ; @CELT_MAX_BANDS
.subsections_via_symbols
