	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_graph_edge
_add_graph_edge:                        ## @add_graph_edge
	.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
	cmpl	%edx, %esi
	je	LBB0_8
## %bb.1:
	movl	%edx, %ebx
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movl	%edx, %r13d
	movq	(%rax,%r13,8), %rdi
	testq	%rdi, %rdi
	jne	LBB0_3
## %bb.2:
	movq	_pta_obstack@GOTPCREL(%rip), %rdi
	callq	_BITMAP_ALLOC
	movq	%rax, %rdi
	movq	(%r14), %rax
	movq	%rdi, (%rax,%r13,8)
LBB0_3:
	movl	%r15d, %esi
	callq	_bitmap_bit_p
	testl	%eax, %eax
	jne	LBB0_8
## %bb.4:
	movq	_FIRST_REF_NODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%r15d, %eax
	jbe	LBB0_7
## %bb.5:
	cmpl	%ebx, %eax
	jbe	LBB0_7
## %bb.6:
	movq	_stats@GOTPCREL(%rip), %rax
	incl	(%rax)
LBB0_7:
	movq	(%r14), %rax
	movq	(%rax,%r13,8), %rdi
	movl	%r15d, %esi
	callq	_bitmap_set_bit
	movl	$1, %r12d
LBB0_8:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pta_obstack,4,2                ## @pta_obstack
	.comm	_FIRST_REF_NODE,4,2             ## @FIRST_REF_NODE
	.comm	_stats,4,2                      ## @stats
	.no_dead_strip	_add_graph_edge
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_graph_edge
_add_graph_edge:                        ; @add_graph_edge
	.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
	cmp	w1, w2
	b.eq	LBB0_4
; %bb.1:
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
	mov	w22, w2
	ldr	x0, [x8, w2, uxtw #3]
	cbnz	x0, LBB0_3
; %bb.2:
Lloh0:
	adrp	x0, _pta_obstack@GOTPAGE
Lloh1:
	ldr	x0, [x0, _pta_obstack@GOTPAGEOFF]
	bl	_BITMAP_ALLOC
	ldr	x8, [x20]
	str	x0, [x8, x22, lsl #3]
LBB0_3:
	mov	x1, x19
	bl	_bitmap_bit_p
	cbz	w0, LBB0_6
LBB0_4:
	mov	w0, #0
LBB0_5:
	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
LBB0_6:
Lloh2:
	adrp	x8, _FIRST_REF_NODE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FIRST_REF_NODE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, w19
	ccmp	w8, w21, #0, hi
	b.ls	LBB0_8
; %bb.7:
Lloh5:
	adrp	x8, _stats@GOTPAGE
Lloh6:
	ldr	x8, [x8, _stats@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_8:
	ldr	x8, [x20]
	ldr	x0, [x8, x22, lsl #3]
	mov	x1, x19
	bl	_bitmap_set_bit
	mov	w0, #1
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_pta_obstack,4,2                ; @pta_obstack
	.comm	_FIRST_REF_NODE,4,2             ; @FIRST_REF_NODE
	.comm	_stats,4,2                      ; @stats
	.no_dead_strip	_add_graph_edge
.subsections_via_symbols
