	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fixp_cos
_fixp_cos:                              ## @fixp_cos
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %eax
	shrl	%eax
	movl	$3054198967, %ecx               ## imm = 0xB60B60B7
	imulq	%rax, %rcx
	movq	%rcx, %rdx
	shrq	$37, %rdx
	imull	$90, %edx, %eax
	andl	$3, %edx
	subl	%eax, %edi
	movl	$90, %eax
	subl	%edi, %eax
	btq	$37, %rcx
	cmovael	%edi, %eax
	shrl	%eax
	decl	%edx
	movq	_cos_table@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx,%rax,4), %ecx
	movl	%ecx, %eax
	negl	%eax
	cmpl	$2, %edx
	cmovael	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cos_table,8,3                  ## @cos_table
	.no_dead_strip	_fixp_cos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fixp_cos
_fixp_cos:                              ; @fixp_cos
	.cfi_startproc
; %bb.0:
	lsr	w8, w0, #1
	mov	w9, #24759
	movk	w9, #46603, lsl #16
	umull	x8, w8, w9
	lsr	x9, x8, #37
	ubfx	x8, x8, #37, #2
	mov	w10, #90
	msub	w11, w9, w10, w0
	sub	w10, w10, w11
	tst	w9, #0x1
	csel	w9, w11, w10, eq
	lsr	w9, w9, #1
	sub	w8, w8, #1
Lloh0:
	adrp	x10, _cos_table@GOTPAGE
Lloh1:
	ldr	x10, [x10, _cos_table@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	ldr	w9, [x10, w9, uxtw #2]
	cmp	w8, #2
	cneg	w0, w9, lo
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_cos_table,8,3                  ; @cos_table
	.no_dead_strip	_fixp_cos
.subsections_via_symbols
