	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_WriteFaceFile_r                ## -- Begin function WriteFaceFile_r
	.p2align	4, 0x90
_WriteFaceFile_r:                       ## @WriteFaceFile_r
	.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	(%rdi), %rax
	movq	_PLANENUM_LEAF@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	je	LBB0_3
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%rbx), %rax
	movq	(%rax), %rdi
	callq	_WriteFaceFile_r
	movq	32(%rbx), %rax
	movq	8(%rax), %rbx
	movq	(%rbx), %rax
	cmpq	(%r14), %rax
	jne	LBB0_1
LBB0_3:
	cmpq	$0, 24(%rbx)
	je	LBB0_4
LBB0_17:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	16(%rbx), %r15
	testq	%r15, %r15
	je	LBB0_17
## %bb.5:
	movq	_pf@GOTPCREL(%rip), %r14
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r14), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	xorl	%eax, %eax
	cmpq	%rbx, %r13
	sete	%al
	movq	16(%r15), %rcx
	movq	(%rcx,%rax,8), %r15
	testq	%r15, %r15
	je	LBB0_17
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
                                        ##     Child Loop BB0_11 Depth 2
	movq	(%r15), %rax
	movq	8(%r15), %r12
	movq	8(%rax), %r13
	testq	%r12, %r12
	je	LBB0_16
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	callq	_Portal_Passable
	testq	%rax, %rax
	jne	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	(%r15), %rax
	movl	(%r14), %edi
	movl	(%r12), %edx
	cmpq	%rbx, (%rax)
	je	LBB0_9
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%rax), %rax
	movl	8(%rax), %ecx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r12), %r13d
	testl	%r13d, %r13d
	leaq	L_.str.1(%rip), %r15
	movq	_pf@GOTPCREL(%rip), %r14
	jle	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	incq	%r13
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leal	-2(%r13), %ebx
	movl	(%r14), %edi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r14), %edi
	movq	8(%r12), %rax
	movq	(%rax,%rbx,8), %rax
	movl	(%rax), %esi
	callq	_WriteFloat
	movl	(%r14), %edi
	movq	8(%r12), %rax
	movq	(%rax,%rbx,8), %rax
	movl	4(%rax), %esi
	callq	_WriteFloat
	movl	(%r14), %edi
	movq	8(%r12), %rax
	movq	(%rax,%rbx,8), %rax
	leaq	L_.str.2(%rip), %rbx
	movl	8(%rax), %esi
	callq	_WriteFloat
	movl	(%r14), %edi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	decq	%r13
	cmpq	$1, %r13
	ja	LBB0_14
	jmp	LBB0_15
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	8(%rbx), %ecx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	cmpl	$0, (%r12)
	leaq	L_.str.1(%rip), %r13
	leaq	L_.str.2(%rip), %rax
	movq	_pf@GOTPCREL(%rip), %r14
	jle	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %r15
	movq	%rax, %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r14), %edi
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r14), %edi
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movl	(%rax), %esi
	callq	_WriteFloat
	movl	(%r14), %edi
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movl	4(%rax), %esi
	callq	_WriteFloat
	movl	(%r14), %edi
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movl	8(%rax), %esi
	callq	_WriteFloat
	movl	(%r14), %edi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_11
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_PLANENUM_LEAF,8,3              ## @PLANENUM_LEAF
	.comm	_pf,4,2                         ## @pf
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%i %i "

L_.str.1:                               ## @.str.1
	.asciz	"("

L_.str.2:                               ## @.str.2
	.asciz	") "

L_.str.3:                               ## @.str.3
	.asciz	"\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_WriteFaceFile_r                ; -- Begin function WriteFaceFile_r
	.p2align	2
