	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_iov_vf_pf_set_coalesce
_qed_iov_vf_pf_set_coalesce:            ## @qed_iov_vf_pf_set_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movq	_PFVF_STATUS_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	32(%rdx), %rax
	movq	(%rax), %r14
	movq	8(%rax), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	16(%rax), %r12
	movq	_QED_IOV_VALIDATE_Q_ENABLE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	movq	%rdx, %rsi
	movq	%r12, %rdx
	callq	_qed_iov_validate_rxq
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	testq	%r14, %r14
	je	LBB0_3
## %bb.2:
	movq	_QED_MSG_IOV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%r13), %ecx
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_6
LBB0_3:
	movl	(%rbx), %ecx
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_qed_iov_validate_txq
	movq	_QED_MSG_IOV@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	16(%r13), %ecx
	testl	%eax, %eax
	jne	LBB0_10
## %bb.4:
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_10
## %bb.5:
	leaq	L_.str.1(%rip), %rdx
LBB0_6:
	movq	%r15, %rdi
	movq	%r12, %r8
	xorl	%eax, %eax
	callq	_DP_VERBOSE
LBB0_7:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_8:
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
LBB0_9:
	movq	_CHANNEL_TLV_COALESCE_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movl	$4, %r8d
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_qed_iov_prepare_resp           ## TAILCALL
LBB0_10:
	movq	%r12, (%rsp)
	leaq	L_.str.2(%rip), %rdx
	movq	%r15, %rdi
	movq	%r14, %r8
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	xorl	%eax, %eax
	callq	_DP_VERBOSE
	testq	%r14, %r14
	je	LBB0_14
## %bb.11:
	movq	%r12, %rbx
	shlq	$4, %rbx
	movq	24(%r13), %rdi
	addq	%rbx, %rdi
	callq	_qed_iov_get_vf_rx_queue_cid
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	movq	%rax, %rcx
	callq	_qed_set_rxq_coalesce
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	movq	_QED_MSG_IOV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%r13), %ecx
	movq	24(%r13), %rax
	movl	8(%rax,%rbx), %r8d
	leaq	L_.str.3(%rip), %rdx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_DP_VERBOSE
	jmp	LBB0_7
LBB0_13:
	movq	%r14, (%r13)
LBB0_14:
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_23
## %bb.15:
	movq	_MAX_QUEUES_PER_QZONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_22
## %bb.16:
	shlq	$4, %r12
	addq	24(%r13), %r12
	xorl	%r14d, %r14d
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_18 Depth=1
	incq	%r14
	movslq	%eax, %rcx
	cmpq	%rcx, %r14
	jge	LBB0_22
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdx
	movl	(%rdx,%r14,8), %ecx
	testl	%ecx, %ecx
	je	LBB0_17
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	cmpl	$0, 4(%rdx,%r14,8)
	je	LBB0_17
## %bb.20:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_qed_set_txq_coalesce
	testl	%eax, %eax
	jne	LBB0_24
## %bb.21:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	_MAX_QUEUES_PER_QZONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_17
LBB0_22:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%r13)
LBB0_23:
	movq	_PFVF_STATUS_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	jmp	LBB0_9
LBB0_24:
	movq	_QED_MSG_IOV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%r13), %ecx
	leaq	L_.str.4(%rip), %rdx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_DP_VERBOSE
	jmp	LBB0_8
	.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"

L_.str.2:                               ## @.str.2
	.asciz	"VF[%d]: Setting coalesce for VF rx_coal = %d, tx_coal = %d at queue = %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"VF[%d]: Unable to set rx queue = %d coalesce\n"

	.comm	_MAX_QUEUES_PER_QZONE,4,2       ## @MAX_QUEUES_PER_QZONE
L_.str.4:                               ## @.str.4
	.asciz	"VF[%d]: Unable to set tx queue coalesce\n"

	.comm	_PFVF_STATUS_SUCCESS,4,2        ## @PFVF_STATUS_SUCCESS
	.comm	_CHANNEL_TLV_COALESCE_UPDATE,4,2 ## @CHANNEL_TLV_COALESCE_UPDATE
	.no_dead_strip	_qed_iov_vf_pf_set_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_set_coalesce
