	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_vf_mbx_schedule          ## -- Begin function bnx2x_vf_mbx_schedule
	.p2align	4, 0x90
_bnx2x_vf_mbx_schedule:                 ## @bnx2x_vf_mbx_schedule
	.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, %r13
	movq	%rdi, %r14
	movq	_BNX2X_MSG_IOV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rsi), %rdx
	movl	12(%rsi), %ecx
	movl	8(%rsi), %r8d
	leaq	L_.str(%rip), %rsi
	callq	_DP
	movq	(%r13), %rbx
	movq	%r14, %rdi
	callq	_BP_VFDB
	subq	16(%rax), %rbx
	movq	%r14, %rdi
	callq	_BNX2X_NR_VIRTFN
	movq	(%r13), %r15
	cmpq	%rax, %rbx
	jle	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_BNX2X_NR_VIRTFN
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	movq	%rax, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_BNX2X_ERR                      ## TAILCALL
LBB0_2:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_bnx2x_vf_idx_by_abs_fid
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_BP_VFDB
	leaq	8(%rax), %rdi
	callq	_mutex_lock
	movl	12(%r13), %edi
	callq	_le32_to_cpu
	movq	%rax, %r12
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_BP_VF_MBX
	movq	%r12, 8(%rax)
	movl	8(%r13), %edi
	callq	_le32_to_cpu
	movq	%rax, %rbx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_BP_VF_MBX
	movq	%rbx, (%rax)
	movl	$1, %ebx
	movl	%r15d, %ecx
	shlq	%cl, %rbx
	movq	%r14, %rdi
	callq	_BP_VFDB
	orq	%rbx, (%rax)
	movq	%r14, %rdi
	callq	_BP_VFDB
	leaq	8(%rax), %rdi
	callq	_mutex_unlock
	movq	_BNX2X_IOV_HANDLE_VF_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_schedule_iov_task        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_MSG_IOV,4,2              ## @BNX2X_MSG_IOV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vf pf event received: vfid %d, address_hi %x, address lo %x"

L_.str.1:                               ## @.str.1
	.asciz	"Illegal vf_id %d max allowed: %d\n"

	.comm	_BNX2X_IOV_HANDLE_VF_MSG,4,2    ## @BNX2X_IOV_HANDLE_VF_MSG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_vf_mbx_schedule          ; -- Begin function bnx2x_vf_mbx_schedule
	.p2align	2
_bnx2x_vf_mbx_schedule:                 ; @bnx2x_vf_mbx_schedule
	.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
Lloh0:
	adrp	x8, _BNX2X_MSG_IOV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2X_MSG_IOV@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x2, [x1]
	ldp	w4, w3, [x1, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DP
	ldr	x21, [x20]
	mov	x0, x19
	bl	_BP_VFDB
	ldr	x8, [x0, #16]
	sub	x22, x21, x8
	mov	x0, x19
	bl	_BNX2X_NR_VIRTFN
	ldr	x21, [x20]
	cmp	x22, x0
	b.le	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_BNX2X_NR_VIRTFN
	mov	x2, x0
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	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_ERR
LBB0_2:
	mov	x0, x19
	mov	x1, x21
	bl	_bnx2x_vf_idx_by_abs_fid
	mov	x21, x0
	mov	x0, x19
	bl	_BP_VFDB
	add	x0, x0, #8
	bl	_mutex_lock
	ldr	w0, [x20, #12]
	bl	_le32_to_cpu
	mov	x22, x0
	mov	x0, x19
	mov	x1, x21
	bl	_BP_VF_MBX
	str	x22, [x0, #8]
	ldr	w0, [x20, #8]
	bl	_le32_to_cpu
	mov	x20, x0
	mov	x0, x19
	mov	x1, x21
	bl	_BP_VF_MBX
	str	x20, [x0]
	mov	w8, #1
	lsl	x20, x8, x21
	mov	x0, x19
	bl	_BP_VFDB
	ldr	x8, [x0]
	orr	x8, x8, x20
	str	x8, [x0]
	mov	x0, x19
	bl	_BP_VFDB
	add	x0, x0, #8
	bl	_mutex_unlock
Lloh7:
	adrp	x8, _BNX2X_IOV_HANDLE_VF_MSG@GOTPAGE
Lloh8:
	ldr	x8, [x8, _BNX2X_IOV_HANDLE_VF_MSG@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	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_schedule_iov_task
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_MSG_IOV,4,2              ; @BNX2X_MSG_IOV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vf pf event received: vfid %d, address_hi %x, address lo %x"

l_.str.1:                               ; @.str.1
	.asciz	"Illegal vf_id %d max allowed: %d\n"

	.comm	_BNX2X_IOV_HANDLE_VF_MSG,4,2    ; @BNX2X_IOV_HANDLE_VF_MSG
.subsections_via_symbols
