	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efx_probe_interrupts
_efx_probe_interrupts:                  ## @efx_probe_interrupts
	.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
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_EFX_MAX_EXTRA_CHANNELS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	40(%r14), %rcx
	cmpl	$4, %eax
	jae	LBB0_4
## %bb.3:
	xorl	%edx, %edx
	xorl	%r15d, %r15d
	jmp	LBB0_11
LBB0_1:
	xorl	%r15d, %r15d
	jmp	LBB0_12
LBB0_4:
	movl	%eax, %edx
	andl	$-4, %edx
	leaq	-4(%rdx), %rsi
	movq	%rsi, %rbx
	shrq	$2, %rbx
	incq	%rbx
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.6:
	movq	%rbx, %rsi
	andq	$-2, %rsi
	pxor	%xmm2, %xmm2
	xorl	%edi, %edi
	pcmpeqd	%xmm3, %xmm3
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%rcx,%rdi,8), %xmm4
	movdqu	16(%rcx,%rdi,8), %xmm5
	movdqu	32(%rcx,%rdi,8), %xmm6
	movdqu	48(%rcx,%rdi,8), %xmm7
	pcmpeqq	%xmm2, %xmm4
	pshufd	$232, %xmm4, %xmm4              ## xmm4 = xmm4[0,2,2,3]
	paddd	%xmm0, %xmm4
	pcmpeqq	%xmm2, %xmm5
	pshufd	$232, %xmm5, %xmm5              ## xmm5 = xmm5[0,2,2,3]
	paddd	%xmm1, %xmm5
	pcmpeqq	%xmm2, %xmm6
	pshufd	$232, %xmm6, %xmm0              ## xmm0 = xmm6[0,2,2,3]
	paddd	%xmm4, %xmm0
	pcmpeqq	%xmm2, %xmm7
	pshufd	$232, %xmm7, %xmm1              ## xmm1 = xmm7[0,2,2,3]
	paddd	%xmm5, %xmm1
	psubd	%xmm3, %xmm0
	psubd	%xmm3, %xmm0
	psubd	%xmm3, %xmm1
	psubd	%xmm3, %xmm1
	addq	$8, %rdi
	addq	$-2, %rsi
	jne	LBB0_7
## %bb.8:
	testb	$1, %bl
	je	LBB0_10
LBB0_9:
	movdqu	(%rcx,%rdi,8), %xmm2
	movdqu	16(%rcx,%rdi,8), %xmm3
	pxor	%xmm4, %xmm4
	pcmpeqq	%xmm4, %xmm2
	pshufd	$232, %xmm2, %xmm2              ## xmm2 = xmm2[0,2,2,3]
	paddd	%xmm2, %xmm0
	pcmpeqq	%xmm4, %xmm3
	pshufd	$232, %xmm3, %xmm2              ## xmm2 = xmm3[0,2,2,3]
	paddd	%xmm2, %xmm1
	pcmpeqd	%xmm2, %xmm2
	psubd	%xmm2, %xmm0
	psubd	%xmm2, %xmm1
LBB0_10:
	paddd	%xmm1, %xmm0
	pshufd	$85, %xmm0, %xmm1               ## xmm1 = xmm0[1,1,1,1]
	paddd	%xmm0, %xmm1
	movd	%xmm1, %r15d
	cmpq	%rax, %rdx
	je	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$1, (%rcx,%rdx,8)
	sbbl	$-1, %r15d
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_11
LBB0_12:
	movq	(%r14), %rax
	movq	_EFX_INT_MODE_MSIX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_33
## %bb.13:
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	movq	_EFX_MAX_CHANNELS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	%r14, %rdi
	callq	_efx_wanted_parallelism
                                        ## kill: def $eax killed $eax def $rax
	movq	_efx_separate_tx_channels@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	setne	%cl
	shll	%cl, %eax
	leal	(%rax,%r15), %edi
	movl	68(%r14), %esi
	callq	_min
	movq	%rax, %rbx
	testl	%ebx, %ebx
	je	LBB0_20
