	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mtime_old_timelog
_mtime_old_timelog:                     ## @mtime_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_strdup
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_dirname
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_strdup
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_basename
	movq	%rax, %r13
	cmpb	$47, (%rax)
	jne	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
	movq	%r13, %rsi
	callq	_warnx
	movl	$-1, %ebx
	jmp	LBB0_16
LBB0_1:
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	callq	_warn
	movl	$-1, %ebx
	jmp	LBB0_17
LBB0_3:
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	callq	_warn
	movq	%r15, %rdi
	callq	_free
	movl	$-1, %ebx
	jmp	LBB0_17
LBB0_6:
	movq	%rbx, %rdi
	callq	_opendir
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_dirfd
	movl	%eax, %r15d
	movq	%r12, %rbx
	movq	%r12, %rdi
	callq	_readdir
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	%rax, %r12
	movl	$-1, -44(%rbp)                  ## 4-byte Folded Spill
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	leaq	L_.str.3(%rip), %rdi
	movq	%r14, %rsi
	callq	_warn
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%rbx, %rdi
	callq	_readdir
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_15
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %edi
	movq	%r12, %rsi
	movq	%r13, %rdx
	leaq	-72(%rbp), %rcx
	callq	_validate_old_timelog
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	(%r12), %esi
	movq	_AT_SYMLINK_NOFOLLOW@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r15d, %edi
	leaq	-48(%rbp), %rdx
	callq	_fstatat
	cmpl	$-1, %eax
	je	LBB0_13
## %bb.18:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	-48(%rbp), %eax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%eax, %ecx
	cmovlel	%eax, %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_14
LBB0_7:
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	callq	_warn
	movl	$-1, %ebx
	jmp	LBB0_16
LBB0_9:
	movl	$-1, -44(%rbp)                  ## 4-byte Folded Spill
LBB0_15:
	movq	%rbx, %rdi
	callq	_closedir
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
LBB0_16:
	movq	%r15, %rdi
	callq	_free
	movq	%r12, %rdi
	callq	_free
LBB0_17:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"strdup() of '%s'"

L_.str.1:                               ## @.str.1
	.asciz	"Invalid log filename '%s'"

L_.str.2:                               ## @.str.2
	.asciz	"Cannot open log directory '%s'"

	.comm	_AT_SYMLINK_NOFOLLOW,4,2        ## @AT_SYMLINK_NOFOLLOW
L_.str.3:                               ## @.str.3
	.asciz	"Cannot stat '%s'"

	.no_dead_strip	_mtime_old_timelog
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mtime_old_timelog
_mtime_old_timelog:                     ; @mtime_old_timelog
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x0
	bl	_strdup
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	bl	_dirname
	mov	x22, x0
	mov	x0, x21
	bl	_strdup
	cbz	x0, LBB0_5
; %bb.2:
	mov	x20, x0
	bl	_basename
	mov	x23, x0
	ldrb	w8, [x0]
	cmp	w8, #47
	b.ne	LBB0_6
; %bb.3:
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x23
	bl	_warnx
	mov	w22, #-1
	b	LBB0_17
LBB0_4:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_warn
	mov	w22, #-1
	b	LBB0_18
LBB0_5:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_warn
	mov	x0, x19
	bl	_free
	mov	w22, #-1
	b	LBB0_18
LBB0_6:
	mov	x0, x22
	bl	_opendir
	cbz	x0, LBB0_14
; %bb.7:
	mov	x24, x0
	bl	_dirfd
	mov	x25, x0
	mov	x0, x24
	bl	_readdir
	cbz	x0, LBB0_15
; %bb.8:
	mov	x27, x0
	mov	w22, #-1
Lloh6:
	adrp	x28, _AT_SYMLINK_NOFOLLOW@GOTPAGE
Lloh7:
	ldr	x28, [x28, _AT_SYMLINK_NOFOLLOW@GOTPAGEOFF]
Lloh8:
	adrp	x26, l_.str.3@PAGE
Lloh9:
	add	x26, x26, l_.str.3@PAGEOFF
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x26
	mov	x1, x21
	bl	_warn
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x24
	bl	_readdir
	mov	x27, x0
	cbz	x0, LBB0_16
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x3, sp
	mov	x0, x25
	mov	x1, x27
	mov	x2, x23
	bl	_validate_old_timelog
	cbz	x0, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w1, [x27]
	ldr	w3, [x28]
	add	x2, sp, #8
	mov	x0, x25
	bl	_fstatat
	cmn	w0, #1
	b.eq	LBB0_9
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w8, [sp, #8]
	cmp	w22, w8
	csel	w22, w22, w8, gt
	b	LBB0_10
LBB0_14:
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x22
	bl	_warn
	mov	w22, #-1
	b	LBB0_17
LBB0_15:
	mov	w22, #-1
LBB0_16:
	mov	x0, x24
	bl	_closedir
LBB0_17:
	mov	x0, x19
	bl	_free
	mov	x0, x20
	bl	_free
LBB0_18:
	mov	x0, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"strdup() of '%s'"

l_.str.1:                               ; @.str.1
	.asciz	"Invalid log filename '%s'"

l_.str.2:                               ; @.str.2
	.asciz	"Cannot open log directory '%s'"

	.comm	_AT_SYMLINK_NOFOLLOW,4,2        ; @AT_SYMLINK_NOFOLLOW
l_.str.3:                               ; @.str.3
	.asciz	"Cannot stat '%s'"

	.no_dead_strip	_mtime_old_timelog
.subsections_via_symbols
