	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function celt_exp_rotation
LCPI0_0:
	.long	0x3e800000                      ## float 0.25
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_1:
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_celt_exp_rotation:                     ## @celt_exp_rotation
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
                                        ## kill: def $r8d killed $r8d def $r8
                                        ## kill: def $ecx killed $ecx def $rcx
	leal	(%rcx,%rcx), %eax
	cmpl	%esi, %eax
	jge	LBB0_15
## %bb.1:
	movq	_CELT_SPREAD_NONE@GOTPCREL(%rip), %rax
	cmpl	%r8d, (%rax)
	je	LBB0_15
## %bb.2:
	movl	%edx, %ebx
	movl	%esi, %r13d
	movq	%rdi, %r12
	cvtsi2ss	%esi, %xmm1
	leal	(%r8,%r8,4), %eax
	movl	$20, %edx
	subl	%eax, %edx
	imull	%ecx, %edx
	addl	%esi, %edx
	cvtsi2ss	%rdx, %xmm0
	divss	%xmm0, %xmm1
	movq	_M_PI@GOTPCREL(%rip), %rax
	movss	(%rax), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm0
	mulss	%xmm1, %xmm0
	mulss	LCPI0_0(%rip), %xmm0
	callq	___sincosf_stret
	leal	(,%rbx,8), %eax
	xorl	%r15d, %r15d
	cmpl	%r13d, %eax
	jg	LBB0_5
## %bb.3:
	movl	%ebx, %eax
	sarl	$2, %eax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leal	1(%rcx), %r15d
	movl	%r15d, %edx
	imull	%edx, %edx
	addl	%ecx, %edx
	incl	%edx
	imull	%ebx, %edx
	addl	%eax, %edx
	movl	%r15d, %ecx
	cmpl	%r13d, %edx
	jl	LBB0_4
LBB0_5:
	movl	%r13d, %eax
	cltd
	idivl	%ebx
	testl	%ebx, %ebx
	jle	LBB0_15
## %bb.6:
	movl	%eax, %r13d
	movshdup	%xmm0, %xmm1                    ## xmm1 = xmm0[1,1,3,3]
	movaps	LCPI0_1(%rip), %xmm2            ## xmm2 = [-0.0E+0,-0.0E+0,-0.0E+0,-0.0E+0]
	movaps	%xmm0, %xmm3
	xorps	%xmm2, %xmm3
	movaps	%xmm3, -112(%rbp)               ## 16-byte Spill
	xorps	%xmm1, %xmm2
	movaps	%xmm2, -96(%rbp)                ## 16-byte Spill
	movslq	%eax, %r14
	movl	%ebx, %ebx
	shlq	$2, %r14
	movaps	%xmm0, -64(%rbp)                ## 16-byte Spill
	movaps	%xmm1, -80(%rbp)                ## 16-byte Spill
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	$1, %edx
	movaps	%xmm1, %xmm0
	movaps	-64(%rbp), %xmm1                ## 16-byte Reload
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	callq	_celt_exp_rotation_impl
	movaps	-64(%rbp), %xmm0                ## 16-byte Reload
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=1
	addq	%r14, %r12
	decq	%rbx
	movaps	-80(%rbp), %xmm1                ## 16-byte Reload
	je	LBB0_15
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	$1, %edx
	movaps	%xmm1, %xmm0
	movaps	-112(%rbp), %xmm1               ## 16-byte Reload
	callq	_celt_exp_rotation_impl
	movaps	-64(%rbp), %xmm0                ## 16-byte Reload
	testl	%r15d, %r15d
	je	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	%r15d, %edx
	movaps	-96(%rbp), %xmm1                ## 16-byte Reload
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	testl	%r15d, %r15d
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	%r15d, %edx
	movaps	-80(%rbp), %xmm1                ## 16-byte Reload
	callq	_celt_exp_rotation_impl
	movaps	-80(%rbp), %xmm1                ## 16-byte Reload
	jmp	LBB0_12
LBB0_15:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CELT_SPREAD_NONE,4,2           ## @CELT_SPREAD_NONE
	.comm	_M_PI,4,2                       ## @M_PI
	.no_dead_strip	_celt_exp_rotation
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function celt_exp_rotation
_celt_exp_rotation:                     ; @celt_exp_rotation
	.cfi_startproc
; %bb.0:
	stp	d11, d10, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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 b8, -72
	.cfi_offset b9, -80
	.cfi_offset b10, -88
	.cfi_offset b11, -96
	cmp	w1, w3, lsl #1
	b.le	LBB0_16
; %bb.1:
Lloh0:
	adrp	x8, _CELT_SPREAD_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CELT_SPREAD_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w4
	b.eq	LBB0_16
; %bb.2:
	mov	x19, x5
	mov	x22, x2
	mov	x23, x1
	mov	x20, x0
	scvtf	s0, w1
	add	w8, w4, w4, lsl #2
	mov	w9, #20
	sub	w8, w9, w8
	madd	w8, w8, w3, w1
	ucvtf	s1, w8
Lloh3:
	adrp	x8, _M_PI@GOTPAGE
Lloh4:
	ldr	x8, [x8, _M_PI@GOTPAGEOFF]
	fdiv	s0, s0, s1
Lloh5:
	ldr	s1, [x8]
	fmul	s1, s0, s1
	fmul	s0, s0, s1
	fmov	s1, #0.25000000
	fmul	s0, s0, s1
	bl	___sincosf_stret
	fmov	s8, s0
	fmov	s9, s1
	cmp	w23, w22, lsl #3
	b.ge	LBB0_4
; %bb.3:
	mov	w21, #0
	b	LBB0_6
LBB0_4:
	mov	w21, #0
	asr	w8, w22, #2
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	w21, w21, #1
	madd	w9, w21, w21, w21
	madd	w9, w9, w22, w8
	cmp	w9, w23
	b.lt	LBB0_5
LBB0_6:
	cmp	w22, #1
	b.lt	LBB0_16
; %bb.7:
	sdiv	w23, w23, w22
	fneg	s10, s8
	fneg	s11, s9
	mov	w22, w22
	sbfiz	x24, x23, #2, #32
	b	LBB0_11
LBB0_8:                                 ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x20
	mov	x1, x23
	mov	w2, #1
	fmov	s0, s9
	fmov	s1, s8
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	bl	_celt_exp_rotation_impl
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x20, x20, x24
	subs	x22, x22, #1
	b.eq	LBB0_16
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	cbz	w19, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x20
	mov	x1, x23
	mov	w2, #1
	fmov	s0, s9
	fmov	s1, s10
	bl	_celt_exp_rotation_impl
	cbz	w21, LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x20
	mov	x1, x23
	mov	x2, x21
	fmov	s0, s8
	fmov	s1, s11
	b	LBB0_9
LBB0_14:                                ;   in Loop: Header=BB0_11 Depth=1
	cbz	w21, LBB0_8
; %bb.15:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x20
	mov	x1, x23
	mov	x2, x21
	fmov	s0, s8
	fmov	s1, s9
	bl	_celt_exp_rotation_impl
	b	LBB0_8
LBB0_16:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CELT_SPREAD_NONE,4,2           ; @CELT_SPREAD_NONE
	.comm	_M_PI,4,2                       ; @M_PI
	.no_dead_strip	_celt_exp_rotation
.subsections_via_symbols
