	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function roll_log
_roll_log:                              ## @roll_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
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	%rsp, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_PATH_MAX@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	incl	%eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	incl	%eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_FILE_VERSIONS
	movq	_ISC_LOG_ROLLNEVER@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_2
## %bb.1:
	movq	_ISC_R_SUCCESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_38
LBB0_2:
	movq	%r13, %rdi
	callq	_FILE_NAME
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	-52(%rbp), %rsi
	movq	%r13, %rdi
	callq	_greatest_version
	movq	_ISC_R_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_38
## %bb.3:
	movq	%r14, -128(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	callq	_FILE_VERSIONS
	movq	_ISC_LOG_ROLLINFINITE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	je	LBB0_15
## %bb.4:
	movq	%r13, %rdi
	callq	_FILE_VERSIONS
	movl	-52(%rbp), %r12d
	cmpl	%r12d, %eax
	jg	LBB0_16
## %bb.5:
	leal	-1(%r12), %eax
	movl	%eax, -52(%rbp)
	movq	%r13, %rdi
	callq	_FILE_VERSIONS
	cmpl	%eax, %r12d
	jle	LBB0_15
## %bb.6:
	leaq	L_.str(%rip), %r14
	movq	_ISC_R_FILENOTFOUND@GOTPCREL(%rip), %r15
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	-52(%rbp), %ebx
	leal	-1(%rbx), %eax
	movl	%eax, -52(%rbp)
	movq	%r13, %rdi
	callq	_FILE_VERSIONS
	cmpl	%eax, %ebx
	jle	LBB0_15
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	-52(%rbp), %r8d
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	-112(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%r14, %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_snprintf
	cmpl	-120(%rbp), %eax                ## 4-byte Folded Reload
	jg	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	testl	%eax, %eax
	js	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_isc_file_remove
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	_ISC_R_NOSPACE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_ISC_R_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpq	(%r15), %rax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	_LOG_ERR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
	movl	-52(%rbp), %r12d
	movq	%rax, %rdi
	callq	_isc_result_totext
	movl	%r13d, %edi
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	leaq	L_.str.1(%rip), %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	%r12d, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_syslog
	jmp	LBB0_14
LBB0_15:
	movl	-52(%rbp), %r12d
LBB0_16:
	testl	%r12d, %r12d
	movq	_ISC_R_SUCCESS@GOTPCREL(%rip), %r15
	jle	LBB0_26
## %bb.17:
	leaq	L_.str(%rip), %rbx
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_18 Depth=1
	movl	%r13d, %eax
	incl	%eax
	movl	%r13d, %r12d
	cmpl	$1, %eax
	leaq	L_.str(%rip), %rbx
	jbe	LBB0_26
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %r14
	leal	-1(%r12), %r13d
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	-112(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%rbx, %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%r13d, %r8d
	xorl	%eax, %eax
	callq	_snprintf
	movq	_ISC_R_NOSPACE@GOTPCREL(%rip), %rcx
	testl	%eax, %eax
	movq	(%rcx), %rcx
	cmovsq	%rcx, %r14
	cmpl	-120(%rbp), %eax                ## 4-byte Folded Reload
	cmovgq	%rcx, %r14
	movq	(%r15), %rax
	cmpq	%rax, %r14
	je	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_18 Depth=1
	cmpq	%rax, %r14
	je	LBB0_21
LBB0_22:                                ##   in Loop: Header=BB0_18 Depth=1
	cmpq	%rax, %r14
	jne	LBB0_23
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%rbx, %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%r12d, %r8d
	xorl	%eax, %eax
	callq	_snprintf
	movq	_ISC_R_NOSPACE@GOTPCREL(%rip), %rcx
	testl	%eax, %eax
	movq	(%rcx), %rcx
	cmovsq	%rcx, %r14
	cmpl	-104(%rbp), %eax                ## 4-byte Folded Reload
	cmovgq	%rcx, %r14
	movq	(%r15), %rax
	cmpq	%rax, %r14
	jne	LBB0_22
LBB0_21:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_isc_file_rename
	movq	%rax, %r14
	movq	(%r15), %rax
	cmpq	%rax, %r14
	je	LBB0_25
LBB0_23:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	_ISC_R_FILENOTFOUND@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r14, %rdi
	callq	_isc_result_totext
	movl	%eax, %ebx
	subq	$8, %rsp
	movl	%r15d, %edi
	movq	_ISC_R_SUCCESS@GOTPCREL(%rip), %r15
	leaq	L_.str.2(%rip), %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	%r13d, %ecx
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movl	%r12d, %r9d
	xorl	%eax, %eax
	pushq	%rbx
	callq	_syslog
	addq	$16, %rsp
	jmp	LBB0_25
LBB0_26:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_FILE_VERSIONS
	testl	%eax, %eax
	movq	-128(%rbp), %r14                ## 8-byte Reload
	je	LBB0_34
## %bb.27:
	leaq	L_.str.3(%rip), %rdx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_snprintf
	cmpl	-104(%rbp), %eax                ## 4-byte Folded Reload
	jg	LBB0_29
## %bb.28:
	testl	%eax, %eax
	js	LBB0_29
## %bb.30:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_isc_file_rename
	jmp	LBB0_31
LBB0_34:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_isc_file_remove
	cmpq	(%r15), %rax
	je	LBB0_37
## %bb.35:
	movq	_ISC_R_FILENOTFOUND@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_37
## %bb.36:
	movq	_LOG_ERR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	%rax, %rdi
	callq	_isc_result_totext
	leaq	L_.str.5(%rip), %rsi
	movl	%ebx, %edi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_syslog
	jmp	LBB0_37
LBB0_29:
	movq	_ISC_R_NOSPACE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_31:
	cmpq	(%r15), %rax
	je	LBB0_37
## %bb.32:
	movq	_ISC_R_FILENOTFOUND@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_37
## %bb.33:
	movq	_LOG_ERR@GOTPCREL(%rip), %rcx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rcx), %r12d
	movq	%rax, %rdi
	callq	_isc_result_totext
	leaq	L_.str.4(%rip), %rsi
	movl	%r12d, %edi
	movq	%rbx, %rdx
	movq	%rbx, %rcx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_syslog
LBB0_37:
	movq	(%r15), %rax
LBB0_38:
	movq	%r14, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_40
## %bb.39:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_40:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PATH_MAX,4,2                   ## @PATH_MAX
	.comm	_ISC_LOG_ROLLNEVER,4,2          ## @ISC_LOG_ROLLNEVER
	.comm	_ISC_R_SUCCESS,8,3              ## @ISC_R_SUCCESS
	.comm	_ISC_LOG_ROLLINFINITE,4,2       ## @ISC_LOG_ROLLINFINITE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s.%d"

	.comm	_ISC_R_NOSPACE,8,3              ## @ISC_R_NOSPACE
	.comm	_ISC_R_FILENOTFOUND,8,3         ## @ISC_R_FILENOTFOUND
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
L_.str.1:                               ## @.str.1
	.asciz	"unable to remove log file '%s.%d': %s"

L_.str.2:                               ## @.str.2
	.asciz	"unable to rename log file '%s.%d' to '%s.%d': %s"

L_.str.3:                               ## @.str.3
	.asciz	"%s.0"

L_.str.4:                               ## @.str.4
	.asciz	"unable to rename log file '%s' to '%s.0': %s"

L_.str.5:                               ## @.str.5
	.asciz	"unable to remove log file '%s': %s"

	.no_dead_strip	_roll_log
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function roll_log
_roll_log:                              ; @roll_log
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	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
	.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
	sub	sp, sp, #64
	mov	x27, x0
	mov	x21, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _PATH_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PATH_MAX@GOTPAGEOFF]
	ldr	w20, [x8]
	add	w22, w20, #1
	mov	x9, x22
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x22, #15
	and	x10, x10, #0x1fffffff0
	sub	x24, x9, x10
	mov	sp, x24
	ldr	w8, [x8]
	stur	w8, [x29, #-108]                ; 4-byte Folded Spill
	add	w12, w8, #1
	mov	x9, x12
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	stur	x12, [x29, #-120]               ; 8-byte Folded Spill
	add	x9, x12, #15
	and	x9, x9, #0x1fffffff0
	sub	x8, x8, x9
	stur	x8, [x29, #-104]                ; 8-byte Folded Spill
	mov	sp, x8
	bl	_FILE_VERSIONS
Lloh9:
	adrp	x8, _ISC_LOG_ROLLNEVER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ISC_LOG_ROLLNEVER@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
Lloh12:
	adrp	x8, _ISC_R_SUCCESS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ISC_R_SUCCESS@GOTPAGEOFF]
Lloh14:
	ldr	x0, [x8]
	b	LBB0_36
LBB0_2:
	mov	x0, x27
	bl	_FILE_NAME
	mov	x19, x0
	sub	x1, x29, #92
	mov	x0, x27
	bl	_greatest_version
Lloh15:
	adrp	x8, _ISC_R_SUCCESS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ISC_R_SUCCESS@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_36
; %bb.3:
	stur	x21, [x29, #-136]               ; 8-byte Folded Spill
	mov	x0, x27
	bl	_FILE_VERSIONS
Lloh18:
	adrp	x8, _ISC_LOG_ROLLINFINITE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ISC_LOG_ROLLINFINITE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmp	w0, w8
	stur	x27, [x29, #-128]               ; 8-byte Folded Spill
	b.eq	LBB0_14
; %bb.4:
	mov	x0, x27
	bl	_FILE_VERSIONS
	ldur	w26, [x29, #-92]
	cmp	w0, w26
	b.gt	LBB0_15
; %bb.5:
	sub	w8, w26, #1
	stur	w8, [x29, #-92]
	mov	x0, x27
	bl	_FILE_VERSIONS
	cmp	w26, w0
	b.le	LBB0_14
; %bb.6:
Lloh21:
	adrp	x25, l_.str@PAGE
Lloh22:
	add	x25, x25, l_.str@PAGEOFF
Lloh23:
	adrp	x23, _ISC_R_FILENOTFOUND@GOTPAGE
Lloh24:
	ldr	x23, [x23, _ISC_R_FILENOTFOUND@GOTPAGEOFF]
Lloh25:
	adrp	x26, _LOG_ERR@GOTPAGE
Lloh26:
	ldr	x26, [x26, _LOG_ERR@GOTPAGEOFF]
Lloh27:
	adrp	x28, l_.str.1@PAGE
Lloh28:
	add	x28, x28, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldur	w21, [x29, #-92]
	sub	w8, w21, #1
	stur	w8, [x29, #-92]
	mov	x0, x27
	bl	_FILE_VERSIONS
	cmp	w21, w0
	b.le	LBB0_14
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w8, [x29, #-92]
	str	x8, [sp, #-16]!
	mov	x0, x24
	mov	x1, x22
	mov	x2, x25
	mov	x3, x19
	bl	_snprintf
	add	sp, sp, #16
	cmp	w0, w20
	b.gt	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	tbnz	w0, #31, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x24
	bl	_isc_file_remove
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
Lloh29:
	adrp	x8, _ISC_R_NOSPACE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ISC_R_NOSPACE@GOTPAGEOFF]
Lloh31:
	ldr	x0, [x8]
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=1
Lloh32:
	adrp	x8, _ISC_R_SUCCESS@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ISC_R_SUCCESS@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
	ldr	x9, [x23]
	cmp	x0, x8
	ccmp	x0, x9, #4, ne
	b.eq	LBB0_7
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w27, [x26]
	ldur	w21, [x29, #-92]
	bl	_isc_result_totext
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x21, x0, [sp, #-16]!
	mov	x0, x27
	ldur	x27, [x29, #-128]               ; 8-byte Folded Reload
	mov	x1, x28
	mov	x2, x19
	bl	_syslog
	add	sp, sp, #16
	b	LBB0_7
LBB0_14:
	ldur	w26, [x29, #-92]
LBB0_15:
	cmp	w26, #1
Lloh35:
	adrp	x28, _ISC_R_SUCCESS@GOTPAGE
Lloh36:
	ldr	x28, [x28, _ISC_R_SUCCESS@GOTPAGEOFF]
	b.lt	LBB0_24
; %bb.16:
Lloh37:
	adrp	x25, l_.str@PAGE
Lloh38:
	add	x25, x25, l_.str@PAGEOFF
Lloh39:
	adrp	x21, _ISC_R_NOSPACE@GOTPAGE
Lloh40:
	ldr	x21, [x21, _ISC_R_NOSPACE@GOTPAGEOFF]
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	add	w8, w23, #1
	mov	x26, x23
	cmp	w8, #1
	b.ls	LBB0_24
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	x27, [x28]
	sub	w23, w26, #1
	str	x23, [sp, #-16]!
	mov	x0, x24
	mov	x1, x22
	mov	x2, x25
	mov	x3, x19
	bl	_snprintf
	add	sp, sp, #16
	cmp	w0, #0
	ccmp	w0, w20, #0, ge
	ldr	x8, [x21]
	csel	x27, x8, x27, gt
	ldr	x8, [x28]
	cmp	x27, x8
	b.ne	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	str	x26, [sp, #-16]!
	ldur	x0, [x29, #-104]                ; 8-byte Folded Reload
	ldur	x1, [x29, #-120]                ; 8-byte Folded Reload
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x2, x25
	mov	x3, x19
	bl	_snprintf
	add	sp, sp, #16
	cmp	w0, #0
	ldur	w8, [x29, #-108]                ; 4-byte Folded Reload
	ccmp	w0, w8, #0, ge
	ldr	x8, [x21]
	csel	x27, x8, x27, gt
	ldr	x8, [x28]
LBB0_20:                                ;   in Loop: Header=BB0_18 Depth=1
	cmp	x27, x8
	b.ne	LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	x0, x24
	ldur	x1, [x29, #-104]                ; 8-byte Folded Reload
	bl	_isc_file_rename
	mov	x27, x0
	ldr	x8, [x28]
LBB0_22:                                ;   in Loop: Header=BB0_18 Depth=1
Lloh41:
	adrp	x9, _ISC_R_FILENOTFOUND@GOTPAGE
Lloh42:
	ldr	x9, [x9, _ISC_R_FILENOTFOUND@GOTPAGEOFF]
Lloh43:
	ldr	x9, [x9]
	cmp	x27, x8
	ccmp	x27, x9, #4, ne
	b.eq	LBB0_17
; %bb.23:                               ;   in Loop: Header=BB0_18 Depth=1
Lloh44:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh45:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh46:
	ldr	w28, [x8]
	mov	x0, x27
	bl	_isc_result_totext
                                        ; kill: def $w0 killed $w0 def $x0
	sub	sp, sp, #32
                                        ; kill: def $w26 killed $w26 killed $x26 def $x26
	stp	x26, x0, [sp, #16]
	mov	x8, x23
	stp	x8, x19, [sp]
	mov	x0, x28
Lloh47:
	adrp	x28, _ISC_R_SUCCESS@GOTPAGE
Lloh48:
	ldr	x28, [x28, _ISC_R_SUCCESS@GOTPAGEOFF]
Lloh49:
	adrp	x1, l_.str.2@PAGE
Lloh50:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x19
	bl	_syslog
	add	sp, sp, #32
	b	LBB0_17
LBB0_24:
	ldur	x0, [x29, #-128]                ; 8-byte Folded Reload
	bl	_FILE_VERSIONS
	ldur	x21, [x29, #-136]               ; 8-byte Folded Reload
	cbz	w0, LBB0_28
; %bb.25:
Lloh51:
	adrp	x2, l_.str.3@PAGE
Lloh52:
	add	x2, x2, l_.str.3@PAGEOFF
	ldur	x0, [x29, #-104]                ; 8-byte Folded Reload
	ldur	x1, [x29, #-120]                ; 8-byte Folded Reload
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x3, x19
	bl	_snprintf
	ldur	w8, [x29, #-108]                ; 4-byte Folded Reload
	cmp	w0, w8
	b.gt	LBB0_30
; %bb.26:
	tbnz	w0, #31, LBB0_30
; %bb.27:
	mov	x0, x19
	ldur	x1, [x29, #-104]                ; 8-byte Folded Reload
	bl	_isc_file_rename
	b	LBB0_31
LBB0_28:
	mov	x0, x19
	bl	_isc_file_remove
	ldr	x8, [x28]
Lloh53:
	adrp	x9, _ISC_R_FILENOTFOUND@GOTPAGE
Lloh54:
	ldr	x9, [x9, _ISC_R_FILENOTFOUND@GOTPAGEOFF]
Lloh55:
	ldr	x9, [x9]
	cmp	x0, x8
	ccmp	x0, x9, #4, ne
	b.eq	LBB0_35
; %bb.29:
Lloh56:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh57:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh58:
	ldr	w20, [x8]
	bl	_isc_result_totext
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp, #-16]!
Lloh59:
	adrp	x1, l_.str.5@PAGE
Lloh60:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_34
LBB0_30:
Lloh61:
	adrp	x8, _ISC_R_NOSPACE@GOTPAGE
Lloh62:
	ldr	x8, [x8, _ISC_R_NOSPACE@GOTPAGEOFF]
Lloh63:
	ldr	x0, [x8]
LBB0_31:
	ldr	x8, [x28]
	cmp	x0, x8
	b.eq	LBB0_35
; %bb.32:
Lloh64:
	adrp	x8, _ISC_R_FILENOTFOUND@GOTPAGE
Lloh65:
	ldr	x8, [x8, _ISC_R_FILENOTFOUND@GOTPAGEOFF]
Lloh66:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_35
; %bb.33:
Lloh67:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh68:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh69:
	ldr	w20, [x8]
	bl	_isc_result_totext
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x19, x0, [sp, #-16]!
Lloh70:
	adrp	x1, l_.str.4@PAGE
Lloh71:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_34:
	mov	x0, x20
	mov	x2, x19
	bl	_syslog
	add	sp, sp, #16
LBB0_35:
	ldr	x0, [x28]
LBB0_36:
	mov	sp, x21
	ldur	x8, [x29, #-88]
Lloh72:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh73:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh74:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_38
; %bb.37:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_38:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.cfi_endproc
                                        ; -- End function
	.comm	_PATH_MAX,4,2                   ; @PATH_MAX
	.comm	_ISC_LOG_ROLLNEVER,4,2          ; @ISC_LOG_ROLLNEVER
	.comm	_ISC_R_SUCCESS,8,3              ; @ISC_R_SUCCESS
	.comm	_ISC_LOG_ROLLINFINITE,4,2       ; @ISC_LOG_ROLLINFINITE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s.%d"

	.comm	_ISC_R_NOSPACE,8,3              ; @ISC_R_NOSPACE
	.comm	_ISC_R_FILENOTFOUND,8,3         ; @ISC_R_FILENOTFOUND
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
l_.str.1:                               ; @.str.1
	.asciz	"unable to remove log file '%s.%d': %s"

l_.str.2:                               ; @.str.2
	.asciz	"unable to rename log file '%s.%d' to '%s.%d': %s"

l_.str.3:                               ; @.str.3
	.asciz	"%s.0"

l_.str.4:                               ; @.str.4
	.asciz	"unable to rename log file '%s' to '%s.0': %s"

l_.str.5:                               ; @.str.5
	.asciz	"unable to remove log file '%s': %s"

	.no_dead_strip	_roll_log
.subsections_via_symbols
