	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function file_backup
_file_backup:                           ## @file_backup
	.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
	movl	$8296, %eax                     ## imm = 0x2068
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %rcx
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_errno@GOTPCREL(%rip), %r15
	movq	$0, (%r15)
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r14d, %r14d
	movq	%rcx, -8280(%rbp)               ## 8-byte Spill
	movq	%rcx, %rdi
	xorl	%edx, %edx
	callq	_open
	movl	%eax, %edi
	testl	%eax, %eax
	js	LBB0_1
## %bb.3:
	movl	%edi, -8260(%rbp)               ## 4-byte Spill
	movl	$0, (%rsp)
	leaq	-8312(%rbp), %rsi
	movq	%r12, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_ex_cinit
	movb	(%r13), %r15b
	xorl	%ebx, %ebx
	cmpb	$78, %r15b
	sete	%bl
	addq	%r13, %rbx
	movq	%rbx, %rdi
	callq	_strlen
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_CHAR2INT
	movq	%r12, %rdi
	callq	_v_wstrdup
	movl	$1, %r14d
	testq	%rax, %rax
	je	LBB0_60
## %bb.4:
	movq	%rax, %r13
	movq	%rbx, -8272(%rbp)               ## 8-byte Spill
	leaq	-8312(%rbp), %rsi
	movq	%r12, %rdi
	movq	%rax, %rdx
	callq	_argv_exp2
	movq	%r12, %rbx
	movq	%rax, %r12
	movq	%r13, %rdi
	callq	_free
	testq	%r12, %r12
	jne	LBB0_60
## %bb.5:
	movq	%rbx, -8256(%rbp)               ## 8-byte Spill
	cmpl	$1, -8312(%rbp)
	jne	LBB0_6
## %bb.7:
	movq	-8304(%rbp), %rax
	movq	(%rax), %rax
	cmpb	$78, %r15b
	jne	LBB0_27
## %bb.8:
	movl	(%rax), %eax
	leal	(%rax,%rax), %ecx
	addl	$50, %ecx
	xorl	%r12d, %r12d
	movq	-8256(%rbp), %rbx               ## 8-byte Reload
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_GET_SPACE_GOTOC
	movq	-8304(%rbp), %rax
	movq	(%rax), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	incl	%edx
	movq	%rbx, %rdi
	callq	_INT2CHAR
	callq	_strdup
	movq	%rax, %r15
	xorl	%ebx, %ebx
	movl	-8260(%rbp), %r14d              ## 4-byte Reload
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_9 Depth=1
	movb	$47, %cl
	movq	%rbx, %r12
LBB0_17:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%rax
	movb	%cl, (%rbx)
	incq	%rbx
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rax), %ecx
	cmpb	$37, %cl
	je	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpb	$47, %cl
	je	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	testb	%cl, %cl
	jne	LBB0_17
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=1
	movb	$37, %cl
	cmpb	$37, 1(%rax)
	je	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_9 Depth=1
	movb	$37, (%rbx)
	incq	%rbx
	movzbl	(%rax), %ecx
	jmp	LBB0_17
LBB0_1:
	movq	(%r15), %rax
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_60
## %bb.2:
	movq	%r12, -8256(%rbp)               ## 8-byte Spill
	movl	$-1, %r12d
	xorl	%r15d, %r15d
	movq	-8280(%rbp), %rbx               ## 8-byte Reload
	jmp	LBB0_52
LBB0_6:
	movq	_M_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rcx
	movq	-8256(%rbp), %rdi               ## 8-byte Reload
	movq	-8272(%rbp), %rdx               ## 8-byte Reload
	callq	_msgq_str
	movl	-8260(%rbp), %edi               ## 4-byte Reload
	callq	_close
	jmp	LBB0_60
LBB0_27:
	movl	(%rax), %edx
	movl	4(%rax), %esi
	incl	%edx
	xorl	%r15d, %r15d
	movq	-8256(%rbp), %rbx               ## 8-byte Reload
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_INT2CHAR
	jmp	LBB0_28
LBB0_12:
	movw	$25637, (%rbx)                  ## imm = 0x6425
	movb	$0, 2(%rbx)
	testq	%r12, %r12
	je	LBB0_13
## %bb.18:
	movb	$0, (%r12)
	xorl	%edi, %edi
	callq	_opendir
	movb	$47, (%r12)
	incq	%r12
	jmp	LBB0_19
