	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_FindHashedEdge             ## -- Begin function AAS_FindHashedEdge
	.p2align	4, 0x90
_AAS_FindHashedEdge:                    ## @AAS_FindHashedEdge
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	movl	%edi, %ebx
	callq	_AAS_HashEdge
	movq	_aas_hashedges@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cltq
	movl	(%rcx,%rax,4), %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	js	LBB0_9
## %bb.1:
	movq	_aasworld@GOTPCREL(%rip), %rdx
	movq	(%rdx), %r8
	movq	_aas_edgechain@GOTPCREL(%rip), %rdx
	movq	(%rdx), %r9
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r15d, %esi
	je	LBB0_8
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r9,%rdi,4), %ecx
	testl	%ecx, %ecx
	js	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %edi
	movq	(%r8,%rdi,8), %rsi
	movl	(%rsi), %edx
	movl	4(%rsi), %esi
	cmpl	%ebx, %edx
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%ebx, %esi
	jne	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r15d, %edx
	jne	LBB0_4
## %bb.7:
	negl	%ecx
LBB0_8:
	movl	%ecx, (%r14)
	movl	$1, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_aas_hashedges,8,3              ## @aas_hashedges
	.comm	_aasworld,8,3                   ## @aasworld
	.comm	_aas_edgechain,8,3              ## @aas_edgechain
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_FindHashedEdge             ; -- Begin function AAS_FindHashedEdge
	.p2align	2
_AAS_FindHashedEdge:                    ; @AAS_FindHashedEdge
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_AAS_HashEdge
Lloh0:
	adrp	x8, _aas_hashedges@GOTPAGE
Lloh1:
	ldr	x8, [x8, _aas_hashedges@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x8, w0, sxtw #2]
	tbnz	w8, #31, LBB0_8
; %bb.1:
Lloh3:
	adrp	x9, _aasworld@GOTPAGE
Lloh4:
	ldr	x9, [x9, _aasworld@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _aas_edgechain@GOTPAGE
Lloh7:
	ldr	x10, [x10, _aas_edgechain@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w12, w20
	b.eq	LBB0_7
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, w8
	ldr	w8, [x10, x8, lsl #2]
	tbnz	w8, #31, LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x9, w8, uxtw #3]
	ldp	w11, w12, [x12]
	cmp	w11, w21
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w12, w21
	ccmp	w11, w20, #0, eq
	b.ne	LBB0_3
; %bb.6:
	neg	w8, w8
LBB0_7:
	str	w8, [x19]
	mov	w0, #1
	b	LBB0_9
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_aas_hashedges,8,3              ; @aas_hashedges
	.comm	_aasworld,8,3                   ; @aasworld
	.comm	_aas_edgechain,8,3              ; @aas_edgechain
.subsections_via_symbols
