	.file	"extr_respip.c_respip_data_answer.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"null"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"response-ip redirect with tag data [%d] %s"
	.text
	.p2align 4
	.type	respip_data_answer, @function
respip_data_answer:
.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
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, r8
	sub	rsp, 184
	.cfi_def_cfa_offset 240
	mov	rbp, QWORD PTR [rdi]
	mov	QWORD PTR 8[rsp], r9
	mov	r15, QWORD PTR 280[rsp]
	mov	rax, QWORD PTR 248[rsp]
	mov	r10, QWORD PTR 264[rsp]
	mov	r9, QWORD PTR 288[rsp]
	mov	rcx, QWORD PTR fs:40
	mov	QWORD PTR 168[rsp], rcx
	xor	ecx, ecx
	cmp	DWORD PTR respip_redirect[rip], esi
	mov	QWORD PTR [r15], 0
	jne	.L2
	cmp	DWORD PTR 240[rsp], -1
	jne	.L29
.L2:
	test	rbp, rbp
	je	.L12
.L14:
	cmp	QWORD PTR [r12], rbp
	je	.L30
.L6:
	cmp	QWORD PTR LDNS_RR_TYPE_ANY[rip], r14
	lea	rdx, 1[rbx]
	jne	.L8
	mov	edx, 1
	xor	ebx, ebx
.L8:
	mov	rcx, rbx
	mov	rsi, r9
	mov	rdi, r13
	call	make_new_reply_info@PLT
	test	rax, rax
	je	.L9
	mov	edx, DWORD PTR PACKED_RRSET_FIXEDTTL[rip]
	or	DWORD PTR 0[rbp], edx
	mov	rdx, QWORD PTR [rax]
	mov	QWORD PTR [rdx+rbx*8], rbp
	mov	rbx, QWORD PTR 8[rsp]
	mov	QWORD PTR [r15], rbp
	mov	QWORD PTR [rbx], rax
	mov	eax, 1
.L1:
	mov	rsi, QWORD PTR 168[rsp]
	xor	rsi, QWORD PTR fs:40
	jne	.L31
	add	rsp, 184
	.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
.L29:
	.cfi_restore_state
	mov	QWORD PTR 16[rsp], r10
	movsx	r11, DWORD PTR 240[rsp]
	cmp	r11, QWORD PTR 256[rsp]
	jnb	.L2
	lea	r8, [rax+r11*8]
	mov	QWORD PTR 40[rsp], r11
	cmp	QWORD PTR [r8], 0
	mov	QWORD PTR 24[rsp], r8
	je	.L2
	lea	rax, 64[rsp]
	xor	esi, esi
	mov	edx, 48
	mov	QWORD PTR 56[rsp], r9
	mov	rdi, rax
	mov	QWORD PTR 48[rsp], rax
	call	memset@PLT
	mov	rax, QWORD PTR 0[r13]
	mov	rax, QWORD PTR [rax+rbx*8]
	mov	edx, DWORD PTR 8[rax]
	mov	edi, DWORD PTR 16[rax]
	mov	DWORD PTR 108[rsp], edx
	mov	edx, DWORD PTR 4[rax]
	mov	DWORD PTR 104[rsp], edx
	call	ntohs@PLT
	mov	QWORD PTR 96[rsp], rax
	mov	rax, QWORD PTR 0[r13]
	mov	rax, QWORD PTR [rax+rbx*8]
	mov	edi, DWORD PTR 12[rax]
	call	ntohs@PLT
	xor	esi, esi
	mov	edx, 48
	mov	QWORD PTR 88[rsp], rax
	lea	rax, 112[rsp]
	mov	rdi, rax
	mov	QWORD PTR 32[rsp], rax
	call	memset@PLT
	mov	r8, QWORD PTR 24[rsp]
	mov	r9, QWORD PTR 56[rsp]
	mov	rdx, QWORD PTR 32[rsp]
	mov	rdi, QWORD PTR 48[rsp]
	mov	rsi, QWORD PTR [r8]
	mov	rcx, r9
	call	local_data_find_tag_datas@PLT
	mov	r9, QWORD PTR 56[rsp]
	test	rax, rax
	je	.L2
	mov	eax, DWORD PTR 272[rsp]
	lea	rcx, .LC0[rip]
	cmp	DWORD PTR 240[rsp], eax
	jge	.L4
	mov	r11, QWORD PTR 40[rsp]
	mov	r10, QWORD PTR 16[rsp]
	mov	rcx, QWORD PTR [r10+r11*8]
.L4:
	mov	edx, DWORD PTR 240[rsp]
	mov	edi, DWORD PTR VERB_ALGO[rip]
	mov	QWORD PTR 16[rsp], r9
	lea	rsi, .LC1[rip]
	call	verbose@PLT
	mov	r9, QWORD PTR 16[rsp]
	mov	rdi, QWORD PTR 32[rsp]
	mov	rsi, r9
	call	copy_rrset@PLT
	mov	r9, QWORD PTR 16[rsp]
	test	rax, rax
	mov	rbp, rax
	jne	.L14
	.p2align 4,,10
	.p2align 3
.L9:
	mov	eax, -1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L30:
	mov	rsi, r9
	mov	rdi, rbp
	mov	QWORD PTR 16[rsp], r9
	call	copy_rrset@PLT
	mov	r9, QWORD PTR 16[rsp]
	test	rax, rax
	mov	rbp, rax
	je	.L9
	mov	rax, QWORD PTR 0[r13]
	mov	rax, QWORD PTR [rax+rbx*8]
	mov	edx, DWORD PTR 8[rax]
	mov	eax, DWORD PTR 4[rax]
	mov	DWORD PTR 8[rbp], edx
	mov	DWORD PTR 4[rbp], eax
	jmp	.L6
