	.file	"extr_val_anchor.c_anchor_store_str.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"error parsing trust anchor %s: at %d: %s"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"out of memory"
	.text
	.p2align 4
	.globl	anchor_store_str
	.type	anchor_store_str, @function
anchor_store_str:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdi
	mov	rdi, rsi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	sldns_buffer_begin@PLT
	mov	rdi, rbp
	mov	r12, rax
	call	sldns_buffer_capacity@PLT
	lea	rcx, 16[rsp]
	xor	r9d, r9d
	xor	r8d, r8d
	mov	QWORD PTR 8[rsp], rax
	lea	rdx, 8[rsp]
	mov	rsi, r12
	mov	rdi, r13
	mov	QWORD PTR 16[rsp], 0
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	push	0
	.cfi_def_cfa_offset 96
	push	0
	.cfi_def_cfa_offset 104
	push	0
	.cfi_def_cfa_offset 112
	call	sldns_str2wire_rr_buf@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 80
	test	eax, eax
	jne	.L7
	mov	rcx, QWORD PTR 16[rsp]
	mov	rdx, QWORD PTR 8[rsp]
	mov	rsi, r12
	mov	rdi, r14
	call	anchor_store_new_rr@PLT
	mov	r12, rax
	test	rax, rax
	je	.L8
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L9
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	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
.L7:
	.cfi_restore_state
	mov	ebp, eax
	mov	edi, eax
	call	sldns_get_errorstr_parse@PLT
	mov	edi, ebp
	mov	r12d, eax
	call	LDNS_WIREPARSE_OFFSET@PLT
	mov	ecx, r12d
	mov	rsi, r13
	lea	rdi, .LC0[rip]
	mov	edx, eax
	xor	eax, eax
	xor	r12d, r12d
	call	log_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	log_err@PLT
	jmp	.L1
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	anchor_store_str, .-anchor_store_str
	.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_anchor.c_anchor_store_str.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"error parsing trust anchor %s: at %d: %s\000"
	.align	2
.LC1:
	.ascii	"out of memory\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	anchor_store_str
	.syntax unified
	.arm
	.fpu softvfp
	.type	anchor_store_str, %function
anchor_store_str:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L10
	sub	sp, sp, #40
	mov	r8, r0
	mov	r0, r1
	mov	r5, r1
	mov	r6, r2
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	bl	sldns_buffer_begin
	mov	r1, r0
	mov	r0, r5
	mov	r5, r1
	bl	sldns_buffer_capacity
	mov	r4, #0
	mov	ip, r0
	mov	r1, r5
	mov	r0, r6
	str	r4, [sp, #16]
	str	r4, [sp, #12]
	str	r4, [sp, #8]
	str	r4, [sp, #4]
	str	r4, [sp]
	add	r3, sp, #32
	add	r2, sp, #28
	str	ip, [sp, #28]
	str	r4, [sp, #32]
	bl	sldns_str2wire_rr_buf
	subs	r7, r0, #0
	bne	.L7
	mov	r1, r5
	mov	r0, r8
	ldr	r3, [sp, #32]
	ldr	r2, [sp, #28]
	bl	anchor_store_new_rr
	subs	r4, r0, #0
	beq	.L8
.L1:
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	mov	r0, r4
	add	sp, sp, #40
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	bl	LDNS_WIREPARSE_OFFSET
	mov	r5, r0
	mov	r0, r7
	bl	sldns_get_errorstr_parse
	mov	r2, r5
	mov	r3, r0
	mov	r1, r6
	ldr	r0, .L10+4
	bl	log_err
	b	.L1
.L8:
	ldr	r0, .L10+8
	bl	log_err
	b	.L1
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	anchor_store_str, .-anchor_store_str
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
