	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_iov_vf_mbx_start_txq
_qed_iov_vf_mbx_start_txq:              ## @qed_iov_vf_mbx_start_txq
	.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	$248, %rsp
	.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, %rbx
	movq	%rdi, %r15
	movq	_PFVF_STATUS_NO_RESOURCE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	-152(%rbp), %rdi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	movl	$64, %edx
	callq	_memset
	movq	32(%r12), %r13
	movq	(%r13), %rdx
	movq	_QED_IOV_VALIDATE_Q_NA@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_qed_iov_validate_txq
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	movl	20(%r13), %edx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_qed_iov_validate_sb
	testl	%eax, %eax
	je	LBB0_6
## %bb.2:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	$1, %edx
	callq	_qed_iov_vf_mbx_qid
	movq	%rax, %r14
	movq	_QED_IOV_QID_INVALID@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	je	LBB0_4
## %bb.3:
	movq	24(%r12), %rbx
	movq	(%r13), %rsi
	shlq	$4, %rsi
	movq	(%rbx,%rsi), %rax
	movq	%r14, %rdx
	shlq	$4, %rdx
	cmpq	$0, 8(%rax,%rdx)
	je	LBB0_8
LBB0_4:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	xorl	%r14d, %r14d
LBB0_6:
	movq	-56(%rbp), %r13                 ## 8-byte Reload
