	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ctl_putfs
_ctl_putfs:                             ## @ctl_putfs
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_JAN_1970@GOTPCREL(%rip), %rax
	subq	(%rax), %rsi
	movq	%rsi, -56(%rbp)
	leaq	-56(%rbp), %rdi
	callq	_gmtime
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	$1900, %ecx                     ## imm = 0x76C
	addl	(%rax), %ecx
	movl	4(%rax), %r8d
	movl	8(%rax), %r9d
	incl	%r8d
	movl	16(%rax), %ebx
	movl	12(%rax), %eax
	leaq	L_.str(%rip), %rdx
	leaq	-48(%rbp), %r14
	movq	%r14, %rdi
	movl	$16, %esi
	pushq	%rax
	pushq	%rbx
	callq	_snprintf
	addq	$16, %rsp
	movl	%eax, %ebx
	xorl	%edi, %edi
	cmpl	$16, %eax
	setb	%dil
	callq	_INSIST
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_ctl_putunqstr
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_JAN_1970,8,3                   ## @JAN_1970
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%04d%02d%02d%02d%02d"

	.no_dead_strip	_ctl_putfs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ctl_putfs
_ctl_putfs:                             ; @ctl_putfs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x8, _JAN_1970@GOTPAGE
Lloh4:
	ldr	x8, [x8, _JAN_1970@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	sub	x8, x1, x8
	str	x8, [sp]
	mov	x0, sp
	bl	_gmtime
	cbz	x0, LBB0_2
; %bb.1:
	ldp	w8, w9, [x0]
	add	w3, w8, #1900
	add	w4, w9, #1
	ldp	w7, w6, [x0, #12]
	ldr	w5, [x0, #8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	w1, #16
	bl	_snprintf
	mov	x20, x0
	cmp	w0, #16
	cset	w0, lo
	bl	_INSIST
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, x20
	bl	_ctl_putunqstr
LBB0_2:
	ldr	x8, [sp, #24]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_JAN_1970,8,3                   ; @JAN_1970
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%04d%02d%02d%02d%02d"

	.no_dead_strip	_ctl_putfs
.subsections_via_symbols