LBB0_13:
	leaq	L_.str.1(%rip), %rdi
	callq	_opendir
	xorl	%r12d, %r12d
LBB0_19:
	testq	%rax, %rax
	je	LBB0_22
## %bb.20:
	movq	%rax, -8296(%rbp)               ## 8-byte Spill
	movq	%rax, %rdi
	callq	_readdir
	testq	%rax, %rax
	je	LBB0_21
## %bb.23:
	movq	%r15, -8248(%rbp)               ## 8-byte Spill
	xorl	%r13d, %r13d
	movq	-8296(%rbp), %r15               ## 8-byte Reload
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %r14d
	movl	(%rax), %edi
	movq	%r12, %rsi
	leaq	-8284(%rbp), %rdx
	callq	_sscanf
	movl	-8284(%rbp), %r13d
	cmpl	%r14d, %r13d
	cmovlel	%r14d, %r13d
	cmpl	$1, %eax
	cmovnel	%r14d, %r13d
	movq	%r15, %rdi
	callq	_readdir
	testq	%rax, %rax
	jne	LBB0_24
## %bb.25:
	incl	%r13d
	movq	-8248(%rbp), %r15               ## 8-byte Reload
	jmp	LBB0_26
LBB0_22:
	movq	-8304(%rbp), %rax
	movq	(%rax), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	incl	%edx
	xorl	%ebx, %ebx
	movq	-8256(%rbp), %rdi               ## 8-byte Reload
	xorl	%ecx, %ecx
	callq	_INT2CHAR
	movl	$-1, %r12d
	movl	%r14d, %edi
	jmp	LBB0_52
LBB0_21:
	movl	$1, %r13d
