	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_send_msg2pf
_qed_send_msg2pf:                       ## @qed_send_msg2pf
	.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	%rsi, %r12
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	8(%rax), %rsi
	movq	_PXP_VF_BAR0_START_USDM_ZONE_B@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	callq	_qed_dp_tlv_list
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	$1, -48(%rbp)
	movq	_QED_MSG_IOV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	8(%r15), %edi
	movq	_PXP_CONCRETE_FID_PFID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GET_FIELD
	cltq
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	(%r15), %rax
	movl	(%rax), %edi
	callq	_upper_32_bits
	movl	%eax, %r14d
	movq	(%r15), %rax
	movl	(%rax), %edi
	callq	_lower_32_bits
	leaq	4(%r13), %rbx
	movl	-48(%rbp), %r10d
	subq	$8, %rsp
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	%r14d, %r8d
	movl	%eax, %r9d
	xorl	%eax, %eax
	pushq	%r13
	pushq	%r10
	pushq	%rbx
	callq	_DP_VERBOSE
	addq	$32, %rsp
	leaq	8(%r13), %r14
	movq	(%r15), %rax
	movl	(%rax), %edi
	callq	_lower_32_bits
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_REG_WR
	movq	(%r15), %rax
	movl	(%rax), %edi
	callq	_upper_32_bits
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_REG_WR
	xorl	%eax, %eax
	callq	_wmb
	movl	-48(%rbp), %edx
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_REG_WR
	movq	(%r12), %rcx
	testq	%rcx, %rcx
	jne	LBB0_6
## %bb.1:
	movl	$-99, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	$25, %edi
	callq	_msleep
	movq	(%r12), %rcx
	testq	%rcx, %rcx
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	1(%rbx), %eax
	testl	%ebx, %ebx
	movl	%eax, %ebx
	jne	LBB0_2
LBB0_4:
	testq	%rcx, %rcx
	je	LBB0_5
LBB0_6:
	movq	_PFVF_STATUS_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	je	LBB0_9
## %bb.7:
	movq	_PFVF_STATUS_NO_RESOURCE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	je	LBB0_9
## %bb.8:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	leaq	L_.str.2(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	movq	%rcx, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_DP_NOTICE
	jmp	LBB0_10
LBB0_9:
	movq	_QED_MSG_IOV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r8d
	leaq	L_.str.2(%rip), %rdx
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_DP_VERBOSE
	jmp	LBB0_10
LBB0_5:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax), %rdx
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_DP_NOTICE
	movq	_EBUSY@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PXP_VF_BAR0_START_USDM_ZONE_B,8,3 ## @PXP_VF_BAR0_START_USDM_ZONE_B
	.comm	_QED_MSG_IOV,4,2                ## @QED_MSG_IOV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VF -> PF [%02x] message: [%08x, %08x] --> %p, %08x --> %p\n"

	.comm	_PXP_CONCRETE_FID_PFID,4,2      ## @PXP_CONCRETE_FID_PFID
L_.str.1:                               ## @.str.1
	.asciz	"VF <-- PF Timeout [Type %d]\n"

	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_PFVF_STATUS_SUCCESS,8,3        ## @PFVF_STATUS_SUCCESS
	.comm	_PFVF_STATUS_NO_RESOURCE,8,3    ## @PFVF_STATUS_NO_RESOURCE
L_.str.2:                               ## @.str.2
	.asciz	"PF response: %d [Type %d]\n"

	.no_dead_strip	_qed_send_msg2pf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_send_msg2pf
_qed_send_msg2pf:                       ; @qed_send_msg2pf
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x21, x1
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x20, [x8, #8]
Lloh0:
	adrp	x8, _PXP_VF_BAR0_START_USDM_ZONE_B@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PXP_VF_BAR0_START_USDM_ZONE_B@GOTPAGEOFF]
Lloh2:
	ldr	x22, [x8]
	mov	x1, x20
	bl	_qed_dp_tlv_list
	add	x0, sp, #40
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	w8, #1
Lloh3:
	adrp	x27, _QED_MSG_IOV@GOTPAGE
Lloh4:
	ldr	x27, [x27, _QED_MSG_IOV@GOTPAGEOFF]
	str	w8, [sp, #40]
	ldr	w23, [x27]
	ldr	w0, [x19, #8]
Lloh5:
	adrp	x8, _PXP_CONCRETE_FID_PFID@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PXP_CONCRETE_FID_PFID@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_GET_FIELD
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x24, w0
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_upper_32_bits
	mov	x25, x0
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_lower_32_bits
                                        ; kill: def $w0 killed $w0 def $x0
	add	x26, x22, #4
	ldr	w8, [sp, #40]
	stp	x8, x22, [sp, #16]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	stp	x0, x26, [sp]
	mov	x0, x19
	mov	x1, x23
	mov	x3, x24
	mov	x4, x25
	bl	_DP_VERBOSE
	add	x23, x22, #8
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_lower_32_bits
	mov	x2, x0
	mov	x0, x19
	mov	x1, x23
	bl	_REG_WR
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_upper_32_bits
	mov	x2, x0
	mov	x0, x19
	mov	x1, x26
	bl	_REG_WR
	bl	_wmb
	ldr	w2, [sp, #40]
	mov	x0, x19
	mov	x1, x22
	bl	_REG_WR
	ldr	x3, [x21]
	cbnz	x3, LBB0_4
; %bb.1:
	mov	w22, #-99
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #25
	bl	_msleep
	ldr	x3, [x21]
	cmp	x3, #0
	ccmp	w22, #0, #4, eq
	add	w22, w22, #1
	b.ne	LBB0_2
; %bb.3:
	cbz	x3, LBB0_10
LBB0_4:
Lloh10:
	adrp	x8, _PFVF_STATUS_SUCCESS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PFVF_STATUS_SUCCESS@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x3, x8
	b.eq	LBB0_7
; %bb.5:
Lloh13:
	adrp	x8, _PFVF_STATUS_NO_RESOURCE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PFVF_STATUS_NO_RESOURCE@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x3, x8
	b.eq	LBB0_7
; %bb.6:
	ldr	w8, [x20]
	str	x8, [sp]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x3
	bl	_DP_NOTICE
	b	LBB0_8
LBB0_7:
	ldr	w1, [x27]
	ldr	w4, [x20]
Lloh18:
	adrp	x2, l_.str.2@PAGE
Lloh19:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_DP_VERBOSE
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_10:
	ldrsw	x2, [x20]
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_DP_NOTICE
Lloh22:
	adrp	x8, _EBUSY@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_PXP_VF_BAR0_START_USDM_ZONE_B,8,3 ; @PXP_VF_BAR0_START_USDM_ZONE_B
	.comm	_QED_MSG_IOV,4,2                ; @QED_MSG_IOV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VF -> PF [%02x] message: [%08x, %08x] --> %p, %08x --> %p\n"

	.comm	_PXP_CONCRETE_FID_PFID,4,2      ; @PXP_CONCRETE_FID_PFID
l_.str.1:                               ; @.str.1
	.asciz	"VF <-- PF Timeout [Type %d]\n"

	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_PFVF_STATUS_SUCCESS,8,3        ; @PFVF_STATUS_SUCCESS
	.comm	_PFVF_STATUS_NO_RESOURCE,8,3    ; @PFVF_STATUS_NO_RESOURCE
l_.str.2:                               ; @.str.2
	.asciz	"PF response: %d [Type %d]\n"

	.no_dead_strip	_qed_send_msg2pf
.subsections_via_symbols
