	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_max_channels
_ixgbe_max_channels:                    ## @ixgbe_max_channels
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	24(%rdi), %edi
	callq	_netdev_get_num_tc
	movl	%eax, %ecx
	movl	(%rbx), %edx
	movq	_IXGBE_FLAG_MSIX_ENABLED@GOTPCREL(%rip), %rsi
	movl	$1, %eax
	testl	%edx, (%rsi)
	je	LBB0_9
## %bb.1:
	movq	_IXGBE_FLAG_SRIOV_ENABLED@GOTPCREL(%rip), %rsi
	testl	%edx, (%rsi)
	jne	LBB0_9
## %bb.2:
	cmpl	$2, %ecx
	jl	LBB0_5
## %bb.3:
	movq	16(%rbx), %rdx
	movq	_ixgbe_mac_82598EB@GOTPCREL(%rip), %rsi
	movl	$4, %eax
	cmpq	(%rsi), %rdx
	je	LBB0_9
## %bb.4:
	xorl	%eax, %eax
	cmpl	$5, %ecx
	setb	%al
	leal	8(,%rax,8), %eax
	jmp	LBB0_9
LBB0_5:
	cmpq	$0, 8(%rbx)
	je	LBB0_7
## %bb.6:
	movq	_IXGBE_MAX_FDIR_INDICES@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_IXGBE_MAX_RSS_INDICES@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_FLAG_MSIX_ENABLED,4,2    ## @IXGBE_FLAG_MSIX_ENABLED
	.comm	_IXGBE_FLAG_SRIOV_ENABLED,4,2   ## @IXGBE_FLAG_SRIOV_ENABLED
	.comm	_ixgbe_mac_82598EB,8,3          ## @ixgbe_mac_82598EB
	.comm	_IXGBE_MAX_FDIR_INDICES,4,2     ## @IXGBE_MAX_FDIR_INDICES
	.comm	_IXGBE_MAX_RSS_INDICES,4,2      ## @IXGBE_MAX_RSS_INDICES
	.no_dead_strip	_ixgbe_max_channels
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_max_channels
_ixgbe_max_channels:                    ; @ixgbe_max_channels
	.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
	mov	x19, x0
	ldr	w0, [x0, #24]
	bl	_netdev_get_num_tc
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _IXGBE_FLAG_MSIX_ENABLED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IXGBE_FLAG_MSIX_ENABLED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _IXGBE_FLAG_SRIOV_ENABLED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IXGBE_FLAG_SRIOV_ENABLED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
LBB0_2:
	mov	w0, #1
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	cmp	w0, #2
	b.lt	LBB0_7
; %bb.5:
	ldr	x8, [x19, #16]
Lloh6:
	adrp	x9, _ixgbe_mac_82598EB@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ixgbe_mac_82598EB@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.6:
	mov	w0, #4
	b	LBB0_3
LBB0_7:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_10
; %bb.8:
Lloh9:
	adrp	x8, _IXGBE_MAX_FDIR_INDICES@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IXGBE_MAX_FDIR_INDICES@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:
	mov	w8, #16
	mov	w9, #8
	cmp	w0, #4
	csel	w0, w9, w8, hi
	b	LBB0_3
LBB0_10:
Lloh11:
	adrp	x8, _IXGBE_MAX_RSS_INDICES@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IXGBE_MAX_RSS_INDICES@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_FLAG_MSIX_ENABLED,4,2    ; @IXGBE_FLAG_MSIX_ENABLED
	.comm	_IXGBE_FLAG_SRIOV_ENABLED,4,2   ; @IXGBE_FLAG_SRIOV_ENABLED
	.comm	_ixgbe_mac_82598EB,8,3          ; @ixgbe_mac_82598EB
	.comm	_IXGBE_MAX_FDIR_INDICES,4,2     ; @IXGBE_MAX_FDIR_INDICES
	.comm	_IXGBE_MAX_RSS_INDICES,4,2      ; @IXGBE_MAX_RSS_INDICES
	.no_dead_strip	_ixgbe_max_channels
.subsections_via_symbols
