	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function auto_create_shard
_auto_create_shard:                     ## @auto_create_shard
	.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	%rcx, %r12
	movq	%rdx, %r14
	movq	8(%rdi), %rcx
	movl	%esi, %eax
	cltd
	idivl	(%rcx)
	testl	%edx, %edx
	jne	LBB0_4
## %bb.1:
	movq	%rdi, %rbx
	movq	%r12, %rdx
	callq	_svn_fs_x__path_shard
	movq	%rax, %r15
	movq	_APR_OS_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	%r12, %rdx
	callq	_svn_io_dir_make
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	(%r13), %edi
	callq	_APR_STATUS_IS_EEXIST
	testl	%eax, %eax
	je	LBB0_5
LBB0_3:
	movq	%r13, %rdi
	callq	_svn_error_clear
	movl	(%rbx), %edi
	movq	_PATH_REVS_DIR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdx
	callq	_svn_dirent_join
	movl	%eax, %edi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_svn_io_copy_perms
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_svn_fs_x__batch_fsync_new_path
	movl	%eax, %edi
	callq	_SVN_ERR
LBB0_4:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_svn_error_trace                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_APR_OS_DEFAULT,4,2             ## @APR_OS_DEFAULT
	.comm	_PATH_REVS_DIR,4,2              ## @PATH_REVS_DIR
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.no_dead_strip	_auto_create_shard
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function auto_create_shard
_auto_create_shard:                     ; @auto_create_shard
	.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
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
	sdiv	w9, w1, w8
	msub	w8, w9, w8, w1
	cbnz	w8, LBB0_4
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	mov	x22, x0
	mov	x2, x3
	bl	_svn_fs_x__path_shard
	mov	x21, x0
Lloh0:
	adrp	x8, _APR_OS_DEFAULT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _APR_OS_DEFAULT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_svn_io_dir_make
	mov	x23, x0
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w0, [x23]
	bl	_APR_STATUS_IS_EEXIST
	cbz	w0, LBB0_5
LBB0_3:
	mov	x0, x23
	bl	_svn_error_clear
	ldr	w0, [x22]
Lloh3:
	adrp	x8, _PATH_REVS_DIR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PATH_REVS_DIR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_svn_dirent_join
	mov	x1, x21
	mov	x2, x19
	bl	_svn_io_copy_perms
	bl	_SVN_ERR
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_svn_fs_x__batch_fsync_new_path
	bl	_SVN_ERR
LBB0_4:
Lloh6:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	x0, [x8]
	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
LBB0_5:
	mov	x0, x23
	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	_svn_error_trace
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_APR_OS_DEFAULT,4,2             ; @APR_OS_DEFAULT
	.comm	_PATH_REVS_DIR,4,2              ; @PATH_REVS_DIR
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.no_dead_strip	_auto_create_shard
.subsections_via_symbols
