	.file	"extr_validator.c_prime_trust_anchor.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"keytag signaling query failed"
.LC1:
	.string	"Could not prime trust anchor"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"Could not prime trust anchor: out of memory"
	.text
	.p2align 4
	.type	prime_trust_anchor, @function
prime_trust_anchor:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rsi
	mov	esi, r14d
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rcx
	sub	rsp, 24
	.cfi_def_cfa_offset 72
	mov	ecx, DWORD PTR 4[rcx]
	mov	edx, DWORD PTR 8[rbx]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 16[rsp], rax
	xor	eax, eax
	mov	r9d, DWORD PTR 12[rbx]
	mov	r8d, DWORD PTR LDNS_RR_TYPE_DNSKEY[rip]
	mov	QWORD PTR 8[rsp], 0
	push	0
	.cfi_def_cfa_offset 80
	lea	rax, 16[rsp]
	push	rax
	.cfi_def_cfa_offset 88
	mov	eax, DWORD PTR BIT_CD[rip]
	push	rax
	.cfi_def_cfa_offset 96
	call	generate_request@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 64
	cmp	QWORD PTR [rsp], 0
	mov	r12d, eax
	je	.L2
	mov	rax, QWORD PTR 8[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR [rax], 0
	jne	.L9
.L2:
	test	r12d, r12d
	je	.L10
	mov	edx, DWORD PTR 4[rbx]
	mov	esi, DWORD PTR 8[rbx]
	mov	DWORD PTR 0[r13], 1
	mov	edi, DWORD PTR 0[rbp]
	call	regional_alloc_init@PLT
	mov	DWORD PTR 4[r13], eax
	mov	r12d, eax
	mov	eax, DWORD PTR 4[rbx]
	mov	DWORD PTR 12[r13], eax
	mov	eax, DWORD PTR [rbx]
	mov	DWORD PTR 8[r13], eax
	test	r12d, r12d
	je	.L11
	mov	r12d, 1
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L12
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rdx, rbx
	mov	esi, r14d
	mov	rdi, rbp
	call	generate_keytag_query@PLT
	test	eax, eax
	jne	.L2
	mov	edi, DWORD PTR VERB_ALGO[rip]
	lea	rsi, .LC0[rip]
	xor	r12d, r12d
	call	verbose@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	mov	edi, DWORD PTR VERB_ALGO[rip]
	lea	rsi, .LC1[rip]
	call	verbose@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	lea	rdi, .LC2[rip]
	call	log_err@PLT
	jmp	.L1
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	prime_trust_anchor, .-prime_trust_anchor
	.comm	VERB_ALGO,4,4
	.comm	LDNS_RR_TYPE_DNSKEY,4,4
	.comm	BIT_CD,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_validator.c_prime_trust_anchor.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"keytag signaling query failed\000"
	.align	2
.LC1:
	.ascii	"Could not prime trust anchor\000"
	.align	2
.LC2:
	.ascii	"Could not prime trust anchor: out of memory\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	prime_trust_anchor, %function
prime_trust_anchor:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r3
	mov	ip, #0
	mov	r8, r2
	ldr	r2, .L19
	ldr	r3, [r3, #12]
	mov	r6, r1
	ldr	r1, .L19+4
	sub	sp, sp, #32
	ldr	lr, [r2]
	ldr	r5, [r1]
	str	r3, [sp, #4]
	ldr	r3, [r4, #4]
	ldr	r2, [r4, #8]
	str	lr, [sp]
	add	lr, sp, #24
	str	lr, [sp, #12]
	ldr	lr, .L19+8
	str	r5, [sp, #8]
	str	ip, [sp, #16]
	mov	r1, r8
	ldr	lr, [lr]
	str	lr, [sp, #28]
	mov	lr,#0
	mov	r7, r0
	str	ip, [sp, #24]
	bl	generate_request
	ldr	r3, [sp, #24]
	mov	r5, r0
	cmp	r3, #0
	beq	.L2
	ldr	r3, [r7, #4]
	ldr	r3, [r3]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L15
.L2:
	cmp	r5, #0
	beq	.L16
	mov	r8, #1
	ldr	r0, [r7]
	ldr	r2, [r4, #4]
	ldr	r1, [r4, #8]
	str	r8, [r6]
	bl	regional_alloc_init
	ldr	r2, [r4, #4]
	ldr	r3, [r4]
	cmp	r0, #0
	mov	r5, r0
	str	r0, [r6, #4]
	movne	r5, r8
	str	r2, [r6, #12]
	str	r3, [r6, #8]
	beq	.L17
.L1:
	ldr	r3, .L19+8
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L18
	mov	r0, r5
	add	sp, sp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L15:
	mov	r1, r8
	mov	r2, r4
	mov	r0, r7
	bl	generate_keytag_query
	subs	r3, r0, #0
	bne	.L2
	ldr	r2, .L19+12
	ldr	r1, .L19+16
	ldr	r0, [r2]
	mov	r5, r3
	bl	verbose
	b	.L1
.L16:
	ldr	r3, .L19+12
	ldr	r1, .L19+20
	ldr	r0, [r3]
	bl	verbose
	b	.L1
.L17:
	ldr	r0, .L19+24
	bl	log_err
	b	.L1
.L18:
	bl	__stack_chk_fail
.L20:
	.align	2
.L19:
	.word	LDNS_RR_TYPE_DNSKEY
	.word	BIT_CD
	.word	.LC3
	.word	VERB_ALGO
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	prime_trust_anchor, .-prime_trust_anchor
	.comm	VERB_ALGO,4,4
	.comm	LDNS_RR_TYPE_DNSKEY,4,4
	.comm	BIT_CD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
