	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ParseVertexL                   ## -- Begin function ParseVertexL
	.p2align	4, 0x90
_ParseVertexL:                          ## @ParseVertexL
	.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
	movq	%rdi, %rbx
	movq	_vertsfound@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_Error
LBB0_2:
	movl	$1, (%r14)
	movq	_bytesread@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_feof
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	callq	_Error
LBB0_4:
	leaq	-42(%rbp), %rdi
	movl	$2, %esi
	movl	$1, %edx
	movq	%rbx, %rcx
	callq	_fread
	addl	$2, (%r12)
	movzwl	-42(%rbp), %ecx
	movq	_MAXVERTS@GOTPCREL(%rip), %rax
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	cmpl	%ecx, (%rax)
	jge	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rdi
	callq	_Error
LBB0_6:
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_15
## %bb.7:
	xorl	%r13d, %r13d
	movq	_fverts@GOTPCREL(%rip), %r15
	leaq	L_.str.1(%rip), %r14
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	(%r15), %rax
	movq	(%rax,%r13,8), %rdi
	addq	$4, %rdi
	movl	$4, %esi
	movl	$1, %edx
	movq	%rbx, %rcx
	callq	_fread
	addl	$4, (%r12)
	incq	%r13
	cmpq	%r13, -56(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_15
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_feof
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%r14, %rdi
	callq	_Error
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	(%r15), %rax
	movq	(%rax,%r13,8), %rdi
	movl	$4, %esi
	movl	$1, %edx
	movq	%rbx, %rcx
	callq	_fread
	addl	$4, (%r12)
	movq	%rbx, %rdi
	callq	_feof
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r14, %rdi
	callq	_Error
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	(%r15), %rax
	movq	(%rax,%r13,8), %rdi
	addq	$2, %rdi
	movl	$4, %esi
	movl	$1, %edx
	movq	%rbx, %rcx
	callq	_fread
	addl	$4, (%r12)
	movq	%rbx, %rdi
	callq	_feof
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r14, %rdi
	callq	_Error
	jmp	LBB0_14
LBB0_15:
	movq	_vertsfound@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_18
## %bb.16:
	movq	_trisfound@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_18
## %bb.17:
	xorl	%eax, %eax
	callq	_StoreAliasTriangles
LBB0_18:
	movl	(%r12), %eax
	subl	-48(%rbp), %eax                 ## 4-byte Folded Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_vertsfound,4,2                 ## @vertsfound
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error: Multiple vertex chunks"

	.comm	_bytesread,4,2                  ## @bytesread
L_.str.1:                               ## @.str.1
	.asciz	"Error: unexpected end of file"

	.comm	_MAXVERTS,4,2                   ## @MAXVERTS
L_.str.2:                               ## @.str.2
	.asciz	"Error: Too many vertices"

	.comm	_fverts,8,3                     ## @fverts
	.comm	_trisfound,8,3                  ## @trisfound
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ParseVertexL                   ; -- Begin function ParseVertexL
	.p2align	2
_ParseVertexL:                          ; @ParseVertexL
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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 w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
Lloh0:
	adrp	x21, _vertsfound@GOTPAGE
Lloh1:
	ldr	x21, [x21, _vertsfound@GOTPAGEOFF]
	ldr	w8, [x21]
	cbz	w8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Error
LBB0_2:
	mov	w8, #1
	str	w8, [x21]
Lloh4:
	adrp	x22, _bytesread@GOTPAGE
Lloh5:
	ldr	x22, [x22, _bytesread@GOTPAGEOFF]
	ldr	w23, [x22]
	mov	x0, x19
	bl	_feof
	cbz	x0, LBB0_4
; %bb.3:
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_Error
LBB0_4:
	add	x0, sp, #14
	mov	w1, #2
	mov	w2, #1
	mov	x3, x19
	bl	_fread
	ldr	w8, [x22]
	add	w8, w8, #2
	str	w8, [x22]
	ldrh	w20, [sp, #14]
Lloh8:
	adrp	x8, _MAXVERTS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MAXVERTS@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ge	LBB0_6
; %bb.5:
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_Error
LBB0_6:
	cbz	w20, LBB0_15
; %bb.7:
	mov	x24, #0
	lsl	x25, x20, #3
Lloh13:
	adrp	x26, _fverts@GOTPAGE
Lloh14:
	ldr	x26, [x26, _fverts@GOTPAGEOFF]
Lloh15:
	adrp	x20, l_.str.1@PAGE
Lloh16:
	add	x20, x20, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x26]
	ldr	x8, [x8, x24]
	add	x0, x8, #4
	mov	w1, #4
	mov	w2, #1
	mov	x3, x19
	bl	_fread
	ldr	w8, [x22]
	add	w8, w8, #4
	str	w8, [x22]
	add	x24, x24, #8
	cmp	x25, x24
	b.eq	LBB0_15
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_feof
	cbz	x0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x20
	bl	_Error
LBB0_11:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x26]
	ldr	x0, [x8, x24]
	mov	w1, #4
	mov	w2, #1
	mov	x3, x19
	bl	_fread
	ldr	w8, [x22]
	add	w8, w8, #4
	str	w8, [x22]
	mov	x0, x19
	bl	_feof
	cbz	x0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x20
	bl	_Error
LBB0_13:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x26]
	ldr	x8, [x8, x24]
	add	x0, x8, #2
	mov	w1, #4
	mov	w2, #1
	mov	x3, x19
	bl	_fread
	ldr	w8, [x22]
	add	w8, w8, #4
	str	w8, [x22]
	mov	x0, x19
	bl	_feof
	cbz	x0, LBB0_8
; %bb.14:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x20
	bl	_Error
	b	LBB0_8
LBB0_15:
	ldr	w8, [x21]
Lloh17:
	adrp	x9, _trisfound@GOTPAGE
Lloh18:
	ldr	x9, [x9, _trisfound@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	w8, #0
	ccmp	x9, #0, #4, ne
	b.eq	LBB0_17
; %bb.16:
	bl	_StoreAliasTriangles
LBB0_17:
	ldr	w8, [x22]
	sub	w0, w8, w23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_vertsfound,4,2                 ; @vertsfound
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error: Multiple vertex chunks"

	.comm	_bytesread,4,2                  ; @bytesread
l_.str.1:                               ; @.str.1
	.asciz	"Error: unexpected end of file"

	.comm	_MAXVERTS,4,2                   ; @MAXVERTS
l_.str.2:                               ; @.str.2
	.asciz	"Error: Too many vertices"

	.comm	_fverts,8,3                     ; @fverts
	.comm	_trisfound,8,3                  ; @trisfound
.subsections_via_symbols
