	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function auto_pad_block
_auto_pad_block:                        ## @auto_pad_block
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	16(%rdi), %rax
	movq	(%rax), %rax
	movslq	(%rax), %rax
	imulq	$1374389535, %rax, %rdi         ## imm = 0x51EB851F
	movq	%rdi, %rax
	shrq	$63, %rax
	sarq	$36, %rdi
	addl	%eax, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	movl	$512, %esi                      ## imm = 0x200
	callq	_MAX
	movq	%rax, %r12
	movq	%r15, %rdi
	callq	_get_block_left
	cmpq	%r13, %rax
	jge	LBB0_3
## %bb.1:
	movq	%rax, %rbx
	cmpq	%r12, %rax
	jge	LBB0_3
## %bb.2:
	movl	(%r15), %eax
	movl	%eax, -48(%rbp)
	movq	%rbx, -56(%rbp)
	movq	_SVN_FS_FS__ITEM_TYPE_UNUSED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	_SVN_INVALID_REVNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
	movq	_SVN_FS_FS__ITEM_INDEX_UNUSED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movq	$0, -80(%rbp)
	movl	8(%r15), %edi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_write_null_bytes
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	4(%r15), %edi
	leaq	-80(%rbp), %rsi
	movq	%r14, %rdx
	callq	_svn_fs_fs__p2l_proto_index_add_entry
	movl	%eax, %edi
	callq	_SVN_ERR
	addl	%ebx, (%r15)
LBB0_3:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_FS_FS__ITEM_TYPE_UNUSED,4,2 ## @SVN_FS_FS__ITEM_TYPE_UNUSED
	.comm	_SVN_INVALID_REVNUM,4,2         ## @SVN_INVALID_REVNUM
	.comm	_SVN_FS_FS__ITEM_INDEX_UNUSED,4,2 ## @SVN_FS_FS__ITEM_INDEX_UNUSED
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.no_dead_strip	_auto_pad_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function auto_pad_block
_auto_pad_block:                        ; @auto_pad_block
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x20, x2
	mov	x23, x1
	mov	x19, x0
	ldr	x8, [x0, #16]
	ldr	x8, [x8]
	ldrsw	x8, [x8]
	mov	w9, #34079
	movk	w9, #20971, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #63
	asr	x8, x8, #36
	add	w0, w8, w9
	mov	w1, #512
	bl	_MAX
	mov	x22, x0
	mov	x0, x19
	bl	_get_block_left
	cmp	x0, x23
	b.ge	LBB0_3
; %bb.1:
	mov	x21, x0
	cmp	x0, x22
	b.ge	LBB0_3
; %bb.2:
	ldr	w8, [x19]
	str	w8, [sp, #40]
	str	x21, [sp, #32]
Lloh0:
	adrp	x8, _SVN_FS_FS__ITEM_TYPE_UNUSED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVN_FS_FS__ITEM_TYPE_UNUSED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #24]
Lloh3:
	adrp	x8, _SVN_INVALID_REVNUM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SVN_INVALID_REVNUM@GOTPAGEOFF]
Lloh5:
	adrp	x9, _SVN_FS_FS__ITEM_INDEX_UNUSED@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SVN_FS_FS__ITEM_INDEX_UNUSED@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #16]
	str	xzr, [sp, #8]
	ldr	w0, [x19, #8]
	mov	x1, x21
	mov	x2, x20
	bl	_write_null_bytes
	bl	_SVN_ERR
	ldr	w0, [x19, #4]
	add	x1, sp, #8
	mov	x2, x20
	bl	_svn_fs_fs__p2l_proto_index_add_entry
	bl	_SVN_ERR
	ldr	w8, [x19]
	add	w8, w8, w21
	str	w8, [x19]
LBB0_3:
Lloh9:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_FS_FS__ITEM_TYPE_UNUSED,4,2 ; @SVN_FS_FS__ITEM_TYPE_UNUSED
	.comm	_SVN_INVALID_REVNUM,4,2         ; @SVN_INVALID_REVNUM
	.comm	_SVN_FS_FS__ITEM_INDEX_UNUSED,4,2 ; @SVN_FS_FS__ITEM_INDEX_UNUSED
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.no_dead_strip	_auto_pad_block
.subsections_via_symbols
