	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function atan2
LCPI0_0:
	.quad	0x7fffffffffffffff              ## double NaN
	.quad	0x7fffffffffffffff              ## double NaN
LCPI0_2:
	.quad	0x8000000000000000              ## double -0
	.quad	0x8000000000000000              ## double -0
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_1:
	.quad	0x3fe0000000000000              ## double 0.5
LCPI0_3:
	.quad	0xc008000000000000              ## double -3
LCPI0_4:
	.quad	0x4008000000000000              ## double 3
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_atan2
	.p2align	4, 0x90
_atan2:                                 ## @atan2
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movsd	%xmm1, -48(%rbp)                ## 8-byte Spill
	movaps	%xmm0, -64(%rbp)                ## 16-byte Spill
	movapd	%xmm1, %xmm0
	callq	___HI
	movl	%eax, %r15d
	movl	%eax, %ebx
	andl	$2147483647, %ebx               ## imm = 0x7FFFFFFF
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	___LO
	movl	%eax, %r12d
	movaps	-64(%rbp), %xmm0                ## 16-byte Reload
	callq	___HI
	movl	%eax, %r14d
	movapd	-64(%rbp), %xmm0                ## 16-byte Reload
	callq	___LO
	xorl	%ecx, %ecx
	testl	%r12d, %r12d
	setne	%cl
	orl	%ebx, %ecx
	cmpl	$2146435072, %ecx               ## imm = 0x7FF00000
	ja	LBB0_2
## %bb.1:
	movl	%r14d, %ecx
	andl	$2147483647, %ecx               ## imm = 0x7FFFFFFF
	xorl	%edx, %edx
	testl	%eax, %eax
	setne	%dl
	orl	%ecx, %edx
	cmpl	$2146435073, %edx               ## imm = 0x7FF00001
	jb	LBB0_5
LBB0_2:
	movapd	-64(%rbp), %xmm1                ## 16-byte Reload
	addsd	-48(%rbp), %xmm1                ## 8-byte Folded Reload
LBB0_3:
	movapd	%xmm1, %xmm0
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	leal	-1072693248(%r15), %edx
	orl	%r12d, %edx
	je	LBB0_12
## %bb.6:
	movl	%r14d, %edx
	shrl	$31, %edx
	movl	%r15d, %esi
	shrl	$31, %esi
	leal	(%rdx,%rsi,2), %r13d
	orl	%ecx, %eax
	je	LBB0_13
## %bb.7:
	orl	%ebx, %r12d
	je	LBB0_16
## %bb.8:
	cmpl	$2146435072, %ebx               ## imm = 0x7FF00000
	jne	LBB0_15
## %bb.9:
	movl	%r13d, %eax
	cmpl	$2146435072, %ecx               ## imm = 0x7FF00000
	jne	LBB0_17
