	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function nic_get_hw_info
LCPI0_0:
	.long	8                               ## 0x8
	.long	32                              ## 0x20
	.long	2048                            ## 0x800
	.long	1024                            ## 0x400
LCPI0_1:
	.long	64                              ## 0x40
	.long	256                             ## 0x100
	.long	64                              ## 0x40
	.long	18                              ## 0x12
LCPI0_2:
	.long	8                               ## 0x8
	.long	32                              ## 0x20
	.long	512                             ## 0x200
	.long	256                             ## 0x100
LCPI0_3:
	.long	32                              ## 0x20
	.long	64                              ## 0x40
	.long	16                              ## 0x10
	.long	10                              ## 0xa
LCPI0_4:
	.long	16                              ## 0x10
	.long	128                             ## 0x80
	.long	2048                            ## 0x800
	.long	4096                            ## 0x1000
LCPI0_5:
	.space	4
	.long	256                             ## 0x100
	.long	64                              ## 0x40
	.long	2                               ## 0x2
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_nic_get_hw_info:                       ## @nic_get_hw_info
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %r15
	movl	(%rdi), %edi
	movq	_PCI_SUBSYSTEM_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rdx
	callq	_pci_read_config_word
	movl	-28(%rbp), %eax
	cmpl	$130, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$129, %eax
	je	LBB0_5
## %bb.2:
	cmpl	$128, %eax
	jne	LBB0_8
## %bb.3:
	movq	_MAX_BGX_PER_CN88XX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r15)
	movaps	LCPI0_4(%rip), %xmm0            ## xmm0 = [16,128,2048,4096]
	movups	%xmm0, (%r15)
	movq	_NIC_MAX_RSS_IDR_TBL_SIZE@GOTPCREL(%rip), %rax
	movdqa	LCPI0_5(%rip), %xmm0            ## xmm0 = <u,256,64,2>
	pinsrd	$0, (%rax), %xmm0
	movl	$1, %eax
	jmp	LBB0_7
LBB0_4:
	movq	_MAX_BGX_PER_CN81XX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r15)
	movabsq	$103079215112, %rax             ## imm = 0x1800000008
	movq	%rax, 36(%r15)
	movaps	LCPI0_2(%rip), %xmm0            ## xmm0 = [8,32,512,256]
	movups	%xmm0, (%r15)
	movdqa	LCPI0_3(%rip), %xmm0            ## xmm0 = [32,64,16,10]
	jmp	LBB0_6
LBB0_5:
	movq	_MAX_BGX_PER_CN83XX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r15)
	movl	$64, 40(%r15)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [8,32,2048,1024]
	movups	%xmm0, (%r15)
	movdqa	LCPI0_1(%rip), %xmm0            ## xmm0 = [64,256,64,18]
LBB0_6:
	xorl	%eax, %eax
LBB0_7:
	movdqu	%xmm0, 16(%r15)
	movl	%eax, 32(%r15)
