	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fstostr                        ## -- Begin function fstostr
	.p2align	4, 0x90
_fstostr:                               ## @fstostr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_LIB_GETBUF
	leaq	-32(%rbp), %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_ntpcal_ntp_to_date
	movq	_LIB_BUFLENGTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	movl	-32(%rbp), %ecx
	movl	-28(%rbp), %r8d
	movl	-24(%rbp), %r9d
	movl	-16(%rbp), %edi
	movl	-20(%rbp), %ebx
	leaq	L_.str.1(%rip), %rdx
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%rdi
	callq	_snprintf
	addq	$16, %rsp
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str(%rip), %rdx
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_snprintf
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LIB_BUFLENGTH,4,2              ## @LIB_BUFLENGTH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ntpcal_ntp_to_date: %ld: range error"

L_.str.1:                               ## @.str.1
	.asciz	"%04d%02d%02d%02d%02d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fstostr                        ; -- Begin function fstostr
	.p2align	2
_fstostr:                               ; @fstostr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x0
	bl	_LIB_GETBUF
	add	x0, sp, #40
	mov	x1, x19
	mov	x2, #0
	bl	_ntpcal_ntp_to_date
Lloh0:
	adrp	x8, _LIB_BUFLENGTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LIB_BUFLENGTH@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	tbnz	x0, #63, LBB0_2
; %bb.1:
	ldp	w3, w8, [sp, #40]
	ldp	w11, w9, [sp, #52]
	ldr	w10, [sp, #48]
	stp	x9, x11, [sp, #16]
	stp	x8, x10, [sp]
Lloh3:
	adrp	x2, l_.str.1@PAGE
Lloh4:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x19
LBB0_3:
	bl	_snprintf
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_LIB_BUFLENGTH,4,2              ; @LIB_BUFLENGTH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ntpcal_ntp_to_date: %ld: range error"

l_.str.1:                               ; @.str.1
	.asciz	"%04d%02d%02d%02d%02d"

.subsections_via_symbols
