	.file	"extr_ranges.c_range_parse_ipv4.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"err: ending addr %u.%u.%u.%u cannot come before starting addr %u.%u.%u.%u\n"
	.text
	.p2align 4
	.globl	range_parse_ipv4
	.type	range_parse_ipv4, @function
range_parse_ipv4:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 48
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	test	rdi, rdi
	je	.L43
	mov	rbp, rdi
	mov	rbx, rsi
	test	rsi, rsi
	je	.L45
	mov	eax, DWORD PTR [rsi]
	mov	r12d, edx
	lea	r13, 8[rsp]
	mov	DWORD PTR 8[rsp], eax
.L5:
	cmp	r12d, eax
	ja	.L6
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L10:
	mov	eax, DWORD PTR 8[rsp]
	add	eax, 1
	mov	DWORD PTR 8[rsp], eax
	cmp	eax, r12d
	jnb	.L9
.L6:
	movsx	edi, BYTE PTR 0[rbp+rax]
	call	isspace@PLT
	test	rax, rax
	jne	.L10
.L9:
	lea	rcx, 20[rsp]
	mov	edx, r12d
	mov	rsi, r13
	mov	rdi, rbp
	call	parse_ipv4@PLT
	mov	r14d, eax
	test	eax, eax
	jne	.L43
	mov	eax, DWORD PTR 20[rsp]
	mov	DWORD PTR 24[rsp], eax
	mov	eax, DWORD PTR 8[rsp]
	cmp	r12d, eax
	ja	.L11
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L13:
	add	eax, 1
	mov	DWORD PTR 8[rsp], eax
	cmp	eax, r12d
	jnb	.L12
.L11:
	movsx	edi, BYTE PTR 0[rbp+rax]
	call	isspace@PLT
	test	rax, rax
	mov	eax, DWORD PTR 8[rsp]
	jne	.L13
	cmp	r12d, eax
	jbe	.L12
	mov	edx, eax
	movzx	edx, BYTE PTR 0[rbp+rdx]
	cmp	dl, 47
	je	.L46
	cmp	dl, 45
	je	.L47
.L12:
	mov	DWORD PTR [rbx], eax
	mov	rdx, QWORD PTR 24[rsp]
	mov	rax, QWORD PTR 16[rsp]
	jmp	.L3
.L25:
	mov	eax, DWORD PTR 8[rsp]
	cmp	r14d, 32
	jle	.L23
	.p2align 4,,10
	.p2align 3
.L43:
	xor	edx, edx
	mov	eax, 4294967295
