	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function shorten_line_amt
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_shorten_line_amt:                      ## @shorten_line_amt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movsd	(%rdi), %xmm3                   ## xmm3 = mem[0],zero
	subsd	%xmm0, %xmm3
	movsd	(%rsi), %xmm4                   ## xmm4 = mem[0],zero
	subsd	%xmm1, %xmm4
	xorpd	%xmm5, %xmm5
	ucomisd	%xmm5, %xmm3
	jne	LBB0_2
	jp	LBB0_2
## %bb.1:
	ucomisd	%xmm5, %xmm4
	jne	LBB0_2
	jp	LBB0_2
## %bb.4:
	popq	%rbp
	retq
LBB0_2:
	mulsd	%xmm4, %xmm4
	mulsd	%xmm3, %xmm3
	addsd	%xmm4, %xmm3
	sqrtsd	%xmm3, %xmm3
	divsd	%xmm3, %xmm2
	ucomisd	LCPI0_0(%rip), %xmm2
	jae	LBB0_3
## %bb.5:
	popq	%rbp
	jmp	_shorten_line_percent           ## TAILCALL
LBB0_3:
	movsd	%xmm0, (%rdi)
	movsd	%xmm1, (%rsi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_shorten_line_amt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function shorten_line_amt
_shorten_line_amt:                      ; @shorten_line_amt
	.cfi_startproc
; %bb.0:
	ldr	d3, [x0]
	fsub	d3, d3, d0
	ldr	d4, [x1]
	fsub	d4, d4, d1
	fcmp	d3, #0.0
	b.ne	LBB0_3
; %bb.1:
	fcmp	d4, #0.0
	b.ne	LBB0_3
; %bb.2:
	ret
LBB0_3:
	fmul	d4, d4, d4
	fmadd	d3, d3, d3, d4
	fsqrt	d3, d3
	fdiv	d2, d2, d3
	fmov	d3, #1.00000000
	fcmp	d2, d3
	b.ge	LBB0_5
; %bb.4:
	b	_shorten_line_percent
LBB0_5:
	str	d0, [x0]
	str	d1, [x1]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_shorten_line_amt
.subsections_via_symbols
