	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stream_reader
_stream_reader:                         ## @stream_reader
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	%rsi, (%rcx)
	movl	(%rdi), %edi
	movq	%rdx, %rsi
	movq	%rcx, %rdx
	callq	_svn_stream_read_full
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %r15
	movq	8(%r14), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	4(%r14), %edi
	movq	%r15, %rsi
	callq	*%rax
LBB0_3:
	movq	%r15, %rdi
	callq	_svn_error_clear
	movq	_SVN_ERR_RA_SERF_STREAM_BUCKET_READ_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	cmpq	%r12, (%rbx)
	jne	LBB0_6
## %bb.5:
	movq	_APR_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movl	(%r14), %edi
	callq	_svn_stream_close
	movq	%rax, %rdi
	callq	_svn_error_clear
	movq	_APR_EOF@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_ERR_RA_SERF_STREAM_BUCKET_READ_ERROR,4,2 ## @SVN_ERR_RA_SERF_STREAM_BUCKET_READ_ERROR
	.comm	_APR_SUCCESS,4,2                ## @APR_SUCCESS
	.comm	_APR_EOF,4,2                    ## @APR_EOF
	.no_dead_strip	_stream_reader
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stream_reader
_stream_reader:                         ; @stream_reader
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x3
	mov	x22, x1
	mov	x19, x0
	str	x1, [x3]
	ldr	w0, [x0]
	mov	x1, x2
	mov	x2, x3
	bl	_svn_stream_read_full
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	w0, [x19, #4]
	mov	x1, x20
	blr	x8
LBB0_3:
	mov	x0, x20
	bl	_svn_error_clear
Lloh0:
	adrp	x8, _SVN_ERR_RA_SERF_STREAM_BUCKET_READ_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVN_ERR_RA_SERF_STREAM_BUCKET_READ_ERROR@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
	ldr	x8, [x21]
	cmp	x8, x22
	b.ne	LBB0_6
; %bb.5:
Lloh2:
	adrp	x8, _APR_SUCCESS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _APR_SUCCESS@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
	ldr	w0, [x19]
	bl	_svn_stream_close
	bl	_svn_error_clear
Lloh4:
	adrp	x8, _APR_EOF@GOTPAGE
Lloh5:
	ldr	x8, [x8, _APR_EOF@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_ERR_RA_SERF_STREAM_BUCKET_READ_ERROR,4,2 ; @SVN_ERR_RA_SERF_STREAM_BUCKET_READ_ERROR
	.comm	_APR_SUCCESS,4,2                ; @APR_SUCCESS
	.comm	_APR_EOF,4,2                    ; @APR_EOF
	.no_dead_strip	_stream_reader
.subsections_via_symbols
