	.file	"extr_msgparse.c_change_rrsig_rrset.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	change_rrsig_rrset, @function
change_rrsig_rrset:
.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	rdx, r13
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, r8d
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	ecx, DWORD PTR 72[rdi]
	mov	esi, DWORD PTR 80[rdi]
	mov	rdi, r14
	mov	DWORD PTR 12[rsp], r9d
	call	pkt_hash_rrset@PLT
	xor	edi, edi
	mov	r15d, eax
	mov	rax, QWORD PTR LDNS_RR_TYPE_RRSIG[rip]
	cmp	QWORD PTR [r12], rax
	sete	dil
	call	log_assert@PLT
	xor	edi, edi
	cmp	QWORD PTR LDNS_RR_TYPE_RRSIG[rip], r13
	setne	dil
	call	log_assert@PLT
	mov	r9d, DWORD PTR 12[rsp]
	test	r9d, r9d
	je	.L2
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	mov	edx, DWORD PTR 76[r12]
	mov	rcx, r13
	mov	r9d, r15d
	push	QWORD PTR 96[rsp]
	.cfi_def_cfa_offset 96
	mov	eax, DWORD PTR 96[rsp]
	mov	rdi, rbp
	mov	esi, DWORD PTR 80[r12]
	push	rax
	.cfi_def_cfa_offset 104
	mov	r8d, DWORD PTR 72[r12]
	push	rbx
	.cfi_def_cfa_offset 112
	call	new_rrset@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 80
	mov	r13, rax
	test	rax, rax
	je	.L11
	cmp	DWORD PTR 80[rsp], 129
	je	.L5
	cmp	DWORD PTR 80[rsp], 130
	je	.L6
	cmp	DWORD PTR 80[rsp], 128
	je	.L21
	xor	edi, edi
	call	log_assert@PLT
.L9:
	mov	rax, QWORD PTR 0[rbp]
	cmp	rax, QWORD PTR LDNS_RR_TYPE_RRSIG[rip]
	mov	r8d, 1
	je	.L10
	cmp	QWORD PTR LDNS_RR_TYPE_ANY[rip], rax
	sete	al
	xor	r8d, r8d
	cmp	DWORD PTR 80[rsp], 129
	setne	r8b
	and	r8d, eax
.L10:
	mov	rsi, QWORD PTR 88[rsp]
	mov	rcx, r13
	mov	rdx, r12
	mov	rdi, r14
	call	moveover_rrsigs@PLT
	test	eax, eax
	je	.L11
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r13
	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	rsi, r12
	mov	rdi, rbp
	call	msgparse_bucket_remove@PLT
	mov	rdx, QWORD PTR 8[rbp]
	mov	rsi, r12
	mov	rdi, rbp
	mov	eax, DWORD PTR PARSE_TABLE_SIZE[rip]
	sub	eax, 1
	and	eax, r15d
	cdqe
	lea	rax, [rdx+rax*8]
	mov	rdx, QWORD PTR [rax]
	mov	QWORD PTR 64[r12], rdx
	mov	edx, DWORD PTR 80[rsp]
	mov	QWORD PTR [rax], r12
	mov	DWORD PTR 8[r12], r15d
	call	change_section@PLT
	mov	rax, QWORD PTR 48[r12]
	add	DWORD PTR 56[r12], eax
	mov	rax, QWORD PTR 32[r12]
	mov	QWORD PTR [r12], r13
	mov	DWORD PTR 60[r12], ebx
	mov	QWORD PTR 48[r12], 0
	test	rax, rax
	je	.L12
	mov	rdx, QWORD PTR 24[r12]
	mov	QWORD PTR [rax], rdx
.L13:
	mov	rax, QWORD PTR 16[r12]
	mov	r13, r12
	mov	QWORD PTR 24[r12], 0
	mov	QWORD PTR 16[r12], 0
	mov	QWORD PTR 32[r12], rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rax, QWORD PTR 24[r12]
	mov	QWORD PTR 40[r12], rax
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L11:
	xor	r13d, r13d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	add	DWORD PTR 24[rbp], 1
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L21:
	add	DWORD PTR 20[rbp], 1
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L6:
	add	DWORD PTR 16[rbp], 1
	jmp	.L9
	.cfi_endproc
