	.file	"extr_mlx4_icm.c_mlx4_table_get_range.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	mlx4_table_get_range
	.type	mlx4_table_get_range, @function
mlx4_table_get_range:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	mov	rsi, rdx
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	eax, DWORD PTR MLX4_TABLE_CHUNK_SIZE[rip]
	mov	QWORD PTR [rsp], rdx
	cdq
	idiv	DWORD PTR [rbx]
	mov	DWORD PTR 12[rsp], eax
	cmp	rsi, rcx
	jg	.L6
	mov	rbp, rdi
	mov	r12, rcx
	mov	r13, rsi
	movsx	r14, eax
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	add	r13, r14
	cmp	r12, r13
	jl	.L6
.L2:
	mov	ecx, DWORD PTR GFP_KERNEL[rip]
	mov	rdx, r13
	mov	rsi, rbx
	mov	rdi, rbp
	call	mlx4_table_get@PLT
	mov	r15d, eax
	test	eax, eax
	je	.L4
	movsx	r12, DWORD PTR 12[rsp]
	cmp	QWORD PTR [rsp], r13
	jge	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	sub	r13, r12
	mov	rsi, rbx
	mov	rdi, rbp
	mov	rdx, r13
	call	mlx4_table_put@PLT
	cmp	QWORD PTR [rsp], r13
	jl	.L7
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	xor	r15d, r15d
.L1:
	add	rsp, 24
	.cfi_def_cfa_offset 56
	mov	eax, r15d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	mlx4_table_get_range, .-mlx4_table_get_range
	.comm	MLX4_TABLE_CHUNK_SIZE,4,4
	.comm	GFP_KERNEL,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_mlx4_icm.c_mlx4_table_get_range.c"
	.text
	.global	__aeabi_idiv
	.align	2
	.global	mlx4_table_get_range
	.syntax unified
	.arm
	.fpu softvfp
	.type	mlx4_table_get_range, %function
mlx4_table_get_range:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r10, r2
	mov	r8, r3
	mov	r6, r0
	ldr	r0, .L13
	mov	r5, r1
	ldr	r0, [r0]
	ldr	r1, [r1]
	bl	__aeabi_idiv
	cmp	r10, r8
	bgt	.L2
	mov	r7, r0
	mov	r4, r10
	ldr	r9, .L13+4
	b	.L6
.L3:
	add	r4, r4, r7
	cmp	r8, r4
	blt	.L2
.L6:
	mov	r2, r4
	mov	r1, r5
	mov	r0, r6
	ldr	r3, [r9]
	bl	mlx4_table_get
	subs	fp, r0, #0
	beq	.L3
	b	.L11
.L4:
	sub	r4, r4, r7
	mov	r2, r4
	mov	r1, r5
	mov	r0, r6
	bl	mlx4_table_put
.L11:
	cmp	r10, r4
	blt	.L4
	mov	r0, fp
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	mov	fp, #0
	mov	r0, fp
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L14:
	.align	2
.L13:
	.word	MLX4_TABLE_CHUNK_SIZE
	.word	GFP_KERNEL
	.size	mlx4_table_get_range, .-mlx4_table_get_range
	.comm	MLX4_TABLE_CHUNK_SIZE,4,4
	.comm	GFP_KERNEL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