## %bb.14:
	movl	%ebx, %edx
	leaq	-1(%rdx), %rcx
	movl	%ebx, %eax
	andl	$7, %eax
	cmpq	$7, %rcx
	jae	LBB0_16
## %bb.15:
	xorl	%ecx, %ecx
	jmp	LBB0_18
LBB0_16:
	subq	%rax, %rdx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	%ecx, (%r13,%rcx,8)
	leal	1(%rcx), %esi
	movl	%esi, 8(%r13,%rcx,8)
	leal	2(%rcx), %esi
	movl	%esi, 16(%r13,%rcx,8)
	leal	3(%rcx), %esi
	movl	%esi, 24(%r13,%rcx,8)
	leal	4(%rcx), %esi
	movl	%esi, 32(%r13,%rcx,8)
	leal	5(%rcx), %esi
	movl	%esi, 40(%r13,%rcx,8)
	leal	6(%rcx), %esi
	movl	%esi, 48(%r13,%rcx,8)
	leal	7(%rcx), %esi
	movl	%esi, 56(%r13,%rcx,8)
	addq	$8, %rcx
	cmpq	%rdx, %rcx
	jne	LBB0_17
LBB0_18:
	testq	%rax, %rax
	je	LBB0_20
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movl	%ecx, (%r13,%rcx,8)
	incq	%rcx
	decq	%rax
	jne	LBB0_19
LBB0_20:
	movq	48(%r14), %rdi
	movq	%r13, %rsi
	movl	$1, %edx
	movl	%ebx, %ecx
	callq	_pci_enable_msix_range
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_21
## %bb.23:
	cmpl	%ebx, %r12d
	jae	LBB0_25
