	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_vfop_qctor
_bnx2x_vfop_qctor:                      ## @bnx2x_vfop_qctor
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	callq	_bnx2x_vfop_cur
	movq	%rax, %r13
	movq	16(%rax), %r12
	leaq	4(%r12), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%r13), %ebx
	movq	%r15, %rdi
	callq	_bnx2x_vfop_reset_wq
	movq	8(%r13), %r8
	testq	%r8, %r8
	js	LBB0_10
## %bb.1:
	movq	_BNX2X_MSG_IOV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %edx
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_DP
	cmpl	$128, %ebx
	je	LBB0_7
## %bb.2:
	cmpl	$129, %ebx
	je	LBB0_8
## %bb.3:
	cmpl	$130, %ebx
	jne	LBB0_9
## %bb.4:
	movl	12(%r12), %esi
	movq	%r14, %rdi
	callq	_bnx2x_get_q_logical_state
	movq	_BNX2X_Q_LOGICAL_STATE_ACTIVE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_6
## %bb.5:
	movq	_BNX2X_MSG_IOV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_DP
	jmp	LBB0_11
LBB0_9:
	movl	%ebx, %edi
	callq	_bnx2x_vfop_default
	movq	8(%r13), %r8
LBB0_10:
	movl	(%r15), %esi
	movl	24(%r13), %edx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ecx
	leaq	L_.str.2(%rip), %rdi
	callq	_BNX2X_ERR
	jmp	LBB0_11
LBB0_6:
	movl	$128, (%r13)
	movq	_BNX2X_Q_CMD_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, (%rsi)
	movq	%r14, %rdi
	callq	_bnx2x_queue_state_change
	movq	%rax, 8(%r13)
	movq	_VFOP_CONT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_bnx2x_vfop_finalize
LBB0_7:
	movl	$129, (%r13)
	movq	16(%r13), %rax
	movl	(%rax), %ecx
	movl	%ecx, 8(%rax)
	movq	_BNX2X_Q_CMD_SETUP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, (%rsi)
	movq	%r14, %rdi
	callq	_bnx2x_queue_state_change
	movq	%rax, 8(%r13)
	movq	_VFOP_CONT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_bnx2x_vfop_finalize
LBB0_8:
	movl	28(%r13), %esi
	movq	%r15, %rdi
	callq	_vf_igu_sb
	movq	_USTORM_ID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_IGU_INT_ENABLE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r9d
	movl	$0, (%rsp)
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	xorl	%r8d, %r8d
	callq	_bnx2x_vf_igu_ack_sb
LBB0_11:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_vfop_end                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_MSG_IOV,4,2              ## @BNX2X_MSG_IOV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vf[%d] STATE: %d\n"

	.comm	_BNX2X_Q_LOGICAL_STATE_ACTIVE,4,2 ## @BNX2X_Q_LOGICAL_STATE_ACTIVE
L_.str.1:                               ## @.str.1
	.asciz	"Entered qctor but queue was already up. Aborting gracefully\n"

	.comm	_BNX2X_Q_CMD_INIT,4,2           ## @BNX2X_Q_CMD_INIT
	.comm	_VFOP_CONT,4,2                  ## @VFOP_CONT
	.comm	_BNX2X_Q_CMD_SETUP,4,2          ## @BNX2X_Q_CMD_SETUP
	.comm	_USTORM_ID,4,2                  ## @USTORM_ID
	.comm	_IGU_INT_ENABLE,4,2             ## @IGU_INT_ENABLE
L_.str.2:                               ## @.str.2
	.asciz	"QCTOR[%d:%d] error: cmd %d, rc %d\n"

	.no_dead_strip	_bnx2x_vfop_qctor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_vfop_qctor
