	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function atan
LCPI0_0:
	.quad	0x7fffffffffffffff              ## double NaN
	.quad	0x7fffffffffffffff              ## double NaN
LCPI0_5:
	.quad	0x8000000000000000              ## double -0
	.quad	0x8000000000000000              ## double -0
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_1:
	.quad	0xbff0000000000000              ## double -1
LCPI0_2:
	.quad	0xbff8000000000000              ## double -1.5
LCPI0_3:
	.quad	0x3ff8000000000000              ## double 1.5
LCPI0_4:
	.quad	0x4000000000000000              ## double 2
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_atan
	.p2align	4, 0x90
_atan:                                  ## @atan
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movaps	%xmm0, -32(%rbp)                ## 16-byte Spill
	callq	___HI
	movl	%eax, %ebx
	andl	$2147483647, %eax               ## imm = 0x7FFFFFFF
	cmpl	$1141899264, %eax               ## imm = 0x44100000
	jb	LBB0_8
## %bb.1:
	cmpl	$2146435072, %eax               ## imm = 0x7FF00000
	ja	LBB0_4
## %bb.2:
	jne	LBB0_5
## %bb.3:
	movaps	-32(%rbp), %xmm0                ## 16-byte Reload
	callq	___LO
	testq	%rax, %rax
	je	LBB0_5
LBB0_4:
	movapd	-32(%rbp), %xmm0                ## 16-byte Reload
	addsd	%xmm0, %xmm0
	jmp	LBB0_23
LBB0_8:
	cmpl	$1071382527, %eax               ## imm = 0x3FDBFFFF
	ja	LBB0_11
## %bb.9:
	movq	$-1, %r8
	cmpl	$1042284543, %eax               ## imm = 0x3E1FFFFF
	movapd	-32(%rbp), %xmm0                ## 16-byte Reload
	ja	LBB0_18
## %bb.10:
	movq	_huge@GOTPCREL(%rip), %rdx
	movsd	(%rdx), %xmm1                   ## xmm1 = mem[0],zero
	addsd	%xmm0, %xmm1
	movq	_one@GOTPCREL(%rip), %rdx
	ucomisd	(%rdx), %xmm1
	jbe	LBB0_18
	jmp	LBB0_23
LBB0_11:
	movapd	-32(%rbp), %xmm2                ## 16-byte Reload
	andpd	LCPI0_0(%rip), %xmm2
	cmpl	$1072889855, %eax               ## imm = 0x3FF2FFFF
	ja	LBB0_15
## %bb.12:
	movq	_one@GOTPCREL(%rip), %rcx
	movsd	(%rcx), %xmm0                   ## xmm0 = mem[0],zero
	movapd	%xmm2, %xmm1
	cmpl	$1072037887, %eax               ## imm = 0x3FE5FFFF
	ja	LBB0_14
## %bb.13:
	addsd	%xmm2, %xmm1
	subsd	%xmm0, %xmm1
	addsd	LCPI0_4(%rip), %xmm2
	divsd	%xmm2, %xmm1
	xorl	%r8d, %r8d
	movapd	%xmm1, %xmm0
	jmp	LBB0_18
LBB0_5:
	movq	_atanhi@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movsd	24(%rax), %xmm0                 ## xmm0 = mem[0],zero
	testl	%ebx, %ebx
	jle	LBB0_7
## %bb.6:
	movq	_atanlo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addsd	24(%rax), %xmm0
	jmp	LBB0_23
LBB0_15:
	cmpl	$1073971199, %eax               ## imm = 0x40037FFF
	ja	LBB0_17
## %bb.16:
	movsd	LCPI0_2(%rip), %xmm0            ## xmm0 = mem[0],zero
	addsd	%xmm2, %xmm0
	movq	_one@GOTPCREL(%rip), %rcx
	mulsd	LCPI0_3(%rip), %xmm2
	addsd	(%rcx), %xmm2
	divsd	%xmm2, %xmm0
	movl	$2, %r8d
	jmp	LBB0_18
LBB0_14:
	subsd	%xmm0, %xmm1
	addsd	%xmm0, %xmm2
	divsd	%xmm2, %xmm1
	movl	$1, %r8d
	movapd	%xmm1, %xmm0
	jmp	LBB0_18
