	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function celt_cos
_celt_cos:                              ## @celt_cos
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %esi
	callq	_MUL16
	movl	%eax, %ebx
	addl	$4096, %ebx                     ## imm = 0x1000
	sarl	$13, %ebx
	movl	$-626, %edi                     ## imm = 0xFD8E
	movl	%ebx, %esi
	callq	_ROUND_MUL16
                                        ## kill: def $eax killed $eax def $rax
	leal	8277(%rax), %esi
	movl	%ebx, %edi
	callq	_ROUND_MUL16
                                        ## kill: def $eax killed $eax def $rax
	leal	-7651(%rax), %esi
	movl	%ebx, %edi
	callq	_ROUND_MUL16
	subl	%ebx, %eax
	addl	$32768, %eax                    ## imm = 0x8000
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_celt_cos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function celt_cos
_celt_cos:                              ; @celt_cos
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x1, x0
	bl	_MUL16
	add	w8, w0, #1, lsl #12             ; =4096
	asr	w19, w8, #13
	mov	w0, #-626
	mov	x1, x19
	bl	_ROUND_MUL16
	mov	w8, #8277
	add	w1, w0, w8
	mov	x0, x19
	bl	_ROUND_MUL16
	mov	w8, #-7651
	add	w1, w0, w8
	mov	x0, x19
	bl	_ROUND_MUL16
	sub	w8, w0, w19
	add	w0, w8, #8, lsl #12             ; =32768
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_celt_cos
.subsections_via_symbols
