	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_pf_get_num_tc
_i40e_pf_get_num_tc:                    ## @i40e_pf_get_num_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %eax
	movq	_I40E_FLAG_TC_MQPRIO@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	8(%rdi), %rax
	movq	32(%rdi), %rcx
	movq	(%rcx,%rax,8), %rax
	movl	(%rax), %r15d
LBB0_9:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_I40E_FLAG_DCB_ENABLED@GOTPCREL(%rip), %rcx
	movl	$1, %r15d
	testl	%eax, (%rcx)
	je	LBB0_9
## %bb.3:
	movq	_I40E_FLAG_MFP_ENABLED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_10
## %bb.4:
	cmpq	$0, 16(%rdi)
	je	LBB0_9
## %bb.5:
	callq	_i40e_get_iscsi_tc_map
	movq	_I40E_MAX_TRAFFIC_CLASS@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_6
## %bb.7:
	movl	%eax, %r14d
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_BIT
	andl	%r14d, %eax
	cmpl	$1, %eax
	sbbl	$-1, %r15d
	incl	%ebx
	cmpl	(%r12), %ebx
	jl	LBB0_8
	jmp	LBB0_9
LBB0_10:
	addq	$24, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_i40e_dcb_get_num_tc            ## TAILCALL
LBB0_6:
	xorl	%r15d, %r15d
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_FLAG_TC_MQPRIO,4,2        ## @I40E_FLAG_TC_MQPRIO
	.comm	_I40E_FLAG_DCB_ENABLED,4,2      ## @I40E_FLAG_DCB_ENABLED
	.comm	_I40E_FLAG_MFP_ENABLED,4,2      ## @I40E_FLAG_MFP_ENABLED
	.comm	_I40E_MAX_TRAFFIC_CLASS,4,2     ## @I40E_MAX_TRAFFIC_CLASS
	.no_dead_strip	_i40e_pf_get_num_tc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_pf_get_num_tc
_i40e_pf_get_num_tc:                    ; @i40e_pf_get_num_tc
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x8, x0
	ldr	w9, [x8], #24
Lloh0:
	adrp	x10, _I40E_FLAG_TC_MQPRIO@GOTPAGE
Lloh1:
	ldr	x10, [x10, _I40E_FLAG_TC_MQPRIO@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x0, #32]
	ldr	x9, [x0, #8]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w19, [x8]
	b	LBB0_9
LBB0_2:
Lloh3:
	adrp	x10, _I40E_FLAG_DCB_ENABLED@GOTPAGE
Lloh4:
	ldr	x10, [x10, _I40E_FLAG_DCB_ENABLED@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_8
; %bb.3:
Lloh6:
	adrp	x10, _I40E_FLAG_MFP_ENABLED@GOTPAGE
Lloh7:
	ldr	x10, [x10, _I40E_FLAG_MFP_ENABLED@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_10
; %bb.4:
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_8
; %bb.5:
	bl	_i40e_get_iscsi_tc_map
Lloh9:
	adrp	x22, _I40E_MAX_TRAFFIC_CLASS@GOTPAGE
Lloh10:
	ldr	x22, [x22, _I40E_MAX_TRAFFIC_CLASS@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.6:
	mov	x20, x0
	mov	w19, #0
	mov	w21, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_BIT
	tst	w0, w20
	cinc	w19, w19, ne
	add	w21, w21, #1
	ldr	w8, [x22]
	cmp	w21, w8
	b.lt	LBB0_7
	b	LBB0_9
LBB0_8:
	mov	w19, #1
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_10:
	mov	x0, x8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_i40e_dcb_get_num_tc
LBB0_11:
	mov	w19, #0
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_FLAG_TC_MQPRIO,4,2        ; @I40E_FLAG_TC_MQPRIO
	.comm	_I40E_FLAG_DCB_ENABLED,4,2      ; @I40E_FLAG_DCB_ENABLED
	.comm	_I40E_FLAG_MFP_ENABLED,4,2      ; @I40E_FLAG_MFP_ENABLED
	.comm	_I40E_MAX_TRAFFIC_CLASS,4,2     ; @I40E_MAX_TRAFFIC_CLASS
	.no_dead_strip	_i40e_pf_get_num_tc
.subsections_via_symbols
