	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_vsi_config_netdev_tc
_i40e_vsi_config_netdev_tc:             ## @i40e_vsi_config_netdev_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	32(%rdi), %r14
	testq	%r14, %r14
	je	LBB0_12
## %bb.1:
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.2:
	movq	%rdi, %r15
	movq	24(%rdi), %rbx
	movl	16(%rdi), %esi
	movq	%r14, %rdi
	callq	_netdev_set_num_tc
	testq	%rax, %rax
	jne	LBB0_12
## %bb.3:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	_I40E_MAX_TRAFFIC_CLASS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_8
## %bb.4:
	movl	$12, %r13d
	xorl	%ebx, %ebx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	movq	_I40E_MAX_TRAFFIC_CLASS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$16, %r13
	cmpq	%rax, %rbx
	jge	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %r12d
	movl	%ebx, %edi
	callq	_BIT
	testl	%r12d, %eax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%r15), %rax
	movq	-12(%rax,%r13), %rsi
	movl	(%rax,%r13), %edx
	movl	-4(%rax,%r13), %ecx
	movq	%r14, %rdi
	callq	_netdev_set_tc_queue
	jmp	LBB0_7
LBB0_13:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netdev_reset_tc                ## TAILCALL
LBB0_8:
	movq	_I40E_FLAG_TC_MQPRIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	testl	%eax, (%r12)
	jne	LBB0_12
## %bb.9:
	movq	_I40E_MAX_USER_PRIORITY@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jle	LBB0_12
## %bb.10:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movq	(%rax,%rbx,8), %rax
	movq	8(%r15), %rcx
	shlq	$4, %rax
	movq	(%rcx,%rax), %rdx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_netdev_set_prio_tc_map
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_11
LBB0_12:
	addq	$8, %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
	.comm	_I40E_FLAG_TC_MQPRIO,4,2        ## @I40E_FLAG_TC_MQPRIO
	.comm	_I40E_MAX_USER_PRIORITY,4,2     ## @I40E_MAX_USER_PRIORITY
	.no_dead_strip	_i40e_vsi_config_netdev_tc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_vsi_config_netdev_tc
_i40e_vsi_config_netdev_tc:             ; @i40e_vsi_config_netdev_tc
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	x19, [x0, #32]
	cbz	x19, LBB0_12
; %bb.1:
	cbz	x1, LBB0_8
; %bb.2:
	mov	x20, x0
	ldr	x22, [x0, #24]
	ldr	w1, [x0, #16]
	mov	x0, x19
	bl	_netdev_set_num_tc
	cbnz	x0, LBB0_12
; %bb.3:
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_9
; %bb.4:
	mov	x24, #0
	mov	x21, #0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x23]
	add	x24, x24, #16
	cmp	x21, x8
	b.ge	LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w25, [x20]
	mov	x0, x21
	bl	_BIT
	tst	w0, w25
	b.eq	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20, #8]
	add	x8, x8, x24
	ldr	x1, [x8]
	ldp	w3, w2, [x8, #8]
	mov	x0, x19
	bl	_netdev_set_tc_queue
	b	LBB0_5
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_netdev_reset_tc
LBB0_9:
	ldr	w8, [x22]
Lloh2:
	adrp	x9, _I40E_FLAG_TC_MQPRIO@GOTPAGE
Lloh3:
	ldr	x9, [x9, _I40E_FLAG_TC_MQPRIO@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh5:
	adrp	x23, _I40E_MAX_USER_PRIORITY@GOTPAGE
Lloh6:
	ldr	x23, [x23, _I40E_MAX_USER_PRIORITY@GOTPAGEOFF]
	ldr	w9, [x23]
	cmp	w8, #0
	ccmp	w9, #1, #8, eq
	b.lt	LBB0_12
; %bb.10:
	mov	x21, #0
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #8]
	ldr	x8, [x8, x21, lsl #3]
	ldr	x9, [x20, #8]
	lsl	x8, x8, #4
	ldr	x2, [x9, x8]
	mov	x0, x19
	mov	x1, x21
	bl	_netdev_set_prio_tc_map
	add	x21, x21, #1
	ldrsw	x8, [x23]
	cmp	x21, x8
	b.lt	LBB0_11
LBB0_12:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_MAX_TRAFFIC_CLASS,4,2     ; @I40E_MAX_TRAFFIC_CLASS
	.comm	_I40E_FLAG_TC_MQPRIO,4,2        ; @I40E_FLAG_TC_MQPRIO
	.comm	_I40E_MAX_USER_PRIORITY,4,2     ; @I40E_MAX_USER_PRIORITY
	.no_dead_strip	_i40e_vsi_config_netdev_tc
.subsections_via_symbols
