	.file	"extr_niu.c_niu_set_primary_mac.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	niu_set_primary_mac, @function
niu_set_primary_mac:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	movzx	r8d, BYTE PTR 5[rsi]
	movzx	r12d, BYTE PTR 3[rsi]
	movzx	ebp, BYTE PTR 1[rsi]
	mov	eax, DWORD PTR [rdi]
	mov	esi, r8d
	test	DWORD PTR NIU_FLAGS_XMAC[rip], eax
	je	.L2
	mov	edi, DWORD PTR XMAC_ADDR0[rip]
	call	nw64_mac@PLT
	mov	edi, DWORD PTR XMAC_ADDR1[rip]
	mov	esi, r12d
	call	nw64_mac@PLT
	mov	edi, DWORD PTR XMAC_ADDR2[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	esi, ebp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	nw64_mac@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edi, DWORD PTR BMAC_ADDR0[rip]
	call	nw64_mac@PLT
	mov	edi, DWORD PTR BMAC_ADDR1[rip]
	mov	esi, r12d
	call	nw64_mac@PLT
	mov	edi, DWORD PTR BMAC_ADDR2[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	esi, ebp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	nw64_mac@PLT
	.cfi_endproc
.LFE0:
	.size	niu_set_primary_mac, .-niu_set_primary_mac
	.comm	XMAC_ADDR2,4,4
	.comm	XMAC_ADDR1,4,4
	.comm	XMAC_ADDR0,4,4
	.comm	NIU_FLAGS_XMAC,4,4
	.comm	BMAC_ADDR2,4,4
	.comm	BMAC_ADDR1,4,4
	.comm	BMAC_ADDR0,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_niu.c_niu_set_primary_mac.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	niu_set_primary_mac, %function
niu_set_primary_mac:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, r1
	push	{r4, r5, r6, lr}
	ldr	r2, .L5
	ldr	r0, [r0]
	ldr	r2, [r2]
	ldrb	r1, [r1, #5]	@ zero_extendqisi2
	tst	r0, r2
	ldrb	r5, [r3, #3]	@ zero_extendqisi2
	ldrb	r4, [r3, #1]	@ zero_extendqisi2
	beq	.L2
	ldr	r3, .L5+4
	ldr	r0, [r3]
	bl	nw64_mac
	ldr	r3, .L5+8
	mov	r1, r5
	ldr	r0, [r3]
	bl	nw64_mac
	ldr	r3, .L5+12
	mov	r1, r4
	pop	{r4, r5, r6, lr}
	ldr	r0, [r3]
	b	nw64_mac
.L2:
	ldr	r3, .L5+16
	ldr	r0, [r3]
	bl	nw64_mac
	ldr	r3, .L5+20
	mov	r1, r5
	ldr	r0, [r3]
	bl	nw64_mac
	ldr	r3, .L5+24
	mov	r1, r4
	pop	{r4, r5, r6, lr}
	ldr	r0, [r3]
	b	nw64_mac
.L6:
	.align	2
.L5:
	.word	NIU_FLAGS_XMAC
	.word	XMAC_ADDR0
	.word	XMAC_ADDR1
	.word	XMAC_ADDR2
	.word	BMAC_ADDR0
	.word	BMAC_ADDR1
	.word	BMAC_ADDR2
	.size	niu_set_primary_mac, .-niu_set_primary_mac
	.comm	XMAC_ADDR2,4,4
	.comm	XMAC_ADDR1,4,4
	.comm	XMAC_ADDR0,4,4
	.comm	NIU_FLAGS_XMAC,4,4
	.comm	BMAC_ADDR2,4,4
	.comm	BMAC_ADDR1,4,4
	.comm	BMAC_ADDR0,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
