	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function make_geometry
_make_geometry:                         ## @make_geometry
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	16(%rdi), %rdi
	movl	(%rbx), %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	callq	_OSM_LOG_ENTER
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rax
	movslq	%r15d, %rbx
	movq	(%rax,%rbx,8), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_86
## %bb.1:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	callq	_seed_axes
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_86
## %bb.2:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	(%rax,%rbx,8), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	setle	-41(%rbp)                       ## 1-byte Folded Spill
	xorl	%edx, %edx
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_85:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	sete	%al
	orb	-41(%rbp), %al                  ## 1-byte Folded Reload
	xorl	%edx, %edx
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	cmpb	$1, %al
	je	LBB0_86
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
                                        ##       Child Loop BB0_20 Depth 3
                                        ##       Child Loop BB0_31 Depth 3
                                        ##     Child Loop BB0_13 Depth 2
                                        ##       Child Loop BB0_16 Depth 3
                                        ##     Child Loop BB0_45 Depth 2
                                        ##       Child Loop BB0_48 Depth 3
                                        ##         Child Loop BB0_50 Depth 4
                                        ##           Child Loop BB0_55 Depth 5
                                        ##             Child Loop BB0_58 Depth 6
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	(%rax,%rdx,8), %r14
	movq	(%r14), %rax
	movl	8(%rax), %r10d
	cmpq	$2, %r10
	ja	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movq	(%rcx), %rcx
	cmpl	8(%rcx), %r10d
	jb	LBB0_42
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, (%rax)
	je	LBB0_42
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	testl	%r10d, %r10d
	je	LBB0_42
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	%r10d, %r12d
	andl	$-2, %r12d
	xorl	%r15d, %r15d
	movq	%r10, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_20 Depth 3
                                        ##       Child Loop BB0_31 Depth 3
	movq	16(%rax), %rcx
	cmpq	$0, (%rcx,%r15,8)
	je	LBB0_40
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	cmpl	$1, %r10d
	jne	LBB0_19
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=2
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	testb	$1, %r10b
	jne	LBB0_27
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_8 Depth=2
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_20 Depth=3
	incq	%rsi
	cmpq	%r12, %rsi
	je	LBB0_25
LBB0_20:                                ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_8 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%rsi, %rdx
	cmpq	%rsi, %r15
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=3
	movq	(%rax), %rsi
	movq	(%rsi,%r15,8), %rsi
	xorl	%edi, %edi
	cmpl	$2, (%rsi,%rdx,4)
	setne	%dil
	addl	%edi, %ecx
LBB0_22:                                ##   in Loop: Header=BB0_20 Depth=3
	leaq	1(%rdx), %rsi
	cmpq	%r15, %rsi
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_20 Depth=3
	movq	(%rax), %rdi
	movq	(%rdi,%r15,8), %rdi
	xorl	%ebx, %ebx
	cmpl	$2, 4(%rdi,%rdx,4)
	setne	%bl
	addl	%ebx, %ecx
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_8 Depth=2
	addq	$2, %rdx
	testb	$1, %r10b
	je	LBB0_29
LBB0_27:                                ##   in Loop: Header=BB0_8 Depth=2
	cmpq	%r15, %rdx
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_8 Depth=2
	movq	(%rax), %rax
	movq	(%rax,%r15,8), %rax
	xorl	%esi, %esi
	cmpl	$2, (%rax,%rdx,4)
	setne	%sil
	addl	%esi, %ecx
LBB0_29:                                ##   in Loop: Header=BB0_8 Depth=2
	cmpl	$1, %ecx
	jne	LBB0_40
## %bb.30:                              ##   in Loop: Header=BB0_8 Depth=2
	xorl	%ebx, %ebx
	jmp	LBB0_31
LBB0_37:                                ##   in Loop: Header=BB0_31 Depth=3
	movq	(%r14), %rcx
	movq	16(%rcx), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incl	-48(%rbp)                       ## 4-byte Folded Spill
