	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function int_cos
_int_cos:                               ## @int_cos
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_FRAC_ONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	-1(%rax), %edx
	andl	%edi, %edx
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movl	%eax, %esi
	subl	%edx, %esi
	cmpl	%ecx, %edx
	cmovll	%edx, %esi
	leal	3(%rax), %edx
	testl	%eax, %eax
	cmovnsl	%eax, %edx
	sarl	$2, %edx
	subl	%esi, %ecx
	xorl	%edi, %edi
	cmpl	%edx, %esi
	setg	%dil
	cmovlel	%esi, %ecx
	movl	%edi, %edx
	negl	%edx
	imull	%ecx, %ecx
	shrl	$4, %ecx
	subl	%ecx, %eax
	xorl	%edx, %eax
	addl	%edi, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FRAC_ONE,4,2                   ## @FRAC_ONE
	.no_dead_strip	_int_cos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function int_cos
_int_cos:                               ; @int_cos
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _FRAC_ONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FRAC_ONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w9, w8, #1
	and	w9, w9, w0
	sub	w10, w8, w9
	add	w11, w8, #3
	cmp	w8, #0
	csel	w11, w11, w8, lt
	cinc	w12, w8, lt
	asr	w12, w12, #1
	cmp	w9, w12
	csel	w9, w9, w10, lt
	sub	w10, w12, w9
	cmp	w9, w11, asr #2
	csel	w10, w10, w9, gt
	mul	w10, w10, w10
	sub	w8, w8, w10, lsr #4
	cmp	w9, w11, asr #2
	csetm	w9, gt
	cinv	w8, w8, gt
	sub	w0, w8, w9
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FRAC_ONE,4,2                   ; @FRAC_ONE
	.no_dead_strip	_int_cos
.subsections_via_symbols
