	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function acosl
LCPI0_0:
	.long	0x3f000000                      ## float 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_acosl
	.p2align	4, 0x90
_acosl:                                 ## @acosl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$144, %rsp
	fldt	16(%rbp)
	fld	%st(0)
	fstpt	-96(%rbp)
	movq	-96(%rbp), %rax
	movl	%eax, %ecx
	andl	$32767, %ecx                    ## imm = 0x7FFF
	movq	_BIAS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	cmpl	%edx, %ecx
	jge	LBB0_1
## %bb.6:
	decl	%edx
	cmpl	%edx, %ecx
	jge	LBB0_10
## %bb.7:
	movq	_ACOS_CONST@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jge	LBB0_9
## %bb.8:
	fstp	%st(0)
	movq	_pio2_hi@GOTPCREL(%rip), %rax
	fldt	(%rax)
	movq	_pio2_lo@GOTPCREL(%rip), %rax
	faddl	(%rax)
	jmp	LBB0_13
LBB0_1:
	jne	LBB0_5
## %bb.2:
	movq	_LDBL_NBIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%eax, %ecx
	movq	%rax, %rdx
	shrq	$32, %rdx
	orl	%ecx, %edx
	je	LBB0_3
LBB0_5:
	fsub	%st, %st(0)
	fdiv	%st, %st(0)
	jmp	LBB0_13
LBB0_10:
	movq	_one@GOTPCREL(%rip), %rcx
	fldt	(%rcx)
	testl	%eax, %eax
	js	LBB0_11
## %bb.12:
	fsubp	%st, %st(1)
	fmuls	LCPI0_0(%rip)
	fld	%st(0)
	fstpt	-108(%rbp)                      ## 10-byte Folded Spill
	fld	%st(0)
	fsqrt
	fld	%st(0)
	fstpt	-64(%rbp)
	fld	%st(0)
	fxch	%st(1)
	fstpt	-36(%rbp)                       ## 10-byte Folded Spill
	movl	-64(%rbp), %eax
	movl	-56(%rbp), %ecx
	movq	%rax, -48(%rbp)
	movw	%cx, -40(%rbp)
	fldt	-48(%rbp)
	fld	%st(0)
	fstpt	-12(%rbp)                       ## 10-byte Folded Spill
	fld	%st(0)
	fmul	%st(1), %st
	fsubr	%st(3), %st
	fxch	%st(2)
	faddp	%st, %st(1)
	fdivrp	%st, %st(1)
	fstpt	-24(%rbp)                       ## 10-byte Folded Spill
	fstpt	(%rsp)
	callq	_P
	fstpt	-120(%rbp)                      ## 10-byte Folded Spill
	fldt	-108(%rbp)                      ## 10-byte Folded Reload
	fstpt	(%rsp)
	callq	_Q
	fldt	-120(%rbp)                      ## 10-byte Folded Reload
	fdivp	%st, %st(1)
	fldt	-36(%rbp)                       ## 10-byte Folded Reload
	fmulp	%st, %st(1)
	fldt	-24(%rbp)                       ## 10-byte Folded Reload
	faddp	%st, %st(1)
	fldt	-12(%rbp)                       ## 10-byte Folded Reload
	faddp	%st, %st(1)
	fadd	%st, %st(0)
	jmp	LBB0_13
LBB0_9:
	fld	%st(0)
	fmul	%st(1), %st
	fld	%st(0)
	fstpt	-36(%rbp)                       ## 10-byte Folded Spill
	fstpt	(%rsp)
	fstpt	-12(%rbp)                       ## 10-byte Folded Spill
	callq	_P
	fstpt	-24(%rbp)                       ## 10-byte Folded Spill
	fldt	-36(%rbp)                       ## 10-byte Folded Reload
	fstpt	(%rsp)
	callq	_Q
	fldt	-24(%rbp)                       ## 10-byte Folded Reload
	fdivp	%st, %st(1)
	movq	_pio2_hi@GOTPCREL(%rip), %rax
	fldt	(%rax)
	movq	_pio2_lo@GOTPCREL(%rip), %rax
	fldt	-12(%rbp)                       ## 10-byte Folded Reload
	fmul	%st, %st(2)
	fxch	%st(2)
	fsubrl	(%rax)
	fsubrp	%st, %st(2)
	fsubp	%st, %st(1)
	jmp	LBB0_13