LBB0_38:                                ##   in Loop: Header=BB0_31 Depth=3
	movq	-56(%rbp), %r10                 ## 8-byte Reload
LBB0_39:                                ##   in Loop: Header=BB0_31 Depth=3
	incq	%rbx
	cmpq	%rbx, %r10
	je	LBB0_40
LBB0_31:                                ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_8 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	cmpq	%rbx, %r15
	je	LBB0_39
## %bb.32:                              ##   in Loop: Header=BB0_31 Depth=3
	movq	(%r14), %rax
	movq	(%rax), %rcx
	movq	(%rcx,%r15,8), %rcx
	movl	(%rcx,%rbx,4), %ecx
	cmpl	$2, %ecx
	je	LBB0_39
## %bb.33:                              ##   in Loop: Header=BB0_31 Depth=3
	cmpl	$4, %ecx
	jg	LBB0_39
## %bb.34:                              ##   in Loop: Header=BB0_31 Depth=3
	movq	16(%rax), %rax
	movq	(%rax,%rbx,8), %r13
	movq	(%rax,%r15,8), %rsi
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	callq	_opposite
	testq	%r13, %r13
	je	LBB0_37
## %bb.35:                              ##   in Loop: Header=BB0_31 Depth=3
	cmpq	%rax, %r13
	je	LBB0_38
## %bb.36:                              ##   in Loop: Header=BB0_31 Depth=3
	movq	_OSM_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str(%rip), %rdx
	callq	_OSM_LOG
	jmp	LBB0_38
	.p2align	4, 0x90
LBB0_40:                                ##   in Loop: Header=BB0_8 Depth=2
	incq	%r15
	cmpq	%r10, %r15
	je	LBB0_41
## %bb.87:                              ##   in Loop: Header=BB0_8 Depth=2
	movq	(%r14), %rax
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_41:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
LBB0_42:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%rdx
	cmpq	-72(%rbp), %rdx                 ## 8-byte Folded Reload
	jne	LBB0_3
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_85
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	xorl	%ecx, %ecx
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_70:                                ##   in Loop: Header=BB0_13 Depth=2
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
LBB0_71:                                ##   in Loop: Header=BB0_13 Depth=2
	incq	%rcx
	cmpq	-72(%rbp), %rcx                 ## 8-byte Folded Reload
	je	LBB0_43
