	.file	"extr_e1000_mbx.c_igb_write_mbx_pf.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	igb_write_mbx_pf, @function
igb_write_mbx_pf:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rcx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	mov	rsi, rcx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	call	igb_obtain_mbx_lock_pf@PLT
	mov	QWORD PTR 8[rsp], rax
	test	rax, rax
	je	.L11
.L1:
	mov	rax, QWORD PTR 8[rsp]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rsi, r15
	mov	rdi, r13
	call	igb_check_for_msg_pf@PLT
	mov	rsi, r15
	mov	rdi, r13
	call	igb_check_for_ack_pf@PLT
	test	rbp, rbp
	je	.L3
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L4:
	mov	r14d, DWORD PTR [r12+rbx*4]
	mov	rdi, r15
	call	E1000_VMBMEM@PLT
	mov	rsi, rbx
	add	rbx, 1
	mov	edi, eax
	mov	edx, r14d
	call	array_wr32@PLT
	cmp	rbp, rbx
	jne	.L4
.L3:
.L2:
	endbr64
	mov	ebp, DWORD PTR E1000_P2VMAILBOX_STS[rip]
	mov	rdi, r15
	call	E1000_P2VMAILBOX@PLT
	mov	edi, eax
	mov	esi, ebp
	call	wr32@PLT
	add	DWORD PTR 0[r13], 1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	igb_write_mbx_pf, .-igb_write_mbx_pf
	.comm	E1000_P2VMAILBOX_STS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_e1000_mbx.c_igb_write_mbx_pf.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	igb_write_mbx_pf, %function
igb_write_mbx_pf:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r1
	mov	r1, r3
	mov	r6, r3
	mov	r7, r2
	mov	r9, r0
	bl	igb_obtain_mbx_lock_pf
	subs	r8, r0, #0
	beq	.L11
	mov	r0, r8
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L11:
	mov	r1, r6
	mov	r0, r9
	bl	igb_check_for_msg_pf
	mov	r1, r6
	mov	r0, r9
	bl	igb_check_for_ack_pf
	cmp	r7, #0
	beq	.L3
	mov	r4, r8
	sub	r5, r5, #4
.L4:
	mov	r0, r6
	bl	E1000_VMBMEM
	mov	r1, r4
	ldr	r2, [r5, #4]!
	add	r4, r4, #1
	bl	array_wr32
	cmp	r7, r4
	bne	.L4
.L3:
.L2:
	mov	r0, r6
	bl	E1000_P2VMAILBOX
	ldr	r3, .L12
	ldr	r1, [r3]
	bl	wr32
	ldr	r3, [r9]
	mov	r0, r8
	add	r3, r3, #1
	str	r3, [r9]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L13:
	.align	2
.L12:
	.word	E1000_P2VMAILBOX_STS
	.size	igb_write_mbx_pf, .-igb_write_mbx_pf
	.comm	E1000_P2VMAILBOX_STS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