## %bb.24:
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	60(%r14), %edx
	leaq	L_.str.1(%rip), %rcx
	movq	%r14, %rdi
	movl	%r12d, %r8d
	movl	%ebx, %r9d
	xorl	%eax, %eax
	callq	_netif_err
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	60(%r14), %edx
	leaq	L_.str.2(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_netif_err
	movl	%r12d, %ebx
LBB0_25:
	testl	%r12d, %r12d
	je	LBB0_32
## %bb.26:
	xorl	%eax, %eax
	cmpl	%r15d, %ebx
	cmoval	%r15d, %eax
	movl	%ebx, 8(%r14)
	subl	%eax, %ebx
	movq	_efx_separate_tx_channels@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_28
## %bb.27:
	movl	%ebx, %edi
	shrl	%edi
	movl	$1, %esi
	callq	_max
	movl	64(%r14), %esi
	movl	%eax, %edi
	callq	_min
	movl	%eax, 12(%r14)
	subl	%eax, %ebx
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_max
	movl	%eax, %ebx
	jmp	LBB0_29
LBB0_21:
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	60(%r14), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_netif_err
	movq	24(%r14), %rcx
	movq	_EFX_INT_MODE_MSI@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, (%rcx)
	jge	LBB0_22
## %bb.50:
	movq	-56(%rbp), %rsp                 ## 8-byte Reload
	jmp	LBB0_51
LBB0_5:
	pxor	%xmm0, %xmm0
	xorl	%edi, %edi
	pxor	%xmm1, %xmm1
	testb	$1, %bl
	jne	LBB0_9
	jmp	LBB0_10
LBB0_22:
	movq	%rax, (%r14)
	jmp	LBB0_32
LBB0_28:
	movl	64(%r14), %esi
	movl	%ebx, %edi
	callq	_min
	movl	%eax, 12(%r14)
LBB0_29:
	movl	%ebx, 16(%r14)
	cmpl	$0, 8(%r14)
	je	LBB0_32
## %bb.30:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movl	4(%r13,%rbx,8), %r12d
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_efx_get_channel
	movl	%r12d, 8(%rax)
	incq	%rbx
	movl	8(%r14), %eax
	cmpq	%rax, %rbx
	jb	LBB0_31
LBB0_32:
	movq	-56(%rbp), %rsp                 ## 8-byte Reload
	movq	(%r14), %rax
LBB0_33:
	movq	_EFX_INT_MODE_MSI@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_38
## %bb.34:
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 8(%r14)
	movl	$1, 16(%r14)
	movq	48(%r14), %rdi
	callq	_pci_enable_msi
	testl	%eax, %eax
	je	LBB0_35
## %bb.36:
	movl	%eax, %r12d
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	60(%r14), %edx
	leaq	L_.str.3(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_netif_err
	movq	24(%r14), %rcx
	movq	_EFX_INT_MODE_LEGACY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, (%rcx)
	jl	LBB0_51
## %bb.37:
	movq	%rax, (%r14)
	jmp	LBB0_38
LBB0_35:
	movq	48(%r14), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_efx_get_channel
	movl	%ebx, 8(%rax)
	movq	(%r14), %rax
LBB0_38:
	movq	_EFX_INT_MODE_LEGACY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_40
## %bb.39:
	movq	_efx_separate_tx_channels@GOTPCREL(%rip), %rax
	cmpq	$1, (%rax)
	movl	$2, %eax
	sbbl	$0, %eax
	movl	%eax, 8(%r14)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 12(%r14)
	movq	48(%r14), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%r14)
LBB0_40:
	movq	$0, 32(%r14)
	movq	_EFX_MAX_EXTRA_CHANNELS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_49
## %bb.41:
	movl	8(%r14), %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_42
	.p2align	4, 0x90
LBB0_45:                                ##   in Loop: Header=BB0_42 Depth=1
	movq	%r14, %rdi
	callq	*(%r13)
LBB0_48:                                ##   in Loop: Header=BB0_42 Depth=1
	incq	%rbx
	movq	_EFX_MAX_EXTRA_CHANNELS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpq	%rax, %rbx
	jae	LBB0_49
LBB0_42:                                ## =>This Inner Loop Header: Depth=1
	movq	40(%r14), %rax
	movq	(%rax,%rbx,8), %r13
	testq	%r13, %r13
	je	LBB0_48
## %bb.43:                              ##   in Loop: Header=BB0_42 Depth=1
	movq	(%r14), %rax
	movq	_EFX_INT_MODE_MSIX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_45
## %bb.44:                              ##   in Loop: Header=BB0_42 Depth=1
	cmpl	%r15d, 8(%r14)
	jbe	LBB0_45
## %bb.46:                              ##   in Loop: Header=BB0_42 Depth=1
	decl	%r12d
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_efx_get_channel
	movq	%r13, (%rax)
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_efx_get_channel
	movq	%rax, %rdi
	callq	_efx_channel_has_tx_queues
	testq	%rax, %rax
	je	LBB0_48
## %bb.47:                              ##   in Loop: Header=BB0_42 Depth=1
	incq	32(%r14)
	jmp	LBB0_48
LBB0_49:
	movl	16(%r14), %eax
	movl	%eax, 20(%r14)
	xorl	%r12d, %r12d
LBB0_51:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_53
## %bb.52:
	movl	%r12d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_53:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EFX_MAX_EXTRA_CHANNELS,4,2     ## @EFX_MAX_EXTRA_CHANNELS
	.comm	_EFX_INT_MODE_MSIX,8,3          ## @EFX_INT_MODE_MSIX
	.comm	_EFX_MAX_CHANNELS,4,2           ## @EFX_MAX_CHANNELS
	.comm	_efx_separate_tx_channels,8,3   ## @efx_separate_tx_channels
	.comm	_drv,4,2                        ## @drv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not enable MSI-X\n"

	.comm	_EFX_INT_MODE_MSI,8,3           ## @EFX_INT_MODE_MSI
L_.str.1:                               ## @.str.1
	.asciz	"WARNING: Insufficient MSI-X vectors available (%d < %u).\n"

L_.str.2:                               ## @.str.2
	.asciz	"WARNING: Performance may be reduced.\n"

L_.str.3:                               ## @.str.3
	.asciz	"could not enable MSI\n"

	.comm	_EFX_INT_MODE_LEGACY,8,3        ## @EFX_INT_MODE_LEGACY
	.no_dead_strip	_efx_probe_interrupts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efx_probe_interrupts
_efx_probe_interrupts:                  ; @efx_probe_interrupts
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x23, _EFX_MAX_EXTRA_CHANNELS@GOTPAGE
Lloh4:
	ldr	x23, [x23, _EFX_MAX_EXTRA_CHANNELS@GOTPAGEOFF]
	ldr	w8, [x23]
	cbz	w8, LBB0_3
; %bb.1:
	ldr	x9, [x19, #40]
	cmp	w8, #8
	b.hs	LBB0_4
; %bb.2:
	mov	x10, #0
	mov	w24, #0
	b	LBB0_7
LBB0_3:
	mov	w24, #0
	b	LBB0_9
LBB0_4:
	and	x10, x8, #0xfffffff8
	movi.2d	v0, #0000000000000000
	add	x11, x9, #32
	mov	x12, x10
	movi.2d	v1, #0000000000000000
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q4, q5, [x11, #-32]
	ldp	q6, q7, [x11], #64
	cmtst.2d	v4, v4, v4
	xtn.2s	v4, v4
	cmtst.2d	v5, v5, v5
	xtn.2s	v5, v5
	cmtst.2d	v6, v6, v6
	xtn.2s	v6, v6
	cmtst.2d	v7, v7, v7
	xtn.2s	v7, v7
	sub.2s	v0, v0, v4
	sub.2s	v1, v1, v5
	sub.2s	v2, v2, v6
	sub.2s	v3, v3, v7
	subs	x12, x12, #8
	b.ne	LBB0_5
; %bb.6:
	add.2s	v0, v1, v0
	add.2s	v0, v2, v0
	add.2s	v0, v3, v0
	addp.2s	v0, v0, v0
	fmov	w24, s0
	cmp	x10, x8
	b.eq	LBB0_9
LBB0_7:
	add	x9, x9, x10, lsl #3
	sub	x8, x8, x10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9], #8
	cmp	x10, #0
	cinc	w24, w24, ne
	subs	x8, x8, #1
	b.ne	LBB0_8
LBB0_9:
	ldr	x8, [x19]
Lloh5:
	adrp	x25, _EFX_INT_MODE_MSIX@GOTPAGE
Lloh6:
	ldr	x25, [x25, _EFX_INT_MODE_MSIX@GOTPAGEOFF]
	ldr	x9, [x25]
Lloh7:
	adrp	x26, _EFX_INT_MODE_MSI@GOTPAGE
Lloh8:
	ldr	x26, [x26, _EFX_INT_MODE_MSI@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_32
; %bb.10:
	mov	x27, sp
Lloh9:
	adrp	x8, _EFX_MAX_CHANNELS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EFX_MAX_CHANNELS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh12:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh13:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x20, x9, x8
	mov	sp, x20
	mov	x0, x19
	bl	_efx_wanted_parallelism
Lloh14:
	adrp	x28, _efx_separate_tx_channels@GOTPAGE
Lloh15:
	ldr	x28, [x28, _efx_separate_tx_channels@GOTPAGEOFF]
	ldr	x8, [x28]
	cmp	x8, #0
	cset	w8, ne
	lsl	w8, w0, w8
	add	w0, w8, w24
	ldr	w1, [x19, #68]
	bl	_min
	mov	x21, x0
	cbz	w21, LBB0_18
; %bb.11:
	and	x8, x21, #0xffffffff
	cmp	x8, #4
	b.hs	LBB0_13
; %bb.12:
	mov	x9, #0
	b	LBB0_16
LBB0_13:
	mov	x11, #0
	and	x10, x21, #0x3
	sub	x9, x8, x10
	add	x12, x20, #16
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	add	w13, w11, #1
	add	w14, w11, #2
	add	w15, w11, #3
	stur	w11, [x12, #-16]
	stur	w13, [x12, #-8]
	str	w14, [x12]
	str	w15, [x12, #8]
	add	x11, x11, #4
	add	x12, x12, #32
	cmp	x9, x11
	b.ne	LBB0_14
; %bb.15:
	cbz	x10, LBB0_18
LBB0_16:
	add	x10, x20, x9, lsl #3
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	str	w9, [x10], #8
	add	x9, x9, #1
	cmp	x8, x9
	b.ne	LBB0_17
LBB0_18:
	ldr	x0, [x19, #48]
	mov	x1, x20
	mov	w2, #1
	mov	x3, x21
	bl	_pci_enable_msix_range
	mov	x22, x0
	tbnz	w0, #31, LBB0_24
; %bb.19:
	cmp	w22, w21
	b.hs	LBB0_21
; %bb.20:
	mov	x28, x26
Lloh16:
	adrp	x26, _drv@GOTPAGE
Lloh17:
	ldr	x26, [x26, _drv@GOTPAGEOFF]
	ldr	w1, [x26]
	ldr	w2, [x19, #60]
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	stp	x22, x21, [sp, #-16]!
Lloh18:
	adrp	x3, l_.str.1@PAGE
Lloh19:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_netif_err
	add	sp, sp, #16
	ldr	w1, [x26]
	mov	x26, x28
Lloh20:
	adrp	x28, _efx_separate_tx_channels@GOTPAGE
Lloh21:
	ldr	x28, [x28, _efx_separate_tx_channels@GOTPAGEOFF]
	ldr	w2, [x19, #60]
Lloh22:
	adrp	x3, l_.str.2@PAGE
Lloh23:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_netif_err
	mov	x21, x22
LBB0_21:
	cbz	w22, LBB0_31
; %bb.22:
	str	w21, [x19, #8]
	cmp	w21, w24
	csel	w8, w24, wzr, hi
	sub	w21, w21, w8
	ldr	x8, [x28]
	cbz	x8, LBB0_27
; %bb.23:
	lsr	w0, w21, #1
	mov	w1, #1
	bl	_max
	ldr	w1, [x19, #64]
	bl	_min
	str	w0, [x19, #12]
	sub	w0, w21, w0
	mov	w1, #1
	bl	_max
	mov	x21, x0
	b	LBB0_28
LBB0_24:
Lloh24:
	adrp	x8, _drv@GOTPAGE
Lloh25:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	ldr	w2, [x19, #60]
Lloh27:
	adrp	x3, l_.str@PAGE
Lloh28:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	bl	_netif_err
	ldr	x8, [x19, #24]
	ldr	x9, [x8]
	ldr	x8, [x26]
	cmp	x9, x8
	b.ge	LBB0_26
; %bb.25:
	mov	sp, x27
	b	LBB0_49
LBB0_26:
	str	x8, [x19]
	b	LBB0_31
LBB0_27:
	ldr	w1, [x19, #64]
	mov	x0, x21
	bl	_min
	str	w0, [x19, #12]
LBB0_28:
	str	w21, [x19, #16]
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_31
; %bb.29:
	mov	x21, #0
	add	x20, x20, #4
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	ldr	w22, [x20], #8
	mov	x0, x19
	mov	x1, x21
	bl	_efx_get_channel
	str	w22, [x0, #8]
	add	x21, x21, #1
	ldr	w8, [x19, #8]
	cmp	x21, x8
	b.lo	LBB0_30
LBB0_31:
	mov	sp, x27
	ldr	x8, [x19]
LBB0_32:
	ldr	x9, [x26]
Lloh29:
	adrp	x20, _EFX_INT_MODE_LEGACY@GOTPAGE
Lloh30:
	ldr	x20, [x20, _EFX_INT_MODE_LEGACY@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_37
; %bb.33:
	mov	w8, #1
	str	w8, [x19, #16]
	movi.2s	v0, #1
	str	d0, [x19, #8]
	ldr	x0, [x19, #48]
	bl	_pci_enable_msi
	cbz	w0, LBB0_36
; %bb.34:
	mov	x22, x0
Lloh31:
	adrp	x8, _drv@GOTPAGE
Lloh32:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	ldr	w2, [x19, #60]
Lloh34:
	adrp	x3, l_.str.3@PAGE
Lloh35:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_netif_err
	ldr	x8, [x19, #24]
	ldr	x9, [x8]
	ldr	x8, [x20]
	cmp	x9, x8
	b.lt	LBB0_49
; %bb.35:
	str	x8, [x19]
	b	LBB0_37
LBB0_36:
	ldr	x8, [x19, #48]
	ldr	w21, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_efx_get_channel
	str	w21, [x0, #8]
	ldr	x8, [x19]
LBB0_37:
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_39
; %bb.38:
Lloh36:
	adrp	x8, _efx_separate_tx_channels@GOTPAGE
Lloh37:
	ldr	x8, [x8, _efx_separate_tx_channels@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
	cmp	x8, #0
	mov	w8, #1
	cinc	w8, w8, ne
	str	w8, [x19, #8]
	movi.2s	v0, #1
	stur	d0, [x19, #12]
	ldr	x8, [x19, #48]
	ldr	w8, [x8]
	str	w8, [x19, #56]
LBB0_39:
	str	xzr, [x19, #32]
	ldr	w8, [x23]
	cbz	w8, LBB0_48
; %bb.40:
	mov	x21, #0
	ldr	w20, [x19, #8]
	b	LBB0_43
LBB0_41:                                ;   in Loop: Header=BB0_43 Depth=1
	ldr	x8, [x22]
	mov	x0, x19
	blr	x8
LBB0_42:                                ;   in Loop: Header=BB0_43 Depth=1
	add	x21, x21, #1
	ldr	w8, [x23]
	cmp	x21, x8
	b.hs	LBB0_48
LBB0_43:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #40]
	ldr	x22, [x8, x21, lsl #3]
	cbz	x22, LBB0_42
; %bb.44:                               ;   in Loop: Header=BB0_43 Depth=1
	ldr	x8, [x19]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_41
; %bb.45:                               ;   in Loop: Header=BB0_43 Depth=1
	ldr	w8, [x19, #8]
	cmp	w8, w24
	b.ls	LBB0_41
; %bb.46:                               ;   in Loop: Header=BB0_43 Depth=1
	sub	w20, w20, #1
	mov	x0, x19
	mov	x1, x20
	bl	_efx_get_channel
	str	x22, [x0]
	mov	x0, x19
	mov	x1, x20
	bl	_efx_get_channel
	bl	_efx_channel_has_tx_queues
	cbz	x0, LBB0_42
; %bb.47:                               ;   in Loop: Header=BB0_43 Depth=1
	ldr	x8, [x19, #32]
	add	x8, x8, #1
	str	x8, [x19, #32]
	b	LBB0_42
LBB0_48:
	mov	w22, #0
	ldr	w8, [x19, #16]
	str	w8, [x19, #20]
LBB0_49:
	ldur	x8, [x29, #-88]
Lloh39:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh40:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_51
; %bb.50:
	mov	x0, x22
	sub	sp, x29, #80
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_51:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_EFX_MAX_EXTRA_CHANNELS,4,2     ; @EFX_MAX_EXTRA_CHANNELS
	.comm	_EFX_INT_MODE_MSIX,8,3          ; @EFX_INT_MODE_MSIX
	.comm	_EFX_MAX_CHANNELS,4,2           ; @EFX_MAX_CHANNELS
	.comm	_efx_separate_tx_channels,8,3   ; @efx_separate_tx_channels
	.comm	_drv,4,2                        ; @drv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not enable MSI-X\n"

	.comm	_EFX_INT_MODE_MSI,8,3           ; @EFX_INT_MODE_MSI
l_.str.1:                               ; @.str.1
	.asciz	"WARNING: Insufficient MSI-X vectors available (%d < %u).\n"

l_.str.2:                               ; @.str.2
	.asciz	"WARNING: Performance may be reduced.\n"

l_.str.3:                               ; @.str.3
	.asciz	"could not enable MSI\n"

	.comm	_EFX_INT_MODE_LEGACY,8,3        ; @EFX_INT_MODE_LEGACY
	.no_dead_strip	_efx_probe_interrupts
.subsections_via_symbols
