	.file	"extr_android-ifaddrs.c_getifaddrs.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	getifaddrs
	.type	getifaddrs, @function
getifaddrs:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	test	rdi, rdi
	je	.L13
	mov	QWORD PTR [rdi], 0
	mov	r13, rdi
	lea	rdi, 4[rsp]
	call	netlink_socket@PLT
	mov	ebp, eax
	test	eax, eax
	js	.L13
	mov	edx, DWORD PTR 4[rsp]
	mov	esi, DWORD PTR RTM_GETLINK[rip]
	mov	edi, eax
	call	getResultList@PLT
	mov	r15, rax
	test	rax, rax
	je	.L15
	mov	edx, DWORD PTR 4[rsp]
	mov	esi, DWORD PTR RTM_GETADDR[rip]
	mov	edi, ebp
	call	getResultList@PLT
	mov	r14, rax
	test	rax, rax
	je	.L16
	mov	esi, DWORD PTR 4[rsp]
	mov	rcx, r13
	mov	rdx, r15
	mov	edi, ebp
	call	interpretLinks@PLT
	mov	r12d, eax
	cmp	eax, -1
	jne	.L17
.L7:
	mov	rdi, r15
	call	freeResultList@PLT
	mov	rdi, r14
	call	freeResultList@PLT
	mov	edi, ebp
	call	close@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L18
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	mov	esi, DWORD PTR 4[rsp]
	mov	r8d, eax
	mov	rcx, r13
	mov	rdx, r14
	mov	edi, ebp
	xor	r12d, r12d
	call	interpretAddrs@PLT
	cmp	eax, -1
	sete	r12b
	neg	r12d
	jmp	.L7
.L15:
	mov	edi, ebp
	call	close@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	mov	r12d, -1
	jmp	.L1
.L16:
	mov	edi, ebp
	mov	r12d, -1
	call	close@PLT
	mov	rdi, r15
	call	freeResultList@PLT
	jmp	.L1
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	getifaddrs, .-getifaddrs
	.comm	RTM_GETLINK,4,4
	.comm	RTM_GETADDR,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_android-ifaddrs.c_getifaddrs.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	getifaddrs
	.syntax unified
	.arm
	.fpu softvfp
	.type	getifaddrs, %function
getifaddrs:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L19
	sub	sp, sp, #16
	subs	r6, r0, #0
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	beq	.L13
	mov	r3, #0
	add	r0, sp, #8
	str	r3, [r6]
	bl	netlink_socket
	subs	r5, r0, #0
	blt	.L13
	ldr	r3, .L19+4
	ldr	r2, [sp, #8]
	ldr	r1, [r3]
	bl	getResultList
	subs	r7, r0, #0
	beq	.L15
	ldr	r3, .L19+8
	mov	r0, r5
	ldr	r2, [sp, #8]
	ldr	r1, [r3]
	bl	getResultList
	subs	r8, r0, #0
	beq	.L16
	mov	r3, r6
	mov	r2, r7
	mov	r0, r5
	ldr	r1, [sp, #8]
	bl	interpretLinks
	cmn	r0, #1
	mov	r4, r0
	bne	.L17
.L7:
	mov	r0, r7
	bl	freeResultList
	mov	r0, r8
	bl	freeResultList
	mov	r0, r5
	bl	close
.L1:
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L18
	mov	r0, r4
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L17:
	str	r0, [sp]
	mov	r3, r6
	mov	r2, r8
	mov	r0, r5
	ldr	r1, [sp, #8]
	bl	interpretAddrs
	cmn	r0, #1
	movne	r4, #0
	moveq	r4, #1
	rsb	r4, r4, #0
	b	.L7
.L15:
	mov	r0, r5
	bl	close
.L13:
	mvn	r4, #0
	b	.L1
.L16:
	mov	r0, r5
	bl	close
	mov	r0, r7
	bl	freeResultList
	mvn	r4, #0
	b	.L1
.L18:
	bl	__stack_chk_fail
.L20:
	.align	2
.L19:
	.word	.LC0
	.word	RTM_GETLINK
	.word	RTM_GETADDR
	.size	getifaddrs, .-getifaddrs
	.comm	RTM_GETLINK,4,4
	.comm	RTM_GETADDR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
