	.file	"extr_libifconfig.c_ifconfig_get_description.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ifconfig_get_description
	.type	ifconfig_get_description, @function
ifconfig_get_description:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdx
	mov	edx, 24
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	xor	esi, esi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, 64
	sub	rsp, 32
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	r13, rsp
	mov	rdi, r13
	call	memset@PLT
	mov	edi, DWORD PTR 16[rsp]
	mov	rsi, rbp
	mov	edx, 4
	xor	ebp, ebp
	call	strlcpy@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rbx, rax
.L7:
	mov	rdi, rbp
	mov	rsi, rbx
	call	reallocf@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L15
	mov	edx, DWORD PTR SIOCGIFDESCR[rip]
	mov	rcx, r13
	mov	rdi, r12
	mov	QWORD PTR [rsp], rax
	mov	esi, DWORD PTR AF_LOCAL[rip]
	mov	QWORD PTR 8[rsp], rbx
	call	ifconfig_ioctlwrap@PLT
	test	rax, rax
	jne	.L16
	cmp	QWORD PTR [rsp], rbp
	je	.L17
	mov	rax, QWORD PTR 8[rsp]
	cmp	rax, rbx
	ja	.L9
.L6:
	mov	rdi, rbp
	call	free@PLT
	mov	rax, QWORD PTR OTHER[rip]
	mov	QWORD PTR [r12], 0
	mov	QWORD PTR 8[r12], rax
	mov	eax, -1
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L18
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	rax, QWORD PTR OTHER[rip]
	mov	QWORD PTR 8[r12], rax
	mov	rax, QWORD PTR ENOMEM[rip]
	mov	QWORD PTR [r12], rax
	mov	eax, -1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rdi, rbp
	call	free@PLT
	mov	eax, -1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rdi, rbp
	call	strlen@PLT
	test	rax, rax
	je	.L6
	mov	rdi, rbp
	call	strdup@PLT
	mov	rdi, rbp
	mov	QWORD PTR [r14], rax
	call	free@PLT
	xor	eax, eax
	jmp	.L1
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ifconfig_get_description, .-ifconfig_get_description
	.comm	SIOCGIFDESCR,4,4
	.comm	OTHER,8,8
	.comm	ENOMEM,8,8
	.comm	AF_LOCAL,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_libifconfig.c_ifconfig_get_description.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ifconfig_get_description
	.syntax unified
	.arm
	.fpu softvfp
	.type	ifconfig_get_description, %function
ifconfig_get_description:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r0
	mov	r0, r3
	ldr	r3, .L19
	sub	sp, sp, #16
	mov	r9, r2
	mov	r2, #4
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r4, r0
	str	r0, [sp]
	str	r0, [sp, #4]
	str	r0, [sp, #8]
	mov	r5, #64
	bl	strlcpy
	ldr	r8, .L19+4
	ldr	r7, .L19+8
	b	.L7
.L9:
	mov	r5, r3
.L7:
	mov	r0, r4
	mov	r1, r5
	bl	reallocf
	subs	r4, r0, #0
	beq	.L15
	mov	r3, sp
	mov	r0, r6
	ldr	r2, [r8]
	ldr	r1, [r7]
	stm	sp, {r4, r5}
	bl	ifconfig_ioctlwrap
	subs	r10, r0, #0
	bne	.L16
	ldr	r3, [sp]
	cmp	r3, r4
	beq	.L17
	ldr	r3, [sp, #4]
	cmp	r3, r5
	bhi	.L9
.L6:
	mov	r0, r4
	bl	free
	mov	r2, #0
	mvn	r10, #0
	ldr	r3, .L19+12
	ldr	r3, [r3]
	stm	r6, {r2, r3}
.L1:
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L18
	mov	r0, r10
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L15:
	ldr	r2, .L19+12
	ldr	r3, .L19+16
	ldr	r2, [r2]
	ldr	r3, [r3]
	mvn	r10, #0
	str	r2, [r6, #4]
	str	r3, [r6]
	b	.L1
.L16:
	mov	r0, r4
	bl	free
	mvn	r10, #0
	b	.L1
.L17:
	mov	r0, r4
	bl	strlen
	cmp	r0, #0
	beq	.L6
	mov	r0, r4
	bl	strdup
	mov	r3, r0
	mov	r0, r4
	str	r3, [r9]
	bl	free
	b	.L1
.L18:
	bl	__stack_chk_fail
.L20:
	.align	2
.L19:
	.word	.LC0
	.word	SIOCGIFDESCR
	.word	AF_LOCAL
	.word	OTHER
	.word	ENOMEM
	.size	ifconfig_get_description, .-ifconfig_get_description
	.comm	SIOCGIFDESCR,4,4
	.comm	OTHER,4,4
	.comm	ENOMEM,4,4
	.comm	AF_LOCAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
