	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_iov_vf_pf_get_coalesce
_qed_iov_vf_pf_get_coalesce:            ## @qed_iov_vf_pf_get_coalesce
	.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	%rdx, %rbx
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movq	_PFVF_STATUS_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	$0, -56(%rbp)
	leaq	16(%rdx), %r13
	movq	24(%rdx), %rax
	movq	32(%rdx), %rcx
	movq	%rcx, 16(%rdx)
	movq	(%rax), %r12
	cmpq	$0, 8(%rax)
	movq	_QED_IOV_VALIDATE_Q_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rdx, %rsi
	movq	%r12, %rdx
	je	LBB0_5
## %bb.1:
	callq	_qed_iov_validate_rxq
	testl	%eax, %eax
	je	LBB0_2
## %bb.4:
	shlq	$3, %r12
	addq	(%rbx), %r12
	movq	%r12, %rdi
	callq	_qed_iov_get_vf_rx_queue_cid
	leaq	-56(%rbp), %rcx
	movq	%r15, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%rax, %rdx
	callq	_qed_get_rxq_coalesce
LBB0_11:
	testl	%eax, %eax
	jne	LBB0_14
	jmp	LBB0_13
LBB0_5:
	callq	_qed_iov_validate_txq
	testl	%eax, %eax
	je	LBB0_15
## %bb.6:
	movq	_MAX_QUEUES_PER_QZONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.7:
	movq	(%rbx), %rcx
	movq	(%rcx,%r12,8), %rcx
	addq	$8, %rcx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	addq	$16, %rcx
	decq	%rax
	je	LBB0_13
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	-8(%rcx), %rdx
	testq	%rdx, %rdx
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	cmpl	$0, (%rcx)
	je	LBB0_12
## %bb.10:
	leaq	-56(%rbp), %rcx
	movq	%r15, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_qed_get_txq_coalesce
	jmp	LBB0_11
LBB0_13:
	movq	_PFVF_STATUS_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_14
LBB0_2:
	movq	_QED_MSG_IOV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%rbx), %ecx
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_3
LBB0_15:
	movq	_QED_MSG_IOV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%rbx), %ecx
	leaq	L_.str.1(%rip), %rdx
LBB0_3:
	movq	%r15, %rdi
	movq	%r12, %r8
	callq	_DP_VERBOSE
LBB0_14:
	movq	_CHANNEL_TLV_COALESCE_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	$8, %ecx
	callq	_qed_add_tlv
	movq	-56(%rbp), %rcx
	movq	%rcx, (%rax)
	movq	_CHANNEL_TLV_LIST_END@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	$4, %ecx
	callq	_qed_add_tlv
	movq	%r15, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	movl	$8, %ecx
	movl	%r14d, %r8d
	callq	_qed_iov_send_response
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PFVF_STATUS_FAILURE,4,2        ## @PFVF_STATUS_FAILURE
	.comm	_QED_IOV_VALIDATE_Q_ENABLE,4,2  ## @QED_IOV_VALIDATE_Q_ENABLE
	.comm	_QED_MSG_IOV,4,2                ## @QED_MSG_IOV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VF[%d]: Invalid Rx queue_id = %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"VF[%d]: Invalid Tx queue_id = %d\n"

	.comm	_MAX_QUEUES_PER_QZONE,8,3       ## @MAX_QUEUES_PER_QZONE
	.comm	_PFVF_STATUS_SUCCESS,4,2        ## @PFVF_STATUS_SUCCESS
	.comm	_CHANNEL_TLV_COALESCE_READ,4,2  ## @CHANNEL_TLV_COALESCE_READ
	.comm	_CHANNEL_TLV_LIST_END,4,2       ## @CHANNEL_TLV_LIST_END
	.no_dead_strip	_qed_iov_vf_pf_get_coalesce