## %bb.10:
	leaq	LJTI0_1(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_11:
	movq	_pi_o_4@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_12:
	movaps	-64(%rbp), %xmm0                ## 16-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_atan                           ## TAILCALL
LBB0_13:
	cmpl	$2, %r13d
	movapd	-64(%rbp), %xmm1                ## 16-byte Reload
	jb	LBB0_3
## %bb.14:
	cmpl	$3, %r13d
	je	LBB0_22
	jmp	LBB0_19
LBB0_15:
	cmpl	$2146435072, %ecx               ## imm = 0x7FF00000
	jne	LBB0_25
LBB0_16:
	movq	_pi_o_2@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm1                   ## xmm1 = mem[0],zero
	testl	%r14d, %r14d
	jns	LBB0_21
	jmp	LBB0_24
LBB0_17:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_18:
	movq	_zero@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm1                   ## xmm1 = mem[0],zero
	jmp	LBB0_3
LBB0_19:
	movq	_pi@GOTPCREL(%rip), %rax
LBB0_20:
	movsd	(%rax), %xmm1                   ## xmm1 = mem[0],zero
LBB0_21:
	movq	_tiny@GOTPCREL(%rip), %rax
	addsd	(%rax), %xmm1
	jmp	LBB0_3
LBB0_22:
	movq	_pi@GOTPCREL(%rip), %rax
LBB0_23:
	movsd	(%rax), %xmm1                   ## xmm1 = mem[0],zero
LBB0_24:
	xorpd	LCPI0_2(%rip), %xmm1
	movq	_tiny@GOTPCREL(%rip), %rax
	subsd	(%rax), %xmm1
	jmp	LBB0_3
LBB0_25:
	subl	%ebx, %ecx
	cmpl	$63963136, %ecx                 ## imm = 0x3D00000
	jl	LBB0_27
## %bb.26:
	movq	_pi_o_2@GOTPCREL(%rip), %rax
	movq	_pi_lo@GOTPCREL(%rip), %rcx
	movsd	(%rcx), %xmm0                   ## xmm0 = mem[0],zero
	mulsd	LCPI0_1(%rip), %xmm0
	addsd	(%rax), %xmm0
	jmp	LBB0_30
LBB0_27:
	testl	%r15d, %r15d
	jns	LBB0_29
## %bb.28:
	xorpd	%xmm0, %xmm0
	cmpl	$-62914560, %ecx                ## imm = 0xFC400000
	jl	LBB0_30
LBB0_29:
	movapd	-64(%rbp), %xmm0                ## 16-byte Reload
	divsd	-48(%rbp), %xmm0                ## 8-byte Folded Reload
	andpd	LCPI0_0(%rip), %xmm0
	callq	_atan
LBB0_30:
	cmpl	$2, %r13d
	jb	LBB0_38
## %bb.31:
	jne	LBB0_37
## %bb.32:
	movq	_pi@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm1                   ## xmm1 = mem[0],zero
	movq	_pi_lo@GOTPCREL(%rip), %rax
	subsd	(%rax), %xmm0
	subsd	%xmm0, %xmm1
	jmp	LBB0_3
LBB0_33:
	movq	_pi_o_4@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_34:
	movq	_pi_o_4@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	movq	_tiny@GOTPCREL(%rip), %rax
	mulsd	LCPI0_4(%rip), %xmm0
	addsd	(%rax), %xmm0
	jmp	LBB0_4
LBB0_35:
	movq	_pi_o_4@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	movq	_tiny@GOTPCREL(%rip), %rax
	mulsd	LCPI0_3(%rip), %xmm0
	subsd	(%rax), %xmm0
	jmp	LBB0_4
LBB0_36:
	movq	_zero@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm1                   ## xmm1 = mem[0],zero
	xorpd	LCPI0_2(%rip), %xmm1
	jmp	LBB0_3
LBB0_37:
	movq	_pi_lo@GOTPCREL(%rip), %rax
	subsd	(%rax), %xmm0
	movq	_pi@GOTPCREL(%rip), %rax
	subsd	(%rax), %xmm0
LBB0_38:
	movapd	%xmm0, %xmm1
	jmp	LBB0_3
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_36, LBB0_36-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
LJTI0_0:
	.long	L0_0_set_18
	.long	L0_0_set_36
	.long	L0_0_set_19
	.long	L0_0_set_22
.set L0_1_set_11, LBB0_11-LJTI0_1
.set L0_1_set_33, LBB0_33-LJTI0_1
.set L0_1_set_34, LBB0_34-LJTI0_1
.set L0_1_set_35, LBB0_35-LJTI0_1
LJTI0_1:
	.long	L0_1_set_11
	.long	L0_1_set_33
	.long	L0_1_set_34
	.long	L0_1_set_35
	.end_data_region
                                        ## -- End function
	.comm	_pi,8,3                         ## @pi
	.comm	_tiny,8,3                       ## @tiny
	.comm	_pi_o_2,8,3                     ## @pi_o_2
	.comm	_pi_o_4,8,3                     ## @pi_o_4
	.comm	_zero,8,3                       ## @zero
	.comm	_pi_lo,8,3                      ## @pi_lo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_atan2                          ; -- Begin function atan2
	.p2align	2
_atan2:                                 ; @atan2
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-80]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset b8, -72
	.cfi_offset b9, -80
	fmov	d9, d1
	fmov	d8, d0
	fmov	d0, d1
	bl	___HI
	mov	x19, x0
	and	w23, w0, #0x7fffffff
	fmov	d0, d9
	bl	___LO
	mov	x21, x0
	fmov	d0, d8
	bl	___HI
	mov	x20, x0
	fmov	d0, d8
	bl	___LO
	cmp	w21, #0
	cset	w8, ne
	orr	w8, w23, w8
	mov	w9, #2146435072
	cmp	w8, w9
	b.hi	LBB0_2
