	.file	"extr_gholder.c_add_host_to_holder.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"255.255.255.0"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"ffff:ffff:ffff:ffff:0000:0000:0000:0000"
	.text
	.p2align 4
	.type	add_host_to_holder, @function
add_host_to_holder:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	mov	r14, rcx
	push	r13
	.cfi_offset 13, -40
	mov	r13, rsi
	push	r12
	.cfi_offset 12, -48
	mov	r12d, edi
	push	rbx
	sub	rsp, 152
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR INET_ADDRSTRLEN[rip]
	mov	rsi, rsp
	mov	rbx, rsp
	add	rax, 15
	mov	rcx, rax
	and	rax, -4096
	sub	rsi, rax
	and	rcx, -16
	mov	rax, rsi
	cmp	rsp, rax
	je	.L3
.L36:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L36
.L3:
	and	ecx, 4095
	sub	rsp, rcx
	test	rcx, rcx
	jne	.L37
.L4:
	movsx	rax, DWORD PTR INET6_ADDRSTRLEN[rip]
	mov	rdi, rsp
	mov	r15, rsp
	add	rax, 15
	mov	rcx, rax
	and	rax, -4096
	sub	rdi, rax
	and	rcx, -16
	mov	rax, rdi
	cmp	rsp, rax
	je	.L6
.L38:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L38
.L6:
	and	ecx, 4095
	sub	rsp, rcx
	test	rcx, rcx
	jne	.L39
.L7:
	mov	edi, DWORD PTR 0[r13]
	lea	rcx, -168[rbp]
	mov	esi, r12d
	lea	r8, -172[rbp]
	mov	QWORD PTR -192[rbp], rsp
	mov	QWORD PTR -168[rbp], 0
	mov	DWORD PTR -172[rbp], 0
	mov	DWORD PTR -180[rbp], edx
	call	set_data_hits_keys@PLT
	cmp	eax, 1
	je	.L8
	mov	eax, DWORD PTR conf[rip]
	mov	edx, DWORD PTR -180[rbp]
	test	eax, eax
	je	.L40
	mov	rsi, QWORD PTR -168[rbp]
	mov	edi, DWORD PTR AF_INET[rip]
	lea	rdx, -112[rbp]
	call	inet_pton@PLT
	cmp	eax, 1
	je	.L41
	mov	rsi, QWORD PTR -168[rbp]
	mov	edi, DWORD PTR AF_INET6[rip]
	lea	rdx, -160[rbp]
	call	inet_pton@PLT
	cmp	eax, 1
	je	.L42
.L8:
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	mov	rsp, rbx
	jne	.L43
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L37:
	.cfi_restore_state
	or	QWORD PTR -8[rsp+rcx], 0
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L40:
	mov	edi, r12d
	mov	rcx, r14
	mov	rsi, r13
	call	add_data_to_holder@PLT
	mov	rdi, QWORD PTR -168[rbp]
	call	free@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L41:
	mov	edi, DWORD PTR AF_INET[rip]
	lea	rdx, -96[rbp]
	lea	rsi, .LC0[rip]
	call	inet_pton@PLT
	cmp	eax, 1
	jne	.L8
	xor	esi, esi
	mov	edx, 1
	mov	rdi, r15
	call	memset@PLT
	mov	eax, DWORD PTR -112[rbp]
	lea	rsi, -80[rbp]
	and	eax, DWORD PTR -96[rbp]
	mov	ecx, DWORD PTR INET_ADDRSTRLEN[rip]
	mov	edi, DWORD PTR AF_INET[rip]
	mov	rdx, r15
	mov	DWORD PTR -80[rbp], eax
	call	inet_ntop@PLT
	test	rax, rax
	je	.L8
.L34:
	mov	r8d, DWORD PTR -172[rbp]
	mov	edi, r12d
	mov	rcx, r15
	mov	rdx, r14
	mov	rsi, r13
	call	set_host@PLT
	mov	rdi, QWORD PTR -168[rbp]
	call	free@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L42:
	mov	edi, DWORD PTR AF_INET6[rip]
	lea	rdx, -144[rbp]
	lea	rsi, .LC1[rip]
	call	inet_pton@PLT
	cmp	eax, 1
	jne	.L8
	xor	esi, esi
	mov	rdi, rsp
	mov	edx, 1
	call	memset@PLT
	mov	rdi, QWORD PTR -152[rbp]
	mov	rsi, QWORD PTR -136[rbp]
	xor	eax, eax
	mov	rcx, QWORD PTR -120[rbp]
	.p2align 4,,10
	.p2align 3
.L14:
	mov	edx, DWORD PTR [rdi+rax]
	and	edx, DWORD PTR [rsi+rax]
	mov	DWORD PTR [rcx+rax], edx
	add	rax, 4
	cmp	rax, 64
	jne	.L14
	mov	ecx, DWORD PTR INET6_ADDRSTRLEN[rip]
	mov	r15, QWORD PTR -192[rbp]
	lea	rsi, -128[rbp]
	mov	edi, DWORD PTR AF_INET6[rip]
	mov	rdx, r15
	call	inet_ntop@PLT
	test	rax, rax
	jne	.L34
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L39:
	or	QWORD PTR -8[rsp+rcx], 0
	jmp	.L7
