	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function verify_bandwidth
_verify_bandwidth:                      ## @verify_bandwidth
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_VXGE_HW_MAX_VIRTUAL_PATHS@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	testl	%ecx, %ecx
	jle	LBB0_19
## %bb.1:
	movq	_bw_percentage@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%rdx,%rsi,4)
	je	LBB0_15
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_2
## %bb.4:
	movq	(%rax), %rdi
	movq	_VXGE_HW_VPATH_BANDWIDTH_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%esi, %esi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdi,%rsi,4), %ebx
	cmpl	$255, %ebx
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	addl	%ebx, %edx
	cmpl	%eax, %edx
	jg	LBB0_15
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_5
## %bb.8:
	movl	%ecx, %esi
LBB0_9:
	subl	%edx, %eax
	jle	LBB0_14
LBB0_10:
	cmpl	%esi, %ecx
	jle	LBB0_18
## %bb.11:
	subl	%esi, %ecx
	cltd
	idivl	%ecx
	cmpl	$2, %eax
	jl	LBB0_15
## %bb.12:
	movq	_bw_percentage@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%esi, %edx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	%eax, (%rcx,%rdx,4)
	incq	%rdx
	cmpl	%edx, (%r14)
	jg	LBB0_13
	jmp	LBB0_18
LBB0_19:
	movq	_VXGE_HW_VPATH_BANDWIDTH_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%esi, %esi
	xorl	%edx, %edx
	subl	%edx, %eax
	jg	LBB0_10
LBB0_14:
	cmpl	%esi, %ecx
	jle	LBB0_18
LBB0_15:
	movq	_VXGE_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_VXGE_DRIVER_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_vxge_debug_init
	movq	_VXGE_HW_VPATH_BANDWIDTH_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cltd
	idivl	(%r14)
	movq	_bw_percentage@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx)
	cmpl	$2, (%r14)
	jl	LBB0_18
## %bb.16:
	movl	$1, %edx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	%eax, (%rcx,%rdx,4)
	incq	%rdx
	movslq	(%r14), %rsi
	cmpq	%rsi, %rdx
	jl	LBB0_17
LBB0_18:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VXGE_HW_MAX_VIRTUAL_PATHS,4,2  ## @VXGE_HW_MAX_VIRTUAL_PATHS
	.comm	_bw_percentage,8,3              ## @bw_percentage
	.comm	_VXGE_HW_VPATH_BANDWIDTH_MAX,4,2 ## @VXGE_HW_VPATH_BANDWIDTH_MAX
	.comm	_VXGE_ERR,4,2                   ## @VXGE_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: Assigning equal bandwidth to all the vpaths"

	.comm	_VXGE_DRIVER_NAME,4,2           ## @VXGE_DRIVER_NAME
	.no_dead_strip	_verify_bandwidth
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function verify_bandwidth
_verify_bandwidth:                      ; @verify_bandwidth
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _VXGE_HW_MAX_VIRTUAL_PATHS@GOTPAGE
Lloh1:
	ldr	x19, [x19, _VXGE_HW_MAX_VIRTUAL_PATHS@GOTPAGEOFF]
	ldr	w8, [x19]
Lloh2:
	adrp	x20, _VXGE_HW_VPATH_BANDWIDTH_MAX@GOTPAGE
Lloh3:
	ldr	x20, [x20, _VXGE_HW_VPATH_BANDWIDTH_MAX@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.1:
Lloh4:
	adrp	x11, _bw_percentage@GOTPAGE
Lloh5:
	ldr	x11, [x11, _bw_percentage@GOTPAGEOFF]
	ldr	x9, [x11]
	mov	x10, x8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x9]
	cbz	w12, LBB0_16
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #4
	subs	x10, x10, #1
	b.ne	LBB0_2
; %bb.4:
	mov	x9, #0
	ldr	x12, [x11]
	ldr	w11, [x20]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x12, x9, lsl #2]
	cmp	w13, #255
	b.eq	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w10, w13, w10
	cmp	w10, w11
	b.gt	LBB0_16
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x9, x9, #1
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.8:
	mov	x9, x8
LBB0_9:
	subs	w10, w11, w10
	b.le	LBB0_15
LBB0_10:
	cmp	w8, w9
	b.le	LBB0_19
; %bb.11:
	sub	w8, w8, w9
	sdiv	w8, w10, w8
	cmp	w8, #2
	b.lt	LBB0_16
; %bb.12:
Lloh6:
	adrp	x10, _bw_percentage@GOTPAGE
Lloh7:
	ldr	x10, [x10, _bw_percentage@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	mov	w9, w9
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	str	w8, [x10, x9, lsl #2]
	add	x9, x9, #1
	ldr	w11, [x19]
	cmp	w11, w9
	b.gt	LBB0_13
	b	LBB0_19
LBB0_14:
	mov	w9, #0
	mov	w10, #0
	ldr	w11, [x20]
	subs	w10, w11, w10
	b.gt	LBB0_10
LBB0_15:
	cmp	w8, w9
	b.le	LBB0_19
LBB0_16:
Lloh9:
	adrp	x8, _VXGE_ERR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VXGE_ERR@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _VXGE_DRIVER_NAME@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VXGE_DRIVER_NAME@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	bl	_vxge_debug_init
	ldr	w8, [x20]
	ldr	w9, [x19]
	sdiv	w8, w8, w9
Lloh17:
	adrp	x9, _bw_percentage@GOTPAGE
Lloh18:
	ldr	x9, [x9, _bw_percentage@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	str	w8, [x9]
	ldr	w10, [x19]
	cmp	w10, #2
	b.lt	LBB0_19
; %bb.17:
	mov	w10, #1
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	str	w8, [x9, x10, lsl #2]
	add	x10, x10, #1
	ldrsw	x11, [x19]
	cmp	x10, x11
	b.lt	LBB0_18
LBB0_19:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_VXGE_HW_MAX_VIRTUAL_PATHS,4,2  ; @VXGE_HW_MAX_VIRTUAL_PATHS
	.comm	_bw_percentage,8,3              ; @bw_percentage
	.comm	_VXGE_HW_VPATH_BANDWIDTH_MAX,4,2 ; @VXGE_HW_VPATH_BANDWIDTH_MAX
	.comm	_VXGE_ERR,4,2                   ; @VXGE_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: Assigning equal bandwidth to all the vpaths"

	.comm	_VXGE_DRIVER_NAME,4,2           ; @VXGE_DRIVER_NAME
	.no_dead_strip	_verify_bandwidth
.subsections_via_symbols
