	.file	"223686.c"
	.intel_syntax noprefix
	.text
	.type	get_ipv4_addr, @function
get_ipv4_addr:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	ntohl@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	inet_ntoa@PLT
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	get_ipv4_addr, .-get_ipv4_addr
	.section	.rodata
.LC0:
	.string	" "
.LC1:
	.string	""
.LC2:
	.string	"%s%s%s%s\n"
.LC3:
	.string	"%s%s0.0.0.0/0%s\n"
.LC4:
	.string	"%s%s%s/%d%s\n"
	.text
	.type	convert_range, @function
convert_range:
.LFB7:
	.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, 56
	.cfi_offset 3, -24
	mov	DWORD PTR -36[rbp], edi
	mov	DWORD PTR -40[rbp], esi
	mov	QWORD PTR -48[rbp], rdx
	mov	QWORD PTR -56[rbp], rcx
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -40[rbp]
	jne	.L4
	mov	eax, DWORD PTR -36[rbp]
	mov	edi, eax
	call	get_ipv4_addr
	mov	rcx, rax
	cmp	QWORD PTR -56[rbp], 0
	je	.L5
	lea	rdx, .LC0[rip]
	jmp	.L6
.L5:
	lea	rdx, .LC1[rip]
.L6:
	cmp	QWORD PTR -56[rbp], 0
	je	.L7
	mov	rax, QWORD PTR -56[rbp]
	jmp	.L8
.L7:
	lea	rax, .LC1[rip]
.L8:
	mov	rsi, QWORD PTR -48[rbp]
	mov	r8, rsi
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -40[rbp]
	jbe	.L10
	mov	eax, DWORD PTR -36[rbp]
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -40[rbp]
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -40[rbp], eax
.L10:
	mov	eax, DWORD PTR -40[rbp]
	add	eax, 1
	cmp	DWORD PTR -36[rbp], eax
	jne	.L11
	cmp	QWORD PTR -56[rbp], 0
	je	.L12
	lea	rdx, .LC0[rip]
	jmp	.L13
.L12:
	lea	rdx, .LC1[rip]
.L13:
	cmp	QWORD PTR -56[rbp], 0
	je	.L14
	mov	rax, QWORD PTR -56[rbp]
	jmp	.L15
.L14:
	lea	rax, .LC1[rip]
.L15:
	mov	rcx, QWORD PTR -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L3
.L11:
	mov	DWORD PTR -24[rbp], 0
	jmp	.L16
.L23:
	mov	eax, DWORD PTR -24[rbp]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	and	eax, DWORD PTR -36[rbp]
	test	eax, eax
	je	.L17
	mov	eax, 32
	sub	eax, DWORD PTR -24[rbp]
	mov	ebx, eax
	mov	eax, DWORD PTR -36[rbp]
	mov	edi, eax
	call	get_ipv4_addr
	mov	rcx, rax
	cmp	QWORD PTR -56[rbp], 0
	je	.L18
	lea	rdx, .LC0[rip]
	jmp	.L19
.L18:
	lea	rdx, .LC1[rip]
.L19:
	cmp	QWORD PTR -56[rbp], 0
	je	.L20
	mov	rax, QWORD PTR -56[rbp]
	jmp	.L21
.L20:
	lea	rax, .LC1[rip]
.L21:
	mov	rsi, QWORD PTR -48[rbp]
	mov	r9, rsi
	mov	r8d, ebx
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -24[rbp]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	add	DWORD PTR -36[rbp], eax
	jmp	.L16
.L17:
	add	DWORD PTR -24[rbp], 1
.L16:
	cmp	DWORD PTR -24[rbp], 31
	jg	.L22
	mov	eax, DWORD PTR -24[rbp]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	mov	edx, eax
	mov	eax, DWORD PTR -36[rbp]
	add	eax, edx
	sub	eax, 1
	cmp	DWORD PTR -40[rbp], eax
	jnb	.L23
.L22:
	mov	DWORD PTR -24[rbp], 31
	jmp	.L24