.LFE0:
	.size	change_rrsig_rrset, .-change_rrsig_rrset
	.comm	PARSE_TABLE_SIZE,4,4
	.comm	LDNS_RR_TYPE_RRSIG,8,8
	.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_msgparse.c_change_rrsig_rrset.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	change_rrsig_rrset, %function
change_rrsig_rrset:
	@ args = 16, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r3
	mov	r8, r2
	sub	sp, sp, #28
	ldr	fp, [sp, #64]
	mov	r4, r0
	ldr	r3, [r0, #40]
	mov	r2, r6
	mov	r5, r1
	ldr	r1, [r0, #48]
	mov	r0, r8
	str	fp, [sp]
	ldr	r9, [sp, #72]
	bl	pkt_hash_rrset
	ldr	r10, .L22
	ldr	r2, [r4]
	ldr	r3, [r10]
	mov	r7, r0
	sub	r0, r2, r3
	clz	r0, r0
	lsr	r0, r0, #5
	bl	log_assert
	ldr	r0, [r10]
	subs	r0, r0, r6
	movne	r0, #1
	bl	log_assert
	ldr	r3, [sp, #68]
	cmp	r3, #0
	beq	.L2
	ldr	r2, [r4, #40]
	ldr	r3, [sp, #76]
	stmib	sp, {r7, fp}
	str	r3, [sp, #16]
	str	r9, [sp, #12]
	str	r2, [sp]
	mov	r3, r6
	mov	r0, r5
	ldr	r2, [r4, #44]
	ldr	r1, [r4, #48]
	bl	new_rrset
	subs	r6, r0, #0
	beq	.L11
	cmp	r9, #129
	beq	.L5
	cmp	r9, #130
	beq	.L6
	cmp	r9, #128
	beq	.L21
	mov	r0, #0
	bl	log_assert
.L9:
	ldr	r3, [r10]
	ldr	r2, [r5]
	cmp	r2, r3
	moveq	r3, #1
	beq	.L10
	ldr	r3, .L22+4
	cmp	r9, #129
	ldr	r3, [r3]
	sub	r3, r3, r2
	clz	r3, r3
	lsr	r3, r3, #5
	moveq	r3, #0
.L10:
	str	r3, [sp]
	mov	r2, r4
	mov	r0, r8
	mov	r3, r6
	ldr	r1, [sp, #76]
	bl	moveover_rrsigs
	cmp	r0, #0
	bne	.L1
.L11:
	mov	r6, #0
	mov	r0, r6
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	mov	r1, r4
	mov	r0, r5
	bl	msgparse_bucket_remove
	ldr	r3, .L22+8
	ldr	ip, [r5, #4]
	ldr	r3, [r3]
	mov	r2, r9
	sub	r3, r3, #1
	and	r3, r3, r7
	ldr	r1, [ip, r3, lsl #2]
	mov	r0, r5
	str	r1, [r4, #36]
	str	r4, [ip, r3, lsl #2]
	mov	r1, r4
	str	r7, [r4, #4]
	bl	change_section
	ldr	r3, [r4, #28]
	ldr	r1, [r4, #24]
	ldr	r2, [r4, #16]
	add	r3, r3, r1
	str	r3, [r4, #28]
	ldr	r3, [sp, #68]
	cmp	r2, #0
	str	r3, [r4, #24]
	ldr	r3, [r4, #12]
	str	r6, [r4]
	str	fp, [r4, #32]
	streq	r3, [r4, #20]
	strne	r3, [r2]
	mov	r3, #0
	mov	r6, r4
	ldr	r2, [r4, #8]
	str	r3, [r4, #12]
	str	r3, [r4, #8]
	str	r2, [r4, #16]
.L1:
	mov	r0, r6
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L21:
	ldr	r3, [r5, #12]
	add	r3, r3, #1
	str	r3, [r5, #12]
	b	.L9
.L6:
	ldr	r3, [r5, #8]
	add	r3, r3, #1
	str	r3, [r5, #8]
	b	.L9
.L5:
	ldr	r3, [r5, #16]
	add	r3, r3, #1
	str	r3, [r5, #16]
	b	.L9
.L23:
	.align	2
.L22:
	.word	LDNS_RR_TYPE_RRSIG
	.word	LDNS_RR_TYPE_ANY
	.word	PARSE_TABLE_SIZE
	.size	change_rrsig_rrset, .-change_rrsig_rrset
	.comm	PARSE_TABLE_SIZE,4,4
	.comm	LDNS_RR_TYPE_RRSIG,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