LBB0_26:
	movq	-8296(%rbp), %rdi               ## 8-byte Reload
	callq	_closedir
	leaq	L_.str.2(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r13d, %ecx
	callq	_snprintf
	movq	-8256(%rbp), %rbx               ## 8-byte Reload
LBB0_28:
	leaq	-8328(%rbp), %rsi
	xorl	%edi, %edi
	callq	_stat
	testq	%rax, %rax
	movl	-8260(%rbp), %r13d              ## 4-byte Reload
	je	LBB0_29
## %bb.37:
	movq	%r15, -8248(%rbp)               ## 8-byte Spill
	movq	_O_CREAT@GOTPCREL(%rip), %rax
	movq	_O_EXCL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
LBB0_38:
	movq	_O_WRONLY@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_S_IRUSR@GOTPCREL(%rip), %rax
	movq	_S_IWUSR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	xorl	%edi, %edi
	callq	_open
	movl	%eax, %r12d
	testl	%eax, %eax
	movq	-8272(%rbp), %rbx               ## 8-byte Reload
	js	LBB0_39
## %bb.40:
	leaq	-8240(%rbp), %rsi
	movl	%r13d, %edi
	movl	$8192, %edx                     ## imm = 0x2000
	callq	_read
	movl	%eax, %r15d
	testl	%eax, %eax
	jle	LBB0_46
## %bb.41:
	leaq	-8240(%rbp), %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_44:                                ## =>This Inner Loop Header: Depth=1
	movslq	%ebx, %rax
	leaq	(%rax,%rbp), %rsi
	addq	$-8240, %rsi                    ## imm = 0xDFD0
	movl	%r12d, %edi
	movl	%r15d, %edx
	callq	_write
	testl	%eax, %eax
	js	LBB0_45
## %bb.42:                              ##   in Loop: Header=BB0_44 Depth=1
	addl	%eax, %ebx
	subl	%eax, %r15d
	jne	LBB0_44
## %bb.43:                              ##   in Loop: Header=BB0_44 Depth=1
	movl	%r13d, %edi
	movq	%r14, %rsi
	movl	$8192, %edx                     ## imm = 0x2000
	callq	_read
	movl	%eax, %r15d
	movl	$0, %ebx
	testl	%eax, %eax
	jg	LBB0_44
LBB0_46:
	testl	%r15d, %r15d
	js	LBB0_47
## %bb.48:
	movl	%r13d, %edi
	callq	_close
	testq	%rax, %rax
	movq	-8280(%rbp), %rbx               ## 8-byte Reload
	movq	-8248(%rbp), %r15               ## 8-byte Reload
	jne	LBB0_51
## %bb.49:
	movl	%r12d, %edi
	callq	_close
	xorl	%r14d, %r14d
	testq	%rax, %rax
	jne	LBB0_50
	jmp	LBB0_60
LBB0_29:
	movl	-8328(%rbp), %edi
	callq	_S_ISREG
	testl	%eax, %eax
	je	LBB0_30
## %bb.32:
	movq	-8320(%rbp), %r14
	xorl	%eax, %eax
	callq	_getuid
	cmpq	%rax, %r14
	jne	LBB0_33
## %bb.34:
	movq	_S_IRGRP@GOTPCREL(%rip), %rax
	movq	_S_IWGRP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_S_IROTH@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_S_IWOTH@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	testl	%ecx, -8328(%rbp)
	je	LBB0_36
## %bb.35:
	movq	_M_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.5(%rip), %rcx
	jmp	LBB0_31
LBB0_39:
	movq	-8248(%rbp), %r15               ## 8-byte Reload
	jmp	LBB0_51
LBB0_45:
	xorl	%ebx, %ebx
	movq	-8248(%rbp), %r15               ## 8-byte Reload
	jmp	LBB0_51
LBB0_30:
	movq	_M_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rcx
	jmp	LBB0_31
LBB0_33:
	movq	_M_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rcx
LBB0_31:
	movq	%rbx, %rdi
	movq	-8272(%rbp), %rdx               ## 8-byte Reload
	callq	_msgq_str
	movl	$-1, %r12d
LBB0_50:
	xorl	%ebx, %ebx
LBB0_51:
	movl	%r13d, %edi
LBB0_52:
	cmpl	$-1, %edi
	je	LBB0_54
## %bb.53:
	callq	_close
LBB0_54:
	cmpl	$-1, %r12d
	je	LBB0_56
## %bb.55:
	xorl	%edi, %edi
	callq	_unlink
	movl	%r12d, %edi
	callq	_close
LBB0_56:
	testq	%rbx, %rbx
	je	LBB0_58
## %bb.57:
	movq	_M_SYSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.6(%rip), %rcx
	movq	-8256(%rbp), %rdi               ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_msgq_str
LBB0_58:
	movl	$1, %r14d
	testq	%r15, %r15
	je	LBB0_60
## %bb.59:
	movq	%r15, %rdi
	callq	_free
LBB0_60:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_62
## %bb.61:
	movl	%r14d, %eax
	addq	$8296, %rsp                     ## imm = 0x2068
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_47:
	movq	-8280(%rbp), %rbx               ## 8-byte Reload
	movq	-8248(%rbp), %r15               ## 8-byte Reload
	jmp	LBB0_51
LBB0_36:
	movq	%r15, -8248(%rbp)               ## 8-byte Spill
	movq	_O_TRUNC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	jmp	LBB0_38
LBB0_62:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,8,3                      ## @errno
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_ENOENT,8,3                     ## @ENOENT
	.comm	_M_ERR,4,2                      ## @M_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"258|%s expanded into too many file names"

L_.str.1:                               ## @.str.1
	.asciz	"."

L_.str.2:                               ## @.str.2
	.asciz	"%d"

L_.str.3:                               ## @.str.3
	.asciz	"259|%s: not a regular file"

L_.str.4:                               ## @.str.4
	.asciz	"260|%s: not owned by you"

	.comm	_S_IRGRP,4,2                    ## @S_IRGRP
	.comm	_S_IWGRP,4,2                    ## @S_IWGRP
	.comm	_S_IROTH,4,2                    ## @S_IROTH
	.comm	_S_IWOTH,4,2                    ## @S_IWOTH
L_.str.5:                               ## @.str.5
	.asciz	"261|%s: accessible by a user other than the owner"

	.comm	_O_TRUNC,4,2                    ## @O_TRUNC
	.comm	_O_CREAT,4,2                    ## @O_CREAT
	.comm	_O_EXCL,4,2                     ## @O_EXCL
	.comm	_O_WRONLY,4,2                   ## @O_WRONLY
	.comm	_S_IRUSR,4,2                    ## @S_IRUSR
	.comm	_S_IWUSR,4,2                    ## @S_IWUSR
	.comm	_M_SYSERR,4,2                   ## @M_SYSERR
L_.str.6:                               ## @.str.6
	.asciz	"%s"

	.no_dead_strip	_file_backup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function file_backup
_file_backup:                           ; @file_backup
	.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
	mov	w9, #8240
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #2, lsl #12             ; =8192
	sub	sp, sp, #48
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh5:
	adrp	x23, _errno@GOTPAGE
Lloh6:
	ldr	x23, [x23, _errno@GOTPAGEOFF]
	str	xzr, [x23]
Lloh7:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	bl	_open
	mov	x20, x0
	tbnz	w0, #31, LBB0_13
; %bb.1:
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	bl	_ex_cinit
	mov	x8, x22
	ldrb	w25, [x8], #1
	cmp	w25, #78
	csel	x23, x22, x8, ne
	mov	x0, x23
	bl	_strlen
	mov	x2, x0
	mov	x0, x19
	mov	x1, x23
	bl	_CHAR2INT
	mov	x0, x19
	bl	_v_wstrdup
	cbz	x0, LBB0_26
; %bb.2:
	mov	x22, x0
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, x22
	bl	_argv_exp2
	mov	x24, x0
	mov	x0, x22
	bl	_free
	cbnz	x24, LBB0_26
; %bb.3:
	ldr	w8, [sp, #8]
	cmp	w8, #1
	b.ne	LBB0_25
; %bb.4:
	ldr	x8, [sp, #16]
	ldr	x8, [x8]
	cmp	w25, #78
	b.ne	LBB0_29
; %bb.5:
	ldr	w8, [x8]
	lsl	w8, w8, #1
	add	w3, w8, #50
	mov	x0, x19
	mov	x1, #0
	bl	_GET_SPACE_GOTOC
	ldr	x8, [sp, #16]
	ldr	x8, [x8]
	ldp	w8, w1, [x8]
	add	w2, w8, #1
	mov	x0, x19
	bl	_INT2CHAR
	bl	_strdup
	mov	x22, x0
	mov	x25, #0
	mov	x24, #0
	mov	w8, #37
	mov	x9, x0
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x25, x24
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x9, x9, #1
	strb	w10, [x24], #1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x9]
	cmp	w10, #37
	b.eq	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w10, #47
	b.eq	LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	cbnz	w10, LBB0_7
	b	LBB0_30
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	ldrb	w10, [x9, #1]
	cmp	w10, #37
	b.eq	LBB0_7
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	strb	w8, [x24], #1
	ldrb	w10, [x9]
	b	LBB0_7
LBB0_13:
	ldr	x8, [x23]
Lloh10:
	adrp	x9, _ENOENT@GOTPAGE
Lloh11:
	ldr	x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.14:
	mov	w0, #0
	b	LBB0_27
LBB0_15:
	mov	x22, #0
LBB0_16:
	mov	w24, #-1
LBB0_17:
	cmn	w20, #1
	b.eq	LBB0_19
; %bb.18:
	mov	x0, x20
	bl	_close
LBB0_19:
	cmn	w24, #1
	b.eq	LBB0_21
; %bb.20:
	mov	x0, #0
	bl	_unlink
	mov	x0, x24
	bl	_close
LBB0_21:
	cbz	x21, LBB0_23
; %bb.22:
Lloh13:
	adrp	x8, _M_SYSERR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _M_SYSERR@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x3, l_.str.6@PAGE
Lloh17:
	add	x3, x3, l_.str.6@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_msgq_str
LBB0_23:
	cbz	x22, LBB0_26
; %bb.24:
	mov	x0, x22
	bl	_free
	b	LBB0_26
LBB0_25:
Lloh18:
	adrp	x8, _M_ERR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _M_ERR@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
Lloh21:
	adrp	x3, l_.str@PAGE
Lloh22:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x23
	bl	_msgq_str
	mov	x0, x20
	bl	_close
LBB0_26:
	mov	w0, #1
LBB0_27:
	ldur	x8, [x29, #-88]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_63
; %bb.28:
	add	sp, sp, #2, lsl #12             ; =8192
	add	sp, sp, #48
	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_29:
	ldp	w8, w1, [x8]
	add	w2, w8, #1
	mov	x0, x19
	mov	x3, #0
	bl	_INT2CHAR
	mov	x22, #0
	b	LBB0_41
LBB0_30:
	mov	w8, #25637
	strh	w8, [x24]
	strb	wzr, [x24, #2]
	cbz	x25, LBB0_32
; %bb.31:
	strb	wzr, [x25]
	mov	x0, #0
	bl	_opendir
	mov	x26, x0
	mov	w8, #47
	strb	w8, [x25], #1
	b	LBB0_33
LBB0_32:
Lloh26:
	adrp	x0, l_.str.1@PAGE
Lloh27:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_opendir
	mov	x26, x0
LBB0_33:
	cbz	x26, LBB0_38
; %bb.34:
	mov	x0, x26
	bl	_readdir
	cbz	x0, LBB0_39
; %bb.35:
	mov	w27, #0
LBB0_36:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x0]
	add	x2, sp, #4
	mov	x1, x25
	bl	_sscanf
	ldr	w8, [sp, #4]
	cmp	w8, w27
	csel	w8, w8, w27, gt
	cmp	w0, #1
	csel	w27, w8, w27, eq
	mov	x0, x26
	bl	_readdir
	cbnz	x0, LBB0_36
; %bb.37:
	add	w25, w27, #1
	b	LBB0_40
LBB0_38:
	ldr	x8, [sp, #16]
	ldr	x8, [x8]
	ldp	w8, w1, [x8]
	add	w2, w8, #1
	mov	x0, x19
	mov	x3, #0
	bl	_INT2CHAR
	b	LBB0_61
LBB0_39:
	mov	w25, #1
LBB0_40:
	mov	x0, x26
	bl	_closedir
Lloh28:
	adrp	x2, l_.str.2@PAGE
Lloh29:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x24
	mov	x3, x25
	bl	_snprintf
LBB0_41:
	add	x1, sp, #24
	mov	x0, #0
	bl	_stat
	cbz	x0, LBB0_53
; %bb.42:
Lloh30:
	adrp	x8, _O_CREAT@GOTPAGE
Lloh31:
	ldr	x8, [x8, _O_CREAT@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
Lloh33:
	adrp	x9, _O_EXCL@GOTPAGE
Lloh34:
	ldr	x9, [x9, _O_EXCL@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w8, w9, w8
LBB0_43:
Lloh36:
	adrp	x9, _O_WRONLY@GOTPAGE
Lloh37:
	ldr	x9, [x9, _O_WRONLY@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
Lloh39:
	adrp	x10, _S_IRUSR@GOTPAGE
Lloh40:
	ldr	x10, [x10, _S_IRUSR@GOTPAGEOFF]
	orr	w1, w9, w8
Lloh41:
	ldr	w8, [x10]
Lloh42:
	adrp	x9, _S_IWUSR@GOTPAGE
Lloh43:
	ldr	x9, [x9, _S_IWUSR@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, #0
	bl	_open
	mov	x24, x0
	tbnz	w0, #31, LBB0_57
; %bb.44:
	add	x25, sp, #40
	add	x1, sp, #40
	mov	x0, x20
	mov	w2, #8192
	bl	_read
	mov	x23, x0
	cmp	w0, #1
	b.lt	LBB0_49
; %bb.45:
	mov	w26, #0
LBB0_46:                                ; =>This Inner Loop Header: Depth=1
	add	x1, x25, w26, sxtw
	mov	x0, x24
	mov	x2, x23
	bl	_write
	tbnz	w0, #31, LBB0_52
; %bb.47:                               ;   in Loop: Header=BB0_46 Depth=1
	add	w26, w0, w26
	subs	w23, w23, w0
	b.ne	LBB0_46
; %bb.48:                               ;   in Loop: Header=BB0_46 Depth=1
	add	x1, sp, #40
	mov	x0, x20
	mov	w2, #8192
	bl	_read
	mov	x23, x0
	mov	w26, #0
	cmp	w0, #1
	b.ge	LBB0_46
LBB0_49:
	tbnz	w23, #31, LBB0_17
; %bb.50:
	mov	x0, x20
	bl	_close
	cbnz	x0, LBB0_17
; %bb.51:
	mov	x0, x24
	bl	_close
	cbz	x0, LBB0_27
LBB0_52:
	mov	x21, #0
	b	LBB0_17
LBB0_53:
	ldr	w0, [sp, #24]
	bl	_S_ISREG
	cbz	w0, LBB0_58
; %bb.54:
	ldr	x24, [sp, #32]
	bl	_getuid
	cmp	x24, x0
	b.ne	LBB0_59
; %bb.55:
	ldr	w8, [sp, #24]
Lloh45:
	adrp	x9, _S_IRGRP@GOTPAGE
Lloh46:
	ldr	x9, [x9, _S_IRGRP@GOTPAGEOFF]
Lloh47:
	adrp	x10, _S_IWGRP@GOTPAGE
Lloh48:
	ldr	x10, [x10, _S_IWGRP@GOTPAGEOFF]
Lloh49:
	ldr	w9, [x9]
Lloh50:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh51:
	adrp	x10, _S_IROTH@GOTPAGE
Lloh52:
	ldr	x10, [x10, _S_IROTH@GOTPAGEOFF]
Lloh53:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh54:
	adrp	x10, _S_IWOTH@GOTPAGE
Lloh55:
	ldr	x10, [x10, _S_IWOTH@GOTPAGEOFF]
Lloh56:
	ldr	w10, [x10]
	orr	w9, w9, w10
	tst	w9, w8
	b.eq	LBB0_62
; %bb.56:
Lloh57:
	adrp	x8, _M_ERR@GOTPAGE
Lloh58:
	ldr	x8, [x8, _M_ERR@GOTPAGEOFF]
Lloh59:
	ldr	w1, [x8]
Lloh60:
	adrp	x3, l_.str.5@PAGE
Lloh61:
	add	x3, x3, l_.str.5@PAGEOFF
	b	LBB0_60
LBB0_57:
	mov	x21, x23
	b	LBB0_17
LBB0_58:
Lloh62:
	adrp	x8, _M_ERR@GOTPAGE
Lloh63:
	ldr	x8, [x8, _M_ERR@GOTPAGEOFF]
Lloh64:
	ldr	w1, [x8]
Lloh65:
	adrp	x3, l_.str.3@PAGE
Lloh66:
	add	x3, x3, l_.str.3@PAGEOFF
	b	LBB0_60
LBB0_59:
Lloh67:
	adrp	x8, _M_ERR@GOTPAGE
Lloh68:
	ldr	x8, [x8, _M_ERR@GOTPAGEOFF]
Lloh69:
	ldr	w1, [x8]
Lloh70:
	adrp	x3, l_.str.4@PAGE
Lloh71:
	add	x3, x3, l_.str.4@PAGEOFF
LBB0_60:
	mov	x0, x19
	mov	x2, x23
	bl	_msgq_str
LBB0_61:
	mov	x21, #0
	b	LBB0_16
LBB0_62:
Lloh72:
	adrp	x8, _O_TRUNC@GOTPAGE
Lloh73:
	ldr	x8, [x8, _O_TRUNC@GOTPAGEOFF]
Lloh74:
	ldr	w8, [x8]
	b	LBB0_43
LBB0_63:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh49
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,8,3                      ; @errno
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_ENOENT,8,3                     ; @ENOENT
	.comm	_M_ERR,4,2                      ; @M_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"258|%s expanded into too many file names"

l_.str.1:                               ; @.str.1
	.asciz	"."

l_.str.2:                               ; @.str.2
	.asciz	"%d"

l_.str.3:                               ; @.str.3
	.asciz	"259|%s: not a regular file"

l_.str.4:                               ; @.str.4
	.asciz	"260|%s: not owned by you"

	.comm	_S_IRGRP,4,2                    ; @S_IRGRP
	.comm	_S_IWGRP,4,2                    ; @S_IWGRP
	.comm	_S_IROTH,4,2                    ; @S_IROTH
	.comm	_S_IWOTH,4,2                    ; @S_IWOTH
l_.str.5:                               ; @.str.5
	.asciz	"261|%s: accessible by a user other than the owner"

	.comm	_O_TRUNC,4,2                    ; @O_TRUNC
	.comm	_O_CREAT,4,2                    ; @O_CREAT
	.comm	_O_EXCL,4,2                     ; @O_EXCL
	.comm	_O_WRONLY,4,2                   ; @O_WRONLY
	.comm	_S_IRUSR,4,2                    ; @S_IRUSR
	.comm	_S_IWUSR,4,2                    ; @S_IWUSR
	.comm	_M_SYSERR,4,2                   ; @M_SYSERR
l_.str.6:                               ; @.str.6
	.asciz	"%s"

	.no_dead_strip	_file_backup
.subsections_via_symbols
