	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_get_vf_id
_bnx2x_get_vf_id:                       ## @bnx2x_get_vf_id
	.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	%rsi, %r14
	movq	%rdi, %r15
	movl	(%rdi), %edi
	callq	_readl
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_GOOD_ME_REG
	testq	%rax, %rax
	jne	LBB0_12
## %bb.1:
	movl	$100, %edi
	callq	_msleep
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_BNX2X_ERR
	movl	(%r15), %edi
	callq	_readl
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_GOOD_ME_REG
	testq	%rax, %rax
	jne	LBB0_12
## %bb.2:
	movl	$100, %edi
	callq	_msleep
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_BNX2X_ERR
	movl	(%r15), %edi
	callq	_readl
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_GOOD_ME_REG
	testq	%rax, %rax
	jne	LBB0_12
## %bb.3:
	movl	$100, %edi
	callq	_msleep
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_BNX2X_ERR
	movl	(%r15), %edi
	callq	_readl
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_GOOD_ME_REG
	testq	%rax, %rax
	jne	LBB0_12
## %bb.4:
	movl	$100, %edi
	callq	_msleep
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_BNX2X_ERR
	movl	(%r15), %edi
	callq	_readl
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_GOOD_ME_REG
	testq	%rax, %rax
	jne	LBB0_12
## %bb.5:
	movl	$100, %edi
	callq	_msleep
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_BNX2X_ERR
	movl	(%r15), %edi
	callq	_readl
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_GOOD_ME_REG
	testq	%rax, %rax
	jne	LBB0_12
## %bb.6:
	movl	$100, %edi
	callq	_msleep
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_BNX2X_ERR
	movl	(%r15), %edi
	callq	_readl
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_GOOD_ME_REG
	testq	%rax, %rax
	jne	LBB0_12
## %bb.7:
	movl	$100, %edi
	callq	_msleep
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_BNX2X_ERR
	movl	(%r15), %edi
	callq	_readl
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_GOOD_ME_REG
	testq	%rax, %rax
	jne	LBB0_12
## %bb.8:
	movl	$100, %edi
	callq	_msleep
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_BNX2X_ERR
	movl	(%r15), %edi
	callq	_readl
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_GOOD_ME_REG
	testq	%rax, %rax
	jne	LBB0_12
## %bb.9:
	movl	$100, %edi
	callq	_msleep
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_BNX2X_ERR
	movl	(%r15), %edi
	callq	_readl
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_GOOD_ME_REG
	testq	%rax, %rax
	jne	LBB0_12
## %bb.10:
	movl	$100, %edi
	callq	_msleep
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_BNX2X_ERR
	movl	(%r15), %edi
	callq	_readl
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_GOOD_ME_REG
	testq	%rax, %rax
	jne	LBB0_12
## %bb.11:
	movl	$100, %edi
	callq	_msleep
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_BNX2X_ERR
LBB0_12:
	movl	%ebx, %edi
	callq	_GOOD_ME_REG
	testq	%rax, %rax
	je	LBB0_13
## %bb.14:
	leaq	L_.str.2(%rip), %rdi
	movl	%ebx, %esi
	callq	_BNX2X_ERR
	movq	_ME_REG_VF_NUM_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movq	_ME_REG_VF_NUM_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %ebx
	movl	%ebx, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_15
LBB0_13:
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	callq	_BNX2X_ERR
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid ME register value: 0x%08x\n. Is pf driver up?"

L_.str.1:                               ## @.str.1
	.asciz	"Invalid ME register value: 0x%08x\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.2:                               ## @.str.2
	.asciz	"valid ME register value: 0x%08x\n"

	.comm	_ME_REG_VF_NUM_MASK,4,2         ## @ME_REG_VF_NUM_MASK
	.comm	_ME_REG_VF_NUM_SHIFT,4,2        ## @ME_REG_VF_NUM_SHIFT
	.no_dead_strip	_bnx2x_get_vf_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_get_vf_id
_bnx2x_get_vf_id:                       ; @bnx2x_get_vf_id
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	w0, [x0]
	bl	_readl
	mov	x21, x0
	bl	_GOOD_ME_REG
	cbnz	x0, LBB0_12