LBB0_3:
	fstp	%st(0)
	fldz
	testl	%eax, %eax
	jg	LBB0_13
## %bb.4:
	fstp	%st(0)
	movq	_pi@GOTPCREL(%rip), %rax
	fldt	(%rax)
	movq	_pio2_lo@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	addsd	%xmm0, %xmm0
	movsd	%xmm0, -72(%rbp)
	faddl	-72(%rbp)
	jmp	LBB0_13
LBB0_11:
	faddp	%st, %st(1)
	fmuls	LCPI0_0(%rip)
	fld	%st(0)
	fstpt	-12(%rbp)                       ## 10-byte Folded Spill
	fstpt	(%rsp)
	callq	_P
	fstpt	-24(%rbp)                       ## 10-byte Folded Spill
	fldt	-12(%rbp)                       ## 10-byte Folded Reload
	fstpt	(%rsp)
	callq	_Q
	fldt	-12(%rbp)                       ## 10-byte Folded Reload
	fsqrt
	fldt	-24(%rbp)                       ## 10-byte Folded Reload
	fdivp	%st, %st(2)
	movq	_pio2_lo@GOTPCREL(%rip), %rax
	fmul	%st, %st(1)
	fxch	%st(1)
	fsubl	(%rax)
	movq	_pi@GOTPCREL(%rip), %rax
	fldt	(%rax)
	fxch	%st(2)
	faddp	%st, %st(1)
	fadd	%st, %st(0)
	fsubrp	%st, %st(1)
LBB0_13:
	addq	$144, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BIAS,4,2                       ## @BIAS
	.comm	_LDBL_NBIT,4,2                  ## @LDBL_NBIT
	.comm	_pi,16,4                        ## @pi
	.comm	_pio2_lo,8,3                    ## @pio2_lo
	.comm	_ACOS_CONST,4,2                 ## @ACOS_CONST
	.comm	_pio2_hi,16,4                   ## @pio2_hi
	.comm	_one,16,4                       ## @one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acosl                          ; -- Begin function acosl
	.p2align	2
_acosl:                                 ; @acosl
	.cfi_startproc