_WriteFaceFile_r:                       ; @WriteFaceFile_r
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x20, _PLANENUM_LEAF@GOTPAGE
Lloh1:
	ldr	x20, [x20, _PLANENUM_LEAF@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x19, #32]
	ldr	x0, [x8]
	bl	_WriteFaceFile_r
	ldr	x8, [x19, #32]
	ldr	x19, [x8, #8]
	ldr	x8, [x19]
	b	LBB0_1
LBB0_3:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_5
LBB0_4:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_5:
	ldr	x20, [x19, #16]
	cbz	x20, LBB0_4
; %bb.6:
Lloh2:
	adrp	x25, _pf@GOTPAGE
Lloh3:
	ldr	x25, [x25, _pf@GOTPAGEOFF]
Lloh4:
	adrp	x22, l_.str.1@PAGE
Lloh5:
	add	x22, x22, l_.str.1@PAGEOFF
Lloh6:
	adrp	x23, l_.str.2@PAGE
Lloh7:
	add	x23, x23, l_.str.2@PAGEOFF
Lloh8:
	adrp	x24, l_.str.3@PAGE
Lloh9:
	add	x24, x24, l_.str.3@PAGEOFF
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	w0, [x25]
	mov	x1, x24
	bl	_fprintf
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	cmp	x26, x19
	cset	w8, eq
	ldr	x9, [x20, #16]
	ldr	x20, [x9, w8, uxtw #3]
	cbz	x20, LBB0_4
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_14 Depth 2
                                        ;     Child Loop BB0_17 Depth 2
	ldp	x8, x27, [x20]
	ldr	x26, [x8, #8]
	cbz	x27, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x20
	bl	_Portal_Passable
	cbnz	x0, LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x9, [x20]
	ldr	x10, [x9]
	ldr	w0, [x25]
	ldr	w8, [x27]
	cmp	x10, x19
	b.eq	LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x9, [x9, #8]
	ldr	w9, [x9, #8]
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	stp	x8, x9, [sp]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	ldr	w8, [x27]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x28, x8, #1
LBB0_14:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	w21, w28, #2
	ldr	w0, [x25]
	mov	x1, x22
	bl	_fprintf
	ldr	w0, [x25]
	ldr	x8, [x27, #8]
	lsl	x21, x21, #3
	ldr	x8, [x8, x21]
	ldr	w1, [x8]
	bl	_WriteFloat
	ldr	w0, [x25]
	ldr	x8, [x27, #8]
	ldr	x8, [x8, x21]
	ldr	w1, [x8, #4]
	bl	_WriteFloat
	ldr	w0, [x25]
	ldr	x8, [x27, #8]
	ldr	x8, [x8, x21]
	ldr	w1, [x8, #8]
	bl	_WriteFloat
	ldr	w0, [x25]
	mov	x1, x23
	bl	_fprintf
	sub	x28, x28, #1
	cmp	x28, #1
	b.hi	LBB0_14
	b	LBB0_7
LBB0_15:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w9, [x19, #8]
	stp	x8, x9, [sp]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	ldr	w8, [x27]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.16:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x28, #0
LBB0_17:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x25]
	mov	x1, x22
	bl	_fprintf
	ldr	w0, [x25]
	ldr	x8, [x27, #8]
	lsl	x21, x28, #3
	ldr	x8, [x8, x21]
	ldr	w1, [x8]
	bl	_WriteFloat
	ldr	w0, [x25]
	ldr	x8, [x27, #8]
	ldr	x8, [x8, x21]
	ldr	w1, [x8, #4]
	bl	_WriteFloat
	ldr	w0, [x25]
	ldr	x8, [x27, #8]
	ldr	x8, [x8, x21]
	ldr	w1, [x8, #8]
	bl	_WriteFloat
	ldr	w0, [x25]
	mov	x1, x23
	bl	_fprintf
	add	x28, x28, #1
	ldrsw	x8, [x27]
	cmp	x28, x8
	b.lt	LBB0_17
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_PLANENUM_LEAF,8,3              ; @PLANENUM_LEAF
	.comm	_pf,4,2                         ; @pf
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%i %i "

l_.str.1:                               ; @.str.1
	.asciz	"("

l_.str.2:                               ; @.str.2
	.asciz	") "

l_.str.3:                               ; @.str.3
	.asciz	"\n"

.subsections_via_symbols
