	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function window_handler
_window_handler:                        ## @window_handler
	.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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	cmpl	$0, 4(%rbx)
	jne	LBB0_4
## %bb.2:
	cmpl	$1, (%rbx)
	jne	LBB0_4
## %bb.3:
	cmpl	$0, 12(%r14)
	je	LBB0_13
LBB0_4:
	cmpq	$0, 16(%r14)
	je	LBB0_5
## %bb.6:
	testq	%rbx, %rbx
	je	LBB0_7
LBB0_8:
	movl	4(%r14), %edi
	callq	_svn_pool_clear
	movl	12(%r14), %r8d
	movl	4(%r14), %eax
	movl	8(%r14), %r9d
	movl	%eax, (%rsp)
	leaq	-56(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	leaq	-40(%rbp), %rdx
	movq	%rbx, %rcx
	callq	_encode_window
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %rax
	movq	(%rax), %rcx
	movq	%rcx, -32(%rbp)
	movl	(%r14), %edi
	movl	8(%rax), %esi
	leaq	-32(%rbp), %rdx
	callq	_svn_stream_write
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-56(%rbp), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	jle	LBB0_10
## %bb.9:
	movq	%rcx, -32(%rbp)
	movl	(%r14), %edi
	movl	8(%rax), %esi
	leaq	-32(%rbp), %rdx
	callq	_svn_stream_write
	movl	%eax, %edi
	callq	_SVN_ERR
LBB0_10:
	movq	-40(%rbp), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	jle	LBB0_12
## %bb.11:
	movq	%rcx, -32(%rbp)
	movl	(%r14), %edi
	movl	8(%rax), %esi
	leaq	-32(%rbp), %rdx
	callq	_svn_stream_write
	movl	%eax, %edi
	callq	_SVN_ERR
	jmp	LBB0_12
LBB0_5:
	movq	_SVNDIFF_HEADER_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movl	(%r14), %r15d
	movl	12(%r14), %edi
	callq	_get_svndiff_header
	leaq	-32(%rbp), %rdx
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_svn_stream_write
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r14)
	testq	%rbx, %rbx
	jne	LBB0_8
LBB0_7:
	movl	(%r14), %edi
	callq	_svn_stream_close
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	4(%r14), %edi
	callq	_svn_pool_destroy
LBB0_12:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_send_simple_insertion_window
	movl	%eax, %edi
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_svn_error_trace                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SVNDIFF_HEADER_SIZE,8,3        ## @SVNDIFF_HEADER_SIZE
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.no_dead_strip	_window_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function window_handler
_window_handler:                        ; @window_handler
	.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
	mov	x19, x1
	mov	x20, x0
	cbz	x0, LBB0_4
; %bb.1:
	ldr	w8, [x20, #4]
	cbnz	w8, LBB0_4
; %bb.2:
	ldr	w8, [x20]
	cmp	w8, #1
	b.ne	LBB0_4
; %bb.3:
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_13
LBB0_4:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_10
; %bb.5:
	cbz	x20, LBB0_11
LBB0_6:
	ldr	w0, [x19, #4]
	bl	_svn_pool_clear
	ldp	w5, w4, [x19, #8]
	ldr	w6, [x19, #4]
	add	x0, sp, #16
	add	x1, sp, #8
	mov	x2, sp
	mov	x3, x20
	bl	_encode_window
	bl	_SVN_ERR
	ldr	x8, [sp, #8]
	ldr	x9, [x8]
	str	x9, [sp, #24]
	ldr	w0, [x19]
	ldr	w1, [x8, #8]
	add	x2, sp, #24
	bl	_svn_stream_write
	bl	_SVN_ERR
	ldr	x8, [sp, #16]
	ldr	x9, [x8]
	cmp	x9, #1
	b.lt	LBB0_8
; %bb.7:
	str	x9, [sp, #24]
	ldr	w0, [x19]
	ldr	w1, [x8, #8]
	add	x2, sp, #24
	bl	_svn_stream_write
	bl	_SVN_ERR
LBB0_8:
	ldr	x8, [sp]
	ldr	x9, [x8]
	cmp	x9, #1
	b.lt	LBB0_12
; %bb.9:
	str	x9, [sp, #24]
	ldr	w0, [x19]
	ldr	w1, [x8, #8]
	add	x2, sp, #24
	bl	_svn_stream_write
	bl	_SVN_ERR
	b	LBB0_12
LBB0_10:
Lloh0:
	adrp	x8, _SVNDIFF_HEADER_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVNDIFF_HEADER_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	w21, [x19]
	ldr	w0, [x19, #12]
	bl	_get_svndiff_header
	mov	x1, x0
	add	x2, sp, #24
	mov	x0, x21
	bl	_svn_stream_write
	bl	_SVN_ERR
Lloh3:
	adrp	x8, _TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [x19, #16]
	cbnz	x20, LBB0_6
LBB0_11:
	ldr	w0, [x19]
	bl	_svn_stream_close
	bl	_SVN_ERR
	ldr	w0, [x19, #4]
	bl	_svn_pool_destroy
LBB0_12:
Lloh6:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	x0, [x8]
	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_13:
	mov	x0, x20
	mov	x1, x19
	bl	_send_simple_insertion_window
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SVNDIFF_HEADER_SIZE,8,3        ; @SVNDIFF_HEADER_SIZE
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.no_dead_strip	_window_handler
.subsections_via_symbols