LBB0_7:
	xorpd	LCPI0_5(%rip), %xmm0
	movq	_atanlo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	subsd	24(%rax), %xmm0
	jmp	LBB0_23
LBB0_17:
	movsd	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero
	divsd	%xmm2, %xmm0
	movl	$3, %r8d
LBB0_18:
	movapd	%xmm0, %xmm2
	mulsd	%xmm0, %xmm2
	movapd	%xmm2, %xmm1
	mulsd	%xmm2, %xmm1
	movq	_aT0@GOTPCREL(%rip), %rdx
	movq	_aT8@GOTPCREL(%rip), %rsi
	movq	_aT10@GOTPCREL(%rip), %rdi
	movsd	(%rdi), %xmm3                   ## xmm3 = mem[0],zero
	mulsd	%xmm1, %xmm3
	addsd	(%rsi), %xmm3
	movq	_aT6@GOTPCREL(%rip), %rsi
	mulsd	%xmm1, %xmm3
	addsd	(%rsi), %xmm3
	movq	_aT4@GOTPCREL(%rip), %rsi
	mulsd	%xmm1, %xmm3
	addsd	(%rsi), %xmm3
	movq	_aT2@GOTPCREL(%rip), %rsi
	mulsd	%xmm1, %xmm3
	addsd	(%rsi), %xmm3
	mulsd	%xmm1, %xmm3
	addsd	(%rdx), %xmm3
	mulsd	%xmm2, %xmm3
	movq	_aT1@GOTPCREL(%rip), %rdx
	movq	_aT3@GOTPCREL(%rip), %rsi
	movq	_aT7@GOTPCREL(%rip), %rdi
	movq	_aT9@GOTPCREL(%rip), %rcx
	movsd	(%rcx), %xmm2                   ## xmm2 = mem[0],zero
	mulsd	%xmm1, %xmm2
	addsd	(%rdi), %xmm2
	movq	_aT5@GOTPCREL(%rip), %rcx
	mulsd	%xmm1, %xmm2
	addsd	(%rcx), %xmm2
	mulsd	%xmm1, %xmm2
	addsd	(%rsi), %xmm2
	mulsd	%xmm1, %xmm2
	addsd	(%rdx), %xmm2
	mulsd	%xmm1, %xmm2
	addsd	%xmm2, %xmm3
	cmpl	$1071382527, %eax               ## imm = 0x3FDBFFFF
	ja	LBB0_20
## %bb.19:
	mulsd	%xmm0, %xmm3
	subsd	%xmm3, %xmm0
	jmp	LBB0_23
LBB0_20:
	movq	_atanlo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	mulsd	%xmm0, %xmm3
	subsd	(%rax,%r8,8), %xmm3
	movq	_atanhi@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movsd	(%rax,%r8,8), %xmm1             ## xmm1 = mem[0],zero
	subsd	%xmm0, %xmm3
	subsd	%xmm3, %xmm1
	testl	%ebx, %ebx
	jns	LBB0_22
## %bb.21:
	xorpd	LCPI0_5(%rip), %xmm1
LBB0_22:
	movapd	%xmm1, %xmm0
LBB0_23:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_atanhi,8,3                     ## @atanhi
	.comm	_atanlo,8,3                     ## @atanlo
	.comm	_huge,8,3                       ## @huge
	.comm	_one,8,3                        ## @one
	.comm	_aT0,8,3                        ## @aT0
	.comm	_aT2,8,3                        ## @aT2
	.comm	_aT4,8,3                        ## @aT4
	.comm	_aT6,8,3                        ## @aT6
	.comm	_aT8,8,3                        ## @aT8
	.comm	_aT10,8,3                       ## @aT10
	.comm	_aT1,8,3                        ## @aT1
	.comm	_aT3,8,3                        ## @aT3
	.comm	_aT5,8,3                        ## @aT5
	.comm	_aT7,8,3                        ## @aT7
	.comm	_aT9,8,3                        ## @aT9
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_atan                           ; -- Begin function atan
	.p2align	2
