	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_anchor_store_str               ## -- Begin function anchor_store_str
	.p2align	4, 0x90
_anchor_store_str:                      ## @anchor_store_str
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_sldns_buffer_begin
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_sldns_buffer_capacity
	movq	%rax, -48(%rbp)
	movq	$0, -40(%rbp)
	subq	$8, %rsp
	leaq	-48(%rbp), %rdx
	leaq	-40(%rbp), %rcx
	movq	%r15, %rdi
	movq	%r12, %rsi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	pushq	$0
	callq	_sldns_str2wire_rr_buf
	addq	$32, %rsp
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_LDNS_WIREPARSE_OFFSET
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_sldns_get_errorstr_parse
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	movq	%r15, %rsi
	movl	%r14d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_log_err
	jmp	LBB0_4
LBB0_2:
	movq	-48(%rbp), %rdx
	movq	-40(%rbp), %rcx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_anchor_store_new_rr
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_log_err
LBB0_4:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error parsing trust anchor %s: at %d: %s"

L_.str.1:                               ## @.str.1
	.asciz	"out of memory"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_anchor_store_str               ; -- Begin function anchor_store_str
	.p2align	2
_anchor_store_str:                      ; @anchor_store_str
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
	mov	x0, x1
	bl	_sldns_buffer_begin
	mov	x21, x0
	mov	x0, x22
	bl	_sldns_buffer_capacity
	stp	xzr, x0, [sp, #32]
	str	wzr, [sp]
	add	x2, sp, #40
	add	x3, sp, #32
	mov	x0, x19
	mov	x1, x21
	mov	w4, #0
	mov	x5, #0
	mov	w6, #0
	mov	x7, #0
	bl	_sldns_str2wire_rr_buf
	cbz	w0, LBB0_3
; %bb.1:
	mov	x22, x0
	bl	_LDNS_WIREPARSE_OFFSET
	mov	x20, x0
	mov	x0, x22
	bl	_sldns_get_errorstr_parse
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x20, x0, [sp, #8]
	str	x19, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
LBB0_2:
	bl	_log_err
	mov	x0, #0
	b	LBB0_4
LBB0_3:
	ldp	x3, x2, [sp, #32]
	mov	x0, x20
	mov	x1, x21
	bl	_anchor_store_new_rr
	cbz	x0, LBB0_5
LBB0_4:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_5:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_2
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error parsing trust anchor %s: at %d: %s"

l_.str.1:                               ; @.str.1
	.asciz	"out of memory"

.subsections_via_symbols
