	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_vfop_qdtor
_bnx2x_vfop_qdtor:                      ## @bnx2x_vfop_qdtor
	.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, %r15
	movq	%rdi, %r14
	callq	_bnx2x_vfop_cur
	movq	%rax, %rbx
	movq	16(%rax), %r12
	movl	(%rax), %r13d
	movq	%r15, %rdi
	callq	_bnx2x_vfop_reset_wq
	movq	8(%rbx), %r8
	testq	%r8, %r8
	js	LBB0_8
## %bb.1:
	movq	_BNX2X_MSG_IOV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %edx
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %ecx
	xorl	%eax, %eax
	callq	_DP
	leal	-128(%r13), %eax
	cmpl	$3, %eax
	ja	LBB0_10
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_3:
	movl	4(%r12), %esi
	movq	%r14, %rdi
	callq	_bnx2x_get_q_logical_state
	movq	_BNX2X_Q_LOGICAL_STATE_STOPPED@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_5
## %bb.4:
	movq	_BNX2X_MSG_IOV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_DP
	jmp	LBB0_9
LBB0_10:
	movl	%r13d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_vfop_default             ## TAILCALL
LBB0_5:
	movl	$128, (%rbx)
	movq	_BNX2X_Q_CMD_HALT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_bnx2x_queue_state_change
	movq	%rax, 8(%rbx)
	movq	_VFOP_CONT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_bnx2x_vfop_finalize
LBB0_6:
	movl	$131, (%rbx)
	movq	_BNX2X_Q_CMD_TERMINATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_bnx2x_queue_state_change
	movq	%rax, 8(%rbx)
	movq	_VFOP_CONT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_bnx2x_vfop_finalize
LBB0_7:
	movl	$130, (%rbx)
	movq	_BNX2X_Q_CMD_CFC_DEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_bnx2x_queue_state_change
	movq	%rax, 8(%rbx)
	movq	_VFOP_DONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_bnx2x_vfop_finalize
	movq	8(%rbx), %r8
LBB0_8:
	movl	(%r15), %esi
	movl	32(%rbx), %edx
	movl	(%r12), %ecx
	leaq	L_.str.2(%rip), %rdi
	callq	_BNX2X_ERR
LBB0_9:
	movq	24(%rbx), %rax
	movq	$0, (%rax)
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_vfop_end                 ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_3
	.long	L0_0_set_9
	.long	L0_0_set_7
	.end_data_region
                                        ## -- 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_STOPPED,4,2 ## @BNX2X_Q_LOGICAL_STATE_STOPPED
L_.str.1:                               ## @.str.1
	.asciz	"Entered qdtor but queue was already stopped. Aborting gracefully\n"

	.comm	_BNX2X_Q_CMD_HALT,4,2           ## @BNX2X_Q_CMD_HALT
	.comm	_VFOP_CONT,4,2                  ## @VFOP_CONT
	.comm	_BNX2X_Q_CMD_TERMINATE,4,2      ## @BNX2X_Q_CMD_TERMINATE
	.comm	_BNX2X_Q_CMD_CFC_DEL,4,2        ## @BNX2X_Q_CMD_CFC_DEL
	.comm	_VFOP_DONE,4,2                  ## @VFOP_DONE
L_.str.2:                               ## @.str.2
	.asciz	"QDTOR[%d:%d] error: cmd %d, rc %d\n"

	.no_dead_strip	_bnx2x_vfop_qdtor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_vfop_qdtor
_bnx2x_vfop_qdtor:                      ; @bnx2x_vfop_qdtor
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x1
	mov	x20, x0
	bl	_bnx2x_vfop_cur
	mov	x21, x0
	ldr	x22, [x0, #16]
	ldr	w23, [x0]
	mov	x0, x19
	bl	_bnx2x_vfop_reset_wq
	ldr	x4, [x21, #8]
	tbnz	x4, #63, LBB0_9
; %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
	sub	w8, w23, #128
	cmp	w8, #3
	b.hi	LBB0_5
; %bb.2:
Lloh4:
	adrp	x9, lJTI0_0@PAGE
Lloh5:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	ldr	w1, [x22, #4]
	mov	x0, x20
	bl	_bnx2x_get_q_logical_state
Lloh6:
	adrp	x8, _BNX2X_Q_LOGICAL_STATE_STOPPED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BNX2X_Q_LOGICAL_STATE_STOPPED@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_6
; %bb.4:
	ldr	w0, [x24]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_DP
	b	LBB0_10
LBB0_5:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_bnx2x_vfop_default
LBB0_6:
	mov	w8, #128
	str	w8, [x21]
Lloh11:
	adrp	x8, _BNX2X_Q_CMD_HALT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BNX2X_Q_CMD_HALT@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_7:
	mov	w8, #131
	str	w8, [x21]
Lloh17:
	adrp	x8, _BNX2X_Q_CMD_TERMINATE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _BNX2X_Q_CMD_TERMINATE@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_8:
	mov	w8, #130
	str	w8, [x21]
Lloh23:
	adrp	x8, _BNX2X_Q_CMD_CFC_DEL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _BNX2X_Q_CMD_CFC_DEL@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	str	w8, [x22]
	mov	x0, x20
	mov	x1, x22
	bl	_bnx2x_queue_state_change
	mov	x1, x0
	str	x0, [x21, #8]
Lloh26:
	adrp	x8, _VFOP_DONE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _VFOP_DONE@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_bnx2x_vfop_finalize
	ldr	x4, [x21, #8]
LBB0_9:
	ldr	w1, [x19]
	ldr	w2, [x21, #32]
	ldr	w3, [x22]
Lloh29:
	adrp	x0, l_.str.2@PAGE
Lloh30:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_BNX2X_ERR
LBB0_10:
	ldr	x8, [x21, #24]
	str	xzr, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_bnx2x_vfop_end
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, 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
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
                                        ; -- 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_STOPPED,4,2 ; @BNX2X_Q_LOGICAL_STATE_STOPPED
l_.str.1:                               ; @.str.1
	.asciz	"Entered qdtor but queue was already stopped. Aborting gracefully\n"

	.comm	_BNX2X_Q_CMD_HALT,4,2           ; @BNX2X_Q_CMD_HALT
	.comm	_VFOP_CONT,4,2                  ; @VFOP_CONT
	.comm	_BNX2X_Q_CMD_TERMINATE,4,2      ; @BNX2X_Q_CMD_TERMINATE
	.comm	_BNX2X_Q_CMD_CFC_DEL,4,2        ; @BNX2X_Q_CMD_CFC_DEL
	.comm	_VFOP_DONE,4,2                  ; @VFOP_DONE
l_.str.2:                               ; @.str.2
	.asciz	"QDTOR[%d:%d] error: cmd %d, rc %d\n"

	.no_dead_strip	_bnx2x_vfop_qdtor
.subsections_via_symbols
