	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LeakFile                       ## -- Begin function LeakFile
	.p2align	4, 0x90
_LeakFile:                              ## @LeakFile
	.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	$1032, %rsp                     ## imm = 0x408
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	cmpl	$0, (%rdi)
	je	LBB0_10
## %bb.1:
	movq	%rdi, %r13
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_qprintf
	movq	_source@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.1(%rip), %rsi
	leaq	-1072(%rbp), %r14
	movq	%r14, %rdi
	callq	_sprintf
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_qprintf
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_fopen
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	leaq	L_.str.4(%rip), %rdi
	leaq	-1072(%rbp), %rsi
	callq	_Error
LBB0_3:
	movl	(%r13), %r10d
	movl	$1, %r15d
	cmpl	$2, %r10d
	jl	LBB0_9
## %bb.4:
                                        ## implicit-def: $r12
	movq	%r13, %r8
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r12), %edi
	callq	_WindingCenter
	movq	%r14, %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_fprintf
	incl	%r15d
	movl	(%r13), %r10d
	movq	%r13, %r8
	cmpl	$1, %r10d
	jle	LBB0_9
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	8(%r8), %rdx
	testq	%rdx, %rdx
	je	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%rdx), %rsi
	movq	16(%rdx), %r9
	xorl	%ecx, %ecx
	xorl	%edi, %edi
	cmpq	%r8, (%rsi)
	setne	%cl
	sete	%dil
	movq	(%rsi,%rdi,8), %rsi
	movl	(%rsi), %edi
	testl	%edi, %edi
	setne	%bl
	cmpl	%r10d, %edi
	setl	%al
	testb	%al, %bl
	cmovnel	%edi, %r10d
	cmovneq	%rdx, %r12
	cmovneq	%rsi, %r13
	movq	(%r9,%rcx,8), %rdx
	testq	%rdx, %rdx
	jne	LBB0_6
	jmp	LBB0_8
LBB0_9:
	movl	4(%r13), %edi
	leaq	L_.str.6(%rip), %rsi
	callq	_GetVectorForKey
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	callq	_fprintf
	leaq	L_.str.7(%rip), %rdi
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_qprintf
	movq	%r14, %rdi
	callq	_fclose
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	addq	$1032, %rsp                     ## imm = 0x408
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"--- LeakFile ---\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s.lin"

	.comm	_source,8,3                     ## @source
L_.str.2:                               ## @.str.2
	.asciz	"%s\n"

L_.str.3:                               ## @.str.3
	.asciz	"w"

L_.str.4:                               ## @.str.4
	.asciz	"Couldn't open %s\n"

L_.str.5:                               ## @.str.5
	.asciz	"%f %f %f\n"

L_.str.6:                               ## @.str.6
	.asciz	"origin"

L_.str.7:                               ## @.str.7
	.asciz	"%5i point linefile\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LeakFile                       ; -- Begin function LeakFile
	.p2align	2
_LeakFile:                              ; @LeakFile
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [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 w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #1040
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	ldr	w8, [x0]
	cbz	w8, LBB0_9
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_qprintf
Lloh5:
	adrp	x8, _source@GOTPAGE
Lloh6:
	ldr	x8, [x8, _source@GOTPAGEOFF]
Lloh7:
	ldr	x2, [x8]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x20, sp, #8
	add	x0, sp, #8
	bl	_sprintf
	str	x20, [sp]
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_qprintf
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x0, sp, #8
	bl	_fopen
	mov	x20, x0
	cbnz	x0, LBB0_3
; %bb.2:
Lloh14:
	adrp	x0, l_.str.4@PAGE
Lloh15:
	add	x0, x0, l_.str.4@PAGEOFF
	add	x1, sp, #8
	bl	_Error
LBB0_3:
	ldr	w8, [x19]
	mov	w22, #1
	cmp	w8, #2
	b.lt	LBB0_8
; %bb.4:
Lloh16:
	adrp	x21, l_.str.5@PAGE
Lloh17:
	add	x21, x21, l_.str.5@PAGEOFF
                                        ; implicit-def: $x23
	mov	x9, x19
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x23]
	bl	_WindingCenter
	mov	x0, x20
	mov	x1, x21
	bl	_fprintf
	add	w22, w22, #1
	ldr	w8, [x19]
	mov	x9, x19
	cmp	w8, #1
	b.le	LBB0_8
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	x10, [x9, #8]
	cbz	x10, LBB0_5
LBB0_7:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	x11, x12, [x10, #8]
	ldr	x13, [x11]
	cmp	x13, x9
	cset	w13, eq
	ldr	x11, [x11, w13, uxtw #3]
	cset	w13, ne
	ldr	w14, [x11]
	cmp	w14, #0
	cset	w15, ne
	cmp	w14, w8
	cset	w16, lt
	tst	w15, w16
	csel	w8, w14, w8, ne
	csel	x23, x10, x23, ne
	csel	x19, x11, x19, ne
	ldr	x10, [x12, w13, uxtw #3]
	cbnz	x10, LBB0_7
	b	LBB0_5
LBB0_8:
	ldr	w0, [x19, #4]
Lloh18:
	adrp	x1, l_.str.6@PAGE
Lloh19:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_GetVectorForKey
Lloh20:
	adrp	x1, l_.str.5@PAGE
Lloh21:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_fprintf
	str	x22, [sp]
Lloh22:
	adrp	x0, l_.str.7@PAGE
Lloh23:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_qprintf
	mov	x0, x20
	bl	_fclose
LBB0_9:
	ldur	x8, [x29, #-56]
Lloh24:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh25:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	add	sp, sp, #1040
	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	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"--- LeakFile ---\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s.lin"

	.comm	_source,8,3                     ; @source
l_.str.2:                               ; @.str.2
	.asciz	"%s\n"

l_.str.3:                               ; @.str.3
	.asciz	"w"

l_.str.4:                               ; @.str.4
	.asciz	"Couldn't open %s\n"

l_.str.5:                               ; @.str.5
	.asciz	"%f %f %f\n"

l_.str.6:                               ; @.str.6
	.asciz	"origin"

l_.str.7:                               ; @.str.7
	.asciz	"%5i point linefile\n"

.subsections_via_symbols
