	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fm10k_get_pcie_msix_count_generic
_fm10k_get_pcie_msix_count_generic:     ## @fm10k_get_pcie_msix_count_generic
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_FM10K_PCI_MSIX_MSG_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_fm10k_read_pci_cfg_word
                                        ## kill: def $eax killed $eax def $rax
	movq	_FM10K_PCI_MSIX_MSG_CTRL_TBL_SZ_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	leal	1(%rax), %ecx
	movq	_FM10K_MAX_MSIX_VECTORS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	cmpl	%edx, %eax
	cmovgel	%edx, %ecx
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FM10K_PCI_MSIX_MSG_CTRL,4,2    ## @FM10K_PCI_MSIX_MSG_CTRL
	.comm	_FM10K_PCI_MSIX_MSG_CTRL_TBL_SZ_MASK,4,2 ## @FM10K_PCI_MSIX_MSG_CTRL_TBL_SZ_MASK
	.comm	_FM10K_MAX_MSIX_VECTORS,4,2     ## @FM10K_MAX_MSIX_VECTORS
	.no_dead_strip	_fm10k_get_pcie_msix_count_generic
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fm10k_get_pcie_msix_count_generic
_fm10k_get_pcie_msix_count_generic:     ; @fm10k_get_pcie_msix_count_generic
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _FM10K_PCI_MSIX_MSG_CTRL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FM10K_PCI_MSIX_MSG_CTRL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_fm10k_read_pci_cfg_word
Lloh3:
	adrp	x8, _FM10K_PCI_MSIX_MSG_CTRL_TBL_SZ_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FM10K_PCI_MSIX_MSG_CTRL_TBL_SZ_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh6:
	adrp	x9, _FM10K_MAX_MSIX_VECTORS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FM10K_MAX_MSIX_VECTORS@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w9
	csinc	w0, w9, w8, ge
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FM10K_PCI_MSIX_MSG_CTRL,4,2    ; @FM10K_PCI_MSIX_MSG_CTRL
	.comm	_FM10K_PCI_MSIX_MSG_CTRL_TBL_SZ_MASK,4,2 ; @FM10K_PCI_MSIX_MSG_CTRL_TBL_SZ_MASK
	.comm	_FM10K_MAX_MSIX_VECTORS,4,2     ; @FM10K_MAX_MSIX_VECTORS
	.no_dead_strip	_fm10k_get_pcie_msix_count_generic
.subsections_via_symbols
