	.file	"232956597.c"
	.intel_syntax noprefix
	.text
	.globl	usagi_getifaddrs
	.type	usagi_getifaddrs, @function
usagi_getifaddrs:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 176
	mov	QWORD PTR -168[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -152[rbp], 0
	jmp	.L2
.L23:
	mov	QWORD PTR -112[rbp], 0
	mov	QWORD PTR -104[rbp], 0
	mov	QWORD PTR -96[rbp], 0
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -136[rbp], rax
	jmp	.L3
.L22:
	mov	rax, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	DWORD PTR -148[rbp], eax
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR -120[rbp], rax
	jmp	.L4
.L21:
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	WORD PTR -154[rbp], 0
	mov	DWORD PTR -144[rbp], 0
	mov	DWORD PTR -140[rbp], 0
	lea	rax, -32[rbp]
	mov	edx, 24
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rax, QWORD PTR -120[rbp]
	movzx	eax, WORD PTR 4[rax]
	movzx	eax, ax
	cmp	eax, 16
	je	.L5
	cmp	eax, 20
	je	.L6
	jmp	.L10
.L5:
	mov	rax, QWORD PTR -120[rbp]
	add	rax, 8
	mov	QWORD PTR -72[rbp], rax
.L6:
	mov	rax, QWORD PTR -120[rbp]
	add	rax, 8
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	WORD PTR -154[rbp], ax
	cmp	DWORD PTR -152[rbp], 0
	je	.L25
	mov	eax, DWORD PTR -140[rbp]
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	movzx	edx, WORD PTR [rax]
	mov	rax, QWORD PTR -104[rbp]
	mov	WORD PTR 8[rax], dx
.L25:
	nop
	cmp	DWORD PTR -152[rbp], 0
	jne	.L11
	mov	rax, QWORD PTR -56[rbp]
	add	rax, 4
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	sub	rax, 4
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -120[rbp]
	movzx	eax, WORD PTR 4[rax]
	movzx	eax, ax
	cmp	eax, 16
	je	.L26
	cmp	eax, 20
	jne	.L11
	cmp	WORD PTR -154[rbp], 17
	je	.L27
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, WORD PTR 2[rax]
	movzx	eax, ax
	test	eax, eax
	je	.L15
	cmp	eax, 1
	je	.L16
	jmp	.L11
.L15:
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR -16[rbp], eax
.L16:
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L11
.L26:
	nop
	jmp	.L11
.L27:
	nop
.L11:
	mov	rax, QWORD PTR -120[rbp]
	movzx	eax, WORD PTR 4[rax]
	cmp	ax, 20
	jne	.L10
	cmp	WORD PTR -154[rbp], 17
	je	.L10
	mov	rax, QWORD PTR -24[rbp]
	test	rax, rax
	jne	.L17
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR -12[rbp], eax
.L17:
	mov	rax, QWORD PTR -32[rbp]
	test	rax, rax
	jne	.L18
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -32[rbp], rax
.L18:
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -12[rbp]
	cmp	edx, eax
	jne	.L19
	mov	rax, QWORD PTR -32[rbp]
	test	rax, rax
	je	.L10
	mov	edx, DWORD PTR -16[rbp]
	mov	rcx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcmp@PLT
	test	eax, eax
	je	.L10
.L19:
	cmp	DWORD PTR -152[rbp], 0
	jne	.L10
	mov	edx, DWORD PTR -16[rbp]
	movzx	eax, WORD PTR -154[rbp]
	mov	esi, edx
	mov	edi, eax
	mov	eax, 0
	call	ifa_sa_len@PLT
	add	eax, 3
	and	eax, -4
	mov	eax, eax
	add	QWORD PTR -128[rbp], rax
.L10:
	mov	edx, DWORD PTR -148[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR [rax]
	add	eax, 3
	and	eax, -4
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -148[rbp], eax
	mov	rax, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR [rax]
	add	eax, 3
	mov	eax, eax
	and	eax, 4294967292
	add	QWORD PTR -120[rbp], rax
.L4:
	cmp	DWORD PTR -148[rbp], 7
	jle	.L20
	mov	rax, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 7
	jbe	.L20
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -148[rbp]
	cmp	edx, eax
	jbe	.L21
.L20:
	mov	rax, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -136[rbp], rax
.L3:
	cmp	QWORD PTR -136[rbp], 0
	jne	.L22
	add	DWORD PTR -152[rbp], 1
.L2:
	cmp	DWORD PTR -152[rbp], 1
	jle	.L23
	nop
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	usagi_getifaddrs, .-usagi_getifaddrs
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"232956597.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	usagi_getifaddrs
	.syntax unified
	.arm
	.fpu softvfp
	.type	usagi_getifaddrs, %function
usagi_getifaddrs:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #104
	str	r0, [fp, #-104]
	ldr	r3, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L2
.L23:
	mov	r3, #0
	str	r3, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-68]
	mov	r3, #0
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-60]
	str	r3, [fp, #-92]
	b	.L3
.L22:
	ldr	r3, [fp, #-92]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-80]
	b	.L4
.L21:
	mov	r3, #0
	str	r3, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-48]
	mov	r3, #0
	strh	r3, [fp, #-94]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-40]
	sub	r3, fp, #24
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, [fp, #-80]
	ldrh	r3, [r3, #4]
	cmp	r3, #16
	beq	.L5
	cmp	r3, #20
	beq	.L6
	b	.L10
.L5:
	ldr	r3, [fp, #-80]
	add	r3, r3, #8
	str	r3, [fp, #-52]
.L6:
	ldr	r3, [fp, #-80]
	add	r3, r3, #8
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-48]
	ldrb	r3, [r3]	@ zero_extendqisi2
	strh	r3, [fp, #-94]	@ movhi
	ldr	r3, [fp, #-84]
	cmp	r3, #0
	beq	.L25
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldrh	r2, [r3]
	ldr	r3, [fp, #-68]
	strh	r2, [r3, #4]	@ movhi
.L25:
	nop
	ldr	r3, [fp, #-84]
	cmp	r3, #0
	bne	.L11
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-36]
	ldrh	r3, [r3]
	sub	r3, r3, #4
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-80]
	ldrh	r3, [r3, #4]
	cmp	r3, #16
	beq	.L26
	cmp	r3, #20
	bne	.L11
	ldrh	r3, [fp, #-94]
	cmp	r3, #17
	beq	.L27
	ldr	r3, [fp, #-36]
	ldrh	r3, [r3, #2]
	cmp	r3, #0
	beq	.L15
	cmp	r3, #1
	beq	.L16
	b	.L11
.L15:
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-16]
.L16:
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-20]
	b	.L11
.L26:
	nop
	b	.L11
.L27:
	nop
.L11:
	ldr	r3, [fp, #-80]
	ldrh	r3, [r3, #4]
	cmp	r3, #20
	bne	.L10
	ldrh	r3, [fp, #-94]
	cmp	r3, #17
	beq	.L10
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L17
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
.L17:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L18
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-24]
.L18:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bne	.L19
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r2, [fp, #-16]
	mov	r0, r3
	bl	memcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
.L19:
	ldr	r3, [fp, #-84]
	cmp	r3, #0
	bne	.L10
	ldrh	r3, [fp, #-94]
	ldr	r2, [fp, #-16]
	mov	r1, r2
	mov	r0, r3
	bl	ifa_sa_len
	mov	r3, r0
	add	r3, r3, #3
	bic	r3, r3, #3
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	str	r3, [fp, #-88]
.L10:
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-80]
	ldr	r3, [r3]
	add	r3, r3, #3
	bic	r3, r3, #3
	sub	r3, r2, r3
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-80]
	ldr	r3, [r3]
	add	r3, r3, #3
	bic	r3, r3, #3
	ldr	r2, [fp, #-80]
	add	r3, r2, r3
	str	r3, [fp, #-80]
.L4:
	ldr	r3, [fp, #-76]
	cmp	r3, #7
	ble	.L20
	ldr	r3, [fp, #-80]
	ldr	r3, [r3]
	cmp	r3, #7
	bls	.L20
	ldr	r3, [fp, #-80]
	ldr	r2, [r3]
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	bls	.L21
.L20:
	ldr	r3, [fp, #-92]
	ldr	r3, [r3]
	str	r3, [fp, #-92]
.L3:
	ldr	r3, [fp, #-92]
	cmp	r3, #0
	bne	.L22
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L2:
	ldr	r3, [fp, #-84]
	cmp	r3, #1
	ble	.L23
	nop
	ldr	r2, .L28
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC0
	.size	usagi_getifaddrs, .-usagi_getifaddrs
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
