	.file	"extr_r300_cmdbuf.c_r300_check_range.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	r300_check_range, @function
r300_check_range:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, -1
	test	edi, -65536
	jne	.L1
	shr	edi, 2
	lea	eax, [rdi+rsi]
	cmp	edi, eax
	jnb	.L5
	mov	r8, QWORD PTR r300_reg_flags[rip]
	lea	ecx, -1[rsi]
	mov	rdx, QWORD PTR MARK_SAFE[rip]
	lea	rax, [r8+rdi*8]
	add	rdi, rcx
	lea	rcx, 8[r8+rdi*8]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L9:
	add	rax, 8
	cmp	rax, rcx
	je	.L5
.L3:
	cmp	QWORD PTR [rax], rdx
	je	.L9
	mov	eax, 1
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	xor	eax, eax
	ret
	.cfi_endproc
.LFE0:
	.size	r300_check_range, .-r300_check_range
	.comm	r300_reg_flags,8,8
	.comm	MARK_SAFE,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_r300_cmdbuf.c_r300_check_range.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	r300_check_range, %function
r300_check_range:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	lsr	r2, r0, #16
	lsl	r2, r2, #16
	cmp	r2, #0
	bne	.L4
	add	ip, r1, r0, lsr #2
	cmp	ip, r0, lsr #2
	lsr	r3, r0, #2
	bls	.L8
	ldr	r2, .L11
	ldr	r0, .L11+4
	ldr	r1, [r2]
	sub	r2, r3, #-1073741823
	ldr	r0, [r0]
	add	r2, r1, r2, lsl #2
	b	.L3
.L10:
	cmp	ip, r3
	bls	.L8
.L3:
	ldr	r1, [r2, #4]!
	add	r3, r3, #1
	cmp	r1, r0
	beq	.L10
	mov	r0, #1
	bx	lr
.L4:
	mvn	r0, #0
	bx	lr
.L8:
	mov	r0, #0
	bx	lr
.L12:
	.align	2
.L11:
	.word	r300_reg_flags
	.word	MARK_SAFE
	.size	r300_check_range, .-r300_check_range
	.comm	r300_reg_flags,4,4
	.comm	MARK_SAFE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
