	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lseg_closept_line
_lseg_closept_line:                     ## @lseg_closept_line
	.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	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	callq	_lseg_interpt_line
	xorpd	%xmm0, %xmm0
	testq	%rax, %rax
	jne	LBB0_8
## %bb.1:
	movq	(%r15), %rdx
	xorl	%edi, %edi
	movq	%rbx, %rsi
	callq	_line_closept_point
	movsd	%xmm0, -32(%rbp)                ## 8-byte Spill
	movq	(%r15), %rdx
	addq	$4, %rdx
	xorl	%edi, %edi
	movq	%rbx, %rsi
	callq	_line_closept_point
	movsd	-32(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	ucomisd	%xmm1, %xmm0
	jbe	LBB0_5
## %bb.2:
	testq	%r14, %r14
	je	LBB0_3
## %bb.4:
	movq	(%r15), %rax
	movapd	%xmm1, %xmm0
	jmp	LBB0_7
LBB0_5:
	testq	%r14, %r14
	je	LBB0_8
## %bb.6:
	movq	(%r15), %rax
	addq	$4, %rax
LBB0_7:
	movl	(%rax), %eax
	movl	%eax, (%r14)
	jmp	LBB0_8
LBB0_3:
	movapd	%xmm1, %xmm0
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_lseg_closept_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lseg_closept_line
_lseg_closept_line:                     ; @lseg_closept_line
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	bl	_lseg_interpt_line
	movi	d0, #0000000000000000
	cbnz	x0, LBB0_8
; %bb.1:
	ldr	x2, [x20]
	mov	x1, x21
	bl	_line_closept_point
	fmov	d8, d0
	ldr	x8, [x20]
	add	x2, x8, #4
	mov	x0, #0
	mov	x1, x21
	bl	_line_closept_point
	fcmp	d8, d0
	b.pl	LBB0_4
; %bb.2:
	cbz	x19, LBB0_7
; %bb.3:
	ldr	x8, [x20]
	fmov	d0, d8
	b	LBB0_6
LBB0_4:
	cbz	x19, LBB0_8
; %bb.5:
	ldr	x8, [x20]
	add	x8, x8, #4
LBB0_6:
	ldr	w8, [x8]
	str	w8, [x19]
	b	LBB0_8
LBB0_7:
	fmov	d0, d8
LBB0_8:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_lseg_closept_line
.subsections_via_symbols