_bnx2x_vfop_qctor:                      ; @bnx2x_vfop_qctor
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
	bl	_bnx2x_vfop_cur
	mov	x21, x0
	ldr	x25, [x0, #16]
	add	x22, x25, #4
	ldr	w23, [x0]
	mov	x0, x19
	bl	_bnx2x_vfop_reset_wq
	ldr	x4, [x21, #8]
	tbnz	x4, #63, LBB0_7
; %bb.1:
Lloh0:
	adrp	x24, _BNX2X_MSG_IOV@GOTPAGE
Lloh1:
	ldr	x24, [x24, _BNX2X_MSG_IOV@GOTPAGEOFF]
	ldr	w0, [x24]
	ldr	w8, [x19]
	stp	x8, x23, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DP
	cmp	w23, #128
	b.eq	LBB0_9
; %bb.2:
	cmp	w23, #129
	b.eq	LBB0_10
; %bb.3:
	cmp	w23, #130
	b.ne	LBB0_6
; %bb.4:
	ldr	w1, [x25, #12]
	mov	x0, x20
	bl	_bnx2x_get_q_logical_state
Lloh4:
	adrp	x8, _BNX2X_Q_LOGICAL_STATE_ACTIVE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _BNX2X_Q_LOGICAL_STATE_ACTIVE@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_8
; %bb.5:
	ldr	w0, [x24]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_DP
	b	LBB0_11
LBB0_6:
	mov	x0, x23
	bl	_bnx2x_vfop_default
	ldr	x4, [x21, #8]
LBB0_7:
	ldr	w1, [x19]
	ldr	w2, [x21, #24]
	ldr	w3, [x22]
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_BNX2X_ERR
	b	LBB0_11
LBB0_8:
	mov	w8, #128
	str	w8, [x21]
Lloh11:
	adrp	x8, _BNX2X_Q_CMD_INIT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BNX2X_Q_CMD_INIT@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x22]
	mov	x0, x20
	mov	x1, x22
	bl	_bnx2x_queue_state_change
	mov	x1, x0
	str	x0, [x21, #8]
Lloh14:
	adrp	x8, _VFOP_CONT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _VFOP_CONT@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_bnx2x_vfop_finalize
LBB0_9:
	mov	w8, #129
	str	w8, [x21]
	ldr	x8, [x21, #16]
	ldr	w9, [x8]
	str	w9, [x8, #8]
Lloh17:
	adrp	x8, _BNX2X_Q_CMD_SETUP@GOTPAGE
Lloh18:
	ldr	x8, [x8, _BNX2X_Q_CMD_SETUP@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	str	w8, [x22]
	mov	x0, x20
	mov	x1, x22
	bl	_bnx2x_queue_state_change
	mov	x1, x0
	str	x0, [x21, #8]
Lloh20:
	adrp	x8, _VFOP_CONT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _VFOP_CONT@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_bnx2x_vfop_finalize
LBB0_10:
	ldr	w1, [x21, #28]
	mov	x0, x19
	bl	_vf_igu_sb
	mov	x2, x0
Lloh23:
	adrp	x8, _USTORM_ID@GOTPAGE
Lloh24:
	ldr	x8, [x8, _USTORM_ID@GOTPAGEOFF]
Lloh25:
	ldr	w3, [x8]
Lloh26:
	adrp	x8, _IGU_INT_ENABLE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _IGU_INT_ENABLE@GOTPAGEOFF]
Lloh28:
	ldr	w5, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	w4, #0
	mov	w6, #0
	bl	_bnx2x_vf_igu_ack_sb
LBB0_11:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_bnx2x_vfop_end
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_MSG_IOV,4,2              ; @BNX2X_MSG_IOV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vf[%d] STATE: %d\n"

	.comm	_BNX2X_Q_LOGICAL_STATE_ACTIVE,4,2 ; @BNX2X_Q_LOGICAL_STATE_ACTIVE
l_.str.1:                               ; @.str.1
	.asciz	"Entered qctor but queue was already up. Aborting gracefully\n"

	.comm	_BNX2X_Q_CMD_INIT,4,2           ; @BNX2X_Q_CMD_INIT
	.comm	_VFOP_CONT,4,2                  ; @VFOP_CONT
	.comm	_BNX2X_Q_CMD_SETUP,4,2          ; @BNX2X_Q_CMD_SETUP
	.comm	_USTORM_ID,4,2                  ; @USTORM_ID
	.comm	_IGU_INT_ENABLE,4,2             ; @IGU_INT_ENABLE
l_.str.2:                               ; @.str.2
	.asciz	"QCTOR[%d:%d] error: cmd %d, rc %d\n"

	.no_dead_strip	_bnx2x_vfop_qctor
.subsections_via_symbols