LBB0_13:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_16 Depth 3
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	(%rax,%rcx,8), %r15
	movq	(%r15), %rax
	cmpq	$0, (%rax)
	je	LBB0_71
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=2
	movl	8(%rax), %r12d
	testl	%r12d, %r12d
	je	LBB0_71
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	decq	%r12
	xorl	%ebx, %ebx
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_13 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	16(%rax), %rcx
	movq	(%rcx,%rbx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_69
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=3
	movq	24(%rax), %rax
	movq	(%rax,%rbx,8), %rax
	movslq	(%rax), %r13
	cmpl	$-1, %r13d
	je	LBB0_18
## %bb.63:                              ##   in Loop: Header=BB0_16 Depth=3
	movslq	4(%rax), %rax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rcx
	movq	(%rcx,%rax,8), %r14
	movq	(%r14), %rax
	cmpq	$0, (%rax)
	je	LBB0_69
## %bb.64:                              ##   in Loop: Header=BB0_16 Depth=3
	movq	16(%rax), %rax
	movq	(%rax,%r13,8), %r15
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	callq	_opposite
	testq	%r15, %r15
	je	LBB0_65
## %bb.66:                              ##   in Loop: Header=BB0_16 Depth=3
	cmpq	%rax, %r15
	je	LBB0_68
## %bb.67:                              ##   in Loop: Header=BB0_16 Depth=3
	movq	_OSM_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.2(%rip), %rdx
	callq	_OSM_LOG
	jmp	LBB0_68
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_16 Depth=3
	movq	_OSM_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.1(%rip), %rdx
	callq	_OSM_LOG
	jmp	LBB0_69
LBB0_65:                                ##   in Loop: Header=BB0_16 Depth=3
	movq	(%r14), %rcx
	movq	16(%rcx), %rcx
	movq	%rax, (%rcx,%r13,8)
	incl	-48(%rbp)                       ## 4-byte Folded Spill
LBB0_68:                                ##   in Loop: Header=BB0_16 Depth=3
	movq	-56(%rbp), %r15                 ## 8-byte Reload
LBB0_69:                                ##   in Loop: Header=BB0_16 Depth=3
	cmpq	%rbx, %r12
	je	LBB0_70
## %bb.88:                              ##   in Loop: Header=BB0_16 Depth=3
	movq	(%r15), %rax
	incq	%rbx
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_43:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_85
## %bb.44:                              ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r15d, %r15d
	jmp	LBB0_45
	.p2align	4, 0x90
LBB0_84:                                ##   in Loop: Header=BB0_45 Depth=2
	incq	%r15
	cmpq	-72(%rbp), %r15                 ## 8-byte Folded Reload
	je	LBB0_85
LBB0_45:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_48 Depth 3
                                        ##         Child Loop BB0_50 Depth 4
                                        ##           Child Loop BB0_55 Depth 5
                                        ##             Child Loop BB0_58 Depth 6
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	(%rax,%r15,8), %rdi
	movq	(%rdi), %rax
	cmpq	$0, (%rax)
	je	LBB0_84
## %bb.46:                              ##   in Loop: Header=BB0_45 Depth=2
	movl	8(%rax), %ebx
	testl	%ebx, %ebx
	je	LBB0_84
## %bb.47:                              ##   in Loop: Header=BB0_45 Depth=2
	xorl	%r13d, %r13d
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_48:                                ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_45 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_50 Depth 4
                                        ##           Child Loop BB0_55 Depth 5
                                        ##             Child Loop BB0_58 Depth 6
	movq	16(%rax), %rax
	cmpq	$0, (%rax,%r13,8)
	je	LBB0_82
## %bb.49:                              ##   in Loop: Header=BB0_48 Depth=3
	xorl	%r14d, %r14d
	jmp	LBB0_50
LBB0_76:                                ##   in Loop: Header=BB0_50 Depth=4
	movq	%rdx, (%rax,%r12,8)
	incl	-48(%rbp)                       ## 4-byte Folded Spill
LBB0_80:                                ##   in Loop: Header=BB0_50 Depth=4
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_81:                                ##   in Loop: Header=BB0_50 Depth=4
	incq	%r14
	cmpq	%rbx, %r14
	je	LBB0_82
LBB0_50:                                ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_45 Depth=2
                                        ##       Parent Loop BB0_48 Depth=3
                                        ## =>      This Loop Header: Depth=4
                                        ##           Child Loop BB0_55 Depth 5
                                        ##             Child Loop BB0_58 Depth 6
	cmpq	%r14, %r13
	je	LBB0_81
## %bb.51:                              ##   in Loop: Header=BB0_50 Depth=4
	movq	(%rdi), %rdx
	movq	16(%rdx), %rax
	movq	(%rax,%r14,8), %rax
	testq	%rax, %rax
	je	LBB0_81
## %bb.52:                              ##   in Loop: Header=BB0_50 Depth=4
	movq	(%rdx), %rcx
	movq	(%rcx,%r13,8), %rcx
	cmpl	$2, (%rcx,%r14,4)
	jne	LBB0_81
## %bb.53:                              ##   in Loop: Header=BB0_50 Depth=4
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rcx
	movq	24(%rdx), %rdx
	movq	(%rdx,%r13,8), %rsi
	movslq	4(%rsi), %rsi
	movq	(%rcx,%rsi,8), %rsi
	movq	(%rsi), %r8
	movl	8(%r8), %r10d
	testq	%r10, %r10
	je	LBB0_81
## %bb.54:                              ##   in Loop: Header=BB0_50 Depth=4
	movq	(%rdx,%r14,8), %rdx
	movslq	4(%rdx), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	24(%r8), %r9
	xorl	%edi, %edi
	jmp	LBB0_55
	.p2align	4, 0x90
LBB0_78:                                ##   in Loop: Header=BB0_55 Depth=5
	incq	%rdi
	cmpq	%r10, %rdi
	je	LBB0_79
LBB0_55:                                ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_45 Depth=2
                                        ##       Parent Loop BB0_48 Depth=3
                                        ##         Parent Loop BB0_50 Depth=4
                                        ## =>        This Loop Header: Depth=5
                                        ##             Child Loop BB0_58 Depth 6
	movq	(%r9,%rdi,8), %rcx
	movl	4(%rcx), %ecx
	cmpq	%rcx, %r15
	je	LBB0_78
## %bb.56:                              ##   in Loop: Header=BB0_55 Depth=5
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx), %r11
	movl	8(%r11), %ebx
	testq	%rbx, %rbx
	je	LBB0_78
