	.file	"extr_vxge-main.c_verify_bandwidth.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"%s: Assigning equal bandwidth to all the vpaths"
	.text
	.p2align 4
	.type	verify_bandwidth, @function
verify_bandwidth:
.LFB0:
	.cfi_startproc
	endbr64
	mov	r11d, DWORD PTR VXGE_HW_MAX_VIRTUAL_PATHS[rip]
	test	r11d, r11d
	jle	.L15
	mov	r8, QWORD PTR bw_percentage[rip]
	lea	r10d, -1[r11]
	mov	rax, r8
	lea	rdx, 4[r8+r10*4]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L19:
	add	rax, 4
	cmp	rax, rdx
	je	.L18
.L4:
	mov	ecx, DWORD PTR [rax]
	test	ecx, ecx
	jne	.L19
.L3:
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	edx, DWORD PTR VXGE_DRIVER_NAME[rip]
	mov	edi, DWORD PTR VXGE_ERR[rip]
	lea	rsi, .LC0[rip]
	call	vxge_debug_init@PLT
	mov	eax, DWORD PTR VXGE_HW_VPATH_BANDWIDTH_MAX[rip]
	mov	rsi, QWORD PTR bw_percentage[rip]
	cdq
	idiv	DWORD PTR VXGE_HW_MAX_VIRTUAL_PATHS[rip]
	mov	DWORD PTR [rsi], eax
	cmp	DWORD PTR VXGE_HW_MAX_VIRTUAL_PATHS[rip], 1
	jle	.L1
	mov	ecx, 1
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L20:
	mov	eax, DWORD PTR [rsi]
.L9:
	mov	DWORD PTR [rsi+rcx*4], eax
	add	rcx, 1
	cmp	DWORD PTR VXGE_HW_MAX_VIRTUAL_PATHS[rip], ecx
	jg	.L20
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	mov	eax, DWORD PTR VXGE_HW_VPATH_BANDWIDTH_MAX[rip]
	xor	edx, edx
	xor	ecx, ecx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L22:
	add	ecx, esi
	cmp	eax, ecx
	jl	.L3
	add	edi, 1
	lea	rsi, 1[rdx]
	cmp	r10, rdx
	je	.L21
	mov	rdx, rsi
.L6:
	mov	esi, DWORD PTR [r8+rdx*4]
	movsx	r9, edx
	mov	edi, edx
	cmp	esi, 255
	jne	.L22
	cmp	eax, ecx
	jg	.L10
.L7:
	cmp	edi, r11d
	jl	.L3
.L15:
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	cmp	r11d, r9d
	jle	.L15
	sub	eax, ecx
	sub	r11d, r9d
	cdq
	idiv	r11d
	cmp	eax, 1
	jle	.L3
	.p2align 4,,10
	.p2align 3
.L8:
	mov	DWORD PTR [r8+r9*4], eax
	add	r9, 1
	cmp	DWORD PTR VXGE_HW_MAX_VIRTUAL_PATHS[rip], r9d
	jg	.L8
	ret
	.p2align 4,,10
	.p2align 3
.L21:
	cmp	eax, ecx
	jle	.L7
	ret
	.cfi_endproc
.LFE0:
	.size	verify_bandwidth, .-verify_bandwidth
	.comm	bw_percentage,8,8
	.comm	VXGE_HW_VPATH_BANDWIDTH_MAX,4,4
	.comm	VXGE_HW_MAX_VIRTUAL_PATHS,4,4
	.comm	VXGE_ERR,4,4
	.comm	VXGE_DRIVER_NAME,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_vxge-main.c_verify_bandwidth.c"
	.text
	.global	__aeabi_idiv
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s: Assigning equal bandwidth to all the vpaths\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	verify_bandwidth, %function
verify_bandwidth:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r5, .L25
	ldr	r1, [r5]
	cmp	r1, #0
	pople	{r4, r5, r6, r7, r8, pc}
	ldr	r6, .L25+4
	mov	r3, #0
	ldr	r7, [r6]
	sub	ip, r7, #4
	mov	r2, ip
	b	.L4
.L16:
	cmp	r3, r1
	beq	.L22
.L4:
	ldr	r0, [r2, #4]!
	add	r3, r3, #1
	cmp	r0, #0
	bne	.L16
	ldr	r8, .L25+8
.L3:
	ldr	r3, .L25+12
	ldr	r2, .L25+16
	ldr	r0, [r3]
	ldr	r2, [r2]
	ldr	r1, .L25+20
	bl	vxge_debug_init
	ldr	r0, [r8]
	ldr	r1, [r5]
	bl	__aeabi_idiv
	ldr	ip, [r6]
	str	r0, [ip]
	ldr	r3, [r5]
	cmp	r3, #1
	pople	{r4, r5, r6, r7, r8, pc}
	mov	r2, ip
	mov	r3, #1
.L8:
	str	r0, [r2, #4]!
	ldr	r1, [r5]
	add	r3, r3, #1
	cmp	r1, r3
	pople	{r4, r5, r6, r7, r8, pc}
	ldr	r0, [ip]
	b	.L8
.L22:
	mov	r3, #0
	ldr	r8, .L25+8
	mov	r4, r3
	ldr	r0, [r8]
	b	.L6
.L23:
	add	r3, r3, r2
	cmp	r0, r3
	add	r4, r4, #1
	blt	.L3
	cmp	r1, r4
	popeq	{r4, r5, r6, r7, r8, pc}
.L6:
	ldr	r2, [ip, #4]!
	cmp	r2, #255
	bne	.L23
	cmp	r0, r3
	ble	.L24
	cmp	r1, r4
	pople	{r4, r5, r6, r7, r8, pc}
	sub	r1, r1, r4
	sub	r0, r0, r3
	bl	__aeabi_idiv
	cmp	r0, #1
	ble	.L3
	sub	r3, r4, #-1073741823
	add	r7, r7, r3, lsl #2
.L7:
	str	r0, [r7, #4]!
	ldr	r3, [r5]
	add	r4, r4, #1
	cmp	r3, r4
	bgt	.L7
	pop	{r4, r5, r6, r7, r8, pc}
.L24:
	cmp	r1, r4
	bgt	.L3
	pop	{r4, r5, r6, r7, r8, pc}
.L26:
	.align	2
.L25:
	.word	VXGE_HW_MAX_VIRTUAL_PATHS
	.word	bw_percentage
	.word	VXGE_HW_VPATH_BANDWIDTH_MAX
	.word	VXGE_ERR
	.word	VXGE_DRIVER_NAME
	.word	.LC0
	.size	verify_bandwidth, .-verify_bandwidth
	.comm	bw_percentage,4,4
	.comm	VXGE_HW_VPATH_BANDWIDTH_MAX,4,4
	.comm	VXGE_HW_MAX_VIRTUAL_PATHS,4,4
	.comm	VXGE_ERR,4,4
	.comm	VXGE_DRIVER_NAME,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
