	.file	"656994.c"
	.intel_syntax noprefix
	.text
	.type	hexval, @function
hexval:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 48
	cmp	eax, 9
	ja	.L2
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 48
	jmp	.L3
.L2:
	or	DWORD PTR -4[rbp], 32
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 97
	cmp	eax, 5
	ja	.L4
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 87
	jmp	.L3
.L4:
	mov	eax, -1
.L3:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	hexval, .-hexval
	.globl	inet_pton
	.type	inet_pton, @function
inet_pton:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	mov	QWORD PTR -88[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	DWORD PTR -52[rbp], -1
	mov	DWORD PTR -48[rbp], 0
	cmp	DWORD PTR -68[rbp], 2
	jne	.L6
	mov	DWORD PTR -64[rbp], 0
	jmp	.L7
.L17:
	mov	DWORD PTR -60[rbp], 0
	mov	eax, DWORD PTR -60[rbp]
	mov	DWORD PTR -56[rbp], eax
	jmp	.L8
.L10:
	mov	edx, DWORD PTR -56[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	ecx, eax
	mov	eax, DWORD PTR -60[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	add	eax, ecx
	sub	eax, 48
	mov	DWORD PTR -56[rbp], eax
	add	DWORD PTR -60[rbp], 1
.L8:
	cmp	DWORD PTR -60[rbp], 2
	jg	.L9
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -60[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L10
.L9:
	cmp	DWORD PTR -60[rbp], 0
	je	.L11
	cmp	DWORD PTR -60[rbp], 1
	jle	.L12
	mov	rax, QWORD PTR -80[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 48
	je	.L11
.L12:
	cmp	DWORD PTR -56[rbp], 255
	jle	.L13
.L11:
	mov	eax, 0
	jmp	.L41
.L13:
	mov	eax, DWORD PTR -64[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -56[rbp]
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -60[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L15
	cmp	DWORD PTR -64[rbp], 3
	jne	.L15
	mov	eax, 1
	jmp	.L41
.L15:
	mov	eax, DWORD PTR -60[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 46
	je	.L16
	mov	eax, 0
	jmp	.L41
.L16:
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	add	rax, 1
	add	QWORD PTR -80[rbp], rax
	add	DWORD PTR -64[rbp], 1
.L7:
	cmp	DWORD PTR -64[rbp], 3
	jle	.L17
	mov	eax, 0
	jmp	.L41
.L6:
	cmp	DWORD PTR -68[rbp], 10
	je	.L18
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 97
	mov	eax, -1
	jmp	.L41
.L18:
	mov	rax, QWORD PTR -80[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 58
	jne	.L19
	add	QWORD PTR -80[rbp], 1
	mov	rax, QWORD PTR -80[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 58
	je	.L19
	mov	eax, 0
	jmp	.L41
.L19:
	mov	DWORD PTR -64[rbp], 0
.L34:
	mov	rax, QWORD PTR -80[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 58
	jne	.L20
	cmp	DWORD PTR -52[rbp], 0
	jns	.L20
	mov	eax, DWORD PTR -64[rbp]
	mov	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR -64[rbp]
	and	eax, 7
	cdqe
	mov	WORD PTR -32[rbp+rax*2], 0
	add	QWORD PTR -80[rbp], 1
	mov	rax, QWORD PTR -80[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L43
	cmp	DWORD PTR -64[rbp], 7
	jne	.L44
	mov	eax, 0
	jmp	.L41
.L20:
	mov	DWORD PTR -60[rbp], 0
	mov	eax, DWORD PTR -60[rbp]
	mov	DWORD PTR -56[rbp], eax
	jmp	.L25
.L27:
	mov	eax, DWORD PTR -56[rbp]
	sal	eax, 4
	mov	edx, eax
	mov	eax, DWORD PTR -44[rbp]
	add	eax, edx
	mov	DWORD PTR -56[rbp], eax
	add	DWORD PTR -60[rbp], 1
.L25:
	cmp	DWORD PTR -60[rbp], 3
	jg	.L26
	mov	eax, DWORD PTR -60[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	hexval
	mov	DWORD PTR -44[rbp], eax
	cmp	DWORD PTR -44[rbp], 0
	jns	.L27
.L26:
	cmp	DWORD PTR -60[rbp], 0
	jne	.L28
	mov	eax, 0
	jmp	.L41
.L28:
	mov	eax, DWORD PTR -64[rbp]
	and	eax, 7
	mov	edx, eax
	mov	eax, DWORD PTR -56[rbp]
	mov	ecx, eax
	movsx	rax, edx
	mov	WORD PTR -32[rbp+rax*2], cx
	mov	eax, DWORD PTR -60[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L29
	cmp	DWORD PTR -52[rbp], 0
	jns	.L22
	cmp	DWORD PTR -64[rbp], 7
	je	.L22
.L29:
	cmp	DWORD PTR -64[rbp], 7
	jne	.L30
	mov	eax, 0
	jmp	.L41
.L30:
	mov	eax, DWORD PTR -60[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 58
	je	.L31
	mov	eax, DWORD PTR -60[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 46
	jne	.L32
	cmp	DWORD PTR -64[rbp], 5
	jg	.L33
	cmp	DWORD PTR -52[rbp], 0
	jns	.L33
.L32:
	mov	eax, 0
	jmp	.L41
.L33:
	mov	DWORD PTR -48[rbp], 1
	add	DWORD PTR -64[rbp], 1
	jmp	.L22
.L31:
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	add	rax, 1
	add	QWORD PTR -80[rbp], rax
	jmp	.L24
.L44:
	nop
.L24:
	add	DWORD PTR -64[rbp], 1
	jmp	.L34
.L43:
	nop
.L22:
	cmp	DWORD PTR -52[rbp], 0
	js	.L35
	mov	eax, DWORD PTR -64[rbp]
	add	eax, 1
	sub	eax, DWORD PTR -52[rbp]
	add	eax, eax
	cdqe
	mov	edx, DWORD PTR -52[rbp]
	movsx	rdx, edx
	lea	rcx, [rdx+rdx]
	lea	rdx, -32[rbp]
	lea	rsi, [rdx+rcx]
	mov	edx, DWORD PTR -52[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR -64[rbp]
	movsx	rcx, ecx
	sub	rdx, rcx
	add	rdx, 7
	lea	rcx, [rdx+rdx]
	lea	rdx, -32[rbp]
	add	rcx, rdx
	mov	rdx, rax
	mov	rdi, rcx
	call	memmove@PLT
	mov	DWORD PTR -60[rbp], 0
	jmp	.L36
.L37:
	mov	edx, DWORD PTR -52[rbp]
	mov	eax, DWORD PTR -60[rbp]
	add	eax, edx
	cdqe
	mov	WORD PTR -32[rbp+rax*2], 0
	add	DWORD PTR -60[rbp], 1
.L36:
	mov	eax, 7
	sub	eax, DWORD PTR -64[rbp]
	cmp	DWORD PTR -60[rbp], eax
	jl	.L37
.L35:
	mov	DWORD PTR -60[rbp], 0
	jmp	.L38
.L39:
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	movzx	eax, WORD PTR -32[rbp+rax*2]
	shr	ax, 8
	mov	ecx, eax
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -40[rbp], rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	movzx	ecx, WORD PTR -32[rbp+rax*2]
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -40[rbp], rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -60[rbp], 1
.L38:
	cmp	DWORD PTR -60[rbp], 7
	jle	.L39
	cmp	DWORD PTR -48[rbp], 0
	je	.L40
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, -4[rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	rsi, rax
	mov	edi, 2
	call	inet_pton
	test	eax, eax
	jg	.L40
	mov	eax, 0
	jmp	.L41
.L40:
	mov	eax, 1
.L41:
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L42
	call	__stack_chk_fail@PLT
.L42:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	inet_pton, .-inet_pton
	.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	"656994.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hexval, %function
hexval:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #48
	cmp	r3, #9
	bhi	.L2
	ldr	r3, [fp, #-8]
	sub	r3, r3, #48
	b	.L3
.L2:
	ldr	r3, [fp, #-8]
	orr	r3, r3, #32
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #97
	cmp	r3, #5
	bhi	.L4
	ldr	r3, [fp, #-8]
	sub	r3, r3, #87
	b	.L3
.L4:
	mvn	r3, #0
.L3:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	hexval, .-hexval
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	inet_pton
	.syntax unified
	.arm
	.fpu softvfp
	.type	inet_pton, %function
inet_pton:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	str	r2, [fp, #-64]
	ldr	r3, .L45
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-64]
	str	r3, [fp, #-52]
	mvn	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-56]
	cmp	r3, #2
	bne	.L6
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L7
.L17:
	mov	r3, #0
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-40]
	b	.L8
.L10:
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r1, r3
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r1, r3
	sub	r3, r3, #48
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L8:
	ldr	r3, [fp, #-44]
	cmp	r3, #2
	bgt	.L9
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-44]
	ldr	r1, [fp, #-60]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L10
.L9:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L11
	ldr	r3, [fp, #-44]
	cmp	r3, #1
	ble	.L12
	ldr	r3, [fp, #-60]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #48
	beq	.L11
.L12:
	ldr	r3, [fp, #-40]
	cmp	r3, #255
	ble	.L13
.L11:
	mov	r3, #0
	b	.L41
.L13:
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r2, [fp, #-40]
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L15
	ldr	r3, [fp, #-48]
	cmp	r3, #3
	bne	.L15
	mov	r3, #1
	b	.L41
.L15:
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #46
	beq	.L16
	mov	r3, #0
	b	.L41
.L16:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L7:
	ldr	r3, [fp, #-48]
	cmp	r3, #3
	ble	.L17
	mov	r3, #0
	b	.L41
.L6:
	ldr	r3, [fp, #-56]
	cmp	r3, #10
	beq	.L18
	bl	__errno_location
	mov	r3, r0
	mov	r2, #97
	str	r2, [r3]
	mvn	r3, #0
	b	.L41
.L18:
	ldr	r3, [fp, #-60]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #58
	bne	.L19
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-60]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #58
	beq	.L19
	mov	r3, #0
	b	.L41
.L19:
	mov	r3, #0
	str	r3, [fp, #-48]
.L34:
	ldr	r3, [fp, #-60]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #58
	bne	.L20
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bge	.L20
	ldr	r3, [fp, #-48]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-48]
	and	r3, r3, #7
	lsl	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #20
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-60]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L43
	ldr	r3, [fp, #-48]
	cmp	r3, #7
	bne	.L44
	mov	r3, #0
	b	.L41
.L20:
	mov	r3, #0
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-40]
	b	.L25
.L27:
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L25:
	ldr	r3, [fp, #-44]
	cmp	r3, #3
	bgt	.L26
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	hexval
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bge	.L27
.L26:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L28
	mov	r3, #0
	b	.L41
.L28:
	ldr	r3, [fp, #-48]
	and	r3, r3, #7
	ldr	r2, [fp, #-40]
	lsl	r2, r2, #16
	lsr	r2, r2, #16
	lsl	r3, r3, #1
	sub	r1, fp, #4
	add	r3, r1, r3
	sub	r3, r3, #20
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L29
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bge	.L22
	ldr	r3, [fp, #-48]
	cmp	r3, #7
	beq	.L22
.L29:
	ldr	r3, [fp, #-48]
	cmp	r3, #7
	bne	.L30
	mov	r3, #0
	b	.L41
.L30:
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #58
	beq	.L31
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #46
	bne	.L32
	ldr	r3, [fp, #-48]
	cmp	r3, #5
	bgt	.L33
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bge	.L33
.L32:
	mov	r3, #0
	b	.L41
.L33:
	mov	r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
	b	.L22
.L31:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	str	r3, [fp, #-60]
	b	.L24
.L44:
	nop
.L24:
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
	b	.L34
.L43:
	nop
.L22:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	blt	.L35
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-48]
	sub	r3, r2, r3
	add	r3, r3, #7
	lsl	r3, r3, #1
	sub	r2, fp, #24
	add	r0, r2, r3
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #1
	sub	r2, fp, #24
	add	r1, r2, r3
	ldr	r3, [fp, #-48]
	add	r2, r3, #1
	ldr	r3, [fp, #-36]
	sub	r3, r2, r3
	lsl	r3, r3, #1
	mov	r2, r3
	bl	memmove
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L36
.L37:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	lsl	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #20
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L36:
	ldr	r3, [fp, #-48]
	rsb	r3, r3, #7
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L37
.L35:
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L38
.L39:
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #20
	ldrh	r3, [r3]
	lsr	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-52]
	add	r1, r3, #1
	str	r1, [fp, #-52]
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #20
	ldrh	r2, [r3]
	ldr	r3, [fp, #-52]
	add	r1, r3, #1
	str	r1, [fp, #-52]
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L38:
	ldr	r3, [fp, #-44]
	cmp	r3, #7
	ble	.L39
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L40
	ldr	r3, [fp, #-52]
	sub	r3, r3, #4
	mov	r2, r3
	ldr	r1, [fp, #-60]
	mov	r0, #2
	bl	inet_pton
	mov	r3, r0
	cmp	r3, #0
	bgt	.L40
	mov	r3, #0
	b	.L41
.L40:
	mov	r3, #1
.L41:
	ldr	r2, .L45
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L42
	bl	__stack_chk_fail
.L42:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L46:
	.align	2
.L45:
	.word	.LC0
	.size	inet_pton, .-inet_pton
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