LBB0_8:
	movq	_MAX_QUEUES_PER_QSET@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%r14), %edi
	callq	_pci_sriov_get_totalvfs
	imull	%ebx, %eax
	movl	%eax, 44(%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_SUBSYSTEM_ID,4,2           ## @PCI_SUBSYSTEM_ID
	.comm	_MAX_BGX_PER_CN88XX,4,2         ## @MAX_BGX_PER_CN88XX
	.comm	_NIC_MAX_RSS_IDR_TBL_SIZE,4,2   ## @NIC_MAX_RSS_IDR_TBL_SIZE
	.comm	_MAX_BGX_PER_CN81XX,4,2         ## @MAX_BGX_PER_CN81XX
	.comm	_MAX_BGX_PER_CN83XX,4,2         ## @MAX_BGX_PER_CN83XX
	.comm	_MAX_QUEUES_PER_QSET,4,2        ## @MAX_QUEUES_PER_QSET
	.no_dead_strip	_nic_get_hw_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function nic_get_hw_info
lCPI0_0:
	.long	8                               ; 0x8
	.long	32                              ; 0x20
	.long	2048                            ; 0x800
	.long	1024                            ; 0x400
lCPI0_1:
	.long	64                              ; 0x40
	.long	256                             ; 0x100
	.long	64                              ; 0x40
	.long	18                              ; 0x12
lCPI0_3:
	.long	8                               ; 0x8
	.long	32                              ; 0x20
	.long	512                             ; 0x200
	.long	256                             ; 0x100
lCPI0_4:
	.long	32                              ; 0x20
	.long	64                              ; 0x40
	.long	16                              ; 0x10
	.long	10                              ; 0xa
lCPI0_5:
	.long	16                              ; 0x10
	.long	128                             ; 0x80
	.long	2048                            ; 0x800
	.long	4096                            ; 0x1000
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
lCPI0_2:
	.long	8                               ; 0x8
	.long	24                              ; 0x18
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_nic_get_hw_info:                       ; @nic_get_hw_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	x20, [x0, #8]
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _PCI_SUBSYSTEM_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCI_SUBSYSTEM_ID@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_pci_read_config_word
	ldr	w8, [sp, #12]
	cmp	w8, #130
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #128
	b.ne	LBB0_7
; %bb.3:
Lloh3:
	adrp	x8, _MAX_BGX_PER_CN88XX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_BGX_PER_CN88XX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x20, #48]
Lloh6:
	adrp	x8, lCPI0_5@PAGE
Lloh7:
	ldr	q0, [x8, lCPI0_5@PAGEOFF]
Lloh8:
	adrp	x8, _NIC_MAX_RSS_IDR_TBL_SIZE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NIC_MAX_RSS_IDR_TBL_SIZE@GOTPAGEOFF]
	str	q0, [x20]
Lloh10:
	ldr	s0, [x8]
	mov	w8, #256
	mov.s	v0[1], w8
	mov	w8, #64
	mov.s	v0[2], w8
	mov	w8, #2
	mov.s	v0[3], w8
	mov	w8, #1
	b	LBB0_6
LBB0_4:
	mov	w8, #0
Lloh11:
	adrp	x9, _MAX_BGX_PER_CN81XX@GOTPAGE
Lloh12:
	ldr	x9, [x9, _MAX_BGX_PER_CN81XX@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	str	w9, [x20, #48]
Lloh14:
	adrp	x9, lCPI0_2@PAGE
Lloh15:
	ldr	d0, [x9, lCPI0_2@PAGEOFF]
	stur	d0, [x20, #36]
Lloh16:
	adrp	x9, lCPI0_3@PAGE
Lloh17:
	ldr	q0, [x9, lCPI0_3@PAGEOFF]
	str	q0, [x20]
Lloh18:
	adrp	x9, lCPI0_4@PAGE
Lloh19:
	ldr	q0, [x9, lCPI0_4@PAGEOFF]
	b	LBB0_6
LBB0_5:
	mov	w8, #0
Lloh20:
	adrp	x9, _MAX_BGX_PER_CN83XX@GOTPAGE
Lloh21:
	ldr	x9, [x9, _MAX_BGX_PER_CN83XX@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	str	w9, [x20, #48]
	mov	w9, #64
	str	w9, [x20, #40]
Lloh23:
	adrp	x9, lCPI0_0@PAGE
Lloh24:
	ldr	q0, [x9, lCPI0_0@PAGEOFF]
	str	q0, [x20]
Lloh25:
	adrp	x9, lCPI0_1@PAGE
Lloh26:
	ldr	q0, [x9, lCPI0_1@PAGEOFF]
LBB0_6:
	str	q0, [x20, #16]
	str	w8, [x20, #32]
LBB0_7:
Lloh27:
	adrp	x8, _MAX_QUEUES_PER_QSET@GOTPAGE
Lloh28:
	ldr	x8, [x8, _MAX_QUEUES_PER_QSET@GOTPAGEOFF]
Lloh29:
	ldr	w21, [x8]
	ldr	w0, [x19]
	bl	_pci_sriov_get_totalvfs
	mul	w8, w0, w21
	str	w8, [x20, #44]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdrp	Lloh6, Lloh8
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdr	Lloh18, Lloh19
	.loh AdrpAdrp	Lloh16, Lloh18
	.loh AdrpLdr	Lloh16, Lloh17
	.loh AdrpAdrp	Lloh14, Lloh16
	.loh AdrpLdr	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdr	Lloh25, Lloh26
	.loh AdrpAdrp	Lloh23, Lloh25
	.loh AdrpLdr	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_SUBSYSTEM_ID,4,2           ; @PCI_SUBSYSTEM_ID
	.comm	_MAX_BGX_PER_CN88XX,4,2         ; @MAX_BGX_PER_CN88XX
	.comm	_NIC_MAX_RSS_IDR_TBL_SIZE,4,2   ; @NIC_MAX_RSS_IDR_TBL_SIZE
	.comm	_MAX_BGX_PER_CN81XX,4,2         ; @MAX_BGX_PER_CN81XX
	.comm	_MAX_BGX_PER_CN83XX,4,2         ; @MAX_BGX_PER_CN83XX
	.comm	_MAX_QUEUES_PER_QSET,4,2        ; @MAX_QUEUES_PER_QSET
	.no_dead_strip	_nic_get_hw_info
.subsections_via_symbols
