	.file	"extr_assoc.c_id_distance.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	id_distance, @function
id_distance:
.LFB0:
	.cfi_startproc
	endbr64
	mov	r9, rcx
	mov	ecx, DWORD PTR DISTANCE_INDEX_DISTANCE_BITS[rip]
	cmp	ecx, 8
	jle	.L4
	lea	r10d, -9[rcx]
	xor	edi, edi
	xor	esi, esi
	shr	r10d, 3
	mov	eax, r10d
	lea	r11, 4[0+rax*4]
	.p2align 4,,10
	.p2align 3
.L3:
	mov	eax, esi
	mov	esi, DWORD PTR [rdx+rdi]
	xor	esi, DWORD PTR [r9+rdi]
	add	rdi, 4
	mov	r8d, esi
	sal	eax, 8
	sar	r8d, 31
	xor	esi, r8d
	sub	esi, r8d
	or	esi, eax
	cmp	r11, rdi
	jne	.L3
	mov	eax, r10d
	add	r10d, 1
	neg	eax
	movsx	r10, r10d
	sal	r10, 2
	lea	ecx, -8[rcx+rax*8]
	add	rdx, r10
	add	r9, r10
	sal	esi, cl
.L2:
	mov	eax, DWORD PTR [rdx]
	mov	edx, 8
	xor	eax, DWORD PTR [r9]
	sub	edx, ecx
	mov	ecx, edx
	sar	eax, cl
	or	eax, esi
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	xor	esi, esi
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	id_distance, .-id_distance
	.comm	DISTANCE_INDEX_DISTANCE_BITS,4,4
	.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_assoc.c_id_distance.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	id_distance, %function
id_distance:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r1, .L8
	push	{r4, r5, r6, r7, lr}
	ldr	r5, [r1]
	mov	r0, #0
	cmp	r5, #8
	ble	.L2
	sub	r7, r5, #9
	lsr	r7, r7, #3
	add	r6, r2, r7, lsl #2
	sub	ip, r2, #4
	sub	lr, r3, #4
.L3:
	ldr	r1, [ip, #4]!
	ldr	r4, [lr, #4]!
	eor	r1, r1, r4
	cmp	r1, #0
	rsblt	r1, r1, #0
	cmp	r6, ip
	orr	r0, r1, r0, lsl #8
	bne	.L3
	rsb	r1, r7, r7, lsl #29
	sub	r5, r5, #8
	add	r7, r7, #1
	add	r5, r5, r1, lsl #3
	lsl	r0, r0, r5
	add	r2, r2, r7, lsl #2
	add	r3, r3, r7, lsl #2
.L2:
	ldr	r2, [r2]
	ldr	r3, [r3]
	rsb	r5, r5, #8
	eor	r3, r3, r2
	orr	r0, r0, r3, asr r5
	pop	{r4, r5, r6, r7, pc}
.L9:
	.align	2
.L8:
	.word	DISTANCE_INDEX_DISTANCE_BITS
	.size	id_distance, .-id_distance
	.comm	DISTANCE_INDEX_DISTANCE_BITS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