; %bb.0:
	stp	d13, d12, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	d11, d10, [sp, #16]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset b8, -24
	.cfi_offset b9, -32
	.cfi_offset b10, -40
	.cfi_offset b11, -48
	.cfi_offset b12, -56
	.cfi_offset b13, -64
	fmov	d8, d0
	fmov	x8, d8
	and	w9, w8, #0x7fff
Lloh0:
	adrp	x10, _BIAS@GOTPAGE
Lloh1:
	ldr	x10, [x10, _BIAS@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ge	LBB0_4
; %bb.1:
	sub	w10, w10, #1
	cmp	w9, w10
	b.ge	LBB0_7
; %bb.2:
Lloh3:
	adrp	x8, _ACOS_CONST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ACOS_CONST@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w9, w8
	b.ge	LBB0_9
; %bb.3:
Lloh6:
	adrp	x8, _pio2_hi@GOTPAGE
Lloh7:
	ldr	x8, [x8, _pio2_hi@GOTPAGEOFF]
Lloh8:
	ldr	d0, [x8]
Lloh9:
	adrp	x8, _pio2_lo@GOTPAGE
Lloh10:
	ldr	x8, [x8, _pio2_lo@GOTPAGEOFF]
Lloh11:
	ldr	d1, [x8]
	fadd	d0, d0, d1
	b	LBB0_13
LBB0_4:
	b.ne	LBB0_6
; %bb.5:
Lloh12:
	adrp	x9, _LDBL_NBIT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _LDBL_NBIT@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	bic	w9, w8, w9
	lsr	x10, x8, #32
	orr	w9, w9, w10
	cbz	w9, LBB0_10
LBB0_6:
	fsub	d0, d8, d8
	fdiv	d0, d0, d0
	b	LBB0_13
LBB0_7:
Lloh15:
	adrp	x9, _one@GOTPAGE
Lloh16:
	ldr	x9, [x9, _one@GOTPAGEOFF]
Lloh17:
	ldr	d0, [x9]
	tbnz	w8, #31, LBB0_12
; %bb.8:
	fsub	d0, d0, d8
	fmov	d1, #0.50000000
	fmul	d8, d0, d1
	fsqrt	d10, d8
	fmov	x8, d10
	and	x8, x8, #0xffffffff
	fmov	d11, x8
	fmsub	d0, d11, d11, d8
	fadd	d1, d10, d11
	fdiv	d12, d0, d1
	fmov	d0, d8
	bl	_P
	fmov	d9, d0
	fmov	d0, d8
	bl	_Q
	fdiv	d0, d9, d0
	fmadd	d0, d0, d10, d12
	fadd	d0, d0, d11
	fadd	d0, d0, d0
	b	LBB0_13
LBB0_9:
	fmul	d9, d8, d8
	fmov	d0, d9
	bl	_P
	fmov	d10, d0
	fmov	d0, d9
	bl	_Q
	fdiv	d0, d10, d0
Lloh18:
	adrp	x8, _pio2_hi@GOTPAGE
Lloh19:
	ldr	x8, [x8, _pio2_hi@GOTPAGEOFF]
Lloh20:
	ldr	d1, [x8]
Lloh21:
	adrp	x8, _pio2_lo@GOTPAGE
Lloh22:
	ldr	x8, [x8, _pio2_lo@GOTPAGEOFF]
Lloh23:
	ldr	d2, [x8]
	fmsub	d0, d8, d0, d2
	fsub	d0, d8, d0
	fsub	d0, d1, d0
	b	LBB0_13
LBB0_10:
	movi	d0, #0000000000000000
	cmp	w8, #0
	b.gt	LBB0_13
; %bb.11:
Lloh24:
	adrp	x8, _pi@GOTPAGE
Lloh25:
	ldr	x8, [x8, _pi@GOTPAGEOFF]
Lloh26:
	ldr	d0, [x8]
Lloh27:
	adrp	x8, _pio2_lo@GOTPAGE
Lloh28:
	ldr	x8, [x8, _pio2_lo@GOTPAGEOFF]
Lloh29:
	ldr	d1, [x8]
	fmov	d2, #2.00000000
	fmadd	d0, d1, d2, d0
	b	LBB0_13
LBB0_12:
	fadd	d0, d0, d8
	fmov	d1, #0.50000000
	fmul	d8, d0, d1
	fmov	d0, d8
	bl	_P
	fmov	d9, d0
	fmov	d0, d8
	bl	_Q
	fsqrt	d1, d8
	fdiv	d0, d9, d0
Lloh30:
	adrp	x8, _pio2_lo@GOTPAGE
Lloh31:
	ldr	x8, [x8, _pio2_lo@GOTPAGEOFF]
Lloh32:
	ldr	d2, [x8]
Lloh33:
	adrp	x8, _pi@GOTPAGE
Lloh34:
	ldr	x8, [x8, _pi@GOTPAGEOFF]
	fnmsub	d0, d0, d1, d2
Lloh35:
	ldr	d2, [x8]
	fadd	d0, d1, d0
	fmov	d1, #-2.00000000
	fmadd	d0, d0, d1, d2
LBB0_13:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #16]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_BIAS,4,2                       ; @BIAS
	.comm	_LDBL_NBIT,4,2                  ; @LDBL_NBIT
	.comm	_pi,8,3                         ; @pi
	.comm	_pio2_lo,8,3                    ; @pio2_lo
	.comm	_ACOS_CONST,4,2                 ; @ACOS_CONST
	.comm	_pio2_hi,8,3                    ; @pio2_hi
	.comm	_one,8,3                        ; @one
.subsections_via_symbols
