	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_find_backup_file_name          ## -- Begin function find_backup_file_name
	.p2align	4, 0x90
_find_backup_file_name:                 ## @find_backup_file_name
	.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, %r13
	movq	_backup_type@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	_simple@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
LBB0_12:
	movq	_simple_backup_suffix@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_concat                         ## TAILCALL
LBB0_1:
	movq	%r13, %rdi
	callq	_strdup
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_basename
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_concat
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_free
	testq	%r14, %r14
	je	LBB0_8
## %bb.3:
	movq	%r13, %rdi
	callq	_strdup
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_dirname
	testq	%rax, %rax
	je	LBB0_6
## %bb.9:
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_max_backup_version
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_free
	movq	%r15, %rdi
	callq	_free
	movq	(%r12), %rax
	movq	_numbered_existing@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.10:
	testl	%ebx, %ebx
	je	LBB0_12
LBB0_11:
	incl	%ebx
	movq	%r13, %rdi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_make_version_name              ## TAILCALL
LBB0_4:
	movq	%r14, %rdi
	jmp	LBB0_7
LBB0_6:
	movq	%r14, %rdi
	callq	_free
	movq	%r15, %rdi
LBB0_7:
	callq	_free
LBB0_8:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_backup_type,8,3                ## @backup_type
	.comm	_simple,8,3                     ## @simple
	.comm	_simple_backup_suffix,8,3       ## @simple_backup_suffix
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	".~"

	.comm	_numbered_existing,8,3          ## @numbered_existing
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_find_backup_file_name          ; -- Begin function find_backup_file_name
	.p2align	2
_find_backup_file_name:                 ; @find_backup_file_name
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x23, _backup_type@GOTPAGE
Lloh1:
	ldr	x23, [x23, _backup_type@GOTPAGEOFF]
	ldr	x8, [x23]
Lloh2:
	adrp	x9, _simple@GOTPAGE
Lloh3:
	ldr	x9, [x9, _simple@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
LBB0_1:
Lloh5:
	adrp	x8, _simple_backup_suffix@GOTPAGE
Lloh6:
	ldr	x8, [x8, _simple_backup_suffix@GOTPAGEOFF]
Lloh7:
	ldr	x1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_concat
LBB0_2:
	mov	x0, x19
	bl	_strdup
	cbz	x0, LBB0_12
; %bb.3:
	mov	x21, x0
	bl	_basename
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_concat
	mov	x20, x0
	mov	x0, x21
	bl	_free
	cbz	x20, LBB0_12
; %bb.4:
	mov	x0, x19
	bl	_strdup
	cbz	x0, LBB0_9
; %bb.5:
	mov	x21, x0
	bl	_dirname
	cbz	x0, LBB0_10
; %bb.6:
	mov	x1, x0
	mov	x0, x20
	bl	_max_backup_version
	mov	x22, x0
	mov	x0, x20
	bl	_free
	mov	x0, x21
	bl	_free
	ldr	x8, [x23]
Lloh10:
	adrp	x9, _numbered_existing@GOTPAGE
Lloh11:
	ldr	x9, [x9, _numbered_existing@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
	cbz	w22, LBB0_1
LBB0_8:
	add	w1, w22, #1
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_make_version_name
LBB0_9:
	mov	x0, x20
	b	LBB0_11
LBB0_10:
	mov	x0, x20
	bl	_free
	mov	x0, x21
LBB0_11:
	bl	_free
LBB0_12:
	mov	x0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_backup_type,8,3                ; @backup_type
	.comm	_simple,8,3                     ; @simple
	.comm	_simple_backup_suffix,8,3       ; @simple_backup_suffix
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	".~"

	.comm	_numbered_existing,8,3          ; @numbered_existing
.subsections_via_symbols