_qed_iov_vf_pf_set_coalesce:            ; @qed_iov_vf_pf_set_coalesce
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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_FAILURE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PFVF_STATUS_FAILURE@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	ldr	x8, [x2, #32]
	ldp	x25, x23, [x8]
	ldr	x24, [x8, #16]
Lloh3:
	adrp	x26, _QED_IOV_VALIDATE_Q_ENABLE@GOTPAGE
Lloh4:
	ldr	x26, [x26, _QED_IOV_VALIDATE_Q_ENABLE@GOTPAGEOFF]
	ldr	w3, [x26]
	mov	x1, x2
	mov	x2, x24
	bl	_qed_iov_validate_rxq
	cmp	w0, #0
	ccmp	x25, #0, #4, eq
	b.ne	LBB0_5
; %bb.1:
	ldr	w3, [x26]
	mov	x0, x21
	mov	x1, x19
	mov	x2, x24
	bl	_qed_iov_validate_txq
Lloh5:
	adrp	x26, _QED_MSG_IOV@GOTPAGE
Lloh6:
	ldr	x26, [x26, _QED_MSG_IOV@GOTPAGEOFF]
	ldr	w1, [x26]
	ldr	w3, [x19, #16]
	cmp	w0, #0
	ccmp	x23, #0, #4, eq
	b.ne	LBB0_6
; %bb.2:
	stp	x23, x24, [sp, #8]
	str	x25, [sp]
Lloh7:
	adrp	x2, l_.str.2@PAGE
Lloh8:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_DP_VERBOSE
	cbz	x25, LBB0_10
; %bb.3:
	ldr	x8, [x19, #24]
	add	x0, x8, x24, lsl #4
	bl	_qed_iov_get_vf_rx_queue_cid
	mov	x3, x0
	mov	x0, x21
	mov	x1, x20
	mov	x2, x25
	bl	_qed_set_rxq_coalesce
	cbz	w0, LBB0_9
; %bb.4:
	ldr	w1, [x26]
	ldr	w3, [x19, #16]
	ldr	x8, [x19, #24]
	add	x8, x8, x24, lsl #4
	ldr	w8, [x8, #8]
	str	x8, [sp]
Lloh9:
	adrp	x2, l_.str.3@PAGE
Lloh10:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_7
LBB0_5:
Lloh11:
	adrp	x8, _QED_MSG_IOV@GOTPAGE
Lloh12:
	ldr	x8, [x8, _QED_MSG_IOV@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldr	w3, [x19, #16]
	str	x24, [sp]
Lloh14:
	adrp	x2, l_.str@PAGE
Lloh15:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_7
LBB0_6:
	str	x24, [sp]
Lloh16:
	adrp	x2, l_.str.1@PAGE
Lloh17:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_7:
	mov	x0, x21
	bl	_DP_VERBOSE
LBB0_8:
Lloh18:
	adrp	x8, _CHANNEL_TLV_COALESCE_UPDATE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CHANNEL_TLV_COALESCE_UPDATE@GOTPAGEOFF]
Lloh20:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	w4, #4
	mov	x5, x22
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_qed_iov_prepare_resp
LBB0_9:
	str	x25, [x19]
LBB0_10:
	cbz	x23, LBB0_19
; %bb.11:
Lloh21:
	adrp	x25, _MAX_QUEUES_PER_QZONE@GOTPAGE
Lloh22:
	ldr	x25, [x25, _MAX_QUEUES_PER_QZONE@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.12:
	mov	x27, #0
	mov	x28, #0
	ldr	x9, [x19, #24]
	add	x24, x9, x24, lsl #4
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x28, x28, #1
	add	x27, x27, #8
	cmp	x28, w8, sxtw
	b.ge	LBB0_18
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x24]
	ldr	w3, [x9, x27]
	cbz	w3, LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x9, x9, x27
	ldr	w9, [x9, #4]
	cbz	w9, LBB0_13
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x21
	mov	x1, x20
	mov	x2, x23
	bl	_qed_set_txq_coalesce
	cbnz	w0, LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w8, [x25]
	b	LBB0_13
LBB0_18:
	str	x23, [x19, #8]
LBB0_19:
Lloh23:
	adrp	x8, _PFVF_STATUS_SUCCESS@GOTPAGE
Lloh24:
	ldr	x8, [x8, _PFVF_STATUS_SUCCESS@GOTPAGEOFF]
Lloh25:
	ldr	w22, [x8]
	b	LBB0_8
LBB0_20:
	ldr	w1, [x26]
	ldr	w3, [x19, #16]
Lloh26:
	adrp	x2, l_.str.4@PAGE
Lloh27:
	add	x2, x2, l_.str.4@PAGEOFF
	b	LBB0_7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.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"

l_.str.2:                               ; @.str.2
	.asciz	"VF[%d]: Setting coalesce for VF rx_coal = %d, tx_coal = %d at queue = %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"VF[%d]: Unable to set rx queue = %d coalesce\n"

	.comm	_MAX_QUEUES_PER_QZONE,4,2       ; @MAX_QUEUES_PER_QZONE
l_.str.4:                               ; @.str.4
	.asciz	"VF[%d]: Unable to set tx queue coalesce\n"

	.comm	_PFVF_STATUS_SUCCESS,4,2        ; @PFVF_STATUS_SUCCESS
	.comm	_CHANNEL_TLV_COALESCE_UPDATE,4,2 ; @CHANNEL_TLV_COALESCE_UPDATE
	.no_dead_strip	_qed_iov_vf_pf_set_coalesce
.subsections_via_symbols