; %bb.1:
	mov	w0, #100
	bl	_msleep
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_BNX2X_ERR
	ldr	w0, [x20]
	bl	_readl
	mov	x21, x0
	bl	_GOOD_ME_REG
	cbnz	x0, LBB0_12
; %bb.2:
	mov	w0, #100
	bl	_msleep
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_BNX2X_ERR
	ldr	w0, [x20]
	bl	_readl
	mov	x21, x0
	bl	_GOOD_ME_REG
	cbnz	x0, LBB0_12
; %bb.3:
	mov	w0, #100
	bl	_msleep
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_BNX2X_ERR
	ldr	w0, [x20]
	bl	_readl
	mov	x21, x0
	bl	_GOOD_ME_REG
	cbnz	x0, LBB0_12
; %bb.4:
	mov	w0, #100
	bl	_msleep
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_BNX2X_ERR
	ldr	w0, [x20]
	bl	_readl
	mov	x21, x0
	bl	_GOOD_ME_REG
	cbnz	x0, LBB0_12
; %bb.5:
	mov	w0, #100
	bl	_msleep
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_BNX2X_ERR
	ldr	w0, [x20]
	bl	_readl
	mov	x21, x0
	bl	_GOOD_ME_REG
	cbnz	x0, LBB0_12
; %bb.6:
	mov	w0, #100
	bl	_msleep
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_BNX2X_ERR
	ldr	w0, [x20]
	bl	_readl
	mov	x21, x0
	bl	_GOOD_ME_REG
	cbnz	x0, LBB0_12
; %bb.7:
	mov	w0, #100
	bl	_msleep
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_BNX2X_ERR
	ldr	w0, [x20]
	bl	_readl
	mov	x21, x0
	bl	_GOOD_ME_REG
	cbnz	x0, LBB0_12
; %bb.8:
	mov	w0, #100
	bl	_msleep
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_BNX2X_ERR
	ldr	w0, [x20]
	bl	_readl
	mov	x21, x0
	bl	_GOOD_ME_REG
	cbnz	x0, LBB0_12
; %bb.9:
	mov	w0, #100
	bl	_msleep
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_BNX2X_ERR
	ldr	w0, [x20]
	bl	_readl
	mov	x21, x0
	bl	_GOOD_ME_REG
	cbnz	x0, LBB0_12
; %bb.10:
	mov	w0, #100
	bl	_msleep
Lloh18:
	adrp	x0, l_.str@PAGE
Lloh19:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_BNX2X_ERR
	ldr	w0, [x20]
	bl	_readl
	mov	x21, x0
	bl	_GOOD_ME_REG
	cbnz	x0, LBB0_12
; %bb.11:
	mov	w0, #100
	bl	_msleep
Lloh20:
	adrp	x0, l_.str@PAGE
Lloh21:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_BNX2X_ERR
LBB0_12:
	mov	x0, x21
	bl	_GOOD_ME_REG
	cbz	x0, LBB0_14
; %bb.13:
Lloh22:
	adrp	x0, l_.str.2@PAGE
Lloh23:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x21
	bl	_BNX2X_ERR
	mov	w0, #0
Lloh24:
	adrp	x8, _ME_REG_VF_NUM_MASK@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ME_REG_VF_NUM_MASK@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	and	w8, w8, w21
Lloh27:
	adrp	x9, _ME_REG_VF_NUM_SHIFT@GOTPAGE
Lloh28:
	ldr	x9, [x9, _ME_REG_VF_NUM_SHIFT@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	asr	w8, w8, w9
	str	w8, [x19]
	b	LBB0_15
LBB0_14:
Lloh30:
	adrp	x0, l_.str.1@PAGE
Lloh31:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	bl	_BNX2X_ERR
Lloh32:
	adrp	x8, _EINVAL@GOTPAGE
Lloh33:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_15:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid ME register value: 0x%08x\n. Is pf driver up?"

l_.str.1:                               ; @.str.1
	.asciz	"Invalid ME register value: 0x%08x\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.2:                               ; @.str.2
	.asciz	"valid ME register value: 0x%08x\n"

	.comm	_ME_REG_VF_NUM_MASK,4,2         ; @ME_REG_VF_NUM_MASK
	.comm	_ME_REG_VF_NUM_SHIFT,4,2        ; @ME_REG_VF_NUM_SHIFT
	.no_dead_strip	_bnx2x_get_vf_id
.subsections_via_symbols
