	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stringbuf_from_aprfile
_stringbuf_from_aprfile:                ## @stringbuf_from_aprfile
	.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	%r8, %r12
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movq	_SVN__STREAM_CHUNK_SIZE@GOTPCREL(%rip), %r15
	movq	(%r15), %r13
	movq	%r13, %rsi
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.1:
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	$0, -48(%rbp)
	movq	_APR_FINFO_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-64(%rbp), %rdi
	movq	%r14, %rdx
	callq	_apr_file_info_get
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	cmpq	$0, -56(%rbp)
	je	LBB0_4
## %bb.3:
	movq	%r12, %r15
	movq	%r14, %r12
	movq	-64(%rbp), %r14
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_svn_stringbuf_create_ensure
	movq	%rbx, %r13
	movq	%rax, %rbx
	movq	8(%rax), %rsi
	leaq	-80(%rbp), %r8
	movq	%r12, %rdi
	movq	%r14, %rdx
	movq	%rax, %rcx
	movq	%r15, %r9
	callq	_svn_io_file_read_full2
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	movq	$0, (%rcx,%rax,8)
	movq	%rbx, (%r13)
	jmp	LBB0_11
LBB0_4:
	movq	(%r15), %rsi
LBB0_5:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_apr_palloc
	movq	%rax, %rbx
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_svn_stringbuf_create_ensure
	movq	%rax, %r13
	movq	(%r15), %rax
	movq	%rax, -64(%rbp)
	leaq	-64(%rbp), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rcx
	callq	_svn_io_file_read
	movq	%r12, %r15
	movq	%r14, %r12
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_svn_stringbuf_appendbytes
	movq	_SVN__STREAM_CHUNK_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	leaq	-64(%rbp), %rdx
	movq	%r15, %rcx
	callq	_svn_io_file_read
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %r14
LBB0_8:
	movl	(%r14), %edi
	callq	_APR_STATUS_IS_EOF
	movq	%r14, %rdi
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	callq	_svn_error_clear
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%r13, (%rax)
LBB0_11:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_12
LBB0_9:
	callq	_svn_error_trace
LBB0_12:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN__STREAM_CHUNK_SIZE,8,3     ## @SVN__STREAM_CHUNK_SIZE
	.comm	_APR_FINFO_SIZE,4,2             ## @APR_FINFO_SIZE
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.no_dead_strip	_stringbuf_from_aprfile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stringbuf_from_aprfile
_stringbuf_from_aprfile:                ; @stringbuf_from_aprfile
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x4
	mov	x21, x2
	mov	x19, x0
Lloh0:
	adrp	x25, _SVN__STREAM_CHUNK_SIZE@GOTPAGE
Lloh1:
	ldr	x25, [x25, _SVN__STREAM_CHUNK_SIZE@GOTPAGEOFF]
	ldr	x22, [x25]
	mov	x1, x22
	cbz	x3, LBB0_3
; %bb.1:
	stp	xzr, xzr, [sp, #8]
	str	xzr, [sp, #24]
Lloh2:
	adrp	x8, _APR_FINFO_SIZE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _APR_FINFO_SIZE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	add	x0, sp, #8
	mov	x2, x21
	bl	_apr_file_info_get
	ldr	x8, [sp, #16]
	cmp	w0, #0
	ccmp	x8, #0, #4, eq
	b.ne	LBB0_8
; %bb.2:
	ldr	x1, [x25]
LBB0_3:
	mov	x0, x20
	bl	_apr_palloc
	mov	x23, x0
	mov	x0, x22
	mov	x1, x20
	bl	_svn_stringbuf_create_ensure
	mov	x22, x0
	ldr	x8, [x25]
	str	x8, [sp, #8]
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, x23
	mov	x3, x20
	bl	_svn_io_file_read
	mov	x24, x0
	cbnz	x0, LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x2, [sp, #8]
	mov	x0, x22
	mov	x1, x23
	bl	_svn_stringbuf_appendbytes
	ldr	x8, [x25]
	str	x8, [sp, #8]
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, x23
	mov	x3, x20
	bl	_svn_io_file_read
	cbz	x0, LBB0_4
; %bb.5:
	mov	x24, x0
LBB0_6:
	ldr	w0, [x24]
	bl	_APR_STATUS_IS_EOF
	cbz	w0, LBB0_10
; %bb.7:
	mov	x0, x24
	bl	_svn_error_clear
	str	x22, [x19]
	b	LBB0_9
LBB0_8:
	ldr	x22, [sp, #8]
	mov	x0, x22
	mov	x1, x20
	bl	_svn_stringbuf_create_ensure
	mov	x23, x0
	ldr	x1, [x0, #8]
	mov	x4, sp
	mov	x0, x21
	mov	x2, x22
	mov	x3, x23
	mov	x5, x20
	bl	_svn_io_file_read_full2
	bl	_SVN_ERR
	ldp	x9, x8, [x23]
	str	xzr, [x8, x9, lsl #3]
	str	x23, [x19]
LBB0_9:
Lloh5:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	x0, [x8]
	b	LBB0_11
LBB0_10:
	mov	x0, x24
	bl	_svn_error_trace
LBB0_11:
	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
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN__STREAM_CHUNK_SIZE,8,3     ; @SVN__STREAM_CHUNK_SIZE
	.comm	_APR_FINFO_SIZE,4,2             ; @APR_FINFO_SIZE
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.no_dead_strip	_stringbuf_from_aprfile
.subsections_via_symbols