.L43:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	add_host_to_holder, .-add_host_to_holder
	.comm	conf,4,4
	.comm	INET_ADDRSTRLEN,4,4
	.comm	INET6_ADDRSTRLEN,4,4
	.comm	AF_INET6,4,4
	.comm	AF_INET,4,4
	.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_gholder.c_add_host_to_holder.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"255.255.255.0\000"
	.align	2
.LC1:
	.ascii	"ffff:ffff:ffff:ffff:0000:0000:0000:0000\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	add_host_to_holder, %function
add_host_to_holder:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #92
	ldr	r8, .L28
	ldr	r9, .L28+4
	ldr	lr, [r8]
	ldr	ip, [r9]
	add	lr, lr, #7
	bic	lr, lr, #7
	add	ip, ip, #7
	bic	ip, ip, #7
	mov	r10, sp
	sub	sp, sp, lr
	mov	r5, r1
	add	r1, sp, #8
	sub	sp, sp, ip
	mov	r4, r0
	mov	ip, r3
	mov	r6, #0
	mov	r7, sp
	str	r1, [fp, #-112]
	ldr	r1, .L28+8
	sub	r3, fp, #92
	ldr	r1, [r1]
	str	r1, [fp, #-40]
	mov	r1,#0
	ldr	r0, [r5]
	str	r6, [fp, #-96]
	str	r6, [fp, #-92]
	mov	r1, r4
	str	r3, [r7], #8
	sub	r3, fp, #96
	str	ip, [fp, #-104]
	str	r2, [fp, #-108]
	bl	set_data_hits_keys
	cmp	r0, #1
	beq	.L2
	ldr	r3, .L28+12
	ldr	r3, [r3]
	cmp	r3, r6
	beq	.L24
	ldr	r3, .L28+16
	ldr	r1, [fp, #-96]
	ldr	r0, [r3]
	sub	r2, fp, #64
	bl	inet_pton
	cmp	r0, #1
	beq	.L25
	ldr	r8, .L28+20
	ldr	r1, [fp, #-96]
	ldr	r0, [r8]
	sub	r2, fp, #88
	bl	inet_pton
	cmp	r0, #1
	beq	.L26
.L2:
	ldr	r3, .L28+8
	mov	sp, r10
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L27
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L24:
	mov	r1, r5
	mov	r0, r4
	ldr	r3, [fp, #-104]
	ldr	r2, [fp, #-108]
	bl	add_data_to_holder
	ldr	r0, [fp, #-96]
	bl	free
	b	.L2
.L25:
	ldr	r3, .L28+16
	ldr	r1, .L28+24
	ldr	r0, [r3]
	sub	r2, fp, #56
	bl	inet_pton
	cmp	r0, #1
	bne	.L2
	ldr	r1, [fp, #-112]
	ldr	r2, [fp, #-56]
	ldr	ip, [fp, #-64]
	ldr	r0, .L28+16
	strb	r6, [r1]
	and	ip, ip, r2
	mov	r6, r1
	mov	r2, r1
	ldr	r3, [r8]
	ldr	r0, [r0]
	sub	r1, fp, #48
	str	ip, [fp, #-48]
	bl	inet_ntop
	cmp	r0, #0
	beq	.L2
	mov	r3, r6
	ldr	ip, [fp, #-92]
.L22:
	ldr	r2, [fp, #-104]
	mov	r1, r5
	mov	r0, r4
	str	ip, [sp]
	bl	set_host
	ldr	r0, [fp, #-96]
	bl	free
	b	.L2
.L26:
	ldr	r1, .L28+28
	ldr	r0, [r8]
	sub	r2, fp, #80
	bl	inet_pton
	cmp	r0, #1
	bne	.L2
	ldr	ip, [fp, #-84]
	ldr	r0, [fp, #-76]
	ldr	r1, [fp, #-68]
	sub	r2, ip, #4
	strb	r6, [r7]
	add	ip, ip, #60
	sub	r0, r0, #4
	sub	r1, r1, #4
.L8:
	ldr	r3, [r2, #4]!
	ldr	lr, [r0, #4]!
	cmp	r2, ip
	and	r3, r3, lr
	str	r3, [r1, #4]!
	bne	.L8
	mov	r2, r7
	ldr	r3, [r9]
	ldr	r0, [r8]
	sub	r1, fp, #72
	bl	inet_ntop
	cmp	r0, #0
	beq	.L2
	mov	r3, r7
	ldr	ip, [fp, #-92]
	b	.L22
.L27:
	bl	__stack_chk_fail
.L29:
	.align	2
.L28:
	.word	INET_ADDRSTRLEN
	.word	INET6_ADDRSTRLEN
	.word	.LC2
	.word	conf
	.word	AF_INET
	.word	AF_INET6
	.word	.LC0
	.word	.LC1
	.size	add_host_to_holder, .-add_host_to_holder
	.comm	conf,4,4
	.comm	INET_ADDRSTRLEN,4,4
	.comm	INET6_ADDRSTRLEN,4,4
	.comm	AF_INET6,4,4
	.comm	AF_INET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
