	.file	"extr_test.c_item_full_scan.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	item_full_scan
	.type	item_full_scan, @function
item_full_scan:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movsx	rax, ecx
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 56
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -68[rbp], eax
	lea	rax, 15[0+rax*8]
	mov	QWORD PTR -96[rbp], rdx
	mov	rcx, rsp
	mov	rdx, rax
	and	rax, -4096
	mov	QWORD PTR -80[rbp], rdi
	sub	rcx, rax
	and	rdx, -16
	mov	QWORD PTR -88[rbp], rsi
	mov	rax, rcx
	mov	rsi, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rsi
	xor	esi, esi
	cmp	rsp, rax
	je	.L3
.L21:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L21
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L22
.L4:
	mov	rbx, QWORD PTR -88[rbp]
	mov	r13, rsp
	xor	r12d, r12d
	.p2align 4,,10
	.p2align 3
.L5:
	mov	ecx, DWORD PTR -68[rbp]
	mov	rdi, QWORD PTR -80[rbp]
	mov	rdx, r12
	mov	rsi, r13
	call	radix_tree_gang_lookup@PLT
	test	eax, eax
	je	.L7
	mov	r12, rbx
	jle	.L9
	lea	r12d, -1[rax]
	mov	rax, rbx
	lea	r14, 1[rbx]
	neg	rax
	add	r12, r14
	lea	r15, 0[r13+rax*8]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L23:
	add	r14, 1
.L6:
	mov	rax, QWORD PTR [r15+rbx*8]
	xor	edi, edi
	cmp	QWORD PTR [rax], rbx
	mov	rbx, r14
	sete	dil
	call	assert@PLT
	cmp	r14, r12
	jne	.L23
.L9:
	mov	rbx, r12
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L7:
	mov	eax, DWORD PTR -68[rbp]
	test	eax, eax
	jne	.L24
.L10:
	mov	ecx, DWORD PTR -68[rbp]
	mov	rdi, QWORD PTR -80[rbp]
	mov	rdx, rbx
	mov	rsi, r13
	call	radix_tree_gang_lookup@PLT
	xor	edi, edi
	test	eax, eax
	sete	dil
	call	assert@PLT
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L25
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L24:
	.cfi_restore_state
	mov	rax, QWORD PTR -88[rbp]
	add	rax, QWORD PTR -96[rbp]
	xor	edi, edi
	cmp	rax, rbx
	sete	dil
	call	assert@PLT
	jmp	.L10
.L22:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L25:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	item_full_scan, .-item_full_scan
	.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_test.c_item_full_scan.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	item_full_scan
	.syntax unified
	.arm
	.fpu softvfp
	.type	item_full_scan, %function
item_full_scan:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #20
	mov	r7, r3
	lsl	r3, r3, #2
	add	r3, r3, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	ldr	r3, .L17
	str	r2, [fp, #-48]
	mov	r9, r1
	mov	r8, r0
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	mov	r6, sp
	mov	r4, r1
	mov	r5, #0
.L2:
	mov	r2, r5
	mov	r3, r7
	mov	r1, r6
	mov	r0, r8
	bl	radix_tree_gang_lookup
	cmp	r0, #0
	beq	.L4
	movle	r5, r4
	ble	.L6
	add	r5, r0, r4
	sub	r10, r6, #4
.L3:
	ldr	r2, [r10, #4]!
	ldr	r0, [r2]
	sub	r0, r0, r4
	clz	r0, r0
	add	r4, r4, #1
	lsr	r0, r0, #5
	bl	assert
	cmp	r4, r5
	bne	.L3
.L6:
	mov	r4, r5
	b	.L2
.L4:
	cmp	r7, #0
	bne	.L15
.L7:
	mov	r3, r7
	mov	r2, r4
	mov	r1, r6
	mov	r0, r8
	bl	radix_tree_gang_lookup
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L15:
	ldr	r3, [fp, #-48]
	add	r0, r9, r3
	sub	r0, r0, r4
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	b	.L7
.L16:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	.LC0
	.size	item_full_scan, .-item_full_scan
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