## %bb.57:                              ##   in Loop: Header=BB0_55 Depth=5
	movq	24(%r11), %rsi
	xorl	%r12d, %r12d
	jmp	LBB0_58
	.p2align	4, 0x90
LBB0_77:                                ##   in Loop: Header=BB0_58 Depth=6
	incq	%r12
	cmpq	%r12, %rbx
	je	LBB0_78
LBB0_58:                                ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_45 Depth=2
                                        ##       Parent Loop BB0_48 Depth=3
                                        ##         Parent Loop BB0_50 Depth=4
                                        ##           Parent Loop BB0_55 Depth=5
                                        ## =>          This Inner Loop Header: Depth=6
	movq	(%rsi,%r12,8), %rdx
	movl	4(%rdx), %edx
	cmpq	%rdx, %r15
	je	LBB0_77
## %bb.59:                              ##   in Loop: Header=BB0_58 Depth=6
	cmpl	%edx, %ecx
	jne	LBB0_77
## %bb.60:                              ##   in Loop: Header=BB0_50 Depth=4
	movl	%edi, %ecx
	movq	16(%r8), %rdx
	movq	(%rdx,%rcx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_72
## %bb.61:                              ##   in Loop: Header=BB0_50 Depth=4
	cmpq	%rax, %rsi
	je	LBB0_73
## %bb.62:                              ##   in Loop: Header=BB0_50 Depth=4
	movq	_OSM_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.3(%rip), %rdx
	callq	_OSM_LOG
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r11
	jmp	LBB0_73
LBB0_72:                                ##   in Loop: Header=BB0_50 Depth=4
	movq	%rax, (%rdx,%rcx,8)
	incl	-48(%rbp)                       ## 4-byte Folded Spill
LBB0_73:                                ##   in Loop: Header=BB0_50 Depth=4
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	16(%r11), %rax
	movq	(%rax,%r12,8), %rcx
	movq	(%rdi), %rdx
	movq	16(%rdx), %rdx
	movq	(%rdx,%r13,8), %rdx
	testq	%rcx, %rcx
	je	LBB0_76
## %bb.74:                              ##   in Loop: Header=BB0_50 Depth=4
	cmpq	%rdx, %rcx
	je	LBB0_80
## %bb.75:                              ##   in Loop: Header=BB0_50 Depth=4
	movq	_OSM_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.3(%rip), %rdx
	callq	_OSM_LOG
LBB0_79:                                ##   in Loop: Header=BB0_50 Depth=4
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_80
	.p2align	4, 0x90
LBB0_82:                                ##   in Loop: Header=BB0_48 Depth=3
	incq	%r13
	cmpq	%rbx, %r13
	je	LBB0_84
## %bb.83:                              ##   in Loop: Header=BB0_48 Depth=3
	movq	(%rdi), %rax
	jmp	LBB0_48
LBB0_86:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_OSM_LOG_EXIT                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OSM_LOG_DEBUG,4,2              ## @OSM_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"phase 1 mismatch\n"

L_.str.1:                               ## @.str.1
	.asciz	"no reverse link\n"

L_.str.2:                               ## @.str.2
	.asciz	"phase 2 mismatch\n"

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

	.no_dead_strip	_make_geometry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function make_geometry
_make_geometry:                         ; @make_geometry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x21, x1
	mov	x20, x0
	ldr	x19, [x0, #16]
	ldr	w8, [x0]
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	mov	x0, x19
	bl	_OSM_LOG_ENTER
	ldr	x8, [x20, #8]
	ldr	x8, [x8, w21, sxtw #3]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_69
; %bb.1:
	mov	x0, x20
	mov	x1, x21
	bl	_seed_axes
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_69
; %bb.2:
	mov	x22, #0
	mov	w28, #0
	sxtw	x8, w21
	ldr	x9, [x20, #8]
	ldr	x8, [x9, x8, lsl #3]
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	cmp	w8, #1
	cset	w8, lt
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x22, #0
	cmp	w28, #0
	cset	w8, eq
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	orr	w8, w8, w9
	mov	w28, #0
	cmp	w8, #1
	b.eq	LBB0_69
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_53 Depth 2
                                        ;       Child Loop BB0_56 Depth 3
                                        ;       Child Loop BB0_62 Depth 3
                                        ;     Child Loop BB0_10 Depth 2
                                        ;       Child Loop BB0_12 Depth 3
                                        ;     Child Loop BB0_26 Depth 2
                                        ;       Child Loop BB0_28 Depth 3
                                        ;         Child Loop BB0_32 Depth 4
                                        ;           Child Loop BB0_38 Depth 5
                                        ;             Child Loop BB0_41 Depth 6
	ldr	x8, [x20, #8]
	ldr	x23, [x8, x22, lsl #3]
	ldr	x8, [x23]
	ldr	w24, [x8, #8]
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	ldr	x9, [x9]
	ldr	w9, [x9, #8]
	cmp	w24, #2
	ccmp	w24, w9, #2, ls
	b.lo	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x8]
	cmp	x9, #0
	ccmp	w24, #0, #4, ne
	b.ne	LBB0_52
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x22, #1
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	cmp	x22, x8
	b.ne	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x22, #0
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	add	x22, x22, #1
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	cmp	x22, x8
	b.eq	LBB0_23
LBB0_10:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_12 Depth 3
	ldr	x8, [x20, #8]
	ldr	x23, [x8, x22, lsl #3]
	ldr	x8, [x23]
	ldr	w9, [x8, #8]
	ldr	x10, [x8]
	cmp	x10, #0
	ccmp	w9, #0, #4, ne
	b.eq	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	mov	x24, #0
	lsl	x9, x9, #3
	sub	x25, x9, #8
LBB0_12:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_10 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x9, [x8, #16]
	ldr	x1, [x9, x24]
	cbz	x1, LBB0_20
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=3
	ldr	x8, [x8, #24]
	ldr	x8, [x8, x24]
	ldrsw	x21, [x8]
	cmn	w21, #1
	b.eq	LBB0_18
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=3
	ldrsw	x8, [x8, #4]
	ldr	x9, [x20, #8]
	ldr	x26, [x9, x8, lsl #3]
	ldr	x8, [x26]
	ldr	x9, [x8]
	cbz	x9, LBB0_20
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=3
	ldr	x8, [x8, #16]
	ldr	x27, [x8, x21, lsl #3]
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	bl	_opposite
	cbz	x27, LBB0_22
; %bb.16:                               ;   in Loop: Header=BB0_12 Depth=3
	cmp	x27, x0
	b.eq	LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_12 Depth=3
Lloh0:
	adrp	x8, _OSM_LOG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OSM_LOG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
Lloh3:
	adrp	x2, l_.str.2@PAGE
Lloh4:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_12 Depth=3
Lloh5:
	adrp	x8, _OSM_LOG_DEBUG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OSM_LOG_DEBUG@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_19:                                ;   in Loop: Header=BB0_12 Depth=3
	bl	_OSM_LOG
LBB0_20:                                ;   in Loop: Header=BB0_12 Depth=3
	cmp	x25, x24
	b.eq	LBB0_9
LBB0_21:                                ;   in Loop: Header=BB0_12 Depth=3
	ldr	x8, [x23]
	add	x24, x24, #8
	b	LBB0_12
LBB0_22:                                ;   in Loop: Header=BB0_12 Depth=3
	ldr	x8, [x26]
	ldr	x8, [x8, #16]
	str	x0, [x8, x21, lsl #3]
	add	w28, w28, #1
	cmp	x25, x24
	b.ne	LBB0_21
	b	LBB0_9
LBB0_23:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.24:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x22, #0
	b	LBB0_26
LBB0_25:                                ;   in Loop: Header=BB0_26 Depth=2
	add	x22, x22, #1
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	cmp	x22, x8
	b.eq	LBB0_3
LBB0_26:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_28 Depth 3
                                        ;         Child Loop BB0_32 Depth 4
                                        ;           Child Loop BB0_38 Depth 5
                                        ;             Child Loop BB0_41 Depth 6
	ldr	x8, [x20, #8]
	ldr	x25, [x8, x22, lsl #3]
	ldr	x8, [x25]
	ldr	w26, [x8, #8]
	ldr	x9, [x8]
	cmp	x9, #0
	ccmp	w26, #0, #4, ne
	b.eq	LBB0_25
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=2
	mov	x24, #0
LBB0_28:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_26 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_32 Depth 4
                                        ;           Child Loop BB0_38 Depth 5
                                        ;             Child Loop BB0_41 Depth 6
	ldr	x8, [x8, #16]
	ldr	x8, [x8, x24, lsl #3]
	cbz	x8, LBB0_50
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=3
	mov	x23, #0
	b	LBB0_32
LBB0_30:                                ;   in Loop: Header=BB0_32 Depth=4
	str	x9, [x8, x21]
	add	w28, w28, #1
LBB0_31:                                ;   in Loop: Header=BB0_32 Depth=4
	add	x23, x23, #1
	cmp	x23, x26
	b.eq	LBB0_50
LBB0_32:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_26 Depth=2
                                        ;       Parent Loop BB0_28 Depth=3
                                        ; =>      This Loop Header: Depth=4
                                        ;           Child Loop BB0_38 Depth 5
                                        ;             Child Loop BB0_41 Depth 6
	cmp	x24, x23
	b.eq	LBB0_31
; %bb.33:                               ;   in Loop: Header=BB0_32 Depth=4
	ldr	x9, [x25]
	ldr	x8, [x9, #16]
	ldr	x8, [x8, x23, lsl #3]
	cbz	x8, LBB0_31
; %bb.34:                               ;   in Loop: Header=BB0_32 Depth=4
	ldr	x10, [x9]
	ldr	x10, [x10, x24, lsl #3]
	ldr	w10, [x10, x23, lsl #2]
	cmp	w10, #2
	b.ne	LBB0_31
; %bb.35:                               ;   in Loop: Header=BB0_32 Depth=4
	ldr	x13, [x9, #24]
	ldr	x9, [x13, x24, lsl #3]
	ldr	x12, [x20, #8]
	ldrsw	x9, [x9, #4]
	ldr	x9, [x12, x9, lsl #3]
	ldr	x9, [x9]
	ldr	w11, [x9, #8]
	cbz	w11, LBB0_31
; %bb.36:                               ;   in Loop: Header=BB0_32 Depth=4
	mov	x10, #0
	ldr	x13, [x13, x23, lsl #3]
	ldrsw	x13, [x13, #4]
	ldr	x27, [x12, x13, lsl #3]
	ldr	x13, [x9, #24]
	b	LBB0_38
LBB0_37:                                ;   in Loop: Header=BB0_38 Depth=5
	add	x10, x10, #1
	cmp	x10, x11
	b.eq	LBB0_31
LBB0_38:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_26 Depth=2
                                        ;       Parent Loop BB0_28 Depth=3
                                        ;         Parent Loop BB0_32 Depth=4
                                        ; =>        This Loop Header: Depth=5
                                        ;             Child Loop BB0_41 Depth 6
	ldr	x12, [x13, x10, lsl #3]
	ldr	w14, [x12, #4]
	cmp	x22, x14
	b.eq	LBB0_37
; %bb.39:                               ;   in Loop: Header=BB0_38 Depth=5
	ldr	x12, [x27]
	ldr	w16, [x12, #8]
	cbz	w16, LBB0_37
; %bb.40:                               ;   in Loop: Header=BB0_38 Depth=5
	mov	x21, #0
	ldr	x15, [x12, #24]
	lsl	x16, x16, #3
LBB0_41:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_26 Depth=2
                                        ;       Parent Loop BB0_28 Depth=3
                                        ;         Parent Loop BB0_32 Depth=4
                                        ;           Parent Loop BB0_38 Depth=5
                                        ; =>          This Inner Loop Header: Depth=6
	ldr	x17, [x15, x21]
	ldr	w17, [x17, #4]
	cmp	x22, x17
	ccmp	w14, w17, #0, ne
	b.eq	LBB0_43
; %bb.42:                               ;   in Loop: Header=BB0_41 Depth=6
	add	x21, x21, #8
	cmp	x16, x21
	b.ne	LBB0_41
	b	LBB0_37
LBB0_43:                                ;   in Loop: Header=BB0_32 Depth=4
	ldr	x9, [x9, #16]
	ldr	x11, [x9, w10, uxtw #3]
	cbz	x11, LBB0_46
; %bb.44:                               ;   in Loop: Header=BB0_32 Depth=4
	cmp	x11, x8
	b.eq	LBB0_47
; %bb.45:                               ;   in Loop: Header=BB0_32 Depth=4
Lloh10:
	adrp	x8, _OSM_LOG_DEBUG@GOTPAGE
Lloh11:
	ldr	x8, [x8, _OSM_LOG_DEBUG@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
Lloh13:
	adrp	x2, l_.str.3@PAGE
Lloh14:
	add	x2, x2, l_.str.3@PAGEOFF
	bl	_OSM_LOG
	ldr	x12, [x27]
	b	LBB0_47
LBB0_46:                                ;   in Loop: Header=BB0_32 Depth=4
	and	x10, x10, #0xffffffff
	str	x8, [x9, x10, lsl #3]
	add	w28, w28, #1
LBB0_47:                                ;   in Loop: Header=BB0_32 Depth=4
	ldr	x8, [x12, #16]
	ldr	x10, [x8, x21]
	ldr	x9, [x25]
	ldr	x9, [x9, #16]
	ldr	x9, [x9, x24, lsl #3]
	cbz	x10, LBB0_30
; %bb.48:                               ;   in Loop: Header=BB0_32 Depth=4
	cmp	x10, x9
	b.eq	LBB0_31
; %bb.49:                               ;   in Loop: Header=BB0_32 Depth=4
Lloh15:
	adrp	x8, _OSM_LOG_DEBUG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _OSM_LOG_DEBUG@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
Lloh18:
	adrp	x2, l_.str.3@PAGE
Lloh19:
	add	x2, x2, l_.str.3@PAGEOFF
	bl	_OSM_LOG
	b	LBB0_31
LBB0_50:                                ;   in Loop: Header=BB0_28 Depth=3
	add	x24, x24, #1
	cmp	x24, x26
	b.eq	LBB0_25
; %bb.51:                               ;   in Loop: Header=BB0_28 Depth=3
	ldr	x8, [x25]
	b	LBB0_28
LBB0_52:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, #0
LBB0_53:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_56 Depth 3
                                        ;       Child Loop BB0_62 Depth 3
	ldr	x9, [x8, #16]
	ldr	x9, [x9, x25, lsl #3]
	cbz	x9, LBB0_67
; %bb.54:                               ;   in Loop: Header=BB0_53 Depth=2
	mov	x10, #0
	mov	w9, #0
	b	LBB0_56
LBB0_55:                                ;   in Loop: Header=BB0_56 Depth=3
	add	x10, x10, #1
	cmp	x24, x10
	b.eq	LBB0_58
LBB0_56:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_53 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	cmp	x25, x10
	b.eq	LBB0_55
; %bb.57:                               ;   in Loop: Header=BB0_56 Depth=3
	ldr	x11, [x8]
	ldr	x11, [x11, x25, lsl #3]
	ldr	w11, [x11, x10, lsl #2]
	cmp	w11, #2
	cinc	w9, w9, ne
	b	LBB0_55
LBB0_58:                                ;   in Loop: Header=BB0_53 Depth=2
	cmp	w9, #1
	b.ne	LBB0_67
; %bb.59:                               ;   in Loop: Header=BB0_53 Depth=2
	mov	x21, #0
	b	LBB0_62
LBB0_60:                                ;   in Loop: Header=BB0_62 Depth=3
	ldr	x8, [x23]
	ldr	x8, [x8, #16]
	str	x0, [x8, x21, lsl #3]
	add	w28, w28, #1
LBB0_61:                                ;   in Loop: Header=BB0_62 Depth=3
	add	x21, x21, #1
	cmp	x24, x21
	b.eq	LBB0_67
LBB0_62:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_53 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	cmp	x25, x21
	b.eq	LBB0_61
; %bb.63:                               ;   in Loop: Header=BB0_62 Depth=3
	ldr	x8, [x23]
	ldr	x9, [x8]
	ldr	x9, [x9, x25, lsl #3]
	ldr	w9, [x9, x21, lsl #2]
	cmp	w9, #2
	ccmp	w9, #4, #0, ne
	b.gt	LBB0_61
; %bb.64:                               ;   in Loop: Header=BB0_62 Depth=3
	ldr	x8, [x8, #16]
	ldr	x26, [x8, x21, lsl #3]
	ldr	x1, [x8, x25, lsl #3]
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	bl	_opposite
	cbz	x26, LBB0_60
; %bb.65:                               ;   in Loop: Header=BB0_62 Depth=3
	cmp	x26, x0
	b.eq	LBB0_61
; %bb.66:                               ;   in Loop: Header=BB0_62 Depth=3
Lloh20:
	adrp	x8, _OSM_LOG_DEBUG@GOTPAGE
Lloh21:
	ldr	x8, [x8, _OSM_LOG_DEBUG@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x19
Lloh23:
	adrp	x2, l_.str@PAGE
Lloh24:
	add	x2, x2, l_.str@PAGEOFF
	bl	_OSM_LOG
	b	LBB0_61
LBB0_67:                                ;   in Loop: Header=BB0_53 Depth=2
	add	x25, x25, #1
	cmp	x25, x24
	b.eq	LBB0_6
; %bb.68:                               ;   in Loop: Header=BB0_53 Depth=2
	ldr	x8, [x23]
	b	LBB0_53
LBB0_69:
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_OSM_LOG_EXIT
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_OSM_LOG_DEBUG,4,2              ; @OSM_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"phase 1 mismatch\n"

l_.str.1:                               ; @.str.1
	.asciz	"no reverse link\n"

l_.str.2:                               ; @.str.2
	.asciz	"phase 2 mismatch\n"

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

	.no_dead_strip	_make_geometry
.subsections_via_symbols
