	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _qed_vf_pf_release
__qed_vf_pf_release:                    ## @_qed_vf_pf_release
	.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
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	(%rdi), %r13
	movq	_CHANNEL_TLV_RELEASE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_qed_vf_pf_prep
	leaq	48(%r13), %rsi
	movq	_CHANNEL_TLV_LIST_END@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$4, %ecx
	callq	_qed_add_tlv
	movq	24(%r13), %r12
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	$8, %edx
	callq	_qed_send_msg2pf
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	(%r12), %rax
	movq	_PFVF_STATUS_SUCCESS@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_3:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_qed_vf_pf_req_end
	testl	%r15d, %r15d
	je	LBB0_11
## %bb.4:
	movq	$0, 16(%rbx)
	movq	40(%r13), %rdx
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.5:
	movq	8(%rbx), %rax
	movq	(%rax), %rdi
	movl	32(%r13), %ecx
	movl	$4, %esi
	callq	_dma_free_coherent
LBB0_6:
	movq	24(%r13), %rdx
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.7:
	movq	8(%rbx), %rax
	movq	(%rax), %rdi
	movl	16(%r13), %ecx
	movl	$4, %esi
	callq	_dma_free_coherent
LBB0_8:
	movq	8(%r13), %rdx
	testq	%rdx, %rdx
	je	LBB0_10
## %bb.9:
	movq	8(%rbx), %rax
	movq	(%rax), %rdi
	movl	(%r13), %ecx
	movl	$4, %esi
	callq	_dma_free_coherent
LBB0_10:
	movq	(%rbx), %rdi
	callq	_kfree
	movq	$0, (%rbx)
LBB0_11:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHANNEL_TLV_RELEASE,4,2        ## @CHANNEL_TLV_RELEASE
	.comm	_CHANNEL_TLV_LIST_END,4,2       ## @CHANNEL_TLV_LIST_END
	.comm	_PFVF_STATUS_SUCCESS,8,3        ## @PFVF_STATUS_SUCCESS
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.no_dead_strip	__qed_vf_pf_release
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _qed_vf_pf_release
__qed_vf_pf_release:                    ; @_qed_vf_pf_release
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x1
	mov	x19, x0
	ldr	x23, [x0]
Lloh0:
	adrp	x8, _CHANNEL_TLV_RELEASE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHANNEL_TLV_RELEASE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #4
	bl	_qed_vf_pf_prep
	add	x1, x23, #48
Lloh3:
	adrp	x8, _CHANNEL_TLV_LIST_END@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CHANNEL_TLV_LIST_END@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #4
	bl	_qed_add_tlv
	ldr	x22, [x23, #24]
	mov	x0, x19
	mov	x1, x22
	mov	w2, #8
	bl	_qed_send_msg2pf
	mov	x20, x0
	cbnz	w0, LBB0_4
; %bb.1:
	ldr	x8, [x22]
Lloh6:
	adrp	x9, _PFVF_STATUS_SUCCESS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PFVF_STATUS_SUCCESS@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	mov	w20, #0
	b	LBB0_4
LBB0_3:
Lloh9:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_4:
	mov	x0, x19
	mov	x1, x20
	bl	_qed_vf_pf_req_end
	cbz	w21, LBB0_12
; %bb.5:
	str	xzr, [x19, #16]
	ldr	x2, [x23, #40]
	cbz	x2, LBB0_7
; %bb.6:
	ldr	x8, [x19, #8]
	ldr	x0, [x8]
	ldr	w3, [x23, #32]
	mov	w1, #4
	bl	_dma_free_coherent
LBB0_7:
	ldr	x2, [x23, #24]
	cbz	x2, LBB0_9
; %bb.8:
	ldr	x8, [x19, #8]
	ldr	x0, [x8]
	ldr	w3, [x23, #16]
	mov	w1, #4
	bl	_dma_free_coherent
LBB0_9:
	ldr	x2, [x23, #8]
	cbz	x2, LBB0_11
; %bb.10:
	ldr	x8, [x19, #8]
	ldr	x0, [x8]
	ldr	w3, [x23]
	mov	w1, #4
	bl	_dma_free_coherent
LBB0_11:
	ldr	x0, [x19]
	bl	_kfree
	str	xzr, [x19]
LBB0_12:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_CHANNEL_TLV_RELEASE,4,2        ; @CHANNEL_TLV_RELEASE
	.comm	_CHANNEL_TLV_LIST_END,4,2       ; @CHANNEL_TLV_LIST_END
	.comm	_PFVF_STATUS_SUCCESS,8,3        ; @PFVF_STATUS_SUCCESS
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.no_dead_strip	__qed_vf_pf_release
.subsections_via_symbols