.L3:
	mov	rbx, QWORD PTR 40[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L48
	add	rsp, 48
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L45:
	.cfi_restore_state
	mov	DWORD PTR 8[rsp], 0
	lea	r13, 8[rsp]
	call	strlen@PLT
	mov	rbx, r13
	mov	r12d, eax
	xor	eax, eax
	jmp	.L5
.L46:
	add	eax, 1
	movsx	edi, BYTE PTR 0[rbp+rax]
	mov	DWORD PTR 8[rsp], eax
	call	isdigit@PLT
	test	rax, rax
	je	.L43
	mov	eax, DWORD PTR 8[rsp]
	xor	esi, esi
	mov	ecx, eax
	mov	edx, eax
	add	rcx, rbp
	cmp	r12d, eax
	ja	.L17
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L18:
	add	edx, 1
	add	rcx, 1
	mov	esi, 1
	cmp	edx, r12d
	je	.L49
.L17:
	cmp	BYTE PTR [rcx], 48
	je	.L18
	test	sil, sil
	je	.L30
	mov	DWORD PTR 8[rsp], edx
.L21:
	mov	r13d, 3
.L20:
	cmp	r12d, edx
	jbe	.L25
	movsx	edi, BYTE PTR 0[rbp+rdx]
	call	isdigit@PLT
	test	rax, rax
	je	.L25
	mov	eax, DWORD PTR 8[rsp]
	lea	ecx, [r14+r14*4]
	lea	edx, 1[rax]
	movsx	eax, BYTE PTR 0[rbp+rax]
	mov	DWORD PTR 8[rsp], edx
	lea	r14d, -48[rax+rcx*2]
	sub	r13d, 1
	jne	.L20
	jmp	.L43
.L47:
	add	eax, 1
	lea	rcx, 12[rsp]
	mov	edx, r12d
	mov	rsi, r13
	mov	rdi, rbp
	mov	DWORD PTR 8[rsp], eax
	call	parse_ipv4@PLT
	test	eax, eax
	jne	.L43
	mov	eax, DWORD PTR 12[rsp]
	cmp	DWORD PTR 20[rsp], eax
	ja	.L50
	mov	DWORD PTR 24[rsp], eax
.L28:
	mov	eax, DWORD PTR 8[rsp]
	jmp	.L12
.L49:
	mov	DWORD PTR 8[rsp], edx
	mov	eax, edx
.L23:
	movabs	rdx, -4294967296
	mov	ecx, r14d
	shr	rdx, cl
	mov	ecx, DWORD PTR 20[rsp]
	and	ecx, edx
	not	edx
	or	edx, ecx
	mov	DWORD PTR 20[rsp], ecx
	mov	DWORD PTR 24[rsp], edx
	jmp	.L12
.L50:
	mov	ecx, 4294967295
	mov	edx, eax
	movzx	r9d, al
	xor	edi, edi
	mov	QWORD PTR 20[rsp], rcx
	movzx	ecx, ah
	shr	edx, 24
	lea	rsi, .LC0[rip]
	push	255
	.cfi_def_cfa_offset 104
	mov	r8d, ecx
	mov	ecx, eax
	push	255
	.cfi_def_cfa_offset 112
	shr	ecx, 16
	push	255
	.cfi_def_cfa_offset 120
	movzx	ecx, cl
	push	255
	.cfi_def_cfa_offset 128
	call	LOG@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 96
	jmp	.L28
.L30:
	mov	edx, eax
	jmp	.L21
.L48:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	range_parse_ipv4, .-range_parse_ipv4
	.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_ranges.c_range_parse_ipv4.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"err: ending addr %u.%u.%u.%u cannot come before sta"
	.ascii	"rting addr %u.%u.%u.%u\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	range_parse_ipv4
	.syntax unified
	.arm
	.fpu softvfp
	.type	range_parse_ipv4, %function
range_parse_ipv4:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r4, r3
	ldr	r3, .L51
	sub	sp, sp, #60
	subs	r5, r1, #0
	mov	r6, r0
	ldr	r3, [r3]
	str	r3, [sp, #52]
	mov	r3,#0
	beq	.L7
	cmp	r2, #0
	mov	r7, r2
	beq	.L44
	ldr	ip, [r2]
	add	r8, sp, #28
	str	ip, [sp, #28]
.L5:
	cmp	r4, ip
	bhi	.L6
	b	.L9
.L10:
	ldr	ip, [sp, #28]
	add	ip, ip, #1
	cmp	ip, r4
	str	ip, [sp, #28]
	bcs	.L9
.L6:
	ldrb	r0, [r5, ip]	@ zero_extendqisi2
	bl	isspace
	cmp	r0, #0
	bne	.L10
.L9:
	mov	r2, r4
	mov	r1, r8
	mov	r0, r5
	add	r3, sp, #40
	bl	parse_ipv4
	cmp	r0, #0
	bne	.L7
	ldr	ip, [sp, #28]
	ldr	r3, [sp, #40]
	cmp	r4, ip
	str	r3, [sp, #44]
	bhi	.L11
	b	.L12
.L13:
	add	ip, ip, #1
	cmp	ip, r4
	str	ip, [sp, #28]
	bcs	.L12
.L11:
	ldrb	r0, [r5, ip]	@ zero_extendqisi2
	bl	isspace
	subs	r9, r0, #0
	ldr	ip, [sp, #28]
	bne	.L13
	cmp	r4, ip
	bls	.L12
	ldrb	r3, [r5, ip]	@ zero_extendqisi2
	cmp	r3, #47
	beq	.L45
	cmp	r3, #45
	beq	.L46
.L12:
	add	r3, sp, #36
	ldm	r3, {r0, r1, r2, r3}
	str	ip, [r7]
	stm	r6, {r0, r1, r2, r3}
	b	.L1
.L25:
	cmp	r9, #32
	ldrle	ip, [sp, #28]
	ble	.L23
.L7:
	mov	r2, #0
	mvn	r1, #0
	stm	r6, {r1, r2}
	str	r2, [r6, #8]
	str	r2, [r6, #12]
.L1:
	ldr	r3, .L51
	ldr	r2, [r3]
	ldr	r3, [sp, #52]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L47
	mov	r0, r6
	add	sp, sp, #60
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L44:
	mov	r0, r5
	str	r2, [sp, #28]
	bl	strlen
	mov	ip, r7
	add	r7, sp, #28
	mov	r4, r0
	mov	r8, r7
	b	.L5
.L45:
	add	ip, ip, #1
	ldrb	r0, [r5, ip]	@ zero_extendqisi2
	str	ip, [sp, #28]
	bl	isdigit
	cmp	r0, #0
	beq	.L7
	ldr	ip, [sp, #28]
	cmp	r4, ip
	subhi	r2, ip, #1
	movhi	r3, ip
	movhi	r0, r9
	addhi	r2, r5, r2
	bhi	.L17
	b	.L23
.L18:
	add	r3, r3, #1
	cmp	r3, r4
	mov	r0, #1
	beq	.L48
.L17:
	ldrb	r1, [r2, #1]!	@ zero_extendqisi2
	cmp	r1, #48
	beq	.L18
	cmp	r0, #0
	moveq	r3, ip
	mov	r8, #3
	strne	r3, [sp, #28]
.L20:
	cmp	r4, r3
	bls	.L25
	ldrb	r0, [r5, r3]	@ zero_extendqisi2
	bl	isdigit
	cmp	r0, #0
	beq	.L25
	ldr	ip, [sp, #28]
	add	r0, r9, r9, lsl #2
	ldrb	r2, [r5, ip]	@ zero_extendqisi2
	add	r3, ip, #1
	sub	r2, r2, #48
	subs	r8, r8, #1
	add	r9, r2, r0, lsl #1
	str	r3, [sp, #28]
	bne	.L20
	b	.L7
.L46:
	mov	r1, r8
	add	ip, ip, #1
	mov	r2, r4
	mov	r0, r5
	add	r3, sp, #32
	str	ip, [sp, #28]
	bl	parse_ipv4
	subs	r1, r0, #0
	bne	.L49
	ldr	r2, [sp, #32]
	ldr	r3, [sp, #40]
	cmp	r3, r2
	strls	r2, [sp, #44]
	bhi	.L50
.L28:
	ldr	ip, [sp, #28]
	b	.L12
.L49:
	mvn	r2, #0
	str	r9, [r6, #8]
	stm	r6, {r2, r9}
	str	r9, [r6, #12]
	b	.L1
.L48:
	mov	ip, r3
	str	r3, [sp, #28]
.L23:
	mvn	r2, #0
	rsb	r3, r9, #32
	lsl	r3, r2, r3
	sub	r0, r9, #32
	orr	r3, r3, r2, lsr r0
	mvn	r1, r3
	ldr	r2, [sp, #40]
	and	r3, r3, r2
	orr	r2, r1, r3
	str	r2, [sp, #44]
	str	r3, [sp, #40]
	b	.L12
.L50:
	mov	r3, #255
	mvn	lr, #0
	lsr	ip, r2, #8
	and	ip, ip, r3
	str	r3, [sp, #20]
	str	r3, [sp, #16]
	str	r3, [sp, #12]
	str	r3, [sp, #8]
	str	r1, [sp, #44]
	lsr	r3, r2, #16
	and	r1, r2, #255
	str	r1, [sp, #4]
	str	ip, [sp]
	ldr	r1, .L51+4
	and	r3, r3, #255
	lsr	r2, r2, #24
	str	lr, [sp, #40]
	bl	LOG
	b	.L28
.L47:
	bl	__stack_chk_fail
.L52:
	.align	2
.L51:
	.word	.LC1
	.word	.LC0
	.size	range_parse_ipv4, .-range_parse_ipv4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
