	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function validate_old_timelog
_validate_old_timelog:                  ## @validate_old_timelog
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movl	%edi, %r12d
	movq	%rdx, %rdi
	callq	_strlen
	movq	%rax, %r15
	movq	(%r13), %rax
	movq	_DT_REG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
LBB0_4:
	movq	8(%r13), %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_strncmp
	xorl	%r14d, %r14d
	testq	%rax, %rax
	jne	LBB0_21
## %bb.5:
	cmpq	%r15, 16(%r13)
	je	LBB0_21
## %bb.6:
	movq	8(%r13), %rsi
	cmpb	$46, (%rsi,%r15)
	jne	LBB0_7
## %bb.9:
	xorl	%r14d, %r14d
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	8(%r13), %rax
	leaq	(%r15,%rax), %rdi
	incq	%rdi
	movq	_timefnamefmt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	callq	_strptime
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	movq	%rax, %r15
	movq	_COMPRESS_TYPES@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_17
## %bb.11:
	xorl	%ebx, %ebx
	movq	_compress_type@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_15 Depth=1
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_15
LBB0_17:
	movq	_verbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_18
## %bb.19:
	movq	8(%r13), %rsi
	jmp	LBB0_20
LBB0_1:
	movq	_DT_UNKNOWN@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	cmpq	(%rcx), %rax
	jne	LBB0_21
## %bb.2:
	movq	8(%r13), %rsi
	movq	_AT_SYMLINK_NOFOLLOW@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-48(%rbp), %rdx
	movl	%r12d, %edi
	callq	_fstatat
	testq	%rax, %rax
	jne	LBB0_21
## %bb.3:
	movl	-48(%rbp), %edi
	callq	_S_ISREG
	testl	%eax, %eax
	jne	LBB0_4
	jmp	LBB0_21
LBB0_7:
	movq	_verbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_21
## %bb.8:
	addq	%rsi, %r15
LBB0_20:
	leaq	L_.str(%rip), %rdi
	xorl	%r14d, %r14d
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_21
LBB0_12:
	movq	_verbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_21
## %bb.13:
	movq	8(%r13), %rsi
	leaq	L_.str.1(%rip), %rdi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_21
LBB0_16:
	movl	$1, %r14d
	jmp	LBB0_21
LBB0_18:
	xorl	%r14d, %r14d
LBB0_21:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DT_REG,8,3                     ## @DT_REG
	.comm	_DT_UNKNOWN,8,3                 ## @DT_UNKNOWN
	.comm	_AT_SYMLINK_NOFOLLOW,4,2        ## @AT_SYMLINK_NOFOLLOW
	.comm	_verbose,8,3                    ## @verbose
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Ignoring %s which has unexpected extension '%s'\n"

	.comm	_timefnamefmt,4,2               ## @timefnamefmt
L_.str.1:                               ## @.str.1
	.asciz	"Ignoring %s which does not match time format\n"

	.comm	_COMPRESS_TYPES,4,2             ## @COMPRESS_TYPES
	.comm	_compress_type,8,3              ## @compress_type
	.no_dead_strip	_validate_old_timelog
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function validate_old_timelog
_validate_old_timelog:                  ; @validate_old_timelog
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x3
	mov	x22, x2
	mov	x19, x1
	mov	x23, x0
	mov	x0, x2
	bl	_strlen
	mov	x21, x0
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _DT_REG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DT_REG@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
LBB0_1:
	ldr	x0, [x19, #8]
	mov	x1, x22
	mov	x2, x21
	bl	_strncmp
	cbnz	x0, LBB0_20
; %bb.2:
	ldr	x8, [x19, #16]
	cmp	x8, x21
	b.eq	LBB0_20
; %bb.3:
	ldr	x1, [x19, #8]
	add	x8, x1, x21
	ldrb	w9, [x8]
	cmp	w9, #46
	b.ne	LBB0_14
; %bb.4:
	mov	x0, x20
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	x8, [x19, #8]
	add	x8, x21, x8
	add	x0, x8, #1
Lloh3:
	adrp	x8, _timefnamefmt@GOTPAGE
Lloh4:
	ldr	x8, [x8, _timefnamefmt@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_strptime
	cbz	x0, LBB0_17
; %bb.5:
	mov	x20, x0
Lloh6:
	adrp	x21, _COMPRESS_TYPES@GOTPAGE
Lloh7:
	ldr	x21, [x21, _COMPRESS_TYPES@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.6:
	mov	x22, #0
Lloh8:
	adrp	x23, _compress_type@GOTPAGE
Lloh9:
	ldr	x23, [x23, _compress_type@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	w1, [x8, x22, lsl #2]
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_22
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.lt	LBB0_7
LBB0_9:
Lloh10:
	adrp	x8, _verbose@GOTPAGE
Lloh11:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cbz	x8, LBB0_20
; %bb.10:
	ldr	x1, [x19, #8]
	str	x20, [sp]
	b	LBB0_16
LBB0_11:
Lloh13:
	adrp	x9, _DT_UNKNOWN@GOTPAGE
Lloh14:
	ldr	x9, [x9, _DT_UNKNOWN@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.12:
	ldr	x1, [x19, #8]
Lloh16:
	adrp	x8, _AT_SYMLINK_NOFOLLOW@GOTPAGE
Lloh17:
	ldr	x8, [x8, _AT_SYMLINK_NOFOLLOW@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	add	x2, sp, #8
	mov	x0, x23
	bl	_fstatat
	cbnz	x0, LBB0_20
; %bb.13:
	ldr	w0, [sp, #8]
	bl	_S_ISREG
	cbnz	w0, LBB0_1
	b	LBB0_21
LBB0_14:
Lloh19:
	adrp	x9, _verbose@GOTPAGE
Lloh20:
	ldr	x9, [x9, _verbose@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cbz	x9, LBB0_20
; %bb.15:
	str	x8, [sp]
LBB0_16:
Lloh22:
	adrp	x0, l_.str@PAGE
Lloh23:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_19
LBB0_17:
Lloh24:
	adrp	x8, _verbose@GOTPAGE
Lloh25:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	cbz	x8, LBB0_20
; %bb.18:
	ldr	x1, [x19, #8]
Lloh27:
	adrp	x0, l_.str.1@PAGE
Lloh28:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_19:
	bl	_printf
LBB0_20:
	mov	w0, #0
LBB0_21:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_22:
	mov	w0, #1
	b	LBB0_21
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_DT_REG,8,3                     ; @DT_REG
	.comm	_DT_UNKNOWN,8,3                 ; @DT_UNKNOWN
	.comm	_AT_SYMLINK_NOFOLLOW,4,2        ; @AT_SYMLINK_NOFOLLOW
	.comm	_verbose,8,3                    ; @verbose
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Ignoring %s which has unexpected extension '%s'\n"

	.comm	_timefnamefmt,4,2               ; @timefnamefmt
l_.str.1:                               ; @.str.1
	.asciz	"Ignoring %s which does not match time format\n"

	.comm	_COMPRESS_TYPES,4,2             ; @COMPRESS_TYPES
	.comm	_compress_type,8,3              ; @compress_type
	.no_dead_strip	_validate_old_timelog
.subsections_via_symbols
