	.file	"extr_if_mge.c_mge_get_mac_address.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"local-mac-address"
	.text
	.p2align 4
	.type	mge_get_mac_address, @function
mge_get_mac_address:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	ecx, 6
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	lea	rsi, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 72
	.cfi_def_cfa_offset 112
	mov	edi, DWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	mov	r13, rsp
	mov	rdx, r13
	call	OF_getprop@PLT
	cmp	eax, 6
	jne	.L2
	mov	rax, r13
	lea	rdx, 48[rsp]
.L4:
	cmp	QWORD PTR [rax], 0
	jne	.L3
	add	rax, 8
	cmp	rax, rdx
	jne	.L4
.L2:
	mov	esi, DWORD PTR MGE_MAC_ADDR_L[rip]
	mov	rdi, r12
	call	MGE_READ@PLT
	mov	esi, DWORD PTR MGE_MAC_ADDR_H[rip]
	mov	rdi, r12
	mov	ebx, eax
	call	MGE_READ@PLT
	mov	edx, eax
	shr	edx, 24
	mov	ecx, edx
	mov	edx, eax
	sar	edx, 16
	mov	QWORD PTR 0[rbp], rcx
	movzx	edx, dl
	mov	QWORD PTR 8[rbp], rdx
	movzx	edx, ah
	movzx	eax, al
	mov	QWORD PTR 24[rbp], rax
	movzx	eax, bh
	movzx	ebx, bl
	mov	QWORD PTR 16[rbp], rdx
	mov	QWORD PTR 32[rbp], rax
	mov	QWORD PTR 40[rbp], rbx
.L1:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L10
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	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
.L3:
	.cfi_restore_state
	mov	edx, 6
	mov	rsi, rbp
	mov	rdi, r13
	call	bcopy@PLT
	jmp	.L1
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	mge_get_mac_address, .-mge_get_mac_address
	.comm	MGE_MAC_ADDR_L,4,4
	.comm	MGE_MAC_ADDR_H,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_if_mge.c_mge_get_mac_address.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"local-mac-address\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mge_get_mac_address, %function
mge_get_mac_address:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	ip, .L11
	sub	sp, sp, #32
	mov	r6, r0
	mov	r4, r1
	mov	r3, #6
	ldr	r0, [r0]
	ldr	r1, .L11+4
	add	r2, sp, #4
	ldr	ip, [ip]
	str	ip, [sp, #28]
	mov	ip,#0
	bl	OF_getprop
	cmp	r0, #6
	bne	.L2
	mov	r3, sp
	add	r1, sp, #24
.L4:
	ldr	r2, [r3, #4]!
	cmp	r2, #0
	bne	.L3
	cmp	r3, r1
	bne	.L4
.L2:
	ldr	r3, .L11+8
	mov	r0, r6
	ldr	r1, [r3]
	bl	MGE_READ
	ldr	r3, .L11+12
	mov	r5, r0
	ldr	r1, [r3]
	mov	r0, r6
	bl	MGE_READ
	asr	r1, r0, #16
	asr	r3, r5, #8
	asr	r2, r0, #8
	and	r1, r1, #255
	and	r2, r2, #255
	and	r3, r3, #255
	and	r5, r5, #255
	str	r1, [r4, #4]
	lsr	r1, r0, #24
	and	r0, r0, #255
	str	r2, [r4, #8]
	str	r3, [r4, #16]
	str	r5, [r4, #20]
	str	r1, [r4]
	str	r0, [r4, #12]
.L1:
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	add	sp, sp, #32
	@ sp needed
	pop	{r4, r5, r6, pc}
.L3:
	mov	r1, r4
	mov	r2, #6
	add	r0, sp, #4
	bl	bcopy
	b	.L1
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC1
	.word	.LC0
	.word	MGE_MAC_ADDR_L
	.word	MGE_MAC_ADDR_H
	.size	mge_get_mac_address, .-mge_get_mac_address
	.comm	MGE_MAC_ADDR_L,4,4
	.comm	MGE_MAC_ADDR_H,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
