	.file	"extr_tree-ssa-loop-prefetch.c_prune_ref_by_self_reuse.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	prune_ref_by_self_reuse, @function
prune_ref_by_self_reuse:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR 8[rdi]
	mov	ecx, DWORD PTR [rax]
	test	ecx, ecx
	je	.L5
	mov	eax, ecx
	sar	eax, 31
	mov	esi, eax
	xor	esi, ecx
	sub	esi, eax
	mov	eax, DWORD PTR PREFETCH_BLOCK[rip]
	cmp	esi, eax
	jg	.L1
	test	ecx, ecx
	js	.L8
	cmp	QWORD PTR HAVE_FORWARD_PREFETCH[rip], 0
	jne	.L5
.L6:
	cdq
	idiv	esi
	mov	DWORD PTR 4[rdi], eax
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	cmp	QWORD PTR HAVE_BACKWARD_PREFETCH[rip], 0
	je	.L6
.L5:
	mov	DWORD PTR [rdi], 1
	ret
	.cfi_endproc
.LFE0:
	.size	prune_ref_by_self_reuse, .-prune_ref_by_self_reuse
	.comm	PREFETCH_BLOCK,4,4
	.comm	HAVE_FORWARD_PREFETCH,8,8
	.comm	HAVE_BACKWARD_PREFETCH,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_tree-ssa-loop-prefetch.c_prune_ref_by_self_reuse.c"
	.text
	.global	__aeabi_idiv
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	prune_ref_by_self_reuse, %function
prune_ref_by_self_reuse:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #8]
	push	{r4, lr}
	ldr	r3, [r3]
	mov	r4, r0
	cmp	r3, #0
	beq	.L5
	ldr	r2, .L10
	eor	r1, r3, r3, asr #31
	ldr	r0, [r2]
	sub	r1, r1, r3, asr #31
	cmp	r1, r0
	popgt	{r4, pc}
	cmp	r3, #0
	blt	.L9
	ldr	r3, .L10+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L5
.L6:
	bl	__aeabi_idiv
	str	r0, [r4, #4]
	pop	{r4, pc}
.L9:
	ldr	r3, .L10+8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L6
.L5:
	mov	r3, #1
	str	r3, [r4]
	pop	{r4, pc}
.L11:
	.align	2
.L10:
	.word	PREFETCH_BLOCK
	.word	HAVE_FORWARD_PREFETCH
	.word	HAVE_BACKWARD_PREFETCH
	.size	prune_ref_by_self_reuse, .-prune_ref_by_self_reuse
	.comm	PREFETCH_BLOCK,4,4
	.comm	HAVE_FORWARD_PREFETCH,4,4
	.comm	HAVE_BACKWARD_PREFETCH,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
