	.file	"394647.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Usage: showip [-h] [-46gltTu] [interface]\n"
	.text
	.type	usage, @function
usage:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 42
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	usage, .-usage
	.section	.rodata
	.align 8
.LC1:
	.ascii	"Usage: showip [-h] [-46gltTu] [interface]\n    -h    show th"
	.ascii	"is help\n    -4    print IPv4 addresses\n  "
	.string	"  -6    print IPv6 addresses (same as -gltu)\n    -g    print Global Unique Addresses (GUA)\n    -l    print Link-Local Addresses (LLA)\n    -t    print temporary addresses\n    -T    filter temporary addresses out\n    -u    print Unique Local Addresses (ULA)\n"
	.text
	.type	help, @function
help:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE7:
	.size	help, .-help
	.section	.rodata
.LC2:
	.string	"malloc"
	.text
	.type	parse_flags, @function
parse_flags:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 320
	mov	DWORD PTR -308[rbp], edi
	mov	QWORD PTR -320[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	mov	edi, 260
	call	malloc@PLT
	mov	QWORD PTR -280[rbp], rax
	cmp	QWORD PTR -280[rbp], 0
	jne	.L4
	lea	rdi, .LC2[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	mov	rax, QWORD PTR -280[rbp]
	mov	ecx, 260
	mov	esi, 0
	mov	QWORD PTR [rax], rsi
	mov	edx, ecx
	add	rdx, rax
	add	rdx, 8
	mov	QWORD PTR -16[rdx], rsi
	lea	rdx, 8[rax]
	and	rdx, -8
	sub	rax, rdx
	add	ecx, eax
	and	ecx, -8
	mov	eax, ecx
	shr	eax, 3
	mov	ecx, eax
	mov	rdi, rdx
	mov	rax, rsi
	rep stosq
	cmp	DWORD PTR -308[rbp], 1
	jg	.L5
	mov	rax, QWORD PTR -280[rbp]
	jmp	.L25
.L5:
	mov	DWORD PTR -292[rbp], 1
	jmp	.L7
.L24:
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -320[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L8
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -320[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	mov	QWORD PTR -288[rbp], rax
	jmp	.L9
.L22:
	mov	rax, QWORD PTR -288[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cmp	eax, 117
	jg	.L10
	cmp	eax, 84
	jge	.L11
	cmp	eax, 52
	je	.L12
	cmp	eax, 54
	je	.L13
	jmp	.L10
.L11:
	sub	eax, 84
	cmp	eax, 33
	ja	.L10
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L15[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L15[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L15:
	.long	.L20-.L15
	.long	.L10-.L15
	.long	.L10-.L15
	.long	.L10-.L15
	.long	.L10-.L15
	.long	.L10-.L15
	.long	.L10-.L15
	.long	.L10-.L15
	.long	.L10-.L15
	.long	.L10-.L15
	.long	.L10-.L15
	.long	.L10-.L15
	.long	.L10-.L15
	.long	.L10-.L15
	.long	.L10-.L15
	.long	.L10-.L15
	.long	.L10-.L15
	.long	.L10-.L15
	.long	.L10-.L15
	.long	.L19-.L15
	.long	.L18-.L15
	.long	.L10-.L15
	.long	.L10-.L15
	.long	.L10-.L15
	.long	.L17-.L15
	.long	.L10-.L15
	.long	.L10-.L15
	.long	.L10-.L15
	.long	.L10-.L15
	.long	.L10-.L15
	.long	.L10-.L15
	.long	.L10-.L15
	.long	.L16-.L15
	.long	.L14-.L15
	.text
.L18:
	mov	eax, 0
	call	help
.L12:
	mov	rax, QWORD PTR -280[rbp]
	mov	eax, DWORD PTR [rax]
	or	eax, 1
	mov	edx, eax
	mov	rax, QWORD PTR -280[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L21
.L13:
	mov	rax, QWORD PTR -280[rbp]
	mov	eax, DWORD PTR [rax]
	or	eax, 2
	mov	edx, eax
	mov	rax, QWORD PTR -280[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L21
.L19:
	mov	rax, QWORD PTR -280[rbp]
	mov	eax, DWORD PTR [rax]
	or	eax, 4
	mov	edx, eax
	mov	rax, QWORD PTR -280[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L21
.L17:
	mov	rax, QWORD PTR -280[rbp]
	mov	eax, DWORD PTR [rax]
	or	eax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -280[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L21
.L16:
	mov	rax, QWORD PTR -280[rbp]
	mov	eax, DWORD PTR [rax]
	or	eax, 32
	mov	edx, eax
	mov	rax, QWORD PTR -280[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L21
.L20:
	mov	rax, QWORD PTR -280[rbp]
	mov	eax, DWORD PTR [rax]
	or	eax, 64
	mov	edx, eax
	mov	rax, QWORD PTR -280[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L21
.L14:
	mov	rax, QWORD PTR -280[rbp]
	mov	eax, DWORD PTR [rax]
	or	eax, 16
	mov	edx, eax
	mov	rax, QWORD PTR -280[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L21
.L10:
	mov	eax, 0
	call	usage
.L21:
	add	QWORD PTR -288[rbp], 1
.L9:
	mov	rax, QWORD PTR -288[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L22
	jmp	.L23
.L8:
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -320[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -280[rbp]
	lea	rcx, 4[rdx]
	mov	edx, 255
	mov	rsi, rax
	mov	rdi, rcx
	call	strncpy@PLT
	mov	rax, QWORD PTR -280[rbp]
	mov	BYTE PTR 259[rax], 0
.L23:
	add	DWORD PTR -292[rbp], 1
.L7:
	mov	eax, DWORD PTR -292[rbp]
	cmp	eax, DWORD PTR -308[rbp]
	jl	.L24
	mov	rax, QWORD PTR -280[rbp]
.L25:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	parse_flags, .-parse_flags
	.type	reduce_v6, @function
reduce_v6:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -8[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	BYTE PTR -57[rbp], 1
	mov	QWORD PTR -40[rbp], 0
	mov	DWORD PTR -56[rbp], 0
	mov	DWORD PTR -52[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	cmp	QWORD PTR -72[rbp], 0
	jne	.L28
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 22
	mov	eax, 0
	jmp	.L29
.L28:
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	mov	esi, 1
	mov	edi, 64
	call	calloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L30
	mov	eax, 0
	jmp	.L29
.L30:
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -32[rbp], rdx
	mov	rdx, QWORD PTR -72[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 48
	je	.L31
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -40[rbp], rdx
	mov	rdx, QWORD PTR -8[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	mov	BYTE PTR -57[rbp], 0
.L31:
	mov	QWORD PTR -24[rbp], 1
	jmp	.L32
.L39:
	cmp	QWORD PTR -24[rbp], 4
	jne	.L33
	mov	QWORD PTR -24[rbp], 0
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -40[rbp], rdx
	mov	rdx, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 58
	mov	BYTE PTR -57[rbp], 1
.L33:
	cmp	BYTE PTR -57[rbp], 0
	je	.L34
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 48
	jne	.L34
	cmp	QWORD PTR -24[rbp], 3
	jne	.L45
	add	DWORD PTR -52[rbp], 1
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, DWORD PTR -56[rbp]
	jle	.L34
	mov	eax, DWORD PTR -52[rbp]
	mov	DWORD PTR -56[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	QWORD PTR -48[rbp], rax
.L34:
	mov	BYTE PTR -57[rbp], 0
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 48
	je	.L37
	mov	DWORD PTR -52[rbp], 0
.L37:
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -32[rbp]
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -40[rbp], rdx
	mov	rdx, QWORD PTR -8[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR [rcx]
	mov	BYTE PTR [rdx], al
	jmp	.L36
.L45:
	nop
.L36:
	add	QWORD PTR -32[rbp], 1
	add	QWORD PTR -24[rbp], 1
.L32:
	cmp	QWORD PTR -32[rbp], 31
	ja	.L38
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L39
.L38:
	cmp	QWORD PTR -32[rbp], 32
	je	.L40
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 22
	mov	eax, 0
	jmp	.L29
.L40:
	cmp	DWORD PTR -56[rbp], 1
	jle	.L41
	mov	eax, DWORD PTR -56[rbp]
	add	eax, eax
	cdqe
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	cmp	rax, QWORD PTR -8[rbp]
	jne	.L42
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -16[rbp], rdx
	mov	BYTE PTR [rax], 58
.L42:
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -16[rbp], rdx
	mov	BYTE PTR [rax], 58
	jmp	.L43
.L44:
	mov	rdx, QWORD PTR -48[rbp]
	lea	rax, 1[rdx]
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	lea	rcx, 1[rax]
	mov	QWORD PTR -16[rbp], rcx
	movzx	edx, BYTE PTR [rdx]
	mov	BYTE PTR [rax], dl
.L43:
	mov	rax, QWORD PTR -48[rbp]
	sub	rax, 2
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L44
.L41:
	mov	rax, QWORD PTR -8[rbp]
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	reduce_v6, .-reduce_v6
	.section	.rodata
.LC3:
	.string	"r"
.LC4:
	.string	"/proc/net/if_inet6"
.LC5:
	.string	"fopen"
.LC6:
	.string	"strtol"
.LC7:
	.string	"No digits were found\n"
	.text
	.type	parse_proc, @function
parse_proc:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 88
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	mov	edi, 2048
	call	malloc@PLT
	mov	QWORD PTR -56[rbp], rax
	cmp	QWORD PTR -56[rbp], 0
	jne	.L47
	lea	rdi, .LC2[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L47:
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	lea	rsi, .LC3[rip]
	lea	rdi, .LC4[rip]
	call	fopen@PLT
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	jne	.L48
	lea	rdi, .LC5[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L48:
	mov	QWORD PTR -64[rbp], 0
	jmp	.L49
.L52:
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -80[rbp]
	lea	rcx, 42[rax]
	lea	rax, -72[rbp]
	mov	edx, 16
	mov	rsi, rax
	mov	rdi, rcx
	call	strtoul@PLT
	mov	QWORD PTR -40[rbp], rax
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L50
	lea	rdi, .LC6[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L50:
	mov	rax, QWORD PTR -80[rbp]
	lea	rdx, 42[rax]
	mov	rax, QWORD PTR -72[rbp]
	cmp	rdx, rax
	jne	.L51
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 21
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L51:
	mov	rax, QWORD PTR -40[rbp]
	and	eax, 1
	test	rax, rax
	je	.L49
	mov	rdx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -64[rbp]
	lea	rcx, 1[rax]
	mov	QWORD PTR -64[rbp], rcx
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	lea	rbx, [rcx+rax]
	mov	rdi, rdx
	call	reduce_v6
	mov	QWORD PTR [rbx], rax
.L49:
	mov	rdx, QWORD PTR -32[rbp]
	lea	rcx, -88[rbp]
	lea	rax, -80[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	getline@PLT
	mov	QWORD PTR -48[rbp], rax
	cmp	QWORD PTR -48[rbp], -1
	jne	.L52
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -64[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	QWORD PTR [rax], 0
	mov	rax, QWORD PTR -56[rbp]
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L54
	call	__stack_chk_fail@PLT
.L54:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	parse_proc, .-parse_proc
	.type	containsAddr, @function
containsAddr:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	cmp	QWORD PTR -16[rbp], 0
	jne	.L58
	cmp	QWORD PTR -8[rbp], 0
	sete	al
	jmp	.L57
.L60:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L59
	mov	eax, 1
	jmp	.L57
.L59:
	add	QWORD PTR -16[rbp], 8
.L58:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L60
	mov	eax, 0
.L57:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	containsAddr, .-containsAddr
	.section	.rodata
.LC8:
	.string	"getnameinfo() failed: %s\n"
.LC9:
	.string	"fd"
.LC10:
	.string	"fe80"
.LC11:
	.string	"fc"
	.text
	.type	print_filtered, @function
print_filtered:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1088
	mov	QWORD PTR -1080[rbp], rdi
	mov	QWORD PTR -1088[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -1088[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -1068[rbp], eax
	mov	QWORD PTR -1056[rbp], 0
	mov	rax, QWORD PTR -1088[rbp]
	mov	eax, DWORD PTR [rax]
	and	eax, 32
	test	eax, eax
	jne	.L62
	mov	rax, QWORD PTR -1088[rbp]
	mov	eax, DWORD PTR [rax]
	and	eax, 64
	test	eax, eax
	je	.L64
.L62:
	mov	eax, 0
	call	parse_proc
	mov	QWORD PTR -1056[rbp], rax
	jmp	.L64
.L82:
	mov	rax, QWORD PTR -1080[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	je	.L87
	mov	rax, QWORD PTR -1088[rbp]
	movzx	eax, BYTE PTR 4[rax]
	test	al, al
	je	.L66
	mov	rax, QWORD PTR -1088[rbp]
	lea	rcx, 4[rax]
	mov	rax, QWORD PTR -1080[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	edx, 256
	mov	rsi, rcx
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L87
.L66:
	mov	rax, QWORD PTR -1080[rbp]
	mov	rax, QWORD PTR 24[rax]
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	mov	DWORD PTR -1064[rbp], eax
	cmp	DWORD PTR -1064[rbp], 2
	je	.L68
	cmp	DWORD PTR -1064[rbp], 10
	jne	.L67
.L68:
	cmp	DWORD PTR -1064[rbp], 2
	jne	.L69
	mov	esi, 16
	jmp	.L70
.L69:
	mov	esi, 28
.L70:
	mov	rax, QWORD PTR -1080[rbp]
	mov	rax, QWORD PTR 24[rax]
	lea	rdx, -1040[rbp]
	sub	rsp, 8
	push	1
	mov	r9d, 0
	mov	r8d, 0
	mov	ecx, 1025
	mov	rdi, rax
	call	getnameinfo@PLT
	add	rsp, 16
	mov	DWORD PTR -1060[rbp], eax
	cmp	DWORD PTR -1060[rbp], 0
	je	.L71
	mov	eax, DWORD PTR -1060[rbp]
	mov	edi, eax
	call	gai_strerror@PLT
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L71:
	cmp	DWORD PTR -1068[rbp], 0
	jne	.L72
	lea	rax, -1040[rbp]
	mov	rdi, rax
	call	puts@PLT
	jmp	.L67
.L72:
	cmp	DWORD PTR -1064[rbp], 10
	jne	.L73
	mov	eax, DWORD PTR -1068[rbp]
	and	eax, 96
	test	eax, eax
	je	.L74
	mov	rdx, QWORD PTR -1056[rbp]
	lea	rax, -1040[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	containsAddr
	test	al, al
	je	.L74
	mov	eax, DWORD PTR -1068[rbp]
	and	eax, 32
	test	eax, eax
	je	.L67
	lea	rax, -1040[rbp]
	mov	rdi, rax
	call	puts@PLT
	jmp	.L67
.L74:
	mov	eax, DWORD PTR -1068[rbp]
	and	eax, 2
	test	eax, eax
	jne	.L77
	mov	eax, DWORD PTR -1068[rbp]
	and	eax, 4
	test	eax, eax
	je	.L78
	movzx	eax, BYTE PTR -1040[rbp]
	cmp	al, 50
	je	.L77
	movzx	eax, BYTE PTR -1040[rbp]
	cmp	al, 51
	je	.L77
.L78:
	mov	eax, DWORD PTR -1068[rbp]
	and	eax, 16
	test	eax, eax
	je	.L79
	lea	rax, -1040[rbp]
	mov	edx, 2
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	je	.L77
.L79:
	mov	eax, DWORD PTR -1068[rbp]
	and	eax, 8
	test	eax, eax
	je	.L80
	lea	rax, -1040[rbp]
	mov	edx, 4
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	je	.L77
.L80:
	mov	eax, DWORD PTR -1068[rbp]
	and	eax, 16
	test	eax, eax
	je	.L81
	lea	rax, -1040[rbp]
	mov	edx, 2
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	je	.L77
.L81:
	mov	eax, DWORD PTR -1068[rbp]
	and	eax, 64
	test	eax, eax
	je	.L67
.L77:
	lea	rax, -1040[rbp]
	mov	rdi, rax
	call	puts@PLT
	jmp	.L67
.L73:
	cmp	DWORD PTR -1064[rbp], 2
	jne	.L67
	mov	eax, DWORD PTR -1068[rbp]
	and	eax, 1
	test	eax, eax
	je	.L67
	lea	rax, -1040[rbp]
	mov	rdi, rax
	call	puts@PLT
	jmp	.L67
.L87:
	nop
.L67:
	mov	rax, QWORD PTR -1080[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -1080[rbp], rax
.L64:
	cmp	QWORD PTR -1080[rbp], 0
	jne	.L82
	cmp	QWORD PTR -1056[rbp], 0
	je	.L83
	mov	rax, QWORD PTR -1056[rbp]
	mov	QWORD PTR -1048[rbp], rax
	jmp	.L84
.L85:
	mov	rax, QWORD PTR -1048[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	add	QWORD PTR -1048[rbp], 8
.L84:
	mov	rax, QWORD PTR -1048[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L85
.L83:
	mov	rax, QWORD PTR -1056[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L86
	call	__stack_chk_fail@PLT
.L86:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	print_filtered, .-print_filtered
	.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	"394647.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage: showip [-h] [-46gltTu] [interface]\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L2
	ldr	r3, [r3]
	mov	r2, #42
	mov	r1, #1
	ldr	r0, .L2+4
	bl	fwrite
	mov	r0, #1
	bl	exit
.L3:
	.align	2
.L2:
	.word	stderr
	.word	.LC0
	.size	usage, .-usage
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Usage: showip [-h] [-46gltTu] [interface]\012    -h"
	.ascii	"    show this help\012    -4    print IPv4 addresse"
	.ascii	"s\012    -6    print IPv6 addresses (same as -gltu)"
	.ascii	"\012    -g    print Global Unique Addresses (GUA)\012"
	.ascii	"    -l    print Link-Local Addresses (LLA)\012    -"
	.ascii	"t    print temporary addresses\012    -T    filter "
	.ascii	"temporary addresses out\012    -u    print Unique L"
	.ascii	"ocal Addresses (ULA)\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	help, %function
help:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L5
	bl	puts
	mov	r0, #0
	bl	exit
.L6:
	.align	2
.L5:
	.word	.LC1
	.size	help, .-help
	.section	.rodata
	.align	2
.LC2:
	.ascii	"malloc\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_flags, %function
parse_flags:
	@ args = 0, pretend = 0, frame = 288
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #288
	str	r0, [fp, #-288]
	str	r1, [fp, #-292]
	ldr	r3, .L31
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	mov	r0, #260
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-272]
	ldr	r3, [fp, #-272]
	cmp	r3, #0
	bne	.L8
	ldr	r0, .L31+4
	bl	perror
	mov	r0, #1
	bl	exit
.L8:
	ldr	r3, [fp, #-272]
	mov	r0, r3
	mov	r3, #260
	mov	r2, r3
	mov	r1, #0
	bl	memset
	ldr	r3, [fp, #-288]
	cmp	r3, #1
	bgt	.L9
	ldr	r3, [fp, #-272]
	b	.L29
.L9:
	mov	r3, #1
	str	r3, [fp, #-280]
	b	.L11
.L28:
	ldr	r3, [fp, #-280]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-292]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L12
	ldr	r3, [fp, #-280]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-292]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #1
	str	r3, [fp, #-276]
	b	.L13
.L26:
	ldr	r3, [fp, #-276]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #117
	bgt	.L14
	cmp	r3, #84
	bge	.L15
	cmp	r3, #52
	beq	.L16
	cmp	r3, #54
	beq	.L17
	b	.L14
.L15:
	sub	r3, r3, #84
	cmp	r3, #33
	ldrls	pc, [pc, r3, asl #2]
	b	.L14
.L19:
	.word	.L24
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L23
	.word	.L22
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L21
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L20
	.word	.L18
.L22:
	bl	help
.L16:
	ldr	r3, [fp, #-272]
	ldr	r3, [r3]
	orr	r2, r3, #1
	ldr	r3, [fp, #-272]
	str	r2, [r3]
	b	.L25
.L17:
	ldr	r3, [fp, #-272]
	ldr	r3, [r3]
	orr	r2, r3, #2
	ldr	r3, [fp, #-272]
	str	r2, [r3]
	b	.L25
.L23:
	ldr	r3, [fp, #-272]
	ldr	r3, [r3]
	orr	r2, r3, #4
	ldr	r3, [fp, #-272]
	str	r2, [r3]
	b	.L25
.L21:
	ldr	r3, [fp, #-272]
	ldr	r3, [r3]
	orr	r2, r3, #8
	ldr	r3, [fp, #-272]
	str	r2, [r3]
	b	.L25
.L20:
	ldr	r3, [fp, #-272]
	ldr	r3, [r3]
	orr	r2, r3, #32
	ldr	r3, [fp, #-272]
	str	r2, [r3]
	b	.L25
.L24:
	ldr	r3, [fp, #-272]
	ldr	r3, [r3]
	orr	r2, r3, #64
	ldr	r3, [fp, #-272]
	str	r2, [r3]
	b	.L25
.L18:
	ldr	r3, [fp, #-272]
	ldr	r3, [r3]
	orr	r2, r3, #16
	ldr	r3, [fp, #-272]
	str	r2, [r3]
	b	.L25
.L14:
	bl	usage
.L25:
	ldr	r3, [fp, #-276]
	add	r3, r3, #1
	str	r3, [fp, #-276]
.L13:
	ldr	r3, [fp, #-276]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L26
	b	.L27
.L12:
	ldr	r3, [fp, #-272]
	add	r0, r3, #4
	ldr	r3, [fp, #-280]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-292]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, #255
	mov	r1, r3
	bl	strncpy
	ldr	r3, [fp, #-272]
	mov	r2, #0
	strb	r2, [r3, #259]
.L27:
	ldr	r3, [fp, #-280]
	add	r3, r3, #1
	str	r3, [fp, #-280]
.L11:
	ldr	r2, [fp, #-280]
	ldr	r3, [fp, #-288]
	cmp	r2, r3
	blt	.L28
	ldr	r3, [fp, #-272]
.L29:
	ldr	r2, .L31
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L30
	bl	__stack_chk_fail
.L30:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L32:
	.align	2
.L31:
	.word	.LC3
	.word	.LC2
	.size	parse_flags, .-parse_flags
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	reduce_v6, %function
reduce_v6:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #1
	strb	r3, [fp, #-37]
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bne	.L34
	bl	__errno_location
	mov	r3, r0
	mov	r2, #22
	str	r2, [r3]
	mov	r3, #0
	b	.L35
.L34:
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	mov	r1, #1
	mov	r0, #64
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L36
	mov	r3, #0
	b	.L35
.L36:
	ldr	r3, [fp, #-20]
	add	r2, r3, #1
	str	r2, [fp, #-20]
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #48
	beq	.L37
	ldr	r3, [fp, #-32]
	add	r2, r3, #1
	str	r2, [fp, #-32]
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r2, [fp, #-48]
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	mov	r3, #0
	strb	r3, [fp, #-37]
.L37:
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L38
.L45:
	ldr	r3, [fp, #-16]
	cmp	r3, #4
	bne	.L39
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-32]
	add	r2, r3, #1
	str	r2, [fp, #-32]
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #58
	strb	r2, [r3]
	mov	r3, #1
	strb	r3, [fp, #-37]
.L39:
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L40
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L40
	ldr	r3, [fp, #-16]
	cmp	r3, #3
	bne	.L51
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	ble	.L40
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-32]
	add	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	str	r3, [fp, #-36]
.L40:
	mov	r3, #0
	strb	r3, [fp, #-37]
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #48
	beq	.L43
	mov	r3, #0
	str	r3, [fp, #-24]
.L43:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-20]
	add	r2, r2, r3
	ldr	r3, [fp, #-32]
	add	r1, r3, #1
	str	r1, [fp, #-32]
	ldr	r1, [fp, #-8]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	b	.L42
.L51:
	nop
.L42:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L38:
	ldr	r3, [fp, #-20]
	cmp	r3, #31
	bhi	.L44
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L45
.L44:
	ldr	r3, [fp, #-20]
	cmp	r3, #32
	beq	.L46
	bl	__errno_location
	mov	r3, r0
	mov	r2, #22
	str	r2, [r3]
	mov	r3, #0
	b	.L35
.L46:
	ldr	r3, [fp, #-28]
	cmp	r3, #1
	ble	.L47
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #1
	rsb	r3, r3, #0
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bne	.L48
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	mov	r2, #58
	strb	r2, [r3]
.L48:
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	mov	r2, #58
	strb	r2, [r3]
	b	.L49
.L50:
	ldr	r2, [fp, #-36]
	add	r3, r2, #1
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-12]
	add	r1, r3, #1
	str	r1, [fp, #-12]
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
.L49:
	ldr	r3, [fp, #-36]
	sub	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L50
.L47:
	ldr	r3, [fp, #-8]
.L35:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	reduce_v6, .-reduce_v6
	.section	.rodata
	.align	2
.LC4:
	.ascii	"r\000"
	.align	2
.LC5:
	.ascii	"/proc/net/if_inet6\000"
	.align	2
.LC6:
	.ascii	"fopen\000"
	.align	2
.LC7:
	.ascii	"strtol\000"
	.align	2
.LC8:
	.ascii	"No digits were found\012\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_proc, %function
parse_proc:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #44
	ldr	r3, .L61
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-24]
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	mov	r0, #1024
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L53
	ldr	r0, .L61+4
	bl	perror
	mov	r0, #1
	bl	exit
.L53:
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	ldr	r1, .L61+8
	ldr	r0, .L61+12
	bl	fopen
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L54
	ldr	r0, .L61+16
	bl	perror
	mov	r0, #1
	bl	exit
.L54:
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L55
.L58:
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-44]
	add	r3, r3, #42
	sub	r1, fp, #40
	mov	r2, #16
	mov	r0, r3
	bl	strtoul
	str	r0, [fp, #-24]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L56
	ldr	r0, .L61+20
	bl	perror
	mov	r0, #1
	bl	exit
.L56:
	ldr	r3, [fp, #-44]
	add	r2, r3, #42
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	bne	.L57
	ldr	r3, .L61+24
	ldr	r3, [r3]
	mov	r2, #21
	mov	r1, #1
	ldr	r0, .L61+28
	bl	fwrite
	mov	r0, #1
	bl	exit
.L57:
	ldr	r3, [fp, #-24]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L55
	ldr	r1, [fp, #-44]
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	str	r2, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r4, r2, r3
	mov	r0, r1
	bl	reduce_v6
	mov	r3, r0
	str	r3, [r4]
.L55:
	sub	r1, fp, #48
	sub	r3, fp, #44
	ldr	r2, [fp, #-20]
	mov	r0, r3
	bl	getline
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmn	r3, #1
	bne	.L58
	ldr	r3, [fp, #-44]
	mov	r0, r3
	bl	free
	ldr	r0, [fp, #-20]
	bl	fclose
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-32]
	ldr	r2, .L61
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L60
	bl	__stack_chk_fail
.L60:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L62:
	.align	2
.L61:
	.word	.LC9
	.word	.LC2
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	stderr
	.word	.LC8
	.size	parse_proc, .-parse_proc
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	containsAddr, %function
containsAddr:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L66
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	b	.L65
.L68:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L67
	mov	r3, #1
	b	.L65
.L67:
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	str	r3, [fp, #-12]
.L66:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L68
	mov	r3, #0
.L65:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	containsAddr, .-containsAddr
	.section	.rodata
	.align	2
.LC10:
	.ascii	"getnameinfo() failed: %s\012\000"
	.align	2
.LC11:
	.ascii	"fd\000"
	.align	2
.LC12:
	.ascii	"fe80\000"
	.align	2
.LC13:
	.ascii	"fc\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_filtered, %function
print_filtered:
	@ args = 0, pretend = 0, frame = 1064
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1072
	sub	sp, sp, #8
	str	r0, [fp, #-1064]
	str	r1, [fp, #-1068]
	ldr	r3, .L96
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-1068]
	ldr	r3, [r3]
	str	r3, [fp, #-1048]
	mov	r3, #0
	str	r3, [fp, #-1056]
	ldr	r3, [fp, #-1068]
	ldr	r3, [r3]
	and	r3, r3, #32
	cmp	r3, #0
	bne	.L70
	ldr	r3, [fp, #-1068]
	ldr	r3, [r3]
	and	r3, r3, #64
	cmp	r3, #0
	beq	.L72
.L70:
	bl	parse_proc
	str	r0, [fp, #-1056]
	b	.L72
.L90:
	ldr	r3, [fp, #-1064]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	beq	.L95
	ldr	r3, [fp, #-1068]
	ldrb	r3, [r3, #4]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L74
	ldr	r3, [fp, #-1064]
	ldr	r0, [r3, #4]
	ldr	r3, [fp, #-1068]
	add	r3, r3, #4
	mov	r2, #256
	mov	r1, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L95
.L74:
	ldr	r3, [fp, #-1064]
	ldr	r3, [r3, #12]
	ldrh	r3, [r3]
	str	r3, [fp, #-1044]
	ldr	r3, [fp, #-1044]
	cmp	r3, #2
	beq	.L76
	ldr	r3, [fp, #-1044]
	cmp	r3, #10
	bne	.L75
.L76:
	ldr	r3, [fp, #-1064]
	ldr	r0, [r3, #12]
	ldr	r3, [fp, #-1044]
	cmp	r3, #2
	bne	.L77
	mov	r1, #16
	b	.L78
.L77:
	mov	r1, #28
.L78:
	sub	r2, fp, #1024
	sub	r2, r2, #4
	sub	r2, r2, #8
	mov	r3, #1
	str	r3, [sp, #8]
	mov	r3, #0
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	ldr	r3, .L96+4
	bl	getnameinfo
	str	r0, [fp, #-1040]
	ldr	r3, [fp, #-1040]
	cmp	r3, #0
	beq	.L79
	ldr	r0, [fp, #-1040]
	bl	gai_strerror
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L96+8
	bl	printf
	mov	r0, #1
	bl	exit
.L79:
	ldr	r3, [fp, #-1048]
	cmp	r3, #0
	bne	.L80
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r0, r3
	bl	puts
	b	.L75
.L80:
	ldr	r3, [fp, #-1044]
	cmp	r3, #10
	bne	.L81
	ldr	r3, [fp, #-1048]
	and	r3, r3, #96
	cmp	r3, #0
	beq	.L82
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #8
	ldr	r1, [fp, #-1056]
	mov	r0, r3
	bl	containsAddr
	mov	r3, r0
	cmp	r3, #0
	beq	.L82
	ldr	r3, [fp, #-1048]
	and	r3, r3, #32
	cmp	r3, #0
	beq	.L75
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r0, r3
	bl	puts
	b	.L75
.L82:
	ldr	r3, [fp, #-1048]
	and	r3, r3, #2
	cmp	r3, #0
	bne	.L85
	ldr	r3, [fp, #-1048]
	and	r3, r3, #4
	cmp	r3, #0
	beq	.L86
	ldrb	r3, [fp, #-1036]	@ zero_extendqisi2
	cmp	r3, #50
	beq	.L85
	ldrb	r3, [fp, #-1036]	@ zero_extendqisi2
	cmp	r3, #51
	beq	.L85
.L86:
	ldr	r3, [fp, #-1048]
	and	r3, r3, #16
	cmp	r3, #0
	beq	.L87
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r2, #2
	ldr	r1, .L96+12
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L85
.L87:
	ldr	r3, [fp, #-1048]
	and	r3, r3, #8
	cmp	r3, #0
	beq	.L88
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r2, #4
	ldr	r1, .L96+16
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L85
.L88:
	ldr	r3, [fp, #-1048]
	and	r3, r3, #16
	cmp	r3, #0
	beq	.L89
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r2, #2
	ldr	r1, .L96+20
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L85
.L89:
	ldr	r3, [fp, #-1048]
	and	r3, r3, #64
	cmp	r3, #0
	beq	.L75
.L85:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r0, r3
	bl	puts
	b	.L75
.L81:
	ldr	r3, [fp, #-1044]
	cmp	r3, #2
	bne	.L75
	ldr	r3, [fp, #-1048]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L75
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r0, r3
	bl	puts
	b	.L75
.L95:
	nop
.L75:
	ldr	r3, [fp, #-1064]
	ldr	r3, [r3]
	str	r3, [fp, #-1064]
.L72:
	ldr	r3, [fp, #-1064]
	cmp	r3, #0
	bne	.L90
	ldr	r3, [fp, #-1056]
	cmp	r3, #0
	beq	.L91
	ldr	r3, [fp, #-1056]
	str	r3, [fp, #-1052]
	b	.L92
.L93:
	ldr	r3, [fp, #-1052]
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-1052]
	add	r3, r3, #4
	str	r3, [fp, #-1052]
.L92:
	ldr	r3, [fp, #-1052]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L93
.L91:
	ldr	r0, [fp, #-1056]
	bl	free
	nop
	ldr	r3, .L96
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L94
	bl	__stack_chk_fail
.L94:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L97:
	.align	2
.L96:
	.word	.LC14
	.word	1025
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.size	print_filtered, .-print_filtered
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
