	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_vf_mbx_request
_bnx2x_vf_mbx_request:                  ## @bnx2x_vf_mbx_request
	.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	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	(%rdx), %edi
	callq	_bnx2x_tlv_supported
	movl	(%r12), %edx
	testq	%rax, %rax
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_10
## %bb.1:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_bnx2x_lock_vf_pf_channel
	movl	(%r12), %eax
	addl	$-128, %eax
	cmpl	$6, %eax
	ja	LBB0_12
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_7:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%r12, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_vf_mbx_teardown_q        ## TAILCALL
LBB0_10:
	movl	4(%r12), %eax
	movq	(%r14), %rcx
	leaq	L_.str(%rip), %rdi
	movl	%edx, %esi
	movl	%eax, %edx
	callq	_BNX2X_ERR
	xorl	%ebx, %ebx
	movq	_BNX2X_MSG_IOV@GOTPCREL(%rip), %r15
	leaq	L_.str.1(%rip), %r13
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	movq	8(%r12), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %edx
	movq	%r13, %rsi
	callq	_DP_CONT
	incq	%rbx
	cmpq	$20, %rbx
	jne	LBB0_11
LBB0_12:
	movq	(%r14), %rax
	movq	_VF_ACQUIRED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_14
## %bb.13:
	movq	_VF_ENABLED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_14
## %bb.15:
	movl	8(%r14), %esi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_storm_memset_vf_mbx_ack
	xorl	%eax, %eax
	callq	_mmiowb
	movl	(%r12), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_unlock_vf_pf_channel     ## TAILCALL
LBB0_14:
	movq	_PFVF_STATUS_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r14)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_vf_mbx_resp              ## TAILCALL
LBB0_6:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%r12, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_vf_mbx_set_q_filters     ## TAILCALL
LBB0_5:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%r12, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_vf_mbx_setup_q           ## TAILCALL
LBB0_9:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%r12, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_vf_mbx_release_vf        ## TAILCALL
LBB0_4:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%r12, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_vf_mbx_init_vf           ## TAILCALL
LBB0_8:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%r12, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_vf_mbx_close_vf          ## TAILCALL
LBB0_3:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%r12, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_vf_mbx_acquire           ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_9
	.long	L0_0_set_4
	.long	L0_0_set_8
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown TLV. type %d length %d vf->state was %d. first 20 bytes of mailbox buffer:\n"

	.comm	_BNX2X_MSG_IOV,4,2              ## @BNX2X_MSG_IOV
L_.str.1:                               ## @.str.1
	.asciz	"%x "

	.comm	_VF_ACQUIRED,8,3                ## @VF_ACQUIRED
	.comm	_VF_ENABLED,8,3                 ## @VF_ENABLED
	.comm	_PFVF_STATUS_NOT_SUPPORTED,4,2  ## @PFVF_STATUS_NOT_SUPPORTED
	.no_dead_strip	_bnx2x_vf_mbx_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_vf_mbx_request
_bnx2x_vf_mbx_request:                  ; @bnx2x_vf_mbx_request
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w0, [x2]
	bl	_bnx2x_tlv_supported
	ldr	w2, [x19]
	cbz	x0, LBB0_4
; %bb.1:
	mov	x0, x21
	mov	x1, x20
	bl	_bnx2x_lock_vf_pf_channel
	ldr	w8, [x19]
	sub	w8, w8, #128
	cmp	w8, #6
	b.hi	LBB0_6
; %bb.2:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_bnx2x_vf_mbx_teardown_q
LBB0_4:
	ldr	w8, [x19, #4]
	ldr	x3, [x20]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x2
	mov	x2, x8
	bl	_BNX2X_ERR
	mov	x23, #0
Lloh4:
	adrp	x24, _BNX2X_MSG_IOV@GOTPAGE
Lloh5:
	ldr	x24, [x24, _BNX2X_MSG_IOV@GOTPAGEOFF]
Lloh6:
	adrp	x22, l_.str.1@PAGE
Lloh7:
	add	x22, x22, l_.str.1@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x24]
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	w2, [x8, x23]
	mov	x1, x22
	bl	_DP_CONT
	add	x23, x23, #4
	cmp	x23, #80
	b.ne	LBB0_5
LBB0_6:
	ldr	x8, [x20]
Lloh8:
	adrp	x9, _VF_ACQUIRED@GOTPAGE
Lloh9:
	ldr	x9, [x9, _VF_ACQUIRED@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
Lloh11:
	adrp	x10, _VF_ENABLED@GOTPAGE
Lloh12:
	ldr	x10, [x10, _VF_ENABLED@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_8
; %bb.7:
Lloh14:
	adrp	x8, _PFVF_STATUS_NOT_SUPPORTED@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PFVF_STATUS_NOT_SUPPORTED@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x20, #12]
	mov	x0, x21
	mov	x1, x20
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_bnx2x_vf_mbx_resp
LBB0_8:
	ldr	w1, [x20, #8]
	mov	x0, x21
	bl	_storm_memset_vf_mbx_ack
	bl	_mmiowb
	ldr	w2, [x19]
	mov	x0, x21
	mov	x1, x20
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_bnx2x_unlock_vf_pf_channel
LBB0_9:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_bnx2x_vf_mbx_set_q_filters
LBB0_10:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_bnx2x_vf_mbx_setup_q
LBB0_11:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_bnx2x_vf_mbx_release_vf
LBB0_12:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_bnx2x_vf_mbx_init_vf
LBB0_13:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_bnx2x_vf_mbx_close_vf
LBB0_14:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_bnx2x_vf_mbx_acquire
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown TLV. type %d length %d vf->state was %d. first 20 bytes of mailbox buffer:\n"

	.comm	_BNX2X_MSG_IOV,4,2              ; @BNX2X_MSG_IOV
l_.str.1:                               ; @.str.1
	.asciz	"%x "

	.comm	_VF_ACQUIRED,8,3                ; @VF_ACQUIRED
	.comm	_VF_ENABLED,8,3                 ; @VF_ENABLED
	.comm	_PFVF_STATUS_NOT_SUPPORTED,4,2  ; @PFVF_STATUS_NOT_SUPPORTED
	.no_dead_strip	_bnx2x_vf_mbx_request
.subsections_via_symbols
