	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function age_old_log
_age_old_log:                           ## @age_old_log
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	_age_old_log.suffix_maxlen(%rip), %r13d
	testl	%r13d, %r13d
	jne	LBB0_4
## %bb.1:
	movq	_COMPRESS_TYPES@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_4
## %bb.2:
	xorl	%r13d, %r13d
	movq	_compress_type@GOTPCREL(%rip), %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_strlen
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_MAX
	movl	%eax, %r13d
	movl	%eax, _age_old_log.suffix_maxlen(%rip)
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_3
LBB0_4:
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movl	%r13d, %ecx
	leaq	(%rax,%rcx), %r15
	addq	$4, %r15
	movq	%r15, %rdi
	callq	_alloca
	movq	%rax, %r12
	movq	_archtodir@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_12
## %bb.5:
	movq	_archdirname@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	cmpb	$47, (%rsi)
	jne	LBB0_7
## %bb.6:
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	_strlcpy
	jmp	LBB0_8
LBB0_12:
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_strlcpy
	jmp	LBB0_13
LBB0_7:
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_strlcpy
	movq	%r12, %rdi
	movl	$47, %esi
	callq	_strrchr
	leaq	1(%rax), %rcx
	testq	%rax, %rax
	cmoveq	%r12, %rcx
	movb	$0, (%rcx)
	movq	(%rbx), %rsi
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	_strlcat
LBB0_8:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	_strlcat
	movq	%r14, %rdi
	movl	$47, %esi
	callq	_strrchr
	testq	%rax, %rax
	je	LBB0_9
## %bb.11:
	incq	%rax
	movq	%r12, %rdi
	movq	%rax, %rsi
	jmp	LBB0_10
LBB0_9:
	movq	%r12, %rdi
	movq	%r14, %rsi
LBB0_10:
	movq	%r15, %rdx
	callq	_strlcat
LBB0_13:
	movq	_timefnamefmt@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_16
## %bb.14:
	movq	%r12, %rdi
	callq	_mtime_old_timelog
	movl	%eax, %ebx
	cmpl	$-1, %eax
	jne	LBB0_19
## %bb.15:
	movl	$-1, %ebx
	jmp	LBB0_20
LBB0_16:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	_strlcat
	movq	%r12, %rdi
	callq	_get_logfile_suffix
	movl	$-1, %ebx
	testq	%rax, %rax
	je	LBB0_20
## %bb.17:
	movq	%r12, %rdi
	movq	%rax, %rsi
	movq	%r15, %rdx
	callq	_strlcat
	leaq	-48(%rbp), %rsi
	movq	%r12, %rdi
	callq	_stat
	testq	%rax, %rax
	js	LBB0_20
## %bb.18:
	movl	-48(%rbp), %ebx
LBB0_19:
	movq	_timenow@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ptimeget_secs
                                        ## kill: def $eax killed $eax def $rax
	subl	%ebx, %eax
	movl	%eax, %ecx
	addl	$1800, %ecx                     ## imm = 0x708
	movslq	%ecx, %rcx
	imulq	$-1851608123, %rcx, %rcx        ## imm = 0x91A2B3C5
	shrq	$32, %rcx
	leal	(%rcx,%rax), %ebx
	addl	$1800, %ebx                     ## imm = 0x708
	movl	%ebx, %eax
	shrl	$31, %eax
	sarl	$11, %ebx
	addl	%eax, %ebx
LBB0_20:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_age_old_log.suffix_maxlen,4,2 ## @age_old_log.suffix_maxlen
	.comm	_COMPRESS_TYPES,4,2             ## @COMPRESS_TYPES
	.comm	_compress_type,8,3              ## @compress_type
	.comm	_MAXPATHLEN,4,2                 ## @MAXPATHLEN
	.comm	_archtodir,8,3                  ## @archtodir
	.comm	_archdirname,8,3                ## @archdirname
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/"

	.comm	_timefnamefmt,8,3               ## @timefnamefmt
L_.str.1:                               ## @.str.1
	.asciz	".0"

	.comm	_timenow,4,2                    ## @timenow
	.no_dead_strip	_age_old_log
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function age_old_log
_age_old_log:                           ; @age_old_log
	.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	x19, x0
	adrp	x21, _age_old_log.suffix_maxlen@PAGE
	ldr	w20, [x21, _age_old_log.suffix_maxlen@PAGEOFF]
Lloh0:
	adrp	x22, _COMPRESS_TYPES@GOTPAGE
