	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_unsigned_root
_write_unsigned_root:                   ## @write_unsigned_root
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	xorl	%edi, %edi
	callq	_time
	movl	%eax, -28(%rbp)
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %rbx
	leaq	-28(%rbp), %rdi
	callq	_ctime
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movq	%rax, %rdx
	callq	_fprintf
	testq	%rax, %rax
	jns	LBB0_8
## %bb.4:
	movq	_verb@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	je	LBB0_8
## %bb.5:
	leaq	L_.str.3(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_printf
	cmpq	$0, (%r15)
	je	LBB0_8
## %bb.6:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	callq	_strerror
	leaq	L_.str.4(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_printf
LBB0_8:
	movq	%rbx, %rdi
	callq	_fflush
	movq	%rbx, %rdi
	callq	__fileno
	movl	%eax, %edi
	callq	__get_osfhandle
	movl	%eax, %edi
	callq	_FlushFileBuffers
	movq	%rbx, %rdi
	callq	_fclose
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_verb@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.2:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_strerror
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_printf                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"w"

	.comm	_verb,8,3                       ## @verb
L_.str.1:                               ## @.str.1
	.asciz	"%s: %s\n"

	.comm	_errno,8,3                      ## @errno
L_.str.2:                               ## @.str.2
	.asciz	"; autotrust trust anchor file\n;;REVOKED\n;;id: . 1\n; This file was written by unbound-anchor on %s; It indicates that the root does not use DNSSEC\n; to restart DNSSEC overwrite this file with a\n; valid trustanchor or (empty-it and run unbound-anchor)\n"

L_.str.3:                               ## @.str.3
	.asciz	"failed to write 'unsigned' to %s\n"

L_.str.4:                               ## @.str.4
	.asciz	"%s\n"

	.no_dead_strip	_write_unsigned_root
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_unsigned_root
_write_unsigned_root:                   ; @write_unsigned_root
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x0
	mov	x0, #0
	bl	_time
	str	w0, [sp, #12]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_fopen
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x0
	add	x0, sp, #12
	bl	_ctime
	mov	x2, x0
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_fprintf
	tbz	x0, #63, LBB0_5
; %bb.2:
Lloh4:
	adrp	x21, _verb@GOTPAGE
Lloh5:
	ldr	x21, [x21, _verb@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_5
; %bb.3:
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x20
	bl	_printf
	ldr	x8, [x21]
Lloh8:
	adrp	x9, _errno@GOTPAGE
Lloh9:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh10:
	ldr	x0, [x9]
	cmp	x8, #0
	ccmp	x0, #0, #4, ne
	b.eq	LBB0_5
; %bb.4:
	bl	_strerror
	mov	x1, x0
Lloh11:
	adrp	x0, l_.str.4@PAGE
Lloh12:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
LBB0_5:
	mov	x0, x19
	bl	_fflush
	mov	x0, x19
	bl	__fileno
	bl	__get_osfhandle
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_FlushFileBuffers
	mov	x0, x19
	bl	_fclose
	b	LBB0_8
LBB0_6:
Lloh13:
	adrp	x8, _verb@GOTPAGE
Lloh14:
	ldr	x8, [x8, _verb@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.7:
Lloh16:
	adrp	x8, _errno@GOTPAGE
Lloh17:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh18:
	ldr	x0, [x8]
	bl	_strerror
	str	x0, [sp]
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_printf
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"w"

	.comm	_verb,8,3                       ; @verb
l_.str.1:                               ; @.str.1
	.asciz	"%s: %s\n"

	.comm	_errno,8,3                      ; @errno
l_.str.2:                               ; @.str.2
	.asciz	"; autotrust trust anchor file\n;;REVOKED\n;;id: . 1\n; This file was written by unbound-anchor on %s; It indicates that the root does not use DNSSEC\n; to restart DNSSEC overwrite this file with a\n; valid trustanchor or (empty-it and run unbound-anchor)\n"

l_.str.3:                               ; @.str.3
	.asciz	"failed to write 'unsigned' to %s\n"

l_.str.4:                               ; @.str.4
	.asciz	"%s\n"

	.no_dead_strip	_write_unsigned_root
.subsections_via_symbols
