	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_vf_enable_access         ## -- Begin function bnx2x_vf_enable_access
	.p2align	4, 0x90
_bnx2x_vf_enable_access:                ## @bnx2x_vf_enable_access
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	%esi, %edi
	callq	_FW_VF_HANDLE
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_BP_FUNC
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_storm_memset_vf_to_pf
	movl	%r14d, %edi
	callq	_FW_VF_HANDLE
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$1, %edx
	callq	_storm_memset_func_en
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_bnx2x_vf_semi_clear_err
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_bnx2x_vf_pglue_clear_err
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_HW_VF_HANDLE
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_bnx2x_pretend_func
	movq	_BNX2X_MSG_IOV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	callq	_DP
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_bnx2x_vf_enable_internal
	movq	%rbx, %rdi
	callq	_BP_ABS_FUNC
	movq	%rbx, %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_pretend_func             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_MSG_IOV,4,2              ## @BNX2X_MSG_IOV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"enabling internal access for vf %x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_vf_enable_access         ; -- Begin function bnx2x_vf_enable_access
	.p2align	2
_bnx2x_vf_enable_access:                ; @bnx2x_vf_enable_access
	.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	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_FW_VF_HANDLE
	mov	x21, x0
	mov	x0, x19
	bl	_BP_FUNC
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_storm_memset_vf_to_pf
	mov	x0, x20
	bl	_FW_VF_HANDLE
	mov	x1, x0
	mov	x0, x19
	mov	w2, #1
	bl	_storm_memset_func_en
	mov	x0, x19
	mov	x1, x20
	bl	_bnx2x_vf_semi_clear_err
	mov	x0, x19
	mov	x1, x20
	bl	_bnx2x_vf_pglue_clear_err
	mov	x0, x19
	mov	x1, x20
	bl	_HW_VF_HANDLE
	mov	x1, x0
	mov	x0, x19
	bl	_bnx2x_pretend_func
Lloh0:
	adrp	x8, _BNX2X_MSG_IOV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2X_MSG_IOV@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_DP
	mov	x0, x19
	mov	w1, #1
	bl	_bnx2x_vf_enable_internal
	mov	x0, x19
	bl	_BP_ABS_FUNC
	mov	x1, x0
	mov	x0, x19
	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
	b	_bnx2x_pretend_func
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_MSG_IOV,4,2              ; @BNX2X_MSG_IOV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"enabling internal access for vf %x\n"

.subsections_via_symbols
