	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40e_veb_config_tc             ## -- Begin function i40e_veb_config_tc
	.p2align	4, 0x90
_i40e_veb_config_tc:                    ## @i40e_veb_config_tc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	$0, -48(%rbp)
	xorl	%r12d, %r12d
	testl	%esi, %esi
	je	LBB0_10
## %bb.1:
	movl	%esi, %r13d
	movq	%rdi, %r15
	cmpl	%esi, (%rdi)
	je	LBB0_10
## %bb.2:
	movq	8(%r15), %r14
	movl	%r13d, -64(%rbp)
	movq	_I40E_MAX_TRAFFIC_CLASS@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_BIT
	testl	%r13d, %eax
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_4
LBB0_5:
	movl	4(%r15), %esi
	xorl	%r12d, %r12d
	leaq	-64(%rbp), %rdx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_i40e_aq_config_switch_comp_bw_config
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	leaq	L_.str(%rip), %r15
	jmp	LBB0_9
LBB0_7:
	movq	%r15, %rdi
	callq	_i40e_veb_get_bw_info
	testl	%eax, %eax
	je	LBB0_10
## %bb.8:
	leaq	L_.str.1(%rip), %r15
LBB0_9:
	movl	%eax, %r12d
	movq	8(%r14), %r13
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_i40e_stat_str
	movl	%eax, %ebx
	movl	(%r14), %esi
	movq	%r14, %rdi
	callq	_i40e_aq_str
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_dev_info
LBB0_10:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_MAX_TRAFFIC_CLASS,4,2     ## @I40E_MAX_TRAFFIC_CLASS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VEB bw config failed, err %s aq_err %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"Failed getting veb bw config, err %s aq_err %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40e_veb_config_tc             ; -- Begin function i40e_veb_config_tc
	.p2align	2
_i40e_veb_config_tc:                    ; @i40e_veb_config_tc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x1
	stp	xzr, xzr, [sp, #8]
	str	xzr, [sp, #24]
	cbz	w1, LBB0_11
; %bb.1:
	mov	x20, x0
	ldr	w8, [x0]
	cmp	w8, w21
	b.ne	LBB0_3
; %bb.2:
	mov	w21, #0
	b	LBB0_11
LBB0_3:
	ldr	x19, [x20, #8]
	str	w21, [sp, #8]
Lloh0:
	adrp	x23, _I40E_MAX_TRAFFIC_CLASS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _I40E_MAX_TRAFFIC_CLASS@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x22, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_BIT
	tst	w0, w21
	add	x22, x22, #1
	ldrsw	x8, [x23]
	cmp	x22, x8
	b.lt	LBB0_5
LBB0_6:
	ldr	w1, [x20, #4]
	add	x2, sp, #8
	mov	x0, x19
	mov	x3, #0
	bl	_i40e_aq_config_switch_comp_bw_config
	cbz	w0, LBB0_8
; %bb.7:
	mov	x21, x0
Lloh2:
	adrp	x20, l_.str@PAGE
Lloh3:
	add	x20, x20, l_.str@PAGEOFF
	b	LBB0_10
LBB0_8:
	mov	x0, x20
	bl	_i40e_veb_get_bw_info
	mov	x21, x0
	cbz	w0, LBB0_11
; %bb.9:
Lloh4:
	adrp	x20, l_.str.1@PAGE
Lloh5:
	add	x20, x20, l_.str.1@PAGEOFF
LBB0_10:
	ldr	x22, [x19, #8]
	mov	x0, x19
	mov	x1, x21
	bl	_i40e_stat_str
	mov	x23, x0
	ldr	w1, [x19]
	mov	x0, x19
	bl	_i40e_aq_str
	mov	x3, x0
	mov	x0, x22
	mov	x1, x20
	mov	x2, x23
	bl	_dev_info
LBB0_11:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_MAX_TRAFFIC_CLASS,4,2     ; @I40E_MAX_TRAFFIC_CLASS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VEB bw config failed, err %s aq_err %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"Failed getting veb bw config, err %s aq_err %s\n"

.subsections_via_symbols
