	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_sriov_info
_bnx2x_sriov_info:                      ## @bnx2x_sriov_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_bnx2x_sriov_pci_cfg_info
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_3
LBB0_2:
	movq	$0, 40(%rbx)
	movq	_PCICFG_OFFSET@GOTPCREL(%rip), %rax
	movq	_GRC_CONFIG_REG_PF_INIT_VF@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	(%rax), %rsi
	movq	%r14, %rdi
	callq	_REG_RD
	movl	%eax, %r15d
	movq	_GRC_CR_PF_INIT_VF_PF_FIRST_VF_NUM_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r15d
	shll	$3, %r15d
	movq	_BNX2X_MAX_NUM_OF_VFS@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r14, %rdi
	callq	_BP_PATH
	imull	%r12d, %eax
	subl	%eax, %r15d
	movl	%r15d, (%rbx)
	movq	_BNX2X_MSG_IOV@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r14, %rdi
	callq	_BP_FUNC
	movq	40(%rbx), %r8
	movl	32(%rbx), %r9d
	movl	28(%rbx), %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	24(%rbx), %r11d
	movl	20(%rbx), %r14d
	movl	16(%rbx), %r12d
	movl	12(%rbx), %r13d
	movl	8(%rbx), %r10d
	movl	(%rbx), %ecx
	movl	4(%rbx), %ebx
	subq	$8, %rsp
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edi
	movl	%eax, %edx
	pushq	%rbx
	pushq	%r10
	pushq	%r13
	pushq	%r12
	pushq	%r14
	pushq	%r11
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	callq	_DP
	addq	$64, %rsp
	xorl	%eax, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_PCICFG_OFFSET,8,3              ## @PCICFG_OFFSET
	.comm	_GRC_CONFIG_REG_PF_INIT_VF,8,3  ## @GRC_CONFIG_REG_PF_INIT_VF
	.comm	_GRC_CR_PF_INIT_VF_PF_FIRST_VF_NUM_MASK,4,2 ## @GRC_CR_PF_INIT_VF_PF_FIRST_VF_NUM_MASK
	.comm	_BNX2X_MAX_NUM_OF_VFS,4,2       ## @BNX2X_MAX_NUM_OF_VFS
	.comm	_BNX2X_MSG_IOV,4,2              ## @BNX2X_MSG_IOV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"IOV info[%d]: first vf %d, nres %d, cap 0x%x, ctrl 0x%x, total %d, initial %d, num vfs %d, offset %d, stride %d, page size 0x%x\n"

	.no_dead_strip	_bnx2x_sriov_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_sriov_info
_bnx2x_sriov_info:                      ; @bnx2x_sriov_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x1
	mov	x20, x0
	bl	_bnx2x_sriov_pci_cfg_info
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ENODEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _PCICFG_OFFSET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PCICFG_OFFSET@GOTPAGEOFF]
	str	xzr, [x19, #40]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _GRC_CONFIG_REG_PF_INIT_VF@GOTPAGE
Lloh7:
	ldr	x9, [x9, _GRC_CONFIG_REG_PF_INIT_VF@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x20
	bl	_REG_RD
Lloh9:
	adrp	x8, _GRC_CR_PF_INIT_VF_PF_FIRST_VF_NUM_MASK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GRC_CR_PF_INIT_VF_PF_FIRST_VF_NUM_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	and	w8, w8, w0
	lsl	w21, w8, #3
Lloh12:
	adrp	x8, _BNX2X_MAX_NUM_OF_VFS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BNX2X_MAX_NUM_OF_VFS@GOTPAGEOFF]
Lloh14:
	ldr	w22, [x8]
	mov	x0, x20
	bl	_BP_PATH
	msub	w8, w0, w22, w21
	str	w8, [x19]
Lloh15:
	adrp	x8, _BNX2X_MSG_IOV@GOTPAGE
Lloh16:
	ldr	x8, [x8, _BNX2X_MSG_IOV@GOTPAGEOFF]
Lloh17:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_BP_FUNC
	mov	x2, x0
	ldr	x4, [x19, #40]
	ldp	w6, w5, [x19, #28]
	ldp	w8, w7, [x19, #20]
	ldp	w10, w9, [x19, #12]
	ldp	w12, w11, [x19, #4]
	ldr	w3, [x19]
	stp	w11, w12, [sp, #12]
	stp	w9, w10, [sp, #4]
	str	w8, [sp]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_DP
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_PCICFG_OFFSET,8,3              ; @PCICFG_OFFSET
	.comm	_GRC_CONFIG_REG_PF_INIT_VF,8,3  ; @GRC_CONFIG_REG_PF_INIT_VF
	.comm	_GRC_CR_PF_INIT_VF_PF_FIRST_VF_NUM_MASK,4,2 ; @GRC_CR_PF_INIT_VF_PF_FIRST_VF_NUM_MASK
	.comm	_BNX2X_MAX_NUM_OF_VFS,4,2       ; @BNX2X_MAX_NUM_OF_VFS
	.comm	_BNX2X_MSG_IOV,4,2              ; @BNX2X_MSG_IOV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"IOV info[%d]: first vf %d, nres %d, cap 0x%x, ctrl 0x%x, total %d, initial %d, num vfs %d, offset %d, stride %d, page size 0x%x\n"

	.no_dead_strip	_bnx2x_sriov_info
.subsections_via_symbols
