	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_io_copy_perms              ## -- Begin function svn_io_copy_perms
	.p2align	4, 0x90
_svn_io_copy_perms:                     ## @svn_io_copy_perms
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	-52(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	movq	%r14, %rdi
	movq	%r12, %rcx
	callq	_svn_io_check_special_path
	movl	%eax, %edi
	callq	_SVN_ERR
	cmpq	$0, -48(%rbp)
	jne	LBB0_5
## %bb.1:
	movq	_APR_FINFO_PROT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-40(%rbp), %rdi
	movq	%rbx, %rsi
	movq	%r12, %rcx
	callq	_svn_io_stat
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	-40(%rbp), %esi
	movq	%r14, %rdi
	movq	%r12, %rdx
	callq	_file_perms_set
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	%rax, %r15
	movl	(%rax), %edi
	callq	_APR_STATUS_IS_INCOMPLETE
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movl	(%r15), %edi
	callq	_APR_STATUS_IS_ENOTIMPL
	testq	%rax, %rax
	je	LBB0_7
LBB0_4:
	movq	%r15, %rdi
	callq	_svn_error_clear
LBB0_5:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_6:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %ebx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_svn_dirent_local_style
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_svn_error_quick_wrapf
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.comm	_APR_FINFO_PROT,4,2             ## @APR_FINFO_PROT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't set permissions on '%s'"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_io_copy_perms              ; -- Begin function svn_io_copy_perms
	.p2align	2
_svn_io_copy_perms:                     ; @svn_io_copy_perms
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	add	x1, sp, #20
	add	x2, sp, #8
	mov	x0, x20
	mov	x3, x19
	bl	_svn_io_check_special_path
	bl	_SVN_ERR
	ldr	x8, [sp, #8]
	cbnz	x8, LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _APR_FINFO_PROT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _APR_FINFO_PROT@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x0, sp, #24
	mov	x1, x21
	mov	x3, x19
	bl	_svn_io_stat
	bl	_SVN_ERR
	ldr	w1, [sp, #24]
	mov	x0, x20
	mov	x2, x19
	bl	_file_perms_set
	cbz	x0, LBB0_5
; %bb.2:
	mov	x21, x0
	ldr	w0, [x0]
	bl	_APR_STATUS_IS_INCOMPLETE
	cbnz	x0, LBB0_4
; %bb.3:
	ldr	w0, [x21]
	bl	_APR_STATUS_IS_ENOTIMPL
	cbz	x0, LBB0_7
LBB0_4:
	mov	x0, x21
	bl	_svn_error_clear
LBB0_5:
Lloh3:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
LBB0_6:
	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
	add	sp, sp, #80
	ret
LBB0_7:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x22, x0
	mov	x0, x20
	mov	x1, x19
	bl	_svn_dirent_local_style
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_svn_error_quick_wrapf
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.comm	_APR_FINFO_PROT,4,2             ; @APR_FINFO_PROT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't set permissions on '%s'"

.subsections_via_symbols