; %bb.1:
	and	w8, w20, #0x7fffffff
	cmp	w0, #0
	cset	w9, ne
	orr	w9, w8, w9
	mov	w10, #1
	movk	w10, #32752, lsl #16
	cmp	w9, w10
	b.lo	LBB0_5
LBB0_2:
	fadd	d8, d8, d9
LBB0_3:
	fmov	d0, d8
LBB0_4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #80               ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	w9, #-1072693248
	add	w9, w19, w9
	orr	w9, w9, w21
	cbz	w9, LBB0_12
; %bb.6:
	lsr	w9, w19, #30
	and	w22, w9, #0x2
	bfxil	w22, w20, #31, #1
	orr	w9, w8, w0
	cbz	w9, LBB0_13
; %bb.7:
	orr	w9, w23, w21
	cbz	w9, LBB0_16
; %bb.8:
	mov	w9, #2146435072
	cmp	w23, w9
	b.ne	LBB0_15
; %bb.9:
	cmp	w8, w9
	b.ne	LBB0_17
; %bb.10:
Lloh0:
	adrp	x8, lJTI0_1@PAGE
Lloh1:
	add	x8, x8, lJTI0_1@PAGEOFF
	adr	x9, LBB0_11
	ldrb	w10, [x8, x22]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_11:
Lloh2:
	adrp	x8, _pi_o_4@GOTPAGE
Lloh3:
	ldr	x8, [x8, _pi_o_4@GOTPAGEOFF]
	b	LBB0_20
LBB0_12:
	fmov	d0, d8
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #80               ; 16-byte Folded Reload
	b	_atan
LBB0_13:
	cmp	w22, #2
	b.lo	LBB0_3
; %bb.14:
	cmp	w22, #3
	b.eq	LBB0_22
	b	LBB0_19
LBB0_15:
	cmp	w8, w9
	b.ne	LBB0_26
LBB0_16:
Lloh4:
	adrp	x8, _pi_o_2@GOTPAGE
Lloh5:
	ldr	x8, [x8, _pi_o_2@GOTPAGEOFF]
Lloh6:
	ldr	d0, [x8]
	tbz	w20, #31, LBB0_21
	b	LBB0_24
LBB0_17:
Lloh7:
	adrp	x8, lJTI0_0@PAGE
Lloh8:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x9, LBB0_18
	ldrb	w10, [x8, x22]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_18:
Lloh9:
	adrp	x8, _zero@GOTPAGE
Lloh10:
	ldr	x8, [x8, _zero@GOTPAGEOFF]
Lloh11:
	ldr	d8, [x8]
	b	LBB0_3
LBB0_19:
Lloh12:
	adrp	x8, _pi@GOTPAGE
Lloh13:
	ldr	x8, [x8, _pi@GOTPAGEOFF]
LBB0_20:
	ldr	d0, [x8]
LBB0_21:
Lloh14:
	adrp	x8, _tiny@GOTPAGE
Lloh15:
	ldr	x8, [x8, _tiny@GOTPAGEOFF]
Lloh16:
	ldr	d1, [x8]
	fadd	d8, d0, d1
	b	LBB0_3
LBB0_22:
Lloh17:
	adrp	x8, _pi@GOTPAGE
Lloh18:
	ldr	x8, [x8, _pi@GOTPAGEOFF]
LBB0_23:
	ldr	d0, [x8]
LBB0_24:
	fneg	d0, d0
Lloh19:
	adrp	x8, _tiny@GOTPAGE
Lloh20:
	ldr	x8, [x8, _tiny@GOTPAGEOFF]
LBB0_25:
	ldr	d1, [x8]
	fsub	d8, d0, d1
	b	LBB0_3
LBB0_26:
	mov	w9, #63963136
	sub	w8, w8, w23
	cmp	w8, w9
	b.lt	LBB0_28
; %bb.27:
Lloh21:
	adrp	x8, _pi_o_2@GOTPAGE
Lloh22:
	ldr	x8, [x8, _pi_o_2@GOTPAGEOFF]
Lloh23:
	ldr	d0, [x8]
Lloh24:
	adrp	x8, _pi_lo@GOTPAGE