.L31:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	respip_data_answer, .-respip_data_answer
	.comm	respip_redirect,4,4
	.comm	VERB_ALGO,4,4
	.comm	PACKED_RRSET_FIXEDTTL,4,4
	.comm	LDNS_RR_TYPE_ANY,8,8
	.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_respip.c_respip_data_answer.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"null\000"
	.align	2
.LC1:
	.ascii	"response-ip redirect with tag data [%d] %s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	respip_data_answer, %function
respip_data_answer:
	@ args = 36, pretend = 0, frame = 88
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, r1
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r1, #0
	mov	r5, r0
	mov	r6, r3
	ldr	r3, .L32
	sub	sp, sp, #92
	ldr	r0, .L32+4
	ldr	r3, [r3]
	str	r3, [sp, #84]
	mov	r3,#0
	ldr	r3, [sp, #140]
	ldr	r0, [r0]
	ldr	r9, [sp, #156]
	str	r3, [sp]
	ldr	r3, [sp, #148]
	cmp	r0, ip
	ldr	r4, [r5]
	mov	r7, r2
	ldr	r8, [sp, #128]
	ldr	fp, [sp, #132]
	ldr	r10, [sp, #160]
	str	r1, [r9]
	str	r3, [sp, #4]
	beq	.L29
.L2:
	cmp	r4, #0
	moveq	r0, r4
	beq	.L1
.L14:
	ldr	r3, [r5]
	cmp	r3, r4
	beq	.L30
.L6:
	ldr	r3, .L32+8
	mov	r1, r10
	ldr	r3, [r3]
	mov	r0, r6
	cmp	r3, r7
	moveq	r8, #0
	moveq	r2, #1
	mov	r3, r8
	addne	r2, r8, #1
	bl	make_new_reply_info
	subs	r3, r0, #0
	beq	.L9
	ldr	r1, .L32+12
	ldr	r2, [r4]
	ldr	r0, [r1]
	ldr	r1, [r3]
	orr	r2, r2, r0
	mov	r0, #1
	str	r2, [r4]
	str	r4, [r1, r8, lsl #2]
	str	r4, [r9]
	str	r3, [fp]
.L1:
	ldr	r3, .L32
	ldr	r2, [r3]
	ldr	r3, [sp, #84]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L31
	add	sp, sp, #92
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L29:
	ldr	r3, [sp, #136]
	ldr	r2, [sp, #144]
	cmn	r3, #1
	cmpne	r3, r2
	bcs	.L2
	ldr	r3, [sp]
	ldr	r2, [sp, #136]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, r1
	beq	.L2
	mov	r2, #36
	add	r0, sp, #12
	bl	memset
	ldr	r3, [r6]
	ldr	r3, [r3, r8, lsl #2]
	ldr	r0, [r3, #16]
	ldmib	r3, {r2, ip}
	str	ip, [sp, #44]
	str	r2, [sp, #40]
	bl	ntohs
	ldr	r3, [r6]
	str	r0, [sp, #36]
	ldr	r3, [r3, r8, lsl #2]
	ldr	r0, [r3, #12]
	bl	ntohs
	mov	r3, r0
	mov	r1, #0
	mov	r2, #36
	add	r0, sp, #48
	str	r3, [sp, #32]
	bl	memset
	ldr	r1, [sp]
	ldr	ip, [sp, #136]
	mov	r3, r10
	ldr	r1, [r1, ip, lsl #2]
	add	r2, sp, #48
	add	r0, sp, #12
	bl	local_data_find_tag_datas
	cmp	r0, #0
	beq	.L2
	ldr	r2, [sp, #136]
	ldr	r1, [sp, #152]
	ldr	r3, .L32+16
	cmp	r2, r1
	ldr	r0, [r3]
	ldrlt	r3, [sp, #4]
	ldrge	r3, .L32+20
	ldrlt	r3, [r3, r2, lsl #2]
	ldr	r1, .L32+24
	ldr	r2, [sp, #136]
	bl	verbose
	mov	r1, r10
	add	r0, sp, #48
	bl	copy_rrset
	subs	r4, r0, #0
	bne	.L14
.L9:
	mvn	r0, #0
	b	.L1
.L30:
	mov	r0, r4
	mov	r1, r10
	bl	copy_rrset
	subs	r4, r0, #0
	beq	.L9
	ldr	r3, [r6]
	ldr	r3, [r3, r8, lsl #2]
	ldr	r2, [r3, #8]
	ldr	r3, [r3, #4]
	str	r2, [r4, #8]
	str	r3, [r4, #4]
	b	.L6
.L31:
	bl	__stack_chk_fail
.L33:
	.align	2
.L32:
	.word	.LC2
	.word	respip_redirect
	.word	LDNS_RR_TYPE_ANY
	.word	PACKED_RRSET_FIXEDTTL
	.word	VERB_ALGO
	.word	.LC0
	.word	.LC1
	.size	respip_data_answer, .-respip_data_answer
	.comm	respip_redirect,4,4
	.comm	VERB_ALGO,4,4
	.comm	PACKED_RRSET_FIXEDTTL,4,4
	.comm	LDNS_RR_TYPE_ANY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
