	.file	"extr_missing_libc_functions.c_buildEmptyIfa.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	buildEmptyIfa, @function
buildEmptyIfa:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	edi, 40
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	malloc@PLT
	test	rax, rax
	jne	.L13
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	edx, 40
	xor	esi, esi
	mov	rdi, rax
	mov	rbp, rax
	mov	r12, rax
	call	memset@PLT
	mov	edi, DWORD PTR wiiu_iface_name[rip]
	call	strdup@PLT
	mov	edi, 4
	mov	DWORD PTR 32[rbp], eax
	call	malloc@PLT
	mov	edi, 4
	mov	QWORD PTR 24[rbp], rax
	call	malloc@PLT
	mov	edi, 4
	mov	QWORD PTR 16[rbp], rax
	call	malloc@PLT
	mov	edx, DWORD PTR 32[rbp]
	mov	QWORD PTR 8[rbp], rax
	test	edx, edx
	je	.L3
	mov	rdi, QWORD PTR 24[rbp]
	test	rdi, rdi
	je	.L3
	cmp	QWORD PTR 16[rbp], 0
	je	.L3
	test	rax, rax
	je	.L3
	mov	edx, 4
	xor	esi, esi
	call	memset@PLT
	mov	rax, QWORD PTR 24[rbp]
	mov	rdi, QWORD PTR 16[rbp]
	xor	esi, esi
	mov	rdx, QWORD PTR AF_INET[rip]
	mov	QWORD PTR [rax], rdx
	mov	edx, 4
	call	memset@PLT
	mov	rax, QWORD PTR 16[rbp]
	mov	rdi, QWORD PTR 8[rbp]
	xor	esi, esi
	mov	rdx, QWORD PTR AF_INET[rip]
	mov	QWORD PTR [rax], rdx
	mov	edx, 4
	call	memset@PLT
	mov	rax, QWORD PTR 8[rbp]
	mov	rdx, QWORD PTR AF_INET[rip]
	mov	QWORD PTR [rax], rdx
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rdi, rbp
	xor	r12d, r12d
	call	freeifaddrs@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	buildEmptyIfa, .-buildEmptyIfa
	.comm	wiiu_iface_name,4,4
	.comm	AF_INET,8,8
	.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_missing_libc_functions.c_buildEmptyIfa.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	buildEmptyIfa, %function
buildEmptyIfa:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r0, #20
	bl	malloc
	subs	r4, r0, #0
	beq	.L1
	mov	r5, #0
	ldr	r3, .L8
	str	r5, [r4]
	ldr	r0, [r3]
	str	r5, [r4, #4]
	str	r5, [r4, #8]
	str	r5, [r4, #12]
	str	r5, [r4, #16]
	bl	strdup
	mov	r8, r0
	mov	r0, #4
	str	r8, [r4, #16]
	bl	malloc
	mov	r7, r0
	mov	r0, #4
	str	r7, [r4, #12]
	bl	malloc
	mov	r6, r0
	mov	r0, #4
	str	r6, [r4, #8]
	bl	malloc
	clz	r3, r7
	cmp	r8, r5
	lsr	r3, r3, #5
	moveq	r3, #1
	cmp	r6, r5
	moveq	r3, #1
	cmp	r0, r5
	moveq	r3, #1
	cmp	r3, r5
	str	r0, [r4, #4]
	bne	.L7
	ldr	r3, .L8+4
	ldr	r3, [r3]
	str	r3, [r7]
	str	r3, [r6]
	str	r3, [r0]
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	mov	r0, r4
	bl	freeifaddrs
	mov	r4, r5
	b	.L1
.L9:
	.align	2
.L8:
	.word	wiiu_iface_name
	.word	AF_INET
	.size	buildEmptyIfa, .-buildEmptyIfa
	.comm	wiiu_iface_name,4,4
	.comm	AF_INET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
