	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_atan                           ## -- Begin function 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
	subq	$16, %rsp
	movsd	%xmm0, -8(%rbp)                 ## 8-byte Spill
	callq	_GET_HIGH_WORD
	movsd	-8(%rbp), %xmm0                 ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movq	_huge@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm1                   ## xmm1 = mem[0],zero
	addsd	%xmm0, %xmm1
	movq	_one@GOTPCREL(%rip), %rax
	ucomisd	(%rax), %xmm1
	ja	LBB0_2
## %bb.1:
	movq	_aT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movapd	%xmm0, %xmm3
	mulsd	%xmm0, %xmm3
	movapd	%xmm3, %xmm1
	mulsd	%xmm3, %xmm1
	movsd	80(%rax), %xmm2                 ## xmm2 = mem[0],zero
	mulsd	%xmm1, %xmm2
	addsd	64(%rax), %xmm2
	movupd	(%rax), %xmm8
	movupd	16(%rax), %xmm4
	movupd	32(%rax), %xmm5
	movupd	48(%rax), %xmm6
	movddup	%xmm1, %xmm7                    ## xmm7 = xmm1[0,0]
	movhpd	72(%rax), %xmm2                 ## xmm2 = xmm2[0],mem[0]
	mulpd	%xmm7, %xmm2
	addpd	%xmm6, %xmm2
	mulpd	%xmm7, %xmm2
	addpd	%xmm5, %xmm2
	mulpd	%xmm7, %xmm2
	addpd	%xmm4, %xmm2
	mulpd	%xmm7, %xmm2
	addpd	%xmm8, %xmm2
	unpcklpd	%xmm1, %xmm3                    ## xmm3 = xmm3[0],xmm1[0]
	mulpd	%xmm2, %xmm3
	movapd	%xmm3, %xmm1
	unpckhpd	%xmm3, %xmm1                    ## xmm1 = xmm1[1],xmm3[1]
	addsd	%xmm3, %xmm1
	mulsd	%xmm0, %xmm1
	subsd	%xmm1, %xmm0
LBB0_2:
	addq	$16, %rsp
	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	_aT,8,3                         ## @aT
.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, #-32]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.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_HIGH_WORD
Lloh0:
	adrp	x8, _huge@GOTPAGE
Lloh1:
	ldr	x8, [x8, _huge@GOTPAGEOFF]
Lloh2:
	ldr	d0, [x8]
	fadd	d0, d0, d8
Lloh3:
	adrp	x8, _one@GOTPAGE
Lloh4:
	ldr	x8, [x8, _one@GOTPAGEOFF]
Lloh5:
	ldr	d1, [x8]
	fcmp	d0, d1
	b.le	LBB0_2
; %bb.1:
	fmov	d0, d8
	b	LBB0_3
LBB0_2:
	fmul	d0, d8, d8
	fmul	d1, d0, d0
Lloh6:
	adrp	x8, _aT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _aT@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldp	d3, d2, [x8, #64]
	ldp	d5, d4, [x8, #48]
	fmadd	d2, d1, d2, d4
	ldp	d6, d4, [x8, #32]
	fmadd	d2, d1, d2, d4
	ldp	d7, d4, [x8, #16]
	fmadd	d2, d1, d2, d4
	ldp	d16, d4, [x8]
	fmadd	d2, d1, d2, d4
	ldr	d4, [x8, #80]
	fmadd	d3, d1, d4, d3
	fmadd	d3, d1, d3, d5
	fmadd	d3, d1, d3, d6
	fmadd	d3, d1, d3, d7
	fmul	d2, d1, d2
	fmadd	d1, d1, d3, d16
	fmul	d0, d0, d1
	fadd	d0, d2, d0
	fmsub	d0, d8, d0, d8
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #32               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.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	_aT,8,3                         ; @aT
.subsections_via_symbols
