	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ffind_2d_perpendicular         ## -- Begin function ffind_2d_perpendicular
	.p2align	4, 0x90
_ffind_2d_perpendicular:                ## @ffind_2d_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r12d, %r12d
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.1:
	movq	%rsi, %rbx
	testq	%rsi, %rsi
	je	LBB0_15
## %bb.2:
	movq	%rdx, %r13
	testq	%rdx, %rdx
	je	LBB0_15
## %bb.3:
	movl	(%rbx), %r8d
	testl	%r8d, %r8d
	jle	LBB0_14
## %bb.4:
	movq	_PASSTHRU@GOTPCREL(%rip), %r14
	xorl	%r15d, %r15d
	jmp	LBB0_5
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	(%rbx), %r8d
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%r15
	movslq	%r8d, %rcx
	cmpq	%rcx, %r15
	jge	LBB0_14
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rcx
	movq	(%rcx,%r15,8), %rdx
	testq	%rdx, %rdx
	je	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	$0, 16(%rdx)
	je	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rdx), %rcx
	cmpq	(%r14), %rcx
	jne	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rdx), %rdx
	movq	(%rdx), %rdx
	movq	(%rdx), %rsi
	xorl	%eax, %eax
	cmpq	8(%rbx), %rsi
	sete	%al
	leaq	(%rax,%rax,2), %rsi
	cmpq	%rcx, 8(%rdx,%rsi,8)
	jne	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%rdx,%rsi,8), %r12
	testq	%r12, %r12
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%r12), %rcx
	cmpq	8(%r13), %rcx
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_ffind_face_corner
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_12
	jmp	LBB0_15
LBB0_14:
	xorl	%r12d, %r12d
LBB0_15:
	movq	%r12, %rax
	addq	$8, %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_2d_perpendicular         ; -- Begin function ffind_2d_perpendicular
	.p2align	2
_ffind_2d_perpendicular:                ; @ffind_2d_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	x22, #0
	cbz	x0, LBB0_15
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_15
; %bb.2:
	mov	x19, x2
	cbz	x2, LBB0_15
; %bb.3:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.4:
	mov	x21, x0
	mov	x23, #0
Lloh0:
	adrp	x24, _PASSTHRU@GOTPAGE
Lloh1:
	ldr	x24, [x24, _PASSTHRU@GOTPAGEOFF]
	mov	w25, #24
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x20]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x23, x23, #1
	cmp	x23, w8, sxtw
	b.ge	LBB0_14
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #16]
	ldr	x10, [x9, x23, lsl #3]
	cbz	x10, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x9, [x10, #16]
	cbz	x9, LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x9, [x10]
	ldr	x11, [x24]
	cmp	x9, x11
	b.ne	LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x10, [x10, #8]
	ldr	x10, [x10]
	ldr	x11, [x10]
	ldr	x12, [x20, #8]
	cmp	x11, x12
	cset	w11, eq
	umaddl	x12, w11, w25, x10
	ldr	x12, [x12, #8]
	cmp	x12, x9
	b.ne	LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	madd	x9, x11, x25, x10
	ldr	x22, [x9, #16]
	cbz	x22, LBB0_6
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x9, [x22, #8]
	ldr	x10, [x19, #8]
	cmp	x9, x10
	b.eq	LBB0_6
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_ffind_face_corner
	cbz	x0, LBB0_5
	b	LBB0_15
LBB0_14:
	mov	x22, #0
LBB0_15:
	mov	x0, x22
	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
