	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function coshl
LCPI0_0:
	.long	0x3e800000                      ## float 0.25
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_coshl
	.p2align	4, 0x90
_coshl:                                 ## @coshl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$64, %rsp
	fldt	16(%rbp)
	fld	%st(0)
	fstpt	-12(%rbp)                       ## 10-byte Folded Spill
	fstpt	(%rsp)
	callq	_GET_LDBL_EXPSIGN
	xorl	%eax, %eax
	callq	_ENTERI
	movq	_BIAS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_LDBL_MANT_DIG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edx
	incl	%edx
	shrl	$31, %edx
	addl	%edx, %ecx
	incl	%ecx
	sarl	%ecx
	subl	%ecx, %eax
	testl	%eax, %eax
	jle	LBB0_2
## %bb.1:
	movq	_tiny@GOTPCREL(%rip), %rax
	fldt	(%rax)
	fld1
	faddp	%st, %st(1)
	fstpt	(%rsp)
	callq	_RETURNI
LBB0_2:
	fldt	-12(%rbp)                       ## 10-byte Folded Reload
	fstpt	(%rsp)
	callq	_fabsl
	leaq	-48(%rbp), %rsi
	leaq	-32(%rbp), %rdx
	movq	%rax, %rdi
	callq	_k_hexpl
	fldt	-32(%rbp)
	fldt	-48(%rbp)
	fld	%st(1)
	fadd	%st(1), %st
	fdivrs	LCPI0_0(%rip)
	faddp	%st, %st(2)
	faddp	%st, %st(1)
	fstpt	(%rsp)
	callq	_RETURNI
	fldt	-12(%rbp)                       ## 10-byte Folded Reload
	fstpt	(%rsp)
	callq	_fabsl
	movq	_o_threshold@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_4
## %bb.3:
	fldt	-12(%rbp)                       ## 10-byte Folded Reload
	fstpt	(%rsp)
	callq	_fabsl
	movq	%rax, %rdi
	callq	_hexpl
	fstpt	(%rsp)
	callq	_RETURNI
LBB0_4:
	movq	_huge@GOTPCREL(%rip), %rax
	fldt	(%rax)
	fmul	%st, %st(0)
	fstpt	(%rsp)
	callq	_RETURNI
	fldz
	addq	$64, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BIAS,4,2                       ## @BIAS
	.comm	_LDBL_MANT_DIG,4,2              ## @LDBL_MANT_DIG
	.comm	_tiny,16,4                      ## @tiny
	.comm	_o_threshold,8,3                ## @o_threshold
	.comm	_huge,16,4                      ## @huge
	.comm	_C10,16,4                       ## @C10
	.comm	_C12,16,4                       ## @C12
	.comm	_C14,16,4                       ## @C14
	.comm	_C16,16,4                       ## @C16
	.comm	_C18,8,3                        ## @C18
	.comm	_C2,16,4                        ## @C2
	.comm	_C20,8,3                        ## @C20
	.comm	_C22,8,3                        ## @C22
	.comm	_C24,8,3                        ## @C24
	.comm	_C26,8,3                        ## @C26
	.comm	_C4,16,4                        ## @C4
	.comm	_C6,16,4                        ## @C6
	.comm	_C8,16,4                        ## @C8
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_coshl                          ; -- Begin function coshl
	.p2align	2
_coshl:                                 ; @coshl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset b8, -24
	.cfi_offset b9, -32
	fmov	d8, d0
	bl	_GET_LDBL_EXPSIGN
	bl	_ENTERI
Lloh0:
	adrp	x8, _BIAS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BIAS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _LDBL_MANT_DIG@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LDBL_MANT_DIG@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	add	w10, w9, #1
	add	w11, w9, #2
	cmp	w10, #0
	csinc	w9, w11, w9, lt
	sub	w8, w8, w9, asr #1
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _tiny@GOTPAGE
Lloh7:
	ldr	x8, [x8, _tiny@GOTPAGEOFF]
Lloh8:
	ldr	d0, [x8]
	fmov	d1, #1.00000000
	fadd	d0, d0, d1
	bl	_RETURNI
LBB0_2:
	fmov	d0, d8
	bl	_fabsl
	add	x1, sp, #8
	mov	x2, sp
	bl	_k_hexpl
	ldp	d0, d1, [sp]
	fadd	d2, d0, d1
	fmov	d3, #0.25000000
	fdiv	d2, d3, d2
	fadd	d0, d0, d2
	fadd	d0, d1, d0
	bl	_RETURNI
	fmov	d0, d8
	bl	_fabsl
Lloh9:
	adrp	x8, _o_threshold@GOTPAGE
Lloh10:
	ldr	x8, [x8, _o_threshold@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.gt	LBB0_4
; %bb.3:
	fmov	d0, d8
	bl	_fabsl
	bl	_hexpl
	bl	_RETURNI
LBB0_4:
Lloh12:
	adrp	x8, _huge@GOTPAGE
Lloh13:
	ldr	x8, [x8, _huge@GOTPAGEOFF]
Lloh14:
	ldr	d0, [x8]
	fmul	d0, d0, d0
	bl	_RETURNI
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_BIAS,4,2                       ; @BIAS
	.comm	_LDBL_MANT_DIG,4,2              ; @LDBL_MANT_DIG
	.comm	_tiny,8,3                       ; @tiny
	.comm	_o_threshold,8,3                ; @o_threshold
	.comm	_huge,8,3                       ; @huge
	.comm	_C10,8,3                        ; @C10
	.comm	_C12,8,3                        ; @C12
	.comm	_C14,8,3                        ; @C14
	.comm	_C16,8,3                        ; @C16
	.comm	_C18,8,3                        ; @C18
	.comm	_C2,8,3                         ; @C2
	.comm	_C20,8,3                        ; @C20
	.comm	_C22,8,3                        ; @C22
	.comm	_C24,8,3                        ; @C24
	.comm	_C26,8,3                        ; @C26
	.comm	_C4,8,3                         ; @C4
	.comm	_C6,8,3                         ; @C6
	.comm	_C8,8,3                         ; @C8
.subsections_via_symbols
