	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_set_interrupt_capability
_ixgbe_set_interrupt_capability:        ## @ixgbe_set_interrupt_capability
	.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
	callq	_ixgbe_acquire_msix_vectors
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	cmpl	$2, (%rbx)
	jl	LBB0_5
## %bb.2:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_e_dev_warn
	movl	64(%rbx), %edi
	callq	_netdev_reset_tc
	movq	56(%rbx), %rax
	movq	_ixgbe_mac_82598EB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movl	40(%rbx), %eax
	movl	%eax, 48(%rbx)
LBB0_4:
	movq	_IXGBE_FLAG_DCB_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 8(%rbx)
	movl	$0, 36(%rbx)
	movl	$0, 24(%rbx)
LBB0_5:
	movl	$0, (%rbx)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 28(%rbx)
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_e_dev_warn
	movq	%rbx, %rdi
	callq	_ixgbe_disable_sriov
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_e_dev_warn
	movq	16(%rbx), %rax
	movq	_RING_F_RSS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	$1, (%rax,%rcx,4)
	movq	%rbx, %rdi
	callq	_ixgbe_set_num_queues
	movl	$1, 4(%rbx)
	movl	12(%rbx), %edi
	callq	_pci_enable_msi
	testl	%eax, %eax
	je	LBB0_6
## %bb.8:
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_e_dev_warn                     ## TAILCALL
LBB0_6:
	movq	_IXGBE_FLAG_MSI_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%rbx)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Number of DCB TCs exceeds number of available queues. Disabling DCB support.\n"

	.comm	_ixgbe_mac_82598EB,8,3          ## @ixgbe_mac_82598EB
	.comm	_IXGBE_FLAG_DCB_ENABLED,4,2     ## @IXGBE_FLAG_DCB_ENABLED
L_.str.1:                               ## @.str.1
	.asciz	"Disabling SR-IOV support\n"

L_.str.2:                               ## @.str.2
	.asciz	"Disabling RSS support\n"

	.comm	_RING_F_RSS,8,3                 ## @RING_F_RSS
L_.str.3:                               ## @.str.3
	.asciz	"Failed to allocate MSI interrupt, falling back to legacy. Error: %d\n"

	.comm	_IXGBE_FLAG_MSI_ENABLED,4,2     ## @IXGBE_FLAG_MSI_ENABLED
	.no_dead_strip	_ixgbe_set_interrupt_capability
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_set_interrupt_capability
_ixgbe_set_interrupt_capability:        ; @ixgbe_set_interrupt_capability
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	bl	_ixgbe_acquire_msix_vectors
	cbz	w0, LBB0_8
; %bb.1:
	ldr	w8, [x19]
	cmp	w8, #2
	b.lt	LBB0_5
; %bb.2:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_e_dev_warn
	ldr	w0, [x19, #64]
	bl	_netdev_reset_tc
	ldr	x8, [x19, #56]
Lloh2:
	adrp	x9, _ixgbe_mac_82598EB@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ixgbe_mac_82598EB@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	ldr	w8, [x19, #40]
	str	w8, [x19, #48]
LBB0_4:
Lloh5:
	adrp	x8, _IXGBE_FLAG_DCB_ENABLED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IXGBE_FLAG_DCB_ENABLED@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	bic	w8, w9, w8
	str	w8, [x19, #8]
	str	wzr, [x19, #36]
	str	wzr, [x19, #24]
LBB0_5:
	str	wzr, [x19]
	movi.2s	v0, #1
	stur	d0, [x19, #28]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_e_dev_warn
	mov	x0, x19
	bl	_ixgbe_disable_sriov
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_e_dev_warn
	ldr	x8, [x19, #16]
Lloh12:
	adrp	x9, _RING_F_RSS@GOTPAGE
Lloh13:
	ldr	x9, [x9, _RING_F_RSS@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	mov	w20, #1
	str	w20, [x8, x9, lsl #2]
	mov	x0, x19
	bl	_ixgbe_set_num_queues
	str	w20, [x19, #4]
	ldr	w0, [x19, #12]
	bl	_pci_enable_msi
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_7
; %bb.6:
	str	x0, [sp]
Lloh15:
	adrp	x0, l_.str.3@PAGE
Lloh16:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_e_dev_warn
	b	LBB0_8
LBB0_7:
Lloh17:
	adrp	x8, _IXGBE_FLAG_MSI_ENABLED@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IXGBE_FLAG_MSI_ENABLED@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Number of DCB TCs exceeds number of available queues. Disabling DCB support.\n"

	.comm	_ixgbe_mac_82598EB,8,3          ; @ixgbe_mac_82598EB
	.comm	_IXGBE_FLAG_DCB_ENABLED,4,2     ; @IXGBE_FLAG_DCB_ENABLED
l_.str.1:                               ; @.str.1
	.asciz	"Disabling SR-IOV support\n"

l_.str.2:                               ; @.str.2
	.asciz	"Disabling RSS support\n"

	.comm	_RING_F_RSS,8,3                 ; @RING_F_RSS
l_.str.3:                               ; @.str.3
	.asciz	"Failed to allocate MSI interrupt, falling back to legacy. Error: %d\n"

	.comm	_IXGBE_FLAG_MSI_ENABLED,4,2     ; @IXGBE_FLAG_MSI_ENABLED
	.no_dead_strip	_ixgbe_set_interrupt_capability
.subsections_via_symbols
