	.file	"extr_i40e_common.c_i40e_get_port_mac_addr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	i40e_get_port_mac_addr
	.type	i40e_get_port_mac_addr, @function
i40e_get_port_mac_addr:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xor	ecx, ecx
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rbp, rsp
	lea	rsi, 4[rsp]
	mov	DWORD PTR 4[rsp], 0
	mov	rdx, rbp
	call	i40e_aq_mac_address_read@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	mov	eax, DWORD PTR 4[rsp]
	test	DWORD PTR I40E_AQC_PORT_ADDR_VALID[rip], eax
	jne	.L7
	mov	r12d, DWORD PTR I40E_ERR_INVALID_MAC_ADDR[rip]
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L8
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	ecx, DWORD PTR I40E_NONDMA_TO_NONDMA[rip]
	mov	edx, 4
	mov	rsi, rbp
	mov	rdi, r13
	call	i40e_memcpy@PLT
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	i40e_get_port_mac_addr, .-i40e_get_port_mac_addr
	.comm	I40E_NONDMA_TO_NONDMA,4,4
	.comm	I40E_ERR_INVALID_MAC_ADDR,4,4
	.comm	I40E_AQC_PORT_ADDR_VALID,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_i40e_common.c_i40e_get_port_mac_addr.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	i40e_get_port_mac_addr
	.syntax unified
	.arm
	.fpu softvfp
	.type	i40e_get_port_mac_addr, %function
i40e_get_port_mac_addr:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, lr}
	ldr	ip, .L9
	sub	sp, sp, #20
	mov	r5, r1
	add	r2, sp, #4
	add	r1, sp, #8
	ldr	ip, [ip]
	str	ip, [sp, #12]
	mov	ip,#0
	str	r3, [sp, #8]
	bl	i40e_aq_mac_address_read
	subs	r4, r0, #0
	bne	.L1
	ldr	r3, .L9+4
	ldr	r2, [sp, #8]
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L7
	ldr	r3, .L9+8
	ldr	r4, [r3]
.L1:
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L7:
	ldr	r3, .L9+12
	mov	r0, r5
	mov	r2, #4
	ldr	r3, [r3]
	add	r1, sp, #4
	bl	i40e_memcpy
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	I40E_AQC_PORT_ADDR_VALID
	.word	I40E_ERR_INVALID_MAC_ADDR
	.word	I40E_NONDMA_TO_NONDMA
	.size	i40e_get_port_mac_addr, .-i40e_get_port_mac_addr
	.comm	I40E_NONDMA_TO_NONDMA,4,4
	.comm	I40E_ERR_INVALID_MAC_ADDR,4,4
	.comm	I40E_AQC_PORT_ADDR_VALID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
