	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_backup_filename
_check_backup_filename:                 ## @check_backup_filename
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $ecx killed $ecx def $rcx
	leal	10(%rcx), %eax
	movl	$-1, %r14d
	cmpl	%esi, %eax
	jge	LBB0_12
## %bb.1:
	movq	%rdi, %rbx
	movslq	%esi, %r15
	leaq	(%rdi,%r15), %rax
	movl	$-10, %esi
	subl	%ecx, %esi
	movslq	%esi, %rdi
	addq	%rax, %rdi
	movq	%rdx, %rsi
	movl	%ecx, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_12
## %bb.2:
	movb	-1(%r15,%rbx), %al
	addb	$-58, %al
	cmpb	$-10, %al
	jb	LBB0_12
## %bb.3:
	movb	-2(%r15,%rbx), %al
	addb	$-58, %al
	cmpb	$-10, %al
	jb	LBB0_12
## %bb.4:
	movb	-3(%r15,%rbx), %al
	addb	$-58, %al
	cmpb	$-10, %al
	jb	LBB0_12
## %bb.5:
	movb	-4(%r15,%rbx), %al
	addb	$-58, %al
	cmpb	$-10, %al
	jb	LBB0_12
## %bb.6:
	movb	-5(%r15,%rbx), %al
	addb	$-58, %al
	cmpb	$-10, %al
	jb	LBB0_12
## %bb.7:
	movb	-6(%r15,%rbx), %al
	addb	$-58, %al
	cmpb	$-10, %al
	jb	LBB0_12
## %bb.8:
	movb	-7(%r15,%rbx), %al
	addb	$-58, %al
	cmpb	$-10, %al
	jb	LBB0_12
## %bb.9:
	movb	-8(%r15,%rbx), %al
	addb	$-58, %al
	cmpb	$-10, %al
	jb	LBB0_12
## %bb.10:
	movb	-9(%r15,%rbx), %al
	addb	$-58, %al
	cmpb	$-10, %al
	jb	LBB0_12
## %bb.11:
	movb	-10(%r15,%rbx), %al
	addb	$-58, %al
	xorl	%r14d, %r14d
	cmpb	$-10, %al
	sbbl	%r14d, %r14d
LBB0_12:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_check_backup_filename
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_backup_filename
_check_backup_filename:                 ; @check_backup_filename
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
                                        ; kill: def $w1 killed $w1 def $x1
	add	w8, w3, #10
	cmp	w8, w1
	b.ge	LBB0_11
; %bb.1:
	mov	x19, x0
	sxtw	x20, w1
	add	x8, x0, x20
	mov	w9, #-10
	sub	w9, w9, w3
	add	x0, x8, w9, sxtw
	mov	x1, x2
	mov	x2, x3
	bl	_memcmp
	cbnz	x0, LBB0_11
; %bb.2:
	add	x8, x20, x19
	ldurb	w9, [x8, #-1]
	sub	w9, w9, #58
	cmn	w9, #10
	b.lo	LBB0_11
; %bb.3:
	ldurb	w8, [x8, #-2]
	sub	w8, w8, #58
	cmn	w8, #10
	b.lo	LBB0_11
; %bb.4:
	add	x8, x20, x19
	ldurb	w9, [x8, #-3]
	sub	w9, w9, #58
	cmn	w9, #10
	b.lo	LBB0_11
; %bb.5:
	ldurb	w8, [x8, #-4]
	sub	w8, w8, #58
	cmn	w8, #10
	b.lo	LBB0_11
; %bb.6:
	add	x8, x20, x19
	ldurb	w9, [x8, #-5]
	sub	w9, w9, #58
	cmn	w9, #10
	b.lo	LBB0_11
; %bb.7:
	ldurb	w8, [x8, #-6]
	sub	w8, w8, #58
	cmn	w8, #10
	b.lo	LBB0_11
; %bb.8:
	add	x8, x20, x19
	ldurb	w9, [x8, #-7]
	sub	w9, w9, #58
	cmn	w9, #10
	b.lo	LBB0_11
; %bb.9:
	ldurb	w8, [x8, #-8]
	sub	w8, w8, #58
	cmn	w8, #10
	b.lo	LBB0_11
; %bb.10:
	add	x8, x20, x19
	ldurb	w9, [x8, #-9]
	sub	w9, w9, #58
	cmn	w9, #10
	b.hs	LBB0_13
LBB0_11:
	mov	w0, #-1
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_13:
	ldurb	w8, [x8, #-10]
	sub	w8, w8, #58
	cmn	w8, #10
	csetm	w0, lo
	b	LBB0_12
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_check_backup_filename
.subsections_via_symbols