Lloh1:
	ldr	x22, [x22, _COMPRESS_TYPES@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w20, #0
	ccmp	w8, #1, #8, eq
	b.lt	LBB0_3
; %bb.1:
	mov	w20, #0
	mov	x23, #0
Lloh2:
	adrp	x24, _compress_type@GOTPAGE
Lloh3:
	ldr	x24, [x24, _compress_type@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	ldr	w0, [x8, x23, lsl #2]
	bl	_strlen
	mov	x1, x0
	mov	x0, x20
	bl	_MAX
	mov	x20, x0
	str	w0, [x21, _age_old_log.suffix_maxlen@PAGEOFF]
	add	x23, x23, #1
	ldrsw	x8, [x22]
	cmp	x23, x8
	b.lt	LBB0_2
LBB0_3:
Lloh4:
	adrp	x8, _MAXPATHLEN@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MAXPATHLEN@GOTPAGEOFF]
Lloh6:
	ldrsw	x8, [x8]
	add	x8, x8, w20, uxtw
	add	x21, x8, #4
	mov	x0, x21
	bl	_alloca
	mov	x20, x0
Lloh7:
	adrp	x8, _archtodir@GOTPAGE
Lloh8:
	ldr	x8, [x8, _archtodir@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.4:
Lloh10:
	adrp	x22, _archdirname@GOTPAGE
Lloh11:
	ldr	x22, [x22, _archdirname@GOTPAGEOFF]
	ldr	x1, [x22]
	ldrb	w8, [x1]
	mov	x0, x20
	cmp	w8, #47
	b.ne	LBB0_7
; %bb.5:
	mov	x2, x21
	bl	_strlcpy
	b	LBB0_8
LBB0_6:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_strlcpy
	b	LBB0_12
LBB0_7:
	mov	x1, x19
	mov	x2, x21
	bl	_strlcpy
	mov	x0, x20
	mov	w1, #47
	bl	_strrchr
	cmp	x0, #0
	csinc	x8, x20, x0, eq
	strb	wzr, [x8]
	ldr	x1, [x22]
	mov	x0, x20
	mov	x2, x21
	bl	_strlcat
LBB0_8:
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_strlcat
	mov	x0, x19
	mov	w1, #47
	bl	_strrchr
	cbz	x0, LBB0_10
; %bb.9:
	add	x1, x0, #1
	mov	x0, x20
	b	LBB0_11
LBB0_10:
	mov	x0, x20
	mov	x1, x19
LBB0_11:
	mov	x2, x21
	bl	_strlcat
LBB0_12:
Lloh14:
	adrp	x8, _timefnamefmt@GOTPAGE
Lloh15:
	ldr	x8, [x8, _timefnamefmt@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cbz	x8, LBB0_14
; %bb.13:
	mov	x0, x20
	bl	_mtime_old_timelog
	mov	x19, x0
	cmn	w0, #1
	b.ne	LBB0_17
	b	LBB0_19
LBB0_14:
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_strlcat
	mov	x0, x20
	bl	_get_logfile_suffix
	cbz	x0, LBB0_18
; %bb.15:
	mov	x1, x0
	mov	x0, x20
	mov	x2, x21
	bl	_strlcat
	add	x1, sp, #8
	mov	x0, x20
	bl	_stat
	tbnz	x0, #63, LBB0_18
; %bb.16:
	ldr	w19, [sp, #8]
LBB0_17:
Lloh19:
	adrp	x8, _timenow@GOTPAGE
Lloh20:
	ldr	x8, [x8, _timenow@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_ptimeget_secs
	sub	w8, w0, w19
	add	w8, w8, #1800
	mov	w9, #46021
	movk	w9, #37282, lsl #16
	smull	x9, w8, w9
	lsr	x9, x9, #32
	add	w8, w9, w8
	asr	w9, w8, #11
	add	w0, w9, w8, lsr #31
	b	LBB0_19
LBB0_18:
	mov	w0, #-1
LBB0_19:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_age_old_log.suffix_maxlen,4,2 ; @age_old_log.suffix_maxlen
	.comm	_COMPRESS_TYPES,4,2             ; @COMPRESS_TYPES
	.comm	_compress_type,8,3              ; @compress_type
	.comm	_MAXPATHLEN,4,2                 ; @MAXPATHLEN
	.comm	_archtodir,8,3                  ; @archtodir
	.comm	_archdirname,8,3                ; @archdirname
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/"

	.comm	_timefnamefmt,8,3               ; @timefnamefmt
l_.str.1:                               ; @.str.1
	.asciz	".0"

	.comm	_timenow,4,2                    ; @timenow
	.no_dead_strip	_age_old_log
.subsections_via_symbols
