	.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	48(%rdi), %rax
	movl	(%rax), %edi
	movq	_EFX_MAX_CHANNELS@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	callq	_min
	movl	%eax, %r12d
	movq	_EFX_MAX_EXTRA_CHANNELS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	24(%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_32
## %bb.13:
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	movl	(%r13), %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	_separate_tx_channels@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	setne	%cl
	shll	%cl, %eax
	leal	(%rax,%r15), %edi
	movl	%r12d, %esi
	callq	_min
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_20
## %bb.14:
	movl	%ebx, %edx
	leaq	-1(%rdx), %rcx
	movl	%edx, %eax
	andl	$7, %eax
	cmpq	$7, %rcx
	jae	LBB0_16
## %bb.15:
	xorl	%ecx, %ecx
	jmp	LBB0_18
LBB0_16:
	andl	$-8, %edx
	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	32(%r14), %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	callq	_pci_enable_msix
	movl	%eax, %r12d
	testl	%eax, %eax
	jle	LBB0_21
## %bb.22:
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	44(%r14), %edx
	leaq	L_.str(%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	44(%r14), %edx
	leaq	L_.str.1(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_netif_err
	xorl	%edi, %edi
	cmpl	%ebx, %r12d
	setae	%dil
	callq	_EFX_BUG_ON_PARANOID
	movq	32(%r14), %rdi
	movq	%r13, %rsi
	movl	%r12d, %edx
	callq	_pci_enable_msix
	testl	%eax, %eax
	je	LBB0_24
LBB0_30:
	movq	_EFX_INT_MODE_MSI@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	44(%r14), %edx
	leaq	L_.str.2(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_netif_err
	jmp	LBB0_31
LBB0_21:
	movl	%r12d, %eax
	movl	%ebx, %r12d
	testl	%eax, %eax
	jne	LBB0_30
LBB0_24:
	xorl	%eax, %eax
	cmpl	%r15d, %r12d
	cmoval	%r15d, %eax
	movl	%r12d, 8(%r14)
	movl	%r12d, %ebx
	subl	%eax, %ebx
	movq	_separate_tx_channels@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_26
## %bb.25:
	movl	%ebx, %edi
	shrl	%edi
	movl	$1, %esi
	callq	_max
	movl	%eax, 12(%r14)
	subl	%eax, %ebx
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_max
	movq	%rax, %rbx
	movl	8(%r14), %r12d
	jmp	LBB0_27
LBB0_5:
	pxor	%xmm0, %xmm0
	xorl	%edi, %edi
	pxor	%xmm1, %xmm1
	testb	$1, %bl
	jne	LBB0_9
	jmp	LBB0_10
LBB0_26:
	movl	%ebx, 12(%r14)
LBB0_27:
	movl	%ebx, 16(%r14)
	testl	%r12d, %r12d
	je	LBB0_31
## %bb.28:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_29:                                ## =>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_29
LBB0_31:
	movq	-56(%rbp), %rsp                 ## 8-byte Reload
	movq	(%r14), %rax
LBB0_32:
	movq	_EFX_INT_MODE_MSI@GOTPCREL(%rip), %rcx
	movabsq	$4294967297, %rbx               ## imm = 0x100000001
	cmpq	(%rcx), %rax
	jne	LBB0_36
## %bb.33:
	movq	%rbx, 8(%r14)
	movl	$1, 16(%r14)
	movq	32(%r14), %rdi
	callq	_pci_enable_msi
	testl	%eax, %eax
	je	LBB0_34
## %bb.35:
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	44(%r14), %edx
	leaq	L_.str.3(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_netif_err
	movq	_EFX_INT_MODE_LEGACY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	jmp	LBB0_36
LBB0_34:
	movq	32(%r14), %rax
	movl	(%rax), %r12d
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_efx_get_channel
	movl	%r12d, 8(%rax)
	movq	(%r14), %rax
LBB0_36:
	movq	_EFX_INT_MODE_LEGACY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_38
## %bb.37:
	movq	_separate_tx_channels@GOTPCREL(%rip), %rax
	cmpq	$1, (%rax)
	movl	$2, %eax
	sbbl	$0, %eax
	movl	%eax, 8(%r14)
	movq	%rbx, 12(%r14)
	movq	32(%r14), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r14)
LBB0_38:
	movq	_EFX_MAX_EXTRA_CHANNELS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_46
## %bb.39:
	movl	8(%r14), %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_40
	.p2align	4, 0x90
LBB0_43:                                ##   in Loop: Header=BB0_40 Depth=1
	movq	%r14, %rdi
	callq	*(%r13)
LBB0_45:                                ##   in Loop: Header=BB0_40 Depth=1
	incq	%rbx
	movq	_EFX_MAX_EXTRA_CHANNELS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpq	%rax, %rbx
	jae	LBB0_46
LBB0_40:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%r14), %rax
	movq	(%rax,%rbx,8), %r13
	testq	%r13, %r13
	je	LBB0_45
## %bb.41:                              ##   in Loop: Header=BB0_40 Depth=1
	movq	(%r14), %rax
	movq	_EFX_INT_MODE_MSIX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_43
## %bb.42:                              ##   in Loop: Header=BB0_40 Depth=1
	cmpl	%r15d, 8(%r14)
	jbe	LBB0_43
## %bb.44:                              ##   in Loop: Header=BB0_40 Depth=1
	decl	%r12d
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_efx_get_channel
	movq	%r13, (%rax)
	jmp	LBB0_45
LBB0_46:
	movl	16(%r14), %eax
	cmpl	$1, %eax
	ja	LBB0_50
## %bb.47:
	movq	%r14, %rdi
	callq	_efx_sriov_wanted
	testl	%eax, %eax
	je	LBB0_48
## %bb.49:
	movq	%r14, %rdi
	callq	_efx_vf_size
	jmp	LBB0_50
LBB0_48:
	movl	16(%r14), %eax
LBB0_50:
	movl	%eax, 20(%r14)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_52
## %bb.51:
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_52:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EFX_MAX_CHANNELS,4,2           ## @EFX_MAX_CHANNELS
	.comm	_EFX_MAX_EXTRA_CHANNELS,4,2     ## @EFX_MAX_EXTRA_CHANNELS
	.comm	_EFX_INT_MODE_MSIX,8,3          ## @EFX_INT_MODE_MSIX
	.comm	_separate_tx_channels,8,3       ## @separate_tx_channels
	.comm	_drv,4,2                        ## @drv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WARNING: Insufficient MSI-X vectors available (%d < %u).\n"

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

	.comm	_EFX_INT_MODE_MSI,8,3           ## @EFX_INT_MODE_MSI
L_.str.2:                               ## @.str.2
	.asciz	"could not enable MSI-X\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]
	ldr	x8, [x0, #48]
	ldr	w0, [x8]
Lloh3:
	adrp	x20, _EFX_MAX_CHANNELS@GOTPAGE
Lloh4:
	ldr	x20, [x20, _EFX_MAX_CHANNELS@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_min
	mov	x21, x0
Lloh5:
	adrp	x23, _EFX_MAX_EXTRA_CHANNELS@GOTPAGE
Lloh6:
	ldr	x23, [x23, _EFX_MAX_EXTRA_CHANNELS@GOTPAGEOFF]
	ldr	w8, [x23]
	cbz	w8, LBB0_3
; %bb.1:
	ldr	x9, [x19, #24]
	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]
Lloh7:
	adrp	x25, _EFX_INT_MODE_MSIX@GOTPAGE
Lloh8:
	ldr	x25, [x25, _EFX_INT_MODE_MSIX@GOTPAGEOFF]
	ldr	x9, [x25]
Lloh9:
	adrp	x26, _separate_tx_channels@GOTPAGE
Lloh10:
	ldr	x26, [x26, _separate_tx_channels@GOTPAGEOFF]
Lloh11:
	adrp	x27, _EFX_INT_MODE_MSI@GOTPAGE
Lloh12:
	ldr	x27, [x27, _EFX_INT_MODE_MSI@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_28
; %bb.10:
	mov	x28, sp
	ldr	w8, [x20]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh13:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh14:
	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
	ldr	x8, [x26]
	cmp	x8, #0
	cset	w8, ne
	lsl	w8, w0, w8
	add	w0, w8, w24
	mov	x1, x21
	bl	_min
	mov	x21, x0
	cbz	w0, LBB0_18
; %bb.11:
	mov	w8, w21
	cmp	w21, #4
	b.hs	LBB0_13
; %bb.12:
	mov	x9, #0
	b	LBB0_16
LBB0_13:
	mov	x10, #0
	and	x9, x8, #0xfffffffc
	add	x11, x20, #16
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	add	w12, w10, #1
	add	w13, w10, #2
	add	w14, w10, #3
	stur	w10, [x11, #-16]
	stur	w12, [x11, #-8]
	str	w13, [x11]
	str	w14, [x11, #8]
	add	x10, x10, #4
	add	x11, x11, #32
	cmp	x9, x10
	b.ne	LBB0_14
; %bb.15:
	cmp	x9, x8
	b.eq	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, #32]
	mov	x1, x20
	mov	x2, x21
	bl	_pci_enable_msix
	mov	x22, x0
	cmp	w0, #1
	b.lt	LBB0_21
; %bb.19:
	mov	x27, x26
Lloh15:
	adrp	x26, _drv@GOTPAGE
Lloh16:
	ldr	x26, [x26, _drv@GOTPAGEOFF]
	ldr	w1, [x26]
	ldr	w2, [x19, #44]
	stp	x22, x21, [sp, #-16]!
Lloh17:
	adrp	x3, l_.str@PAGE
Lloh18:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	bl	_netif_err
	add	sp, sp, #16
	ldr	w1, [x26]
	mov	x26, x27
Lloh19:
	adrp	x27, _EFX_INT_MODE_MSI@GOTPAGE
Lloh20:
	ldr	x27, [x27, _EFX_INT_MODE_MSI@GOTPAGEOFF]
	ldr	w2, [x19, #44]
Lloh21:
	adrp	x3, l_.str.1@PAGE
Lloh22:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_netif_err
	cmp	w22, w21
	cset	w0, hs
	bl	_EFX_BUG_ON_PARANOID
	ldr	x0, [x19, #32]
	mov	x1, x20
	mov	x2, x22
	bl	_pci_enable_msix
	cbz	w0, LBB0_22
LBB0_20:
	ldr	x8, [x27]
	str	x8, [x19]
Lloh23:
	adrp	x8, _drv@GOTPAGE
Lloh24:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	ldr	w2, [x19, #44]
Lloh26:
	adrp	x3, l_.str.2@PAGE
Lloh27:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_netif_err
	b	LBB0_27
LBB0_21:
	mov	x0, x22
	mov	x22, x21
	cbnz	w0, LBB0_20
LBB0_22:
	str	w22, [x19, #8]
	cmp	w22, w24
	csel	w8, w24, wzr, hi
	sub	w21, w22, w8
	ldr	x8, [x26]
	cbz	x8, LBB0_24
; %bb.23:
	lsr	w0, w21, #1
	mov	w1, #1
	bl	_max
	str	w0, [x19, #12]
	sub	w0, w21, w0
	mov	w1, #1
	bl	_max
	mov	x21, x0
	ldr	w22, [x19, #8]
	str	w21, [x19, #16]
	cbnz	w22, LBB0_25
	b	LBB0_27
LBB0_24:
	str	w21, [x19, #12]
	str	w21, [x19, #16]
	cbz	w22, LBB0_27
LBB0_25:
	mov	x21, #0
	add	x20, x20, #4
LBB0_26:                                ; =>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_26
LBB0_27:
	mov	sp, x28
	ldr	x8, [x19]
LBB0_28:
	ldr	x9, [x27]
Lloh28:
	adrp	x20, _EFX_INT_MODE_LEGACY@GOTPAGE
Lloh29:
	ldr	x20, [x20, _EFX_INT_MODE_LEGACY@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_32
; %bb.29:
	mov	w8, #1
	str	w8, [x19, #16]
	movi.2s	v0, #1
	str	d0, [x19, #8]
	ldr	x0, [x19, #32]
	bl	_pci_enable_msi
	cbz	w0, LBB0_31
; %bb.30:
Lloh30:
	adrp	x8, _drv@GOTPAGE
Lloh31:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	ldr	w2, [x19, #44]
Lloh33:
	adrp	x3, l_.str.3@PAGE
Lloh34:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_netif_err
	ldr	x8, [x20]
	str	x8, [x19]
	b	LBB0_32
LBB0_31:
	ldr	x8, [x19, #32]
	ldr	w21, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_efx_get_channel
	str	w21, [x0, #8]
	ldr	x8, [x19]
LBB0_32:
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_34
; %bb.33:
	ldr	x8, [x26]
	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, #32]
	ldr	w8, [x8]
	str	w8, [x19, #40]
LBB0_34:
	ldr	w8, [x23]
	cbz	w8, LBB0_42
; %bb.35:
	mov	x21, #0
	ldr	w20, [x19, #8]
	b	LBB0_38
LBB0_36:                                ;   in Loop: Header=BB0_38 Depth=1
	ldr	x8, [x22]
	mov	x0, x19
	blr	x8
LBB0_37:                                ;   in Loop: Header=BB0_38 Depth=1
	add	x21, x21, #1
	ldr	w8, [x23]
	cmp	x21, x8
	b.hs	LBB0_42
LBB0_38:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	ldr	x22, [x8, x21, lsl #3]
	cbz	x22, LBB0_37
; %bb.39:                               ;   in Loop: Header=BB0_38 Depth=1
	ldr	x8, [x19]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_36
; %bb.40:                               ;   in Loop: Header=BB0_38 Depth=1
	ldr	w8, [x19, #8]
	cmp	w8, w24
	b.ls	LBB0_36
; %bb.41:                               ;   in Loop: Header=BB0_38 Depth=1
	sub	w20, w20, #1
	mov	x0, x19
	mov	x1, x20
	bl	_efx_get_channel
	str	x22, [x0]
	b	LBB0_37
LBB0_42:
	ldr	w0, [x19, #16]
	cmp	w0, #1
	b.hi	LBB0_46
; %bb.43:
	mov	x0, x19
	bl	_efx_sriov_wanted
	cbz	w0, LBB0_45
; %bb.44:
	mov	x0, x19
	bl	_efx_vf_size
	b	LBB0_46
LBB0_45:
	ldr	w0, [x19, #16]
LBB0_46:
	str	w0, [x19, #20]
	ldur	x8, [x29, #-88]
Lloh35:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh36:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_48
; %bb.47:
	mov	w0, #0
	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_48:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_EFX_MAX_CHANNELS,4,2           ; @EFX_MAX_CHANNELS
	.comm	_EFX_MAX_EXTRA_CHANNELS,4,2     ; @EFX_MAX_EXTRA_CHANNELS
	.comm	_EFX_INT_MODE_MSIX,8,3          ; @EFX_INT_MODE_MSIX
	.comm	_separate_tx_channels,8,3       ; @separate_tx_channels
	.comm	_drv,4,2                        ; @drv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WARNING: Insufficient MSI-X vectors available (%d < %u).\n"

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

	.comm	_EFX_INT_MODE_MSI,8,3           ; @EFX_INT_MODE_MSI
l_.str.2:                               ; @.str.2
	.asciz	"could not enable MSI-X\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
