	.file	"967082.c"
	.intel_syntax noprefix
	.text
	.globl	inet_addr
	.type	inet_addr, @function
inet_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	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -12[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	inet_aton
	test	eax, eax
	je	.L2
	mov	eax, DWORD PTR -12[rbp]
	jmp	.L4
.L2:
	mov	eax, -1
.L4:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	inet_addr, .-inet_addr
	.globl	inet_aton
	.type	inet_aton, @function
inet_aton:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	sub	rsp, 80
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	QWORD PTR -88[rbp], rdi
	mov	QWORD PTR -96[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rax, -48[rbp]
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -69[rbp], al
.L22:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movzx	eax, BYTE PTR -69[rbp]
	movzx	eax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L7
	mov	eax, 0
	jmp	.L39
.L7:
	mov	DWORD PTR -68[rbp], 0
	mov	DWORD PTR -64[rbp], 10
	cmp	BYTE PTR -69[rbp], 48
	jne	.L17
	add	QWORD PTR -88[rbp], 1
	mov	rax, QWORD PTR -88[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -69[rbp], al
	cmp	BYTE PTR -69[rbp], 120
	je	.L10
	cmp	BYTE PTR -69[rbp], 88
	jne	.L11
.L10:
	mov	DWORD PTR -64[rbp], 16
	add	QWORD PTR -88[rbp], 1
	mov	rax, QWORD PTR -88[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -69[rbp], al
	jmp	.L17
.L11:
	mov	DWORD PTR -64[rbp], 8
.L17:
	movzx	eax, BYTE PTR -69[rbp]
	movzx	eax, al
	and	eax, -128
	test	eax, eax
	jne	.L12
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movzx	eax, BYTE PTR -69[rbp]
	movzx	eax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	je	.L12
	mov	eax, DWORD PTR -64[rbp]
	imul	eax, DWORD PTR -68[rbp]
	mov	edx, eax
	movsx	eax, BYTE PTR -69[rbp]
	add	eax, edx
	sub	eax, 48
	mov	DWORD PTR -68[rbp], eax
	add	QWORD PTR -88[rbp], 1
	mov	rax, QWORD PTR -88[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -69[rbp], al
	jmp	.L13
.L12:
	cmp	DWORD PTR -64[rbp], 16
	jne	.L14
	movzx	eax, BYTE PTR -69[rbp]
	movzx	eax, al
	and	eax, -128
	test	eax, eax
	jne	.L14
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movzx	eax, BYTE PTR -69[rbp]
	movzx	eax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 4096
	test	eax, eax
	je	.L14
	mov	eax, DWORD PTR -68[rbp]
	sal	eax, 4
	mov	r12d, eax
	movsx	eax, BYTE PTR -69[rbp]
	lea	ebx, 10[rax]
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movzx	eax, BYTE PTR -69[rbp]
	movzx	eax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 512
	test	eax, eax
	je	.L15
	mov	edx, 97
	jmp	.L16
.L15:
	mov	edx, 65
.L16:
	mov	eax, ebx
	sub	eax, edx
	or	eax, r12d
	mov	DWORD PTR -68[rbp], eax
	add	QWORD PTR -88[rbp], 1
	mov	rax, QWORD PTR -88[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -69[rbp], al
.L13:
	jmp	.L17
.L14:
	cmp	BYTE PTR -69[rbp], 46
	jne	.L41
	lea	rax, -48[rbp]
	add	rax, 12
	cmp	QWORD PTR -56[rbp], rax
	jb	.L19
	mov	eax, 0
	jmp	.L39
.L19:
	mov	rax, QWORD PTR -56[rbp]
	lea	rdx, 4[rax]
	mov	QWORD PTR -56[rbp], rdx
	mov	edx, DWORD PTR -68[rbp]
	mov	DWORD PTR [rax], edx
	add	QWORD PTR -88[rbp], 1
	mov	rax, QWORD PTR -88[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -69[rbp], al
	jmp	.L22
.L41:
	nop
	cmp	BYTE PTR -69[rbp], 0
	je	.L23
	movzx	eax, BYTE PTR -69[rbp]
	movzx	eax, al
	and	eax, -128
	test	eax, eax
	jne	.L24
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movzx	eax, BYTE PTR -69[rbp]
	movzx	eax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L23
.L24:
	mov	eax, 0
	jmp	.L39
.L23:
	lea	rdx, -48[rbp]
	mov	rax, QWORD PTR -56[rbp]
	sub	rax, rdx
	sar	rax, 2
	add	eax, 1
	mov	DWORD PTR -60[rbp], eax
	cmp	DWORD PTR -60[rbp], 4
	ja	.L25
	mov	eax, DWORD PTR -60[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, .L27[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L27[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L27:
	.long	.L31-.L27
	.long	.L42-.L27
	.long	.L29-.L27
	.long	.L28-.L27
	.long	.L26-.L27
	.text
.L31:
	mov	eax, 0
	jmp	.L39
.L29:
	cmp	DWORD PTR -68[rbp], 16777215
	ja	.L32
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 255
	jbe	.L33
.L32:
	mov	eax, 0
	jmp	.L39
.L33:
	mov	eax, DWORD PTR -48[rbp]
	sal	eax, 24
	or	DWORD PTR -68[rbp], eax
	jmp	.L25
.L28:
	cmp	DWORD PTR -68[rbp], 65535
	ja	.L34
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 255
	ja	.L34
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, 255
	jbe	.L35
.L34:
	mov	eax, 0
	jmp	.L39
.L35:
	mov	eax, DWORD PTR -48[rbp]
	sal	eax, 24
	mov	edx, eax
	mov	eax, DWORD PTR -44[rbp]
	sal	eax, 16
	or	eax, edx
	or	DWORD PTR -68[rbp], eax
	jmp	.L25
.L26:
	cmp	DWORD PTR -68[rbp], 255
	ja	.L36
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 255
	ja	.L36
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, 255
	ja	.L36
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, 255
	jbe	.L37
.L36:
	mov	eax, 0
	jmp	.L39
.L37:
	mov	eax, DWORD PTR -48[rbp]
	sal	eax, 24
	mov	edx, eax
	mov	eax, DWORD PTR -44[rbp]
	sal	eax, 16
	or	edx, eax
	mov	eax, DWORD PTR -40[rbp]
	sal	eax, 8
	or	eax, edx
	or	DWORD PTR -68[rbp], eax
	jmp	.L25
.L42:
	nop
.L25:
	cmp	QWORD PTR -96[rbp], 0
	je	.L38
	mov	eax, DWORD PTR -68[rbp]
	mov	edi, eax
	call	htonl@PLT
	mov	rdx, QWORD PTR -96[rbp]
	mov	DWORD PTR [rdx], eax
.L38:
	mov	eax, 1
.L39:
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L40
	call	__stack_chk_fail@PLT
.L40:
	add	rsp, 80
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	inet_aton, .-inet_aton
	.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	"967082.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	inet_addr
	.syntax unified
	.arm
	.fpu softvfp
	.type	inet_addr, %function
inet_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	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	inet_aton
	mov	r3, r0
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-12]
	b	.L4
.L2:
	mvn	r3, #0
.L4:
	ldr	r2, .L6
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC0
	.size	inet_addr, .-inet_addr
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	inet_aton
	.syntax unified
	.arm
	.fpu softvfp
	.type	inet_aton, %function
inet_aton:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #48
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	ldr	r3, .L44
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #32
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-56]
	ldrb	r3, [r3]
	strb	r3, [fp, #-49]
.L24:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-49]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L9
	mov	r3, #0
	b	.L41
.L9:
	mov	r3, #0
	str	r3, [fp, #-48]
	mov	r3, #10
	str	r3, [fp, #-44]
	ldrb	r3, [fp, #-49]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L19
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-56]
	ldrb	r3, [r3]
	strb	r3, [fp, #-49]
	ldrb	r3, [fp, #-49]	@ zero_extendqisi2
	cmp	r3, #120
	beq	.L12
	ldrb	r3, [fp, #-49]	@ zero_extendqisi2
	cmp	r3, #88
	bne	.L13
.L12:
	mov	r3, #16
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-56]
	ldrb	r3, [r3]
	strb	r3, [fp, #-49]
	b	.L19
.L13:
	mov	r3, #8
	str	r3, [fp, #-44]
.L19:
	ldrb	r3, [fp, #-49]	@ zero_extendqisi2
	bic	r3, r3, #127
	cmp	r3, #0
	bne	.L14
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-49]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	beq	.L14
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-48]
	mul	r2, r3, r2
	ldrb	r3, [fp, #-49]	@ zero_extendqisi2
	add	r3, r2, r3
	sub	r3, r3, #48
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-56]
	ldrb	r3, [r3]
	strb	r3, [fp, #-49]
	b	.L15
.L14:
	ldr	r3, [fp, #-44]
	cmp	r3, #16
	bne	.L16
	ldrb	r3, [fp, #-49]	@ zero_extendqisi2
	bic	r3, r3, #127
	cmp	r3, #0
	bne	.L16
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-49]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #4096
	cmp	r3, #0
	beq	.L16
	ldr	r3, [fp, #-48]
	lsl	r4, r3, #4
	ldrb	r3, [fp, #-49]	@ zero_extendqisi2
	add	r5, r3, #10
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-49]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #512
	cmp	r3, #0
	beq	.L17
	mov	r3, #97
	b	.L18
.L17:
	mov	r3, #65
.L18:
	sub	r3, r5, r3
	orr	r3, r4, r3
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-56]
	ldrb	r3, [r3]
	strb	r3, [fp, #-49]
.L15:
	b	.L19
.L16:
	ldrb	r3, [fp, #-49]	@ zero_extendqisi2
	cmp	r3, #46
	bne	.L43
	sub	r3, fp, #32
	add	r3, r3, #12
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	bcc	.L21
	mov	r3, #0
	b	.L41
.L21:
	ldr	r3, [fp, #-40]
	add	r2, r3, #4
	str	r2, [fp, #-40]
	ldr	r2, [fp, #-48]
	str	r2, [r3]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-56]
	ldrb	r3, [r3]
	strb	r3, [fp, #-49]
	b	.L24
.L43:
	nop
	ldrb	r3, [fp, #-49]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L25
	ldrb	r3, [fp, #-49]	@ zero_extendqisi2
	bic	r3, r3, #127
	cmp	r3, #0
	bne	.L26
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-49]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L25
.L26:
	mov	r3, #0
	b	.L41
.L25:
	sub	r3, fp, #32
	ldr	r2, [fp, #-40]
	sub	r3, r2, r3
	asr	r3, r3, #2
	add	r3, r3, #1
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L27
.L29:
	.word	.L33
	.word	.L27
	.word	.L31
	.word	.L30
	.word	.L28
.L33:
	mov	r3, #0
	b	.L41
.L31:
	ldr	r3, [fp, #-48]
	cmp	r3, #16777216
	bcs	.L34
	ldr	r3, [fp, #-32]
	cmp	r3, #255
	bls	.L35
.L34:
	mov	r3, #0
	b	.L41
.L35:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #24
	ldr	r2, [fp, #-48]
	orr	r3, r2, r3
	str	r3, [fp, #-48]
	b	.L27
.L30:
	ldr	r3, [fp, #-48]
	cmp	r3, #65536
	bcs	.L36
	ldr	r3, [fp, #-32]
	cmp	r3, #255
	bhi	.L36
	ldr	r3, [fp, #-28]
	cmp	r3, #255
	bls	.L37
.L36:
	mov	r3, #0
	b	.L41
.L37:
	ldr	r3, [fp, #-32]
	lsl	r2, r3, #24
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #16
	orr	r3, r2, r3
	ldr	r2, [fp, #-48]
	orr	r3, r2, r3
	str	r3, [fp, #-48]
	b	.L27
.L28:
	ldr	r3, [fp, #-48]
	cmp	r3, #255
	bhi	.L38
	ldr	r3, [fp, #-32]
	cmp	r3, #255
	bhi	.L38
	ldr	r3, [fp, #-28]
	cmp	r3, #255
	bhi	.L38
	ldr	r3, [fp, #-24]
	cmp	r3, #255
	bls	.L39
.L38:
	mov	r3, #0
	b	.L41
.L39:
	ldr	r3, [fp, #-32]
	lsl	r2, r3, #24
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #16
	orr	r2, r2, r3
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #8
	orr	r3, r2, r3
	ldr	r2, [fp, #-48]
	orr	r3, r2, r3
	str	r3, [fp, #-48]
	nop
.L27:
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	beq	.L40
	ldr	r0, [fp, #-48]
	bl	htonl
	mov	r2, r0
	ldr	r3, [fp, #-60]
	str	r2, [r3]
.L40:
	mov	r3, #1
.L41:
	ldr	r2, .L44
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L42
	bl	__stack_chk_fail
.L42:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L45:
	.align	2
.L44:
	.word	.LC1
	.size	inet_aton, .-inet_aton
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
