	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mesh_detect_cycle_found
_mesh_detect_cycle_found:               ## @mesh_detect_cycle_found
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rax
	movq	$0, -16(%rbp)
	xorl	%ebx, %ebx
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.1:
	cmpq	%rsi, %rax
	je	LBB0_2
## %bb.3:
	leaq	-16(%rbp), %rdx
	movq	%rsi, %rdi
	movq	%rax, %rsi
	callq	_find_in_subsub
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	-16(%rbp), %rax
	jmp	LBB0_5
LBB0_2:
	xorl	%eax, %eax
LBB0_5:
	movq	_MESH_MAX_SUBSUB@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	%rax, (%rcx)
	adcl	$1, %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MESH_MAX_SUBSUB,8,3            ## @MESH_MAX_SUBSUB
	.no_dead_strip	_mesh_detect_cycle_found
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mesh_detect_cycle_found
_mesh_detect_cycle_found:               ; @mesh_detect_cycle_found
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0]
	str	xzr, [sp, #8]
	cbz	x1, LBB0_4
; %bb.1:
	cmp	x8, x1
	b.eq	LBB0_5
; %bb.2:
	add	x2, sp, #8
	mov	x0, x1
	mov	x1, x8
	bl	_find_in_subsub
	cbz	x0, LBB0_7
; %bb.3:
	ldr	x8, [sp, #8]
	b	LBB0_6
LBB0_4:
	mov	w0, #0
	b	LBB0_7
LBB0_5:
	mov	x8, #0
LBB0_6:
Lloh0:
	adrp	x9, _MESH_MAX_SUBSUB@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MESH_MAX_SUBSUB@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	mov	w8, #1
	cinc	w0, w8, hi
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MESH_MAX_SUBSUB,8,3            ; @MESH_MAX_SUBSUB
	.no_dead_strip	_mesh_detect_cycle_found
.subsections_via_symbols
