	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function __kernel_cos
LCPI0_0:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.globl	___kernel_cos
	.p2align	4, 0x90
___kernel_cos:                          ## @__kernel_cos
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	mulsd	%xmm0, %xmm1
	movapd	%xmm0, %xmm2
	mulsd	%xmm0, %xmm2
	movapd	%xmm2, %xmm3
	mulsd	%xmm2, %xmm3
	movq	_C1@GOTPCREL(%rip), %rax
	movq	_C2@GOTPCREL(%rip), %rcx
	movq	_C3@GOTPCREL(%rip), %rdx
	movsd	(%rdx), %xmm0                   ## xmm0 = mem[0],zero
	mulsd	%xmm2, %xmm0
	addsd	(%rcx), %xmm0
	mulsd	%xmm2, %xmm0
	addsd	(%rax), %xmm0
	mulsd	%xmm3, %xmm3
	movq	_C4@GOTPCREL(%rip), %rax
	movq	_C5@GOTPCREL(%rip), %rcx
	movq	_C6@GOTPCREL(%rip), %rdx
	movsd	(%rdx), %xmm4                   ## xmm4 = mem[0],zero
	mulsd	%xmm2, %xmm4
	addsd	(%rcx), %xmm4
	mulsd	%xmm2, %xmm4
	addsd	(%rax), %xmm4
	mulsd	%xmm3, %xmm4
	mulsd	%xmm2, %xmm0
	addsd	%xmm4, %xmm0
	movsd	LCPI0_0(%rip), %xmm3            ## xmm3 = mem[0],zero
	mulsd	%xmm2, %xmm3
	movq	_one@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm4                   ## xmm4 = mem[0],zero
	movapd	%xmm4, %xmm5
	subsd	%xmm3, %xmm5
	subsd	%xmm5, %xmm4
	subsd	%xmm3, %xmm4
	mulsd	%xmm2, %xmm0
	subsd	%xmm1, %xmm0
	addsd	%xmm4, %xmm0
	addsd	%xmm5, %xmm0
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_C1,8,3                         ## @C1
	.comm	_C2,8,3                         ## @C2
	.comm	_C3,8,3                         ## @C3
	.comm	_C4,8,3                         ## @C4
	.comm	_C5,8,3                         ## @C5
	.comm	_C6,8,3                         ## @C6
	.comm	_one,8,3                        ## @one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___kernel_cos                   ; -- Begin function __kernel_cos
	.p2align	2
___kernel_cos:                          ; @__kernel_cos
	.cfi_startproc
; %bb.0:
	fmul	d2, d0, d0
	fmul	d3, d2, d2
Lloh0:
	adrp	x8, _C1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _C1@GOTPAGEOFF]
Lloh2:
	ldr	d4, [x8]
Lloh3:
	adrp	x8, _C2@GOTPAGE
Lloh4:
	ldr	x8, [x8, _C2@GOTPAGEOFF]
Lloh5:
	ldr	d5, [x8]
Lloh6:
	adrp	x8, _C3@GOTPAGE
Lloh7:
	ldr	x8, [x8, _C3@GOTPAGEOFF]
Lloh8:
	ldr	d6, [x8]
	fmadd	d5, d2, d6, d5
	fmadd	d4, d2, d5, d4
	fmul	d3, d3, d3
Lloh9:
	adrp	x8, _C4@GOTPAGE
Lloh10:
	ldr	x8, [x8, _C4@GOTPAGEOFF]
Lloh11:
	ldr	d5, [x8]
Lloh12:
	adrp	x8, _C5@GOTPAGE
Lloh13:
	ldr	x8, [x8, _C5@GOTPAGEOFF]
Lloh14:
	ldr	d6, [x8]
Lloh15:
	adrp	x8, _C6@GOTPAGE
Lloh16:
	ldr	x8, [x8, _C6@GOTPAGEOFF]
Lloh17:
	ldr	d7, [x8]
	fmadd	d6, d2, d7, d6
	fmadd	d5, d2, d6, d5
	fmul	d3, d3, d5
	fmadd	d3, d2, d4, d3
	fmov	d4, #0.50000000
	fmul	d4, d2, d4
Lloh18:
	adrp	x8, _one@GOTPAGE
Lloh19:
	ldr	x8, [x8, _one@GOTPAGEOFF]
Lloh20:
	ldr	d5, [x8]
	fsub	d6, d5, d4
	fsub	d5, d5, d6
	fsub	d4, d5, d4
	fneg	d0, d0
	fmul	d0, d0, d1
	fmadd	d0, d2, d3, d0
	fadd	d0, d4, d0
	fadd	d0, d6, d0
	ret
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_C1,8,3                         ; @C1
	.comm	_C2,8,3                         ; @C2
	.comm	_C3,8,3                         ; @C3
	.comm	_C4,8,3                         ; @C4
	.comm	_C5,8,3                         ; @C5
	.comm	_C6,8,3                         ; @C6
	.comm	_one,8,3                        ; @one
.subsections_via_symbols
