	.file	"extr_rvu_nix.c_rvu_mbox_handler_nix_set_mac_addr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	rvu_mbox_handler_nix_set_mac_addr
	.type	rvu_mbox_handler_nix_set_mac_addr, @function
rvu_mbox_handler_nix_set_mac_addr:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	r14d, DWORD PTR 4[rsi]
	mov	r13, QWORD PTR [rdi]
	mov	esi, r14d
	call	rvu_get_pfvf@PLT
	mov	esi, DWORD PTR BLKTYPE_NIX[rip]
	mov	edx, r14d
	mov	rdi, rbp
	mov	rbx, rax
	call	rvu_get_blkaddr@PLT
	mov	edx, DWORD PTR 8[rbx]
	test	edx, edx
	je	.L8
	test	eax, eax
	js	.L8
	mov	rdx, QWORD PTR 0[r13]
	cdqe
	xor	ecx, ecx
	mov	rdi, rbp
	lea	rsi, [rdx+rax*4]
	mov	edx, r14d
	call	rvu_get_lf@PLT
	mov	r13d, eax
	test	eax, eax
	js	.L8
	mov	edi, DWORD PTR 4[rbx]
	mov	esi, DWORD PTR [r12]
	call	ether_addr_copy@PLT
	mov	r8d, DWORD PTR [r12]
	mov	ecx, DWORD PTR [rbx]
	mov	edx, r13d
	mov	esi, r14d
	mov	rdi, rbp
	call	rvu_npc_install_ucast_entry@PLT
	mov	edx, r13d
	mov	esi, r14d
	mov	rdi, rbp
	call	rvu_npc_update_rxvlan@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	eax, DWORD PTR NIX_AF_ERR_AF_LF_INVALID[rip]
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	rvu_mbox_handler_nix_set_mac_addr, .-rvu_mbox_handler_nix_set_mac_addr
	.comm	NIX_AF_ERR_AF_LF_INVALID,4,4
	.comm	BLKTYPE_NIX,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_rvu_nix.c_rvu_mbox_handler_nix_set_mac_addr.c"
	.text
	.align	2
	.global	rvu_mbox_handler_nix_set_mac_addr
	.syntax unified
	.arm
	.fpu softvfp
	.type	rvu_mbox_handler_nix_set_mac_addr, %function
rvu_mbox_handler_nix_set_mac_addr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r8, [r1, #4]
	sub	sp, sp, #12
	mov	r6, r1
	mov	r1, r8
	mov	r5, r0
	ldr	r9, [r0]
	bl	rvu_get_pfvf
	mov	r7, r0
	ldr	r3, .L8
	mov	r2, r8
	mov	r0, r5
	ldr	r1, [r3]
	bl	rvu_get_blkaddr
	ldr	r4, [r7, #8]
	cmp	r4, #0
	moveq	r4, #1
	lsrne	r4, r0, #31
	cmp	r4, #0
	beq	.L2
.L6:
	ldr	r3, .L8+4
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L2:
	ldr	r1, [r9]
	mov	r3, r4
	add	r1, r1, r0, lsl #2
	mov	r2, r8
	mov	r0, r5
	bl	rvu_get_lf
	subs	r9, r0, #0
	blt	.L6
	ldr	r1, [r6]
	ldr	r0, [r7, #4]
	bl	ether_addr_copy
	ldr	r2, [r6]
	ldr	r3, [r7]
	mov	r1, r8
	str	r2, [sp]
	mov	r0, r5
	mov	r2, r9
	bl	rvu_npc_install_ucast_entry
	mov	r2, r9
	mov	r1, r8
	mov	r0, r5
	bl	rvu_npc_update_rxvlan
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L9:
	.align	2
.L8:
	.word	BLKTYPE_NIX
	.word	NIX_AF_ERR_AF_LF_INVALID
	.size	rvu_mbox_handler_nix_set_mac_addr, .-rvu_mbox_handler_nix_set_mac_addr
	.comm	NIX_AF_ERR_AF_LF_INVALID,4,4
	.comm	BLKTYPE_NIX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
