	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ffind_3d_perpendicular         ## -- Begin function ffind_3d_perpendicular
	.p2align	4, 0x90
_ffind_3d_perpendicular:                ## @ffind_3d_perpendicular
	.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
	xorl	%r13d, %r13d
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.1:
	movq	%rsi, %rbx
	testq	%rsi, %rsi
	je	LBB0_16
## %bb.2:
	movq	%rdx, %r8
	testq	%rdx, %rdx
	je	LBB0_16
## %bb.3:
	testq	%rcx, %rcx
	je	LBB0_16
## %bb.4:
	cmpl	$0, (%rbx)
	jle	LBB0_15
## %bb.5:
	movq	_PASSTHRU@GOTPCREL(%rip), %r14
	xorl	%r15d, %r15d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	incq	%r15
	movslq	(%rbx), %rax
	cmpq	%rax, %r15
	jge	LBB0_15
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rax
	movq	(%rax,%r15,8), %rdx
	testq	%rdx, %rdx
	je	LBB0_14
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpq	$0, 16(%rdx)
	je	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	(%rdx), %rax
	cmpq	(%r14), %rax
	jne	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%rdx), %rdx
	movq	(%rdx), %rdx
	movq	(%rdx), %r9
	xorl	%esi, %esi
	cmpq	8(%rbx), %r9
	sete	%sil
	leaq	(%rsi,%rsi,2), %rsi
	cmpq	%rax, 8(%rdx,%rsi,8)
	jne	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	16(%rdx,%rsi,8), %r13
	testq	%r13, %r13
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%r13), %rax
	cmpq	8(%rcx), %rax
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%r8, %r12
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_ffind_face_corner
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %r8
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r8, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_ffind_face_corner
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %r8
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_14
	jmp	LBB0_16
LBB0_15:
	xorl	%r13d, %r13d
LBB0_16:
	movq	%r13, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PASSTHRU,8,3                   ## @PASSTHRU
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ffind_3d_perpendicular         ; -- Begin function ffind_3d_perpendicular
	.p2align	2
_ffind_3d_perpendicular:                ; @ffind_3d_perpendicular
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x23, #0
	cbz	x0, LBB0_16
; %bb.1:
	mov	x21, x1
	cbz	x1, LBB0_16
; %bb.2:
	mov	x20, x2
	cbz	x2, LBB0_16
; %bb.3:
	mov	x19, x3
	cbz	x3, LBB0_16
; %bb.4:
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.5:
	mov	x22, x0
	mov	x24, #0
Lloh0:
	adrp	x25, _PASSTHRU@GOTPAGE
Lloh1:
	ldr	x25, [x25, _PASSTHRU@GOTPAGEOFF]
	mov	w26, #24
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x21]
	cmp	x24, x8
	b.ge	LBB0_15
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #16]
	ldr	x8, [x8, x24, lsl #3]
	cbz	x8, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x9, [x8]
	ldr	x10, [x25]
	cmp	x9, x10
	b.ne	LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x8, #8]
	ldr	x8, [x8]
	ldr	x10, [x8]
	ldr	x11, [x21, #8]
	cmp	x10, x11
	cset	w10, eq
	umaddl	x11, w10, w26, x8
	ldr	x11, [x11, #8]
	cmp	x11, x9
	b.ne	LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	madd	x8, x10, x26, x8
	ldr	x23, [x8, #16]
	cbz	x23, LBB0_6
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x23, #8]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.eq	LBB0_6
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x22
	mov	x1, x21
	mov	x2, x23
	bl	_ffind_face_corner
	cbz	x0, LBB0_6
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x20
	mov	x1, x21
	mov	x2, x23
	bl	_ffind_face_corner
	cbz	x0, LBB0_6
	b	LBB0_16
LBB0_15:
	mov	x23, #0
LBB0_16:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PASSTHRU,8,3                   ; @PASSTHRU
.subsections_via_symbols
