	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iavf_aq_send_msg_to_pf         ## -- Begin function iavf_aq_send_msg_to_pf
	.p2align	4, 0x90
_iavf_aq_send_msg_to_pf:                ## @iavf_aq_send_msg_to_pf
	.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	%r9, %r14
	movl	%r8d, %r13d
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movl	%edx, %ebx
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	_iavf_aqc_opc_send_msg_to_pf@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-72(%rbp), %rdi
	callq	_iavf_fill_default_direct_cmd_desc
	movq	_IAVF_AQ_FLAG_SI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	orl	%eax, -68(%rbp)
	movl	%r15d, %edi
	callq	_cpu_to_le32
	movq	%rax, -56(%rbp)
	movl	%ebx, %edi
	callq	_cpu_to_le32
	movq	%rax, -64(%rbp)
	testl	%r13d, %r13d
	je	LBB0_4
## %bb.1:
	movq	_IAVF_AQ_FLAG_BUF@GOTPCREL(%rip), %rax
	movq	_IAVF_AQ_FLAG_RD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	callq	_cpu_to_le16
	orl	%eax, -68(%rbp)
	movq	_IAVF_AQ_LARGE_BUF@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	jge	LBB0_3
## %bb.2:
	movq	_IAVF_AQ_FLAG_LB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	orl	%eax, -68(%rbp)
LBB0_3:
	movl	%r13d, %edi
	callq	_cpu_to_le16
	movl	%eax, -72(%rbp)
LBB0_4:
	testq	%r14, %r14
	jne	LBB0_6
## %bb.5:
	leaq	-48(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	$1, -48(%rbp)
LBB0_6:
	leaq	-72(%rbp), %rsi
	movq	%r12, %rdi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movl	%r13d, %ecx
	movq	%r14, %r8
	callq	_iavf_asq_send_command
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_iavf_aqc_opc_send_msg_to_pf,4,2 ## @iavf_aqc_opc_send_msg_to_pf
	.comm	_IAVF_AQ_FLAG_SI,8,3            ## @IAVF_AQ_FLAG_SI
	.comm	_IAVF_AQ_FLAG_BUF,4,2           ## @IAVF_AQ_FLAG_BUF
	.comm	_IAVF_AQ_FLAG_RD,4,2            ## @IAVF_AQ_FLAG_RD
	.comm	_IAVF_AQ_LARGE_BUF,4,2          ## @IAVF_AQ_LARGE_BUF
	.comm	_IAVF_AQ_FLAG_LB,8,3            ## @IAVF_AQ_FLAG_LB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iavf_aq_send_msg_to_pf         ; -- Begin function iavf_aq_send_msg_to_pf
	.p2align	2
_iavf_aq_send_msg_to_pf:                ; @iavf_aq_send_msg_to_pf
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x5
	mov	x19, x4
	mov	x21, x3
	mov	x23, x2
	mov	x24, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _iavf_aqc_opc_send_msg_to_pf@GOTPAGE
Lloh1:
	ldr	x8, [x8, _iavf_aqc_opc_send_msg_to_pf@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, sp
	bl	_iavf_fill_default_direct_cmd_desc
Lloh3:
	adrp	x8, _IAVF_AQ_FLAG_SI@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IAVF_AQ_FLAG_SI@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	ldr	w8, [sp, #4]
	orr	w8, w8, w0
	str	w8, [sp, #4]
	mov	x0, x24
	bl	_cpu_to_le32
	str	x0, [sp, #16]
	mov	x0, x23
	bl	_cpu_to_le32
	str	x0, [sp, #8]
	cbz	w19, LBB0_4
; %bb.1:
Lloh6:
	adrp	x8, _IAVF_AQ_FLAG_BUF@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IAVF_AQ_FLAG_BUF@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _IAVF_AQ_FLAG_RD@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IAVF_AQ_FLAG_RD@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w0, w9, w8
	bl	_cpu_to_le16
	ldr	w8, [sp, #4]
	orr	w8, w8, w0
	str	w8, [sp, #4]
Lloh12:
	adrp	x8, _IAVF_AQ_LARGE_BUF@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IAVF_AQ_LARGE_BUF@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ge	LBB0_3
; %bb.2:
Lloh15:
	adrp	x8, _IAVF_AQ_FLAG_LB@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IAVF_AQ_FLAG_LB@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	ldr	w8, [sp, #4]
	orr	w8, w8, w0
	str	w8, [sp, #4]
LBB0_3:
	mov	x0, x19
	bl	_cpu_to_le16
	str	w0, [sp]
LBB0_4:
	cbnz	x20, LBB0_6
; %bb.5:
	add	x20, sp, #24
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	w8, #1
	str	w8, [sp, #24]
LBB0_6:
	mov	x1, sp
	mov	x0, x22
	mov	x2, x21
	mov	x3, x19
	mov	x4, x20
	bl	_iavf_asq_send_command
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_iavf_aqc_opc_send_msg_to_pf,4,2 ; @iavf_aqc_opc_send_msg_to_pf
	.comm	_IAVF_AQ_FLAG_SI,8,3            ; @IAVF_AQ_FLAG_SI
	.comm	_IAVF_AQ_FLAG_BUF,4,2           ; @IAVF_AQ_FLAG_BUF
	.comm	_IAVF_AQ_FLAG_RD,4,2            ; @IAVF_AQ_FLAG_RD
	.comm	_IAVF_AQ_LARGE_BUF,4,2          ; @IAVF_AQ_LARGE_BUF
	.comm	_IAVF_AQ_FLAG_LB,8,3            ; @IAVF_AQ_FLAG_LB
.subsections_via_symbols