Lloh25:
	ldr	x8, [x8, _pi_lo@GOTPAGEOFF]
Lloh26:
	ldr	d1, [x8]
	fmov	d2, #0.50000000
	fmadd	d0, d1, d2, d0
	b	LBB0_31
LBB0_28:
	tbz	w19, #31, LBB0_30
; %bb.29:
	movi	d0, #0000000000000000
	mov	w9, #-62914560
	cmp	w8, w9
	b.lt	LBB0_31
LBB0_30:
	fdiv	d0, d8, d9
	fabs	d0, d0
	bl	_atan
LBB0_31:
	cmp	w22, #2
	b.hs	LBB0_33
; %bb.32:
	fmov	d8, d0
	b	LBB0_3
LBB0_33:
	b.ne	LBB0_39
; %bb.34:
Lloh27:
	adrp	x8, _pi@GOTPAGE
Lloh28:
	ldr	x8, [x8, _pi@GOTPAGEOFF]
Lloh29:
	ldr	d1, [x8]
Lloh30:
	adrp	x8, _pi_lo@GOTPAGE
Lloh31:
	ldr	x8, [x8, _pi_lo@GOTPAGEOFF]
Lloh32:
	ldr	d2, [x8]
	fsub	d0, d0, d2
	fsub	d8, d1, d0
	b	LBB0_3
LBB0_35:
Lloh33:
	adrp	x8, _pi_o_4@GOTPAGE
Lloh34:
	ldr	x8, [x8, _pi_o_4@GOTPAGEOFF]
	b	LBB0_23
LBB0_36:
Lloh35:
	adrp	x8, _pi_o_4@GOTPAGE
Lloh36:
	ldr	x8, [x8, _pi_o_4@GOTPAGEOFF]
Lloh37:
	ldr	d0, [x8]
Lloh38:
	adrp	x8, _tiny@GOTPAGE
Lloh39:
	ldr	x8, [x8, _tiny@GOTPAGEOFF]
Lloh40:
	ldr	d1, [x8]
	fmov	d2, #3.00000000
	fmadd	d0, d0, d2, d1
	b	LBB0_4
LBB0_37:
Lloh41:
	adrp	x8, _pi_o_4@GOTPAGE
Lloh42:
	ldr	x8, [x8, _pi_o_4@GOTPAGEOFF]
Lloh43:
	ldr	d0, [x8]
Lloh44:
	adrp	x8, _tiny@GOTPAGE
Lloh45:
	ldr	x8, [x8, _tiny@GOTPAGEOFF]
Lloh46:
	ldr	d1, [x8]
	fmov	d2, #-3.00000000
	fnmsub	d0, d0, d2, d1
	b	LBB0_4
LBB0_38:
Lloh47:
	adrp	x8, _zero@GOTPAGE
Lloh48:
	ldr	x8, [x8, _zero@GOTPAGEOFF]
Lloh49:
	ldr	d0, [x8]
	fneg	d8, d0
	b	LBB0_3
LBB0_39:
Lloh50:
	adrp	x8, _pi_lo@GOTPAGE
Lloh51:
	ldr	x8, [x8, _pi_lo@GOTPAGEOFF]
Lloh52:
	ldr	d1, [x8]
	fsub	d0, d0, d1
Lloh53:
	adrp	x8, _pi@GOTPAGE
Lloh54:
	ldr	x8, [x8, _pi@GOTPAGEOFF]
	b	LBB0_25
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_18-LBB0_18)>>2
	.byte	(LBB0_38-LBB0_18)>>2
	.byte	(LBB0_19-LBB0_18)>>2
	.byte	(LBB0_22-LBB0_18)>>2
lJTI0_1:
	.byte	(LBB0_11-LBB0_11)>>2
	.byte	(LBB0_35-LBB0_11)>>2
	.byte	(LBB0_36-LBB0_11)>>2
	.byte	(LBB0_37-LBB0_11)>>2
                                        ; -- End function
	.comm	_pi,8,3                         ; @pi
	.comm	_tiny,8,3                       ; @tiny
	.comm	_pi_o_2,8,3                     ; @pi_o_2
	.comm	_pi_o_4,8,3                     ; @pi_o_4
	.comm	_zero,8,3                       ; @zero
	.comm	_pi_lo,8,3                      ; @pi_lo
.subsections_via_symbols
