	.file	"extr_val_utils.c_val_rrset_wildcard.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	val_rrset_wildcard
	.type	val_rrset_wildcard, @function
val_rrset_wildcard:
.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
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rbp, QWORD PTR 16[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	cmp	QWORD PTR 0[rbp], 0
	jne	.L2
.L15:
	mov	eax, 1
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L17
	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	r14, rsi
	mov	rsi, QWORD PTR 8[rbp]
	mov	r13, rdi
	mov	rdi, rbp
	mov	r15, rdx
	call	rrsig_get_labcount@PLT
	cmp	QWORD PTR 0[rbp], 1
	mov	r12, rax
	jbe	.L4
	mov	ebx, 1
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L18:
	add	rbx, 1
	cmp	QWORD PTR 0[rbp], rbx
	jbe	.L4
.L5:
	mov	rsi, QWORD PTR 8[rbp]
	mov	rdi, rbp
	add	rsi, rbx
	call	rrsig_get_labcount@PLT
	cmp	rax, r12
	je	.L18
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rbx, QWORD PTR 8[r13]
	mov	rax, QWORD PTR 0[r13]
	mov	rdi, rbx
	mov	QWORD PTR [rsp], rax
	call	dname_is_wild@PLT
	test	rax, rax
	je	.L6
	sub	QWORD PTR [rsp], 2
	add	rbx, 16
.L6:
	mov	rdi, rbx
	call	dname_count_labels@PLT
	lea	edx, -1[rax]
	sub	edx, r12d
	test	edx, edx
	jle	.L15
	mov	QWORD PTR [r14], rbx
	mov	rsi, rsp
	mov	rdi, r14
	call	dname_remove_labels@PLT
	mov	rax, QWORD PTR [rsp]
	mov	QWORD PTR [r15], rax
	jmp	.L15
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	val_rrset_wildcard, .-val_rrset_wildcard
	.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_val_utils.c_val_rrset_wildcard.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	val_rrset_wildcard
	.syntax unified
	.arm
	.fpu softvfp
	.type	val_rrset_wildcard, %function
val_rrset_wildcard:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r5, [r0, #8]
	sub	sp, sp, #12
	ldr	r3, [r5]
	cmp	r3, #0
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bne	.L2
.L7:
	mov	r0, #1
.L1:
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L2:
	mov	r7, r0
	mov	r8, r1
	mov	r0, r5
	ldr	r1, [r5, #4]
	mov	r9, r2
	bl	rrsig_get_labcount
	ldr	r3, [r5]
	mov	r6, r0
	cmp	r3, #1
	bls	.L4
	mov	r4, #1
	b	.L5
.L17:
	ldr	r3, [r5]
	add	r4, r4, #1
	cmp	r3, r4
	bls	.L4
.L5:
	ldr	r1, [r5, #4]
	mov	r0, r5
	add	r1, r4, r1
	bl	rrsig_get_labcount
	cmp	r0, r6
	beq	.L17
	mov	r0, #0
	b	.L1
.L4:
	ldm	r7, {r3, r4}
	mov	r0, r4
	str	r3, [sp]
	bl	dname_is_wild
	cmp	r0, #0
	ldrne	r3, [sp]
	addne	r4, r4, #8
	subne	r3, r3, #2
	mov	r0, r4
	strne	r3, [sp]
	bl	dname_count_labels
	sub	r2, r0, #1
	sub	r2, r2, r6
	cmp	r2, #0
	ble	.L7
	mov	r0, r8
	mov	r1, sp
	str	r4, [r8]
	bl	dname_remove_labels
	ldr	r3, [sp]
	mov	r0, #1
	str	r3, [r9]
	b	.L1
.L16:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC0
	.size	val_rrset_wildcard, .-val_rrset_wildcard
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
