	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function block_angle
LCPI0_0:
	.quad	0x8000000000000000              ## double -0
	.quad	0x8000000000000000              ## double -0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_block_angle:                           ## @block_angle
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movl	%esi, %ebx
	movl	%edi, %r15d
	subl	%ecx, %ebx
	subl	%edx, %r15d
	movl	%ebx, %edi
	movl	%r15d, %esi
	callq	_atan2
	movsd	%xmm0, -32(%rbp)                ## 8-byte Spill
	addl	(%r14), %ebx
	addl	4(%r14), %r15d
	movl	%ebx, %edi
	movl	%r15d, %esi
	callq	_atan2
	subsd	-32(%rbp), %xmm0                ## 8-byte Folded Reload
	movq	_M_PI@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm1                   ## xmm1 = mem[0],zero
	ucomisd	%xmm1, %xmm0
	jbe	LBB0_2
## %bb.1:
	addsd	%xmm1, %xmm1
	subsd	%xmm1, %xmm0
	jmp	LBB0_4
LBB0_2:
	movapd	LCPI0_0(%rip), %xmm2            ## xmm2 = [-0.0E+0,-0.0E+0]
	xorpd	%xmm1, %xmm2
	ucomisd	%xmm0, %xmm2
	jbe	LBB0_4
## %bb.3:
	addsd	%xmm1, %xmm1
	addsd	%xmm0, %xmm1
	movapd	%xmm1, %xmm0
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_PI,8,3                       ## @M_PI
	.no_dead_strip	_block_angle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function block_angle
_block_angle:                           ; @block_angle
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-64]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [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 w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset b8, -56
	.cfi_offset b9, -64
	mov	x19, x4
	sub	w20, w1, w3
	sub	w21, w0, w2
	mov	x0, x20
	mov	x1, x21
	bl	_atan2
	fmov	d8, d0
	ldp	w8, w9, [x19]
	add	w0, w8, w20
	add	w1, w9, w21
	bl	_atan2
	fsub	d0, d0, d8
Lloh0:
	adrp	x8, _M_PI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _M_PI@GOTPAGEOFF]
Lloh2:
	ldr	d1, [x8]
	fcmp	d0, d1
	b.le	LBB0_2
; %bb.1:
	fmov	d2, #-2.00000000
	fmadd	d0, d1, d2, d0
	b	LBB0_3
LBB0_2:
	fneg	d2, d1
	fmov	d3, #2.00000000
	fmadd	d1, d1, d3, d0
	fcmp	d0, d2
	fcsel	d0, d1, d0, mi
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #64               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_M_PI,8,3                       ; @M_PI
	.no_dead_strip	_block_angle
.subsections_via_symbols
