	.file	"extr_addrtoname.c_etheraddr_string.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Unknown"
.LC1:
	.string	" (oui %s)"
.LC2:
	.string	"etheraddr_string: strdup(buf)"
	.text
	.p2align 4
	.globl	etheraddr_string
	.type	etheraddr_string, @function
etheraddr_string:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r14
	.cfi_offset 14, -24
	mov	r14, rsi
	push	r13
	push	r12
	push	rbx
	.cfi_offset 13, -32
	.cfi_offset 12, -40
	.cfi_offset 3, -48
	mov	rbx, rdi
	sub	rsp, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR BUFSIZE[rip]
	mov	rcx, rsp
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L17:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L17
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L18
.L4:
	mov	rsi, r14
	mov	rdi, rbx
	mov	r13, rsp
	call	lookup_emem@PLT
	mov	r12, rax
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L19
.L1:
	mov	rbx, QWORD PTR -40[rbp]
	xor	rbx, QWORD PTR fs:40
	jne	.L20
	lea	rsp, -32[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	mov	rdi, r14
	call	EXTRACT_24BITS@PLT
	mov	r9, QWORD PTR hex[rip]
	lea	r8, 4[r14]
	mov	edx, eax
	mov	eax, DWORD PTR [r14]
	mov	ecx, eax
	and	eax, 15
	sar	ecx, 4
	movsx	rcx, ecx
	mov	rcx, QWORD PTR [r9+rcx*8]
	mov	BYTE PTR [rsp], cl
	mov	rax, QWORD PTR [r9+rax*8]
	lea	rcx, 2[rsp]
	mov	BYTE PTR 1[rsp], al
	lea	rax, 17[rsp]
	.p2align 4,,10
	.p2align 3
.L6:
	mov	esi, DWORD PTR [r8]
	mov	BYTE PTR [rcx], 58
	add	rcx, 3
	add	r8, 4
	mov	edi, esi
	and	esi, 15
	sar	edi, 4
	movsx	rdi, edi
	mov	rdi, QWORD PTR [r9+rdi*8]
	mov	BYTE PTR -2[rcx], dil
	mov	rsi, QWORD PTR [r9+rsi*8]
	mov	BYTE PTR -1[rcx], sil
	cmp	rcx, rax
	jne	.L6
	mov	eax, DWORD PTR 8[rbx]
	lea	r14, 17[r13]
	test	eax, eax
	je	.L21
	mov	BYTE PTR 17[r13], 0
.L8:
	mov	rdi, r13
	call	strdup@PLT
	mov	QWORD PTR [r12], rax
	test	rax, rax
	jne	.L1
	lea	rsi, .LC2[rip]
	mov	rdi, rbx
	call	[QWORD PTR [rbx]]
	mov	rax, QWORD PTR [r12]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L18:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L21:
	mov	edi, DWORD PTR oui_values[rip]
	lea	rsi, .LC0[rip]
	call	tok2str@PLT
	lea	rdx, .LC1[rip]
	mov	rdi, r14
	mov	rcx, rax
	mov	eax, DWORD PTR BUFSIZE[rip]
	lea	esi, -17[rax]
	call	snprintf@PLT
	jmp	.L8
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	etheraddr_string, .-etheraddr_string
	.comm	oui_values,4,4
	.comm	hex,8,8
	.comm	BUFSIZE,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_addrtoname.c_etheraddr_string.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Unknown\000"
	.align	2
.LC1:
	.ascii	" (oui %s)\000"
	.align	2
.LC2:
	.ascii	"etheraddr_string: strdup(buf)\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	etheraddr_string
	.syntax unified
	.arm
	.fpu softvfp
	.type	etheraddr_string, %function
etheraddr_string:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #12
	ldr	r3, .L14
	ldr	r6, .L14+4
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	ldr	r3, [r6]
	mov	r4, r0
	add	r3, r3, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	mov	r8, r1
	bl	lookup_emem
	mov	r5, r0
	ldr	r0, [r0]
	cmp	r0, #0
	beq	.L11
.L1:
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L11:
	mov	r0, r8
	bl	EXTRACT_24BITS
	mov	lr, r8
	mov	r7, sp
	mov	r10, #58
	ldr	r1, .L14+8
	ldr	r3, [lr], #4
	ldr	r9, [r1]
	asr	r1, r3, #4
	ldr	r1, [r9, r1, lsl #2]
	and	r3, r3, #15
	strb	r1, [sp]
	ldr	r3, [r9, r3, lsl #2]
	add	r8, r8, #24
	strb	r3, [sp, #1]
	add	r3, sp, #5
.L3:
	ldr	ip, [lr], #4
	strb	r10, [r3, #-3]
	asr	r1, ip, #4
	ldr	r1, [r9, r1, lsl #2]
	and	ip, ip, #15
	strb	r1, [r3, #-2]
	ldr	ip, [r9, ip, lsl #2]
	cmp	r8, lr
	strb	ip, [r3, #-1]
	add	r3, r3, #3
	bne	.L3
	ldr	r3, [r4, #4]
	add	r8, r7, #17
	cmp	r3, #0
	movne	r3, #0
	strbne	r3, [r7, #17]
	beq	.L13
.L5:
	mov	r0, r7
	bl	strdup
	cmp	r0, #0
	str	r0, [r5]
	bne	.L1
	mov	r0, r4
	ldr	r3, [r4]
	ldr	r1, .L14+12
	blx	r3
	ldr	r0, [r5]
	b	.L1
.L13:
	ldr	r3, .L14+16
	mov	r2, r0
	ldr	r1, .L14+20
	ldr	r0, [r3]
	ldr	r6, [r6]
	bl	tok2str
	sub	r6, r6, #17
	mov	r3, r0
	mov	r1, r6
	mov	r0, r8
	ldr	r2, .L14+24
	bl	snprintf
	b	.L5
.L12:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC3
	.word	BUFSIZE
	.word	hex
	.word	.LC2
	.word	oui_values
	.word	.LC0
	.word	.LC1
	.size	etheraddr_string, .-etheraddr_string
	.comm	oui_values,4,4
	.comm	hex,4,4
	.comm	BUFSIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
