	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function count_ptr_derefs
_count_ptr_derefs:                      ## @count_ptr_derefs
	.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
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_TREE_CODE
	movq	_ADDR_EXPR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	$0, (%r15)
	jmp	LBB0_5
LBB0_2:
	movl	(%rbx), %edi
	callq	_INDIRECT_REF_P
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movl	(%rbx), %edi
	xorl	%esi, %esi
	callq	_TREE_OPERAND
	cmpq	(%r14), %rax
	jne	LBB0_5
## %bb.4:
	incl	8(%r14)
LBB0_5:
	movq	_NULL_TREE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ADDR_EXPR,8,3                  ## @ADDR_EXPR
	.comm	_NULL_TREE,4,2                  ## @NULL_TREE
	.no_dead_strip	_count_ptr_derefs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function count_ptr_derefs
_count_ptr_derefs:                      ; @count_ptr_derefs
	.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	x21, x1
	mov	x20, x0
	ldr	w0, [x0]
	bl	_TREE_CODE
Lloh0:
	adrp	x8, _ADDR_EXPR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ADDR_EXPR@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	str	wzr, [x21]
	b	LBB0_5
LBB0_2:
	ldr	w0, [x20]
	bl	_INDIRECT_REF_P
	cbz	x0, LBB0_5
; %bb.3:
	ldr	w0, [x20]
	mov	w1, #0
	bl	_TREE_OPERAND
	ldr	x8, [x19]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.4:
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
LBB0_5:
Lloh3:
	adrp	x8, _NULL_TREE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NULL_TREE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	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	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ADDR_EXPR,8,3                  ; @ADDR_EXPR
	.comm	_NULL_TREE,4,2                  ; @NULL_TREE
	.no_dead_strip	_count_ptr_derefs
.subsections_via_symbols