LBB0_7:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movl	%r14d, %ecx
	movq	%r13, %r8
	callq	_qed_iov_vf_mbx_start_txq_resp
	addq	$248, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	callq	_qed_vf_calculate_legacy
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rbx,%rax), %eax
	movl	%eax, -92(%rbp)
	movl	16(%r12), %eax
	movl	%eax, -96(%rbp)
	movq	8(%r12), %rax
	addq	$16, %rax
	movq	%rax, -104(%rbp)
	leaq	-280(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$64, %edx
	callq	_memset
	movl	20(%r13), %eax
	movl	%eax, -240(%rbp)
	movq	%rbx, -120(%rbp)
	movl	16(%r13), %eax
	movl	%eax, -124(%rbp)
	leaq	-216(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$64, %edx
	callq	_memset
	movl	(%r12), %eax
	movl	%eax, -192(%rbp)
	movq	(%r13), %rax
	movq	%rax, -216(%rbp)
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -208(%rbp)
	movq	%r14, -200(%rbp)
	movl	4(%r12), %esi
	leaq	-152(%rbp), %rdx
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	callq	_qed_eth_queue_to_cid
	testq	%rax, %rax
	je	LBB0_4
## %bb.9:
	movq	%rax, %r14
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_qed_get_cm_pq_idx_vf
	movl	8(%r13), %ecx
	movl	12(%r13), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%eax, %r8d
	callq	_qed_eth_txq_start_ramrod
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	movq	_PFVF_STATUS_FAILURE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_qed_eth_queue_cid_release
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	xorl	%r14d, %r14d
	jmp	LBB0_7
LBB0_11:
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	addq	-64(%rbp), %rcx                 ## 8-byte Folded Reload
	movq	_PFVF_STATUS_SUCCESS@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	(%rcx), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%r14, 8(%rax,%rcx)
	movl	$1, (%rax,%rcx)
	movl	(%r14), %r14d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_PFVF_STATUS_NO_RESOURCE,8,3    ## @PFVF_STATUS_NO_RESOURCE
	.comm	_QED_IOV_VALIDATE_Q_NA,4,2      ## @QED_IOV_VALIDATE_Q_NA
	.comm	_QED_IOV_QID_INVALID,8,3        ## @QED_IOV_QID_INVALID
	.comm	_PFVF_STATUS_FAILURE,8,3        ## @PFVF_STATUS_FAILURE
	.comm	_PFVF_STATUS_SUCCESS,8,3        ## @PFVF_STATUS_SUCCESS
	.no_dead_strip	_qed_iov_vf_mbx_start_txq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_iov_vf_mbx_start_txq
_qed_iov_vf_mbx_start_txq:              ; @qed_iov_vf_mbx_start_txq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #288
	.cfi_def_cfa_offset 288
	stp	x28, x27, [sp, #192]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #208]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #224]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #240]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #256]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #272]            ; 16-byte Folded Spill
	add	x29, sp, #272
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _PFVF_STATUS_NO_RESOURCE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PFVF_STATUS_NO_RESOURCE@GOTPAGEOFF]
Lloh2:
	ldr	x22, [x8]
	add	x0, sp, #128
	mov	w1, #0
	mov	w2, #64
	bl	_memset
	ldr	x25, [x19, #32]
	ldr	x2, [x25]
Lloh3:
	adrp	x8, _QED_IOV_VALIDATE_Q_NA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QED_IOV_VALIDATE_Q_NA@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x19
	bl	_qed_iov_validate_txq
	cbz	w0, LBB0_4
; %bb.1:
	ldr	w2, [x25, #20]
	mov	x0, x21
	mov	x1, x19
	bl	_qed_iov_validate_sb
	cbz	w0, LBB0_4
; %bb.2:
	mov	x0, x21
	mov	x1, x19
	mov	w2, #1
	bl	_qed_iov_vf_mbx_qid
Lloh6:
	adrp	x8, _QED_IOV_QID_INVALID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QED_IOV_QID_INVALID@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_4
; %bb.3:
	mov	x23, x0
	ldr	x8, [x19, #24]
	ldr	x9, [x25]
	add	x26, x8, x9, lsl #4
	ldr	x8, [x26]
	add	x8, x8, x0, lsl #4
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_6
LBB0_4:
	mov	w3, #0
LBB0_5:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	x4, x22
	bl	_qed_iov_vf_mbx_start_txq_resp
	ldp	x29, x30, [sp, #272]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #256]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #240]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #224]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #208]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #192]            ; 16-byte Folded Reload
	add	sp, sp, #288
	ret
LBB0_6:
	mov	x0, x19
	bl	_qed_vf_calculate_legacy
	mov	x24, x0
	ldr	w8, [x26, #8]
	ldr	w9, [x19, #16]
	stp	w9, w8, [sp, #184]
	ldr	x8, [x19, #8]
	add	x8, x8, #16
	str	x8, [sp, #176]
	mov	x27, sp
	mov	x0, sp
	mov	w1, #0
	mov	w2, #64
	bl	_memset
	ldr	w8, [x25, #20]
	str	w8, [sp, #40]
	str	x27, [sp, #160]
	ldr	w8, [x25, #16]
	str	w8, [sp, #156]
	add	x0, sp, #64
	mov	w1, #0
	mov	w2, #64
	bl	_memset
	ldp	w8, w1, [x19]
	str	w8, [sp, #88]
	ldr	x8, [x25]
	stp	x8, x24, [sp, #64]
	str	x23, [sp, #80]
	add	x2, sp, #128
	add	x4, sp, #64
	mov	x0, x21
	mov	w3, #0
	bl	_qed_eth_queue_to_cid
	cbz	x0, LBB0_4
; %bb.7:
	mov	x24, x0
	ldr	w1, [x19]
	mov	x0, x21
	bl	_qed_get_cm_pq_idx_vf
	mov	x4, x0
	ldp	w3, w2, [x25, #8]
	mov	x0, x21
	mov	x1, x24
	bl	_qed_eth_txq_start_ramrod
	cbz	w0, LBB0_9
; %bb.8:
Lloh9:
	adrp	x8, _PFVF_STATUS_FAILURE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PFVF_STATUS_FAILURE@GOTPAGEOFF]
Lloh11:
	ldr	x22, [x8]
	mov	x0, x21
	mov	x1, x24
	bl	_qed_eth_queue_cid_release
	b	LBB0_4
LBB0_9:
Lloh12:
	adrp	x8, _PFVF_STATUS_SUCCESS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PFVF_STATUS_SUCCESS@GOTPAGEOFF]
Lloh14:
	ldr	x22, [x8]
	ldr	x8, [x26]
	add	x8, x8, x23, lsl #4
	str	x24, [x8, #8]
	mov	w9, #1
	str	w9, [x8]
	ldr	w3, [x24]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_PFVF_STATUS_NO_RESOURCE,8,3    ; @PFVF_STATUS_NO_RESOURCE
	.comm	_QED_IOV_VALIDATE_Q_NA,4,2      ; @QED_IOV_VALIDATE_Q_NA
	.comm	_QED_IOV_QID_INVALID,8,3        ; @QED_IOV_QID_INVALID
	.comm	_PFVF_STATUS_FAILURE,8,3        ; @PFVF_STATUS_FAILURE
	.comm	_PFVF_STATUS_SUCCESS,8,3        ; @PFVF_STATUS_SUCCESS
	.no_dead_strip	_qed_iov_vf_mbx_start_txq
.subsections_via_symbols
