	.file	"extr_bootp_subr.c_getip.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	getip, @function
getip:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	r13, rsp
	mov	rax, QWORD PTR [rdi]
	mov	rdi, r13
	mov	QWORD PTR [rsp], rax
	call	getdec@PLT
	cmp	eax, 255
	jbe	.L2
.L4:
	xor	eax, eax
.L1:
	mov	rdx, QWORD PTR 8[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L8
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	ebx, eax
	mov	rax, QWORD PTR [rsp]
	cmp	BYTE PTR [rax], 46
	jne	.L4
	add	rax, 1
	mov	rdi, r13
	mov	QWORD PTR [rsp], rax
	call	getdec@PLT
	mov	r14d, eax
	cmp	eax, 255
	ja	.L4
	mov	rax, QWORD PTR [rsp]
	cmp	BYTE PTR [rax], 46
	jne	.L4
	add	rax, 1
	mov	rdi, r13
	mov	QWORD PTR [rsp], rax
	call	getdec@PLT
	mov	r15d, eax
	cmp	eax, 255
	ja	.L4
	mov	rax, QWORD PTR [rsp]
	cmp	BYTE PTR [rax], 46
	jne	.L4
	add	rax, 1
	mov	rdi, r13
	mov	QWORD PTR [rsp], rax
	call	getdec@PLT
	cmp	eax, 255
	ja	.L4
	sal	ebx, 24
	sal	r14d, 16
	mov	edi, r15d
	sal	edi, 8
	or	ebx, r14d
	or	ebx, edi
	or	ebx, eax
	mov	edi, ebx
	call	htonl@PLT
	mov	DWORD PTR [r12], eax
	mov	rax, QWORD PTR [rsp]
	mov	QWORD PTR 0[rbp], rax
	mov	eax, 1
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	getip, .-getip
	.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_bootp_subr.c_getip.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	getip, %function
getip:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, [r0]
	sub	sp, sp, #8
	ldr	r2, .L9
	mov	r4, r0
	mov	r0, sp
	ldr	r2, [r2]
	str	r2, [sp, #4]
	mov	r2,#0
	mov	r6, r1
	str	r3, [sp]
	bl	getdec
	cmp	r0, #255
	bls	.L2
.L4:
	mov	r0, #0
.L1:
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r3, [sp]
	ldrb	r2, [r3]	@ zero_extendqisi2
	cmp	r2, #46
	bne	.L4
	add	r3, r3, #1
	mov	r5, r0
	mov	r0, sp
	str	r3, [sp]
	bl	getdec
	cmp	r0, #255
	mov	r7, r0
	bhi	.L4
	ldr	r3, [sp]
	ldrb	r2, [r3]	@ zero_extendqisi2
	cmp	r2, #46
	bne	.L4
	add	r3, r3, #1
	mov	r0, sp
	str	r3, [sp]
	bl	getdec
	cmp	r0, #255
	mov	r8, r0
	bhi	.L4
	ldr	r3, [sp]
	ldrb	r2, [r3]	@ zero_extendqisi2
	cmp	r2, #46
	bne	.L4
	add	r3, r3, #1
	mov	r0, sp
	str	r3, [sp]
	bl	getdec
	cmp	r0, #255
	bhi	.L4
	lsl	r7, r7, #16
	orr	r5, r7, r5, lsl #24
	orr	r5, r5, r8, lsl #8
	orr	r0, r5, r0
	bl	htonl
	mov	r2, r0
	ldr	r3, [sp]
	str	r2, [r6]
	mov	r0, #1
	str	r3, [r4]
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	.LC0
	.size	getip, .-getip
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