.L30:
	mov	eax, DWORD PTR -40[rbp]
	sub	eax, DWORD PTR -36[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, 1
	mov	ecx, eax
	sal	esi, cl
	mov	eax, esi
	and	eax, edx
	test	eax, eax
	je	.L25
	mov	eax, 32
	sub	eax, DWORD PTR -24[rbp]
	mov	ebx, eax
	mov	eax, DWORD PTR -36[rbp]
	mov	edi, eax
	call	get_ipv4_addr
	mov	rcx, rax
	cmp	QWORD PTR -56[rbp], 0
	je	.L26
	lea	rdx, .LC0[rip]
	jmp	.L27
.L26:
	lea	rdx, .LC1[rip]
.L27:
	cmp	QWORD PTR -56[rbp], 0
	je	.L28
	mov	rax, QWORD PTR -56[rbp]
	jmp	.L29
.L28:
	lea	rax, .LC1[rip]
.L29:
	mov	rsi, QWORD PTR -48[rbp]
	mov	r9, rsi
	mov	r8d, ebx
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -24[rbp]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	add	DWORD PTR -36[rbp], eax
	jmp	.L24
.L25:
	sub	DWORD PTR -24[rbp], 1
.L24:
	cmp	DWORD PTR -24[rbp], 0
	js	.L3
	mov	eax, DWORD PTR -40[rbp]
	sub	eax, DWORD PTR -36[rbp]
	cmp	eax, -1
	jne	.L30
.L3:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	convert_range, .-convert_range
	.section	.rodata
	.align 8
.LC5:
	.ascii	"Usage: %s [<addr> ...] < iplist.csv\n\nThis program reads li"
	.ascii	"nes starting by two IP addresses and outputs them with\nthe "
	.ascii	"two IP addresses replaced by a netmask covering the range be"
	.ascii	"tween these\nIPs (inclusive). When multiple ranges are neede"
	.ascii	"d, as many lines are emitted.\nThe IP addresses may be delim"
	.ascii	"ited by spaces, tabs or commas. Quotes are\nstripped, and li"
	.ascii	"nes beginning with a sharp cha"
	.string	"racter ('#') are ignored. The\nIP addresses may be either in the dotted format or represented as a 32-bit\ninteger value in network byte order.\n\nFor each optional <addr> specified, only the network it belongs to is returned,\nprefixed with the <addr> value.\n\n"
	.text
	.type	usage, @function
usage:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -8[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	usage, .-usage
	.section	.rodata
	.align 8
.LC6:
	.string	"Failed to parse source address <%s> at line %d, skipping line\n"
	.align 8
.LC7:
	.string	"Failed to parse destination address <%s> at line %d, skipping line\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 1136
	mov	DWORD PTR -1124[rbp], edi
	mov	QWORD PTR -1136[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -1124[rbp], 1
	jle	.L33
	mov	rax, QWORD PTR -1136[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L33
	mov	rax, QWORD PTR -1136[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	usage
	mov	edi, 1
	call	exit@PLT
.L33:
	mov	DWORD PTR -1096[rbp], 0
	jmp	.L34
.L66:
	lea	rax, -1040[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -1100[rbp], eax
	cmp	DWORD PTR -1100[rbp], 0
	je	.L35
	mov	eax, DWORD PTR -1100[rbp]
	sub	eax, 1
	cdqe
	movzx	eax, BYTE PTR -1040[rbp+rax]
	cmp	al, 10
	jne	.L35
	sub	DWORD PTR -1100[rbp], 1
	mov	eax, DWORD PTR -1100[rbp]
	cdqe
	mov	BYTE PTR -1040[rbp+rax], 0
.L35:
	add	DWORD PTR -1096[rbp], 1
	lea	rax, -1040[rbp]
	mov	QWORD PTR -1072[rbp], rax
	jmp	.L36
.L37:
	add	QWORD PTR -1072[rbp], 1
.L36:
	mov	rax, QWORD PTR -1072[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L37
	mov	rax, QWORD PTR -1072[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 9
	je	.L37
	mov	rax, QWORD PTR -1072[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 44
	je	.L37
	mov	rax, QWORD PTR -1072[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 34
	je	.L37
	mov	rax, QWORD PTR -1072[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L34
	mov	rax, QWORD PTR -1072[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 35
	jne	.L39
	jmp	.L34
.L39:
	mov	rax, QWORD PTR -1072[rbp]
	add	rax, 1
	mov	QWORD PTR -1064[rbp], rax
	jmp	.L40
.L42:
	add	QWORD PTR -1064[rbp], 1
.L40:
	mov	rax, QWORD PTR -1064[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L41
	mov	rax, QWORD PTR -1064[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 9
	je	.L41
	mov	rax, QWORD PTR -1064[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 44
	je	.L41
	mov	rax, QWORD PTR -1064[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 34
	je	.L41
	mov	rax, QWORD PTR -1064[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L42
.L41:
	mov	rax, QWORD PTR -1064[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L43
	jmp	.L34
.L43:
	mov	rax, QWORD PTR -1064[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -1064[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -1064[rbp]
	mov	QWORD PTR -1056[rbp], rax
	jmp	.L44
.L45:
	add	QWORD PTR -1056[rbp], 1
.L44:
	mov	rax, QWORD PTR -1056[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L45
	mov	rax, QWORD PTR -1056[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 9
	je	.L45
	mov	rax, QWORD PTR -1056[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 44
	je	.L45
	mov	rax, QWORD PTR -1056[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 34
	je	.L45
	mov	rax, QWORD PTR -1056[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L34
	mov	rax, QWORD PTR -1056[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 35
	jne	.L47
	jmp	.L34
.L47:
	mov	rax, QWORD PTR -1056[rbp]
	add	rax, 1
	mov	QWORD PTR -1048[rbp], rax
	jmp	.L48
.L50:
	add	QWORD PTR -1048[rbp], 1
.L48:
	mov	rax, QWORD PTR -1048[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L49
	mov	rax, QWORD PTR -1048[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 9
	je	.L49
	mov	rax, QWORD PTR -1048[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 44
	je	.L49
	mov	rax, QWORD PTR -1048[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 34
	je	.L49
	mov	rax, QWORD PTR -1048[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L50
.L49:
	mov	rax, QWORD PTR -1048[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L51
	jmp	.L34
.L51:
	mov	rax, QWORD PTR -1048[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -1048[rbp], rdx
	mov	BYTE PTR [rax], 0
	jmp	.L52
.L53:
	mov	rax, QWORD PTR -1048[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -1048[rbp], rdx
	mov	BYTE PTR [rax], 32
.L52:
	mov	rax, QWORD PTR -1048[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 34
	je	.L53
	jmp	.L54
.L55:
	mov	rax, QWORD PTR -1048[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -1048[rbp], rdx
	mov	BYTE PTR [rax], 32
.L54:
	mov	rax, QWORD PTR -1048[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 44
	je	.L55
	mov	rax, QWORD PTR -1048[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L55
	mov	rax, QWORD PTR -1048[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 9
	je	.L55
	mov	rax, QWORD PTR -1048[rbp]
	sub	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jne	.L56
	sub	QWORD PTR -1048[rbp], 1
.L56:
	lea	rdx, -1108[rbp]
	mov	rax, QWORD PTR -1072[rbp]
	mov	rsi, rax
	mov	edi, 2
	call	inet_pton@PLT
	test	eax, eax
	jg	.L57
	lea	rcx, -1080[rbp]
	mov	rax, QWORD PTR -1072[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	rdi, rax
	call	strtoul@PLT
	mov	edi, eax
	call	ntohl@PLT
	mov	DWORD PTR -1108[rbp], eax
	mov	rax, QWORD PTR -1080[rbp]
	test	rax, rax
	je	.L57
	mov	rax, QWORD PTR -1080[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L57
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, DWORD PTR -1096[rbp]
	mov	rdx, QWORD PTR -1072[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L34
.L57:
	lea	rdx, -1104[rbp]
	mov	rax, QWORD PTR -1056[rbp]
	mov	rsi, rax
	mov	edi, 2
	call	inet_pton@PLT
	test	eax, eax
	jg	.L58
	lea	rcx, -1080[rbp]
	mov	rax, QWORD PTR -1056[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	rdi, rax
	call	strtoul@PLT
	mov	edi, eax
	call	ntohl@PLT
	mov	DWORD PTR -1104[rbp], eax
	mov	rax, QWORD PTR -1080[rbp]
	test	rax, rax
	je	.L58
	mov	rax, QWORD PTR -1080[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L58
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, DWORD PTR -1096[rbp]
	mov	rdx, QWORD PTR -1056[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L34
.L58:
	mov	eax, DWORD PTR -1108[rbp]
	mov	edi, eax
	call	htonl@PLT
	mov	DWORD PTR -1092[rbp], eax
	mov	eax, DWORD PTR -1104[rbp]
	mov	edi, eax
	call	htonl@PLT
	mov	DWORD PTR -1088[rbp], eax
	cmp	DWORD PTR -1124[rbp], 1
	jle	.L59
	mov	DWORD PTR -1100[rbp], 1
	jmp	.L60
.L65:
	mov	eax, DWORD PTR -1100[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1136[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rdx, -1104[rbp]
	mov	rsi, rax
	mov	edi, 2
	call	inet_pton@PLT
	test	eax, eax
	jle	.L69
	mov	eax, DWORD PTR -1104[rbp]
	mov	edi, eax
	call	htonl@PLT
	mov	DWORD PTR -1084[rbp], eax
	mov	eax, DWORD PTR -1092[rbp]
	cmp	eax, DWORD PTR -1084[rbp]
	ja	.L63
	mov	eax, DWORD PTR -1084[rbp]
	cmp	eax, DWORD PTR -1088[rbp]
	jbe	.L64
.L63:
	mov	eax, DWORD PTR -1088[rbp]
	cmp	eax, DWORD PTR -1084[rbp]
	ja	.L62
	mov	eax, DWORD PTR -1084[rbp]
	cmp	eax, DWORD PTR -1092[rbp]
	ja	.L62
.L64:
	mov	eax, DWORD PTR -1100[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1136[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	rdx, QWORD PTR -1048[rbp]
	mov	esi, DWORD PTR -1088[rbp]
	mov	eax, DWORD PTR -1092[rbp]
	mov	edi, eax
	call	convert_range
	jmp	.L62
.L69:
	nop
.L62:
	add	DWORD PTR -1100[rbp], 1
.L60:
	mov	eax, DWORD PTR -1100[rbp]
	cmp	eax, DWORD PTR -1124[rbp]
	jl	.L65
	jmp	.L34
.L59:
	mov	rdx, QWORD PTR -1048[rbp]
	mov	esi, DWORD PTR -1088[rbp]
	mov	eax, DWORD PTR -1092[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	convert_range
.L34:
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -1040[rbp]
	mov	esi, 1024
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L66
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L68
	call	__stack_chk_fail@PLT
.L68:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	main, .-main
	.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	"223686.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_ipv4_addr, %function
get_ipv4_addr:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-16]
	bl	ntohl
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	inet_ntoa
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	get_ipv4_addr, .-get_ipv4_addr
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	" \000"
	.align	2
.LC2:
	.ascii	"%s%s%s%s\012\000"
	.align	2
.LC3:
	.ascii	"%s%s0.0.0.0/0%s\012\000"
	.align	2
.LC4:
	.ascii	"%s%s%s/%d%s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	convert_range, %function
convert_range:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	bne	.L4
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L5
	ldr	r4, [fp, #-36]
	b	.L6
.L5:
	ldr	r4, .L31
.L6:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L7
	ldr	r5, .L31+4
	b	.L8
.L7:
	ldr	r5, .L31
.L8:
	ldr	r0, [fp, #-24]
	bl	get_ipv4_addr
	mov	r2, r0
	ldr	r3, [fp, #-32]
	str	r3, [sp]
	mov	r3, r2
	mov	r2, r5
	mov	r1, r4
	ldr	r0, .L31+8
	bl	printf
	b	.L3
.L4:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	bls	.L10
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-28]
.L10:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bne	.L11
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L12
	ldr	r1, [fp, #-36]
	b	.L13
.L12:
	ldr	r1, .L31
.L13:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L14
	ldr	r2, .L31+4
	b	.L15
.L14:
	ldr	r2, .L31
.L15:
	ldr	r3, [fp, #-32]
	ldr	r0, .L31+12
	bl	printf
	b	.L3
.L11:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L16
.L23:
	mov	r2, #1
	ldr	r3, [fp, #-20]
	lsl	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-24]
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L17
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L18
	ldr	r4, [fp, #-36]
	b	.L19
.L18:
	ldr	r4, .L31
.L19:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L20
	ldr	r5, .L31+4
	b	.L21
.L20:
	ldr	r5, .L31
.L21:
	ldr	r0, [fp, #-24]
	bl	get_ipv4_addr
	mov	r1, r0
	ldr	r3, [fp, #-20]
	rsb	r3, r3, #32
	ldr	r2, [fp, #-32]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r1
	mov	r2, r5
	mov	r1, r4
	ldr	r0, .L31+16
	bl	printf
	mov	r2, #1
	ldr	r3, [fp, #-20]
	lsl	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	str	r3, [fp, #-24]
	b	.L16
.L17:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L16:
	ldr	r3, [fp, #-20]
	cmp	r3, #31
	bgt	.L22
	mov	r2, #1
	ldr	r3, [fp, #-20]
	lsl	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	sub	r3, r3, #1
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bcs	.L23
.L22:
	mov	r3, #31
	str	r3, [fp, #-20]
	b	.L24
.L30:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	add	r3, r3, #1
	mov	r1, #1
	ldr	r2, [fp, #-20]
	lsl	r2, r1, r2
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L25
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L26
	ldr	r4, [fp, #-36]
	b	.L27
.L26:
	ldr	r4, .L31
.L27:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L28
	ldr	r5, .L31+4
	b	.L29
.L28:
	ldr	r5, .L31
.L29:
	ldr	r0, [fp, #-24]
	bl	get_ipv4_addr
	mov	r1, r0
	ldr	r3, [fp, #-20]
	rsb	r3, r3, #32
	ldr	r2, [fp, #-32]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r1
	mov	r2, r5
	mov	r1, r4
	ldr	r0, .L31+16
	bl	printf
	mov	r2, #1
	ldr	r3, [fp, #-20]
	lsl	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	str	r3, [fp, #-24]
	b	.L24
.L25:
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
.L24:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	blt	.L3
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	cmn	r3, #1
	bne	.L30
.L3:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L32:
	.align	2
.L31:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	convert_range, .-convert_range
	.section	.rodata
	.align	2
.LC5:
	.ascii	"Usage: %s [<addr> ...] < iplist.csv\012\012This pro"
	.ascii	"gram reads lines starting by two IP addresses and o"
	.ascii	"utputs them with\012the two IP addresses replaced b"
	.ascii	"y a netmask covering the range between these\012IPs"
	.ascii	" (inclusive). When multiple ranges are needed, as m"
	.ascii	"any lines are emitted.\012The IP addresses may be d"
	.ascii	"elimited by spaces, tabs or commas. Quotes are\012s"
	.ascii	"tripped, and lines beginning with a sharp character"
	.ascii	" ('#') are ignored. The\012IP addresses may be eith"
	.ascii	"er in the dotted format or represented as a 32-bit\012"
	.ascii	"integer value in network byte order.\012\012For eac"
	.ascii	"h optional <addr> specified, only the network it be"
	.ascii	"longs to is returned,\012prefixed with the <addr> v"
	.ascii	"alue.\012\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ 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]
	ldr	r3, .L34
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r1, .L34+4
	mov	r0, r3
	bl	fprintf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	stderr
	.word	.LC5
	.size	usage, .-usage
	.section	.rodata
	.align	2
.LC6:
	.ascii	"Failed to parse source address <%s> at line %d, ski"
	.ascii	"pping line\012\000"
	.align	2
.LC7:
	.ascii	"Failed to parse destination address <%s> at line %d"
	.ascii	", skipping line\012\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1088
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1088
	str	r0, [fp, #-1088]
	str	r1, [fp, #-1092]
	ldr	r3, .L74
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-1088]
	cmp	r3, #1
	ble	.L37
	ldr	r3, [fp, #-1092]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L37
	ldr	r3, [fp, #-1092]
	ldr	r3, [r3]
	mov	r0, r3
	bl	usage
	mov	r0, #1
	bl	exit
.L37:
	mov	r3, #0
	str	r3, [fp, #-1064]
	b	.L38
.L70:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-1068]
	ldr	r3, [fp, #-1068]
	cmp	r3, #0
	beq	.L39
	ldr	r3, [fp, #-1068]
	sub	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-1028]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L39
	ldr	r3, [fp, #-1068]
	sub	r3, r3, #1
	str	r3, [fp, #-1068]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, [fp, #-1068]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
.L39:
	ldr	r3, [fp, #-1064]
	add	r3, r3, #1
	str	r3, [fp, #-1064]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [fp, #-1060]
	b	.L40
.L41:
	ldr	r3, [fp, #-1060]
	add	r3, r3, #1
	str	r3, [fp, #-1060]
.L40:
	ldr	r3, [fp, #-1060]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L41
	ldr	r3, [fp, #-1060]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #9
	beq	.L41
	ldr	r3, [fp, #-1060]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #44
	beq	.L41
	ldr	r3, [fp, #-1060]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #34
	beq	.L41
	ldr	r3, [fp, #-1060]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L38
	ldr	r3, [fp, #-1060]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #35
	bne	.L43
	b	.L38
.L43:
	ldr	r3, [fp, #-1060]
	add	r3, r3, #1
	str	r3, [fp, #-1056]
	b	.L44
.L46:
	ldr	r3, [fp, #-1056]
	add	r3, r3, #1
	str	r3, [fp, #-1056]
.L44:
	ldr	r3, [fp, #-1056]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L45
	ldr	r3, [fp, #-1056]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #9
	beq	.L45
	ldr	r3, [fp, #-1056]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #44
	beq	.L45
	ldr	r3, [fp, #-1056]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #34
	beq	.L45
	ldr	r3, [fp, #-1056]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L46
.L45:
	ldr	r3, [fp, #-1056]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L47
	b	.L38
.L47:
	ldr	r3, [fp, #-1056]
	add	r2, r3, #1
	str	r2, [fp, #-1056]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-1056]
	str	r3, [fp, #-1052]
	b	.L48
.L49:
	ldr	r3, [fp, #-1052]
	add	r3, r3, #1
	str	r3, [fp, #-1052]
.L48:
	ldr	r3, [fp, #-1052]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L49
	ldr	r3, [fp, #-1052]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #9
	beq	.L49
	ldr	r3, [fp, #-1052]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #44
	beq	.L49
	ldr	r3, [fp, #-1052]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #34
	beq	.L49
	ldr	r3, [fp, #-1052]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L38
	ldr	r3, [fp, #-1052]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #35
	bne	.L51
	b	.L38
.L51:
	ldr	r3, [fp, #-1052]
	add	r3, r3, #1
	str	r3, [fp, #-1048]
	b	.L52
.L54:
	ldr	r3, [fp, #-1048]
	add	r3, r3, #1
	str	r3, [fp, #-1048]
.L52:
	ldr	r3, [fp, #-1048]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L53
	ldr	r3, [fp, #-1048]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #9
	beq	.L53
	ldr	r3, [fp, #-1048]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #44
	beq	.L53
	ldr	r3, [fp, #-1048]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #34
	beq	.L53
	ldr	r3, [fp, #-1048]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L54
.L53:
	ldr	r3, [fp, #-1048]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L55
	b	.L38
.L55:
	ldr	r3, [fp, #-1048]
	add	r2, r3, #1
	str	r2, [fp, #-1048]
	mov	r2, #0
	strb	r2, [r3]
	b	.L56
.L57:
	ldr	r3, [fp, #-1048]
	add	r2, r3, #1
	str	r2, [fp, #-1048]
	mov	r2, #32
	strb	r2, [r3]
.L56:
	ldr	r3, [fp, #-1048]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #34
	beq	.L57
	b	.L58
.L59:
	ldr	r3, [fp, #-1048]
	add	r2, r3, #1
	str	r2, [fp, #-1048]
	mov	r2, #32
	strb	r2, [r3]
.L58:
	ldr	r3, [fp, #-1048]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #44
	beq	.L59
	ldr	r3, [fp, #-1048]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L59
	ldr	r3, [fp, #-1048]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #9
	beq	.L59
	ldr	r3, [fp, #-1048]
	sub	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L60
	ldr	r3, [fp, #-1048]
	sub	r3, r3, #1
	str	r3, [fp, #-1048]
.L60:
	sub	r3, fp, #1072
	sub	r3, r3, #4
	mov	r2, r3
	ldr	r1, [fp, #-1060]
	mov	r0, #2
	bl	inet_pton
	mov	r3, r0
	cmp	r3, #0
	bgt	.L61
	sub	r3, fp, #1072
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #10
	mov	r1, r3
	ldr	r0, [fp, #-1060]
	bl	strtoul
	mov	r3, r0
	mov	r0, r3
	bl	ntohl
	mov	r3, r0
	str	r3, [fp, #-1076]
	ldr	r3, [fp, #-1080]
	cmp	r3, #0
	beq	.L61
	ldr	r3, [fp, #-1080]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L61
	ldr	r3, .L74+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-1064]
	ldr	r2, [fp, #-1060]
	ldr	r1, .L74+8
	bl	fprintf
	b	.L38
.L61:
	sub	r3, fp, #1056
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r1, [fp, #-1052]
	mov	r0, #2
	bl	inet_pton
	mov	r3, r0
	cmp	r3, #0
	bgt	.L62
	sub	r3, fp, #1072
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #10
	mov	r1, r3
	ldr	r0, [fp, #-1052]
	bl	strtoul
	mov	r3, r0
	mov	r0, r3
	bl	ntohl
	mov	r3, r0
	str	r3, [fp, #-1072]
	ldr	r3, [fp, #-1080]
	cmp	r3, #0
	beq	.L62
	ldr	r3, [fp, #-1080]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L62
	ldr	r3, .L74+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-1064]
	ldr	r2, [fp, #-1052]
	ldr	r1, .L74+12
	bl	fprintf
	b	.L38
.L62:
	ldr	r3, [fp, #-1076]
	mov	r0, r3
	bl	htonl
	str	r0, [fp, #-1044]
	ldr	r3, [fp, #-1072]
	mov	r0, r3
	bl	htonl
	str	r0, [fp, #-1040]
	ldr	r3, [fp, #-1088]
	cmp	r3, #1
	ble	.L63
	mov	r3, #1
	str	r3, [fp, #-1068]
	b	.L64
.L69:
	ldr	r3, [fp, #-1068]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1092]
	add	r3, r2, r3
	ldr	r1, [r3]
	sub	r3, fp, #1056
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r2, r3
	mov	r0, #2
	bl	inet_pton
	mov	r3, r0
	cmp	r3, #0
	ble	.L73
	ldr	r3, [fp, #-1072]
	mov	r0, r3
	bl	htonl
	str	r0, [fp, #-1036]
	ldr	r2, [fp, #-1044]
	ldr	r3, [fp, #-1036]
	cmp	r2, r3
	bhi	.L67
	ldr	r2, [fp, #-1036]
	ldr	r3, [fp, #-1040]
	cmp	r2, r3
	bls	.L68
.L67:
	ldr	r2, [fp, #-1040]
	ldr	r3, [fp, #-1036]
	cmp	r2, r3
	bhi	.L66
	ldr	r2, [fp, #-1036]
	ldr	r3, [fp, #-1044]
	cmp	r2, r3
	bhi	.L66
.L68:
	ldr	r3, [fp, #-1068]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1092]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-1048]
	ldr	r1, [fp, #-1040]
	ldr	r0, [fp, #-1044]
	bl	convert_range
	b	.L66
.L73:
	nop
.L66:
	ldr	r3, [fp, #-1068]
	add	r3, r3, #1
	str	r3, [fp, #-1068]
.L64:
	ldr	r2, [fp, #-1068]
	ldr	r3, [fp, #-1088]
	cmp	r2, r3
	blt	.L69
	b	.L38
.L63:
	mov	r3, #0
	ldr	r2, [fp, #-1048]
	ldr	r1, [fp, #-1040]
	ldr	r0, [fp, #-1044]
	bl	convert_range
.L38:
	ldr	r3, .L74+16
	ldr	r2, [r3]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, #1024
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L70
	mov	r3, #0
	ldr	r2, .L74
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L72
	bl	__stack_chk_fail
.L72:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L75:
	.align	2
.L74:
	.word	.LC8
	.word	stderr
	.word	.LC6
	.word	.LC7
	.word	stdin
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
