	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_stream
_handle_stream:                         ## @handle_stream
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	32(%rdx), %rdi
	cmpl	$200, (%rdi)
	jne	LBB0_14
## %bb.1:
	movq	%rdx, %r15
	movq	%rsi, %r14
	leaq	-56(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	movq	%rsi, %rdi
	movl	$8000, %esi                     ## imm = 0x1F40
	callq	_serf_bucket_read
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_SERF_BUCKET_READ_ERROR
	testq	%rax, %rax
	je	LBB0_2
LBB0_8:
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_svn_ra_serf__wrap_err
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	_svn_ra_serf__unexpected_status
	movl	%eax, %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_svn_error_trace                ## TAILCALL
LBB0_2:
	leaq	-56(%rbp), %r13
	leaq	-48(%rbp), %r12
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	testl	%ebx, %ebx
	jne	LBB0_8
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	movl	$8000, %esi                     ## imm = 0x1F40
	movq	%r13, %rdx
	movq	%r12, %rcx
	callq	_serf_bucket_read
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_SERF_BUCKET_READ_ERROR
	testq	%rax, %rax
	jne	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax
	movq	(%r15), %rdx
	addq	%rax, %rdx
	movq	%rdx, (%r15)
	cmpq	$0, 24(%r15)
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r15), %rcx
	subq	%rdx, %rcx
	jle	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %edi
	callq	_APR_STATUS_IS_EOF
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_SVN_ERR_MALFUNCTION
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %edi
	callq	_APR_STATUS_IS_EAGAIN
	testq	%rax, %rax
	je	LBB0_13
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_FALSE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, 24(%r15)
	addq	%rcx, %rax
	addq	%rax, -56(%rbp)
	negq	%rcx
	movq	%rcx, -48(%rbp)
	movq	%rcx, %rax
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, -64(%rbp)
	movl	16(%r15), %edi
	movq	-56(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	callq	_svn_stream_write
	movl	%eax, %edi
	callq	_SVN_ERR
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,8,3                      ## @FALSE
	.no_dead_strip	_handle_stream
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_stream
_handle_stream:                         ; @handle_stream
	.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
	ldr	x0, [x2, #32]
	ldr	w8, [x0]
	cmp	w8, #200
	b.ne	LBB0_3
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	add	x2, sp, #24
	add	x3, sp, #16
	mov	x0, x1
	mov	w1, #8000
	bl	_serf_bucket_read
	mov	x21, x0
	bl	_SERF_BUCKET_READ_ERROR
	cbz	x0, LBB0_4
LBB0_2:
	mov	x0, x21
	mov	x1, #0
	bl	_svn_ra_serf__wrap_err
	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_3:
	bl	_svn_ra_serf__unexpected_status
	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
	b	_svn_error_trace
LBB0_4:
Lloh0:
	adrp	x22, _FALSE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _FALSE@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	cbnz	w21, LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x2, sp, #24
	add	x3, sp, #16
	mov	x0, x20
	mov	w1, #8000
	bl	_serf_bucket_read
	mov	x21, x0
	bl	_SERF_BUCKET_READ_ERROR
	cbnz	x0, LBB0_2
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #16]
	ldr	x9, [x19]
	add	x9, x9, x8
	str	x9, [x19]
	ldr	x10, [x19, #24]
	cbz	x10, LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x10, [x19, #8]
	subs	x9, x10, x9
	b.le	LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x21
	bl	_APR_STATUS_IS_EOF
	cbz	x0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	bl	_SVN_ERR_MALFUNCTION
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x21
	bl	_APR_STATUS_IS_EAGAIN
	cbz	x0, LBB0_6
	b	LBB0_2
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x10, [x22]
	str	x10, [x19, #24]
	ldr	x10, [sp, #24]
	add	x8, x9, x8
	add	x8, x10, x8
	str	x8, [sp, #24]
	neg	x8, x9
	str	x8, [sp, #16]
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=1
	cbz	x8, LBB0_5
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=1
	str	x8, [sp, #8]
	ldr	w0, [x19, #16]
	ldr	x1, [sp, #24]
	add	x2, sp, #8
	bl	_svn_stream_write
	bl	_SVN_ERR
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,8,3                      ; @FALSE
	.no_dead_strip	_handle_stream
.subsections_via_symbols