_atan:                                  ; @atan
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-48]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [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 w19, -24
	.cfi_offset w20, -32
	.cfi_offset b8, -40
	.cfi_offset b9, -48
	fmov	d8, d0
	bl	___HI
	mov	x19, x0
	and	w9, w0, #0x7fffffff
	ubfx	w8, w0, #20, #11
	cmp	w8, #1089
	b.lo	LBB0_5
; %bb.1:
	mov	w8, #2146435072
	cmp	w9, w8
	b.hi	LBB0_4
; %bb.2:
	b.ne	LBB0_12
; %bb.3:
	fmov	d0, d8
	bl	___LO
	cbz	x0, LBB0_12
LBB0_4:
	fadd	d8, d8, d8
	b	LBB0_23
LBB0_5:
	lsr	w8, w9, #18
	cmp	w8, #4086
	b.hi	LBB0_9
; %bb.6:
	lsr	w9, w9, #21
	cmp	w9, #496
	b.hi	LBB0_8
; %bb.7:
Lloh0:
	adrp	x9, _huge@GOTPAGE
Lloh1:
	ldr	x9, [x9, _huge@GOTPAGEOFF]
Lloh2:
	ldr	d0, [x9]
	fadd	d0, d0, d8
Lloh3:
	adrp	x9, _one@GOTPAGE
Lloh4:
	ldr	x9, [x9, _one@GOTPAGEOFF]
Lloh5:
	ldr	d1, [x9]
	fcmp	d0, d1
	b.gt	LBB0_23
LBB0_8:
	mov	x9, #-1
	b	LBB0_20
LBB0_9:
	fabs	d0, d8
	mov	w10, #1072889855
	cmp	w9, w10
	b.hi	LBB0_14
; %bb.10:
Lloh6:
	adrp	x10, _one@GOTPAGE
Lloh7:
	ldr	x10, [x10, _one@GOTPAGEOFF]
Lloh8:
	ldr	d1, [x10]
	mov	w10, #1072037887
	cmp	w9, w10
	b.hi	LBB0_16
; %bb.11:
	mov	x9, #0
	fmov	d2, #2.00000000
	fnmsub	d1, d0, d2, d1
	fadd	d0, d0, d2
	b	LBB0_19
LBB0_12:
Lloh9:
	adrp	x8, _atanhi@GOTPAGE
Lloh10:
	ldr	x8, [x8, _atanhi@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	d0, [x8, #24]
	cmp	w19, #1
	b.lt	LBB0_17
; %bb.13:
Lloh12:
	adrp	x8, _atanlo@GOTPAGE
Lloh13:
	ldr	x8, [x8, _atanlo@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ldr	d1, [x8, #24]
	fadd	d8, d0, d1
	b	LBB0_23
LBB0_14:
	mov	w10, #32767
	movk	w10, #16387, lsl #16
	cmp	w9, w10
	b.hi	LBB0_18
; %bb.15:
	fmov	d1, #-1.50000000
Lloh15:
	adrp	x9, _one@GOTPAGE
Lloh16:
	ldr	x9, [x9, _one@GOTPAGEOFF]
	fadd	d1, d0, d1
Lloh17:
	ldr	d2, [x9]
	fmov	d3, #1.50000000
	fmadd	d0, d0, d3, d2
	fdiv	d8, d1, d0
	mov	w9, #2
	b	LBB0_20
LBB0_16:
	fsub	d2, d0, d1
	fadd	d0, d0, d1
	mov	w9, #1
	fdiv	d8, d2, d0
	b	LBB0_20
LBB0_17:
	fneg	d0, d0
Lloh18:
	adrp	x8, _atanlo@GOTPAGE
Lloh19:
	ldr	x8, [x8, _atanlo@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	ldr	d1, [x8, #24]
	fsub	d8, d0, d1
	b	LBB0_23
LBB0_18:
	fmov	d1, #-1.00000000
	mov	w9, #3
LBB0_19:
	fdiv	d8, d1, d0
LBB0_20:
	fmul	d0, d8, d8
	fmul	d1, d0, d0
Lloh21:
	adrp	x10, _aT0@GOTPAGE
Lloh22:
	ldr	x10, [x10, _aT0@GOTPAGEOFF]
Lloh23:
	ldr	d2, [x10]
Lloh24:
	adrp	x10, _aT2@GOTPAGE
Lloh25:
	ldr	x10, [x10, _aT2@GOTPAGEOFF]
Lloh26:
	ldr	d3, [x10]
Lloh27:
	adrp	x10, _aT4@GOTPAGE
Lloh28:
	ldr	x10, [x10, _aT4@GOTPAGEOFF]
Lloh29:
	ldr	d4, [x10]
Lloh30:
	adrp	x10, _aT6@GOTPAGE
Lloh31:
	ldr	x10, [x10, _aT6@GOTPAGEOFF]
Lloh32:
	ldr	d5, [x10]
Lloh33:
	adrp	x10, _aT8@GOTPAGE
Lloh34:
	ldr	x10, [x10, _aT8@GOTPAGEOFF]
Lloh35:
	ldr	d6, [x10]
Lloh36:
	adrp	x10, _aT10@GOTPAGE
Lloh37:
	ldr	x10, [x10, _aT10@GOTPAGEOFF]
Lloh38:
	ldr	d7, [x10]
	fmadd	d6, d1, d7, d6
	fmadd	d5, d1, d6, d5
	fmadd	d4, d1, d5, d4
	fmadd	d3, d1, d4, d3
	fmadd	d2, d1, d3, d2
	fmul	d0, d0, d2
Lloh39:
	adrp	x10, _aT1@GOTPAGE
Lloh40:
	ldr	x10, [x10, _aT1@GOTPAGEOFF]
Lloh41:
	ldr	d2, [x10]
Lloh42:
	adrp	x10, _aT3@GOTPAGE
Lloh43:
	ldr	x10, [x10, _aT3@GOTPAGEOFF]
Lloh44:
	ldr	d3, [x10]
Lloh45:
	adrp	x10, _aT5@GOTPAGE
Lloh46:
	ldr	x10, [x10, _aT5@GOTPAGEOFF]
Lloh47:
	ldr	d4, [x10]
Lloh48:
	adrp	x10, _aT7@GOTPAGE
Lloh49:
	ldr	x10, [x10, _aT7@GOTPAGEOFF]
Lloh50:
	ldr	d5, [x10]
Lloh51:
	adrp	x10, _aT9@GOTPAGE
Lloh52:
	ldr	x10, [x10, _aT9@GOTPAGEOFF]
Lloh53:
	ldr	d6, [x10]
	fmadd	d5, d1, d6, d5
	fmadd	d4, d1, d5, d4
	fmadd	d3, d1, d4, d3
	fmadd	d2, d1, d3, d2
	fmul	d1, d1, d2
	cmp	w8, #4086
	b.hi	LBB0_22
; %bb.21:
	fadd	d0, d0, d1
	fmsub	d0, d8, d0, d8
	b	LBB0_24
LBB0_22:
Lloh54:
	adrp	x8, _atanhi@GOTPAGE
Lloh55:
	ldr	x8, [x8, _atanhi@GOTPAGEOFF]
Lloh56:
	ldr	x8, [x8]
	lsl	x9, x9, #3
	ldr	d2, [x8, x9]
	fadd	d0, d0, d1
Lloh57:
	adrp	x8, _atanlo@GOTPAGE
Lloh58:
	ldr	x8, [x8, _atanlo@GOTPAGEOFF]
Lloh59:
	ldr	x8, [x8]
	ldr	d1, [x8, x9]
	fnmsub	d0, d8, d0, d1
	fsub	d0, d0, d8
	fsub	d0, d2, d0
	fneg	d1, d0
	cmp	w19, #0
	fcsel	d8, d1, d0, lt
LBB0_23:
	fmov	d0, d8
LBB0_24:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #48               ; 16-byte Folded Reload
	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
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.cfi_endproc
                                        ; -- End function
	.comm	_atanhi,8,3                     ; @atanhi
	.comm	_atanlo,8,3                     ; @atanlo
	.comm	_huge,8,3                       ; @huge
	.comm	_one,8,3                        ; @one
	.comm	_aT0,8,3                        ; @aT0
	.comm	_aT2,8,3                        ; @aT2
	.comm	_aT4,8,3                        ; @aT4
	.comm	_aT6,8,3                        ; @aT6
	.comm	_aT8,8,3                        ; @aT8
	.comm	_aT10,8,3                       ; @aT10
	.comm	_aT1,8,3                        ; @aT1
	.comm	_aT3,8,3                        ; @aT3
	.comm	_aT5,8,3                        ; @aT5
	.comm	_aT7,8,3                        ; @aT7
	.comm	_aT9,8,3                        ; @aT9
.subsections_via_symbols
