	.file	"extr_mantis_ioc.c_mantis_get_mac.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"ERROR: Mantis EEPROM read error <%d>"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"    MAC Address=[%pM]\n"
	.text
	.p2align 4
	.globl	mantis_get_mac
	.type	mantis_get_mac, @function
mantis_get_mac:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pxor	xmm0, xmm0
	mov	ecx, 6
	mov	esi, 8
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 40
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rbx, rsp
	movaps	XMMWORD PTR [rsp], xmm0
	mov	QWORD PTR 16[rsp], 0
	mov	rdx, rbx
	call	read_eeprom_bytes@PLT
	test	eax, eax
	js	.L7
	mov	edi, DWORD PTR MANTIS_ERROR[rip]
	mov	ecx, ebx
	xor	esi, esi
	xor	r12d, r12d
	lea	rdx, .LC1[rip]
	call	dprintk@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L8
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	edi, DWORD PTR MANTIS_ERROR[rip]
	mov	ecx, eax
	mov	esi, 1
	mov	r12d, eax
	lea	rdx, .LC0[rip]
	call	dprintk@PLT
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	mantis_get_mac, .-mantis_get_mac
	.comm	MANTIS_ERROR,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_mantis_ioc.c_mantis_get_mac.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ERROR: Mantis EEPROM read error <%d>\000"
	.align	2
.LC1:
	.ascii	"    MAC Address=[%pM]\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mantis_get_mac
	.syntax unified
	.arm
	.fpu softvfp
	.type	mantis_get_mac, %function
mantis_get_mac:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r4, #0
	sub	sp, sp, #36
	ldr	ip, .L9
	add	r2, sp, #4
	mov	r3, #6
	mov	r1, #8
	ldr	ip, [ip]
	str	ip, [sp, #28]
	mov	ip,#0
	str	r4, [sp, #4]
	str	r4, [sp, #8]
	str	r4, [sp, #12]
	str	r4, [sp, #16]
	str	r4, [sp, #20]
	str	r4, [sp, #24]
	bl	read_eeprom_bytes
	subs	r5, r0, #0
	ldr	r2, .L9+4
	blt	.L7
	ldr	r0, [r2]
	mov	r1, r4
	ldr	r2, .L9+8
	add	r3, sp, #4
	bl	dprintk
	mov	r5, r4
.L1:
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	mov	r0, r5
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, pc}
.L7:
	mov	r3, r5
	mov	r1, #1
	ldr	r0, [r2]
	ldr	r2, .L9+12
	bl	dprintk
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	.LC2
	.word	MANTIS_ERROR
	.word	.LC1
	.word	.LC0
	.size	mantis_get_mac, .-mantis_get_mac
	.comm	MANTIS_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