.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_pf_get_coalesce
_qed_iov_vf_pf_get_coalesce:            ; @qed_iov_vf_pf_get_coalesce
	.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, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _PFVF_STATUS_FAILURE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PFVF_STATUS_FAILURE@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	str	xzr, [sp, #8]
	ldr	x8, [x2, #32]
	mov	x23, x2
	str	x8, [x23, #16]!
	ldr	x8, [x23, #8]
	ldp	x24, x8, [x8]
Lloh3:
	adrp	x9, _QED_IOV_VALIDATE_Q_ENABLE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _QED_IOV_VALIDATE_Q_ENABLE@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x9]
	mov	x1, x2
	mov	x2, x24
	cbz	x8, LBB0_3
; %bb.1:
	bl	_qed_iov_validate_rxq
	cbz	w0, LBB0_11
; %bb.2:
	ldr	x8, [x19]
	add	x0, x8, x24, lsl #3
	bl	_qed_iov_get_vf_rx_queue_cid
	mov	x2, x0
	add	x3, sp, #8
	mov	x0, x21
	mov	x1, x20
	bl	_qed_get_rxq_coalesce
	cbnz	w0, LBB0_14
	b	LBB0_10
LBB0_3:
	bl	_qed_iov_validate_txq
	cbz	w0, LBB0_12
; %bb.4:
Lloh6:
	adrp	x8, _MAX_QUEUES_PER_QZONE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAX_QUEUES_PER_QZONE@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cbz	x8, LBB0_10
; %bb.5:
	ldr	x9, [x19]
	ldr	x9, [x9, x24, lsl #3]
	add	x9, x9, #8
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x9, x9, #16
	subs	x8, x8, #1
	b.eq	LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x2, [x9, #-8]
	cbz	x2, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w10, [x9]
	cbz	w10, LBB0_6
; %bb.9:
	add	x3, sp, #8
	mov	x0, x21
	mov	x1, x20
	bl	_qed_get_txq_coalesce
	cbnz	w0, LBB0_14
LBB0_10:
Lloh9:
	adrp	x8, _PFVF_STATUS_SUCCESS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PFVF_STATUS_SUCCESS@GOTPAGEOFF]
Lloh11:
	ldr	w22, [x8]
	b	LBB0_14
LBB0_11:
Lloh12:
	adrp	x8, _QED_MSG_IOV@GOTPAGE
Lloh13:
	ldr	x8, [x8, _QED_MSG_IOV@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldr	w3, [x19, #8]
Lloh15:
	adrp	x2, l_.str@PAGE
Lloh16:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_13
LBB0_12:
Lloh17:
	adrp	x8, _QED_MSG_IOV@GOTPAGE
Lloh18:
	ldr	x8, [x8, _QED_MSG_IOV@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	ldr	w3, [x19, #8]
Lloh20:
	adrp	x2, l_.str.1@PAGE
Lloh21:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_13:
	mov	x0, x21
	mov	x4, x24
	bl	_DP_VERBOSE
LBB0_14:
Lloh22:
	adrp	x8, _CHANNEL_TLV_COALESCE_READ@GOTPAGE
Lloh23:
	ldr	x8, [x8, _CHANNEL_TLV_COALESCE_READ@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x23
	mov	w3, #8
	bl	_qed_add_tlv
	ldr	x8, [sp, #8]
	str	x8, [x0]
Lloh25:
	adrp	x8, _CHANNEL_TLV_LIST_END@GOTPAGE
Lloh26:
	ldr	x8, [x8, _CHANNEL_TLV_LIST_END@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x23
	mov	w3, #4
	bl	_qed_add_tlv
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	w3, #8
	mov	x4, x22
	bl	_qed_iov_send_response
	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
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_PFVF_STATUS_FAILURE,4,2        ; @PFVF_STATUS_FAILURE
	.comm	_QED_IOV_VALIDATE_Q_ENABLE,4,2  ; @QED_IOV_VALIDATE_Q_ENABLE
	.comm	_QED_MSG_IOV,4,2                ; @QED_MSG_IOV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VF[%d]: Invalid Rx queue_id = %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"VF[%d]: Invalid Tx queue_id = %d\n"

	.comm	_MAX_QUEUES_PER_QZONE,8,3       ; @MAX_QUEUES_PER_QZONE
	.comm	_PFVF_STATUS_SUCCESS,4,2        ; @PFVF_STATUS_SUCCESS
	.comm	_CHANNEL_TLV_COALESCE_READ,4,2  ; @CHANNEL_TLV_COALESCE_READ
	.comm	_CHANNEL_TLV_LIST_END,4,2       ; @CHANNEL_TLV_LIST_END
	.no_dead_strip	_qed_iov_vf_pf_get_coalesce
.subsections_via_symbols
