	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prune_ref_by_self_reuse
_prune_ref_by_self_reuse:               ## @prune_ref_by_self_reuse
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	movl	(%rax), %edx
	testl	%edx, %edx
	je	LBB0_7
## %bb.1:
	movl	%edx, %ecx
	negl	%ecx
	cmovsl	%edx, %ecx
	movq	_PREFETCH_BLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ecx
	jg	LBB0_9
## %bb.2:
	testl	%edx, %edx
	jns	LBB0_4
## %bb.3:
	movq	_HAVE_BACKWARD_PREFETCH@GOTPCREL(%rip), %rsi
	cmpq	$0, (%rsi)
	jne	LBB0_7
LBB0_4:
	testl	%edx, %edx
	js	LBB0_8
## %bb.5:
	movq	_HAVE_FORWARD_PREFETCH@GOTPCREL(%rip), %rdx
	cmpq	$0, (%rdx)
	je	LBB0_8
LBB0_7:
	movl	$1, (%rdi)
	popq	%rbp
	retq
LBB0_8:
	cltd
	idivl	%ecx
	movl	%eax, 4(%rdi)
LBB0_9:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PREFETCH_BLOCK,4,2             ## @PREFETCH_BLOCK
	.comm	_HAVE_BACKWARD_PREFETCH,8,3     ## @HAVE_BACKWARD_PREFETCH
	.comm	_HAVE_FORWARD_PREFETCH,8,3      ## @HAVE_FORWARD_PREFETCH
	.no_dead_strip	_prune_ref_by_self_reuse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prune_ref_by_self_reuse
_prune_ref_by_self_reuse:               ; @prune_ref_by_self_reuse
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
	ldr	w10, [x8]
	cbz	w10, LBB0_6
; %bb.1:
	cmp	w10, #0
	cneg	w8, w10, mi
Lloh0:
	adrp	x9, _PREFETCH_BLOCK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PREFETCH_BLOCK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.gt	LBB0_8
; %bb.2:
	tbz	w10, #31, LBB0_4
; %bb.3:
Lloh3:
	adrp	x11, _HAVE_BACKWARD_PREFETCH@GOTPAGE
Lloh4:
	ldr	x11, [x11, _HAVE_BACKWARD_PREFETCH@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
	cbnz	x11, LBB0_6
LBB0_4:
	tbnz	w10, #31, LBB0_7
; %bb.5:
Lloh6:
	adrp	x10, _HAVE_FORWARD_PREFETCH@GOTPAGE
Lloh7:
	ldr	x10, [x10, _HAVE_FORWARD_PREFETCH@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cbz	x10, LBB0_7
LBB0_6:
	mov	w8, #1
	str	w8, [x0]
	ret
LBB0_7:
	sdiv	w8, w9, w8
	str	w8, [x0, #4]
LBB0_8:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PREFETCH_BLOCK,4,2             ; @PREFETCH_BLOCK
	.comm	_HAVE_BACKWARD_PREFETCH,8,3     ; @HAVE_BACKWARD_PREFETCH
	.comm	_HAVE_FORWARD_PREFETCH,8,3      ; @HAVE_FORWARD_PREFETCH
	.no_dead_strip	_prune_ref_by_self_reuse
.subsections_via_symbols
