	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function encode_window
_encode_window:                         ## @encode_window
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -84(%rbp)                 ## 4-byte Spill
	movl	%r8d, -88(%rbp)                 ## 4-byte Spill
	movq	%rcx, %rbx
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	16(%rbp), %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_INSTRUCTION_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	%r15, %rdi
	callq	_svn_stringbuf_create_empty
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_svn_stringbuf_create_empty
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%rbx)
	jle	LBB0_14
## %bb.1:
	movq	32(%rbx), %r13
	movq	%r14, %r15
	incq	%r15
	addq	$8, %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	subl	%r14d, %eax
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_svn_stringbuf_appendbytes
	movslq	(%rbx), %rax
	leaq	(%rax,%rax,2), %rax
	shlq	$2, %rax
	addq	32(%rbx), %rax
	addq	$12, %r13
	addq	$12, %r12
	cmpq	%rax, %r12
	jae	LBB0_14
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-8(%r13), %r12
	movl	-8(%r13), %eax
	cmpl	$128, %eax
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$130, %eax
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$129, %eax
	jne	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movb	$0, (%r14)
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movb	$-128, (%r14)
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movb	$64, (%r14)
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%r12), %esi
	cmpl	$63, %esi
	ja	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	orb	%sil, (%r14)
	movq	%r15, %rax
	cmpl	$130, (%r12)
	je	LBB0_13
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_svn__encode_uint
	cmpl	$130, (%r12)
	je	LBB0_13
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %esi
	movq	%rax, %rdi
	callq	_svn__encode_uint
	jmp	LBB0_13
LBB0_14:
	movl	24(%rbx), %esi
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_append_encoded_int
	movl	20(%rbx), %esi
	movq	%r13, %rdi
	callq	_append_encoded_int
	movl	16(%rbx), %esi
	movq	%r13, %rdi
	callq	_append_encoded_int
	movl	-88(%rbp), %eax                 ## 4-byte Reload
	cmpl	$1, %eax
	je	LBB0_18
## %bb.15:
	cmpl	$2, %eax
	jne	LBB0_19
## %bb.16:
	movq	16(%rbp), %r15
	movq	%r15, %rdi
	callq	_svn_stringbuf_create_empty
	movq	%rax, %r14
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movl	4(%rax), %edi
	movq	%r14, %rdx
	callq	_svn__compress_lz4
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	(%r14), %esi
	movq	%r13, %rdi
	callq	_append_encoded_int
	movq	%r15, %rdi
	callq	_svn_stringbuf_create_empty
	movq	%rax, %r15
	movq	8(%rbx), %rax
	movl	(%rax), %esi
	movl	4(%rax), %edi
	movq	%r15, %rdx
	callq	_svn__compress_lz4
	jmp	LBB0_17
LBB0_18:
	movq	16(%rbp), %r15
	movq	%r15, %rdi
	callq	_svn_stringbuf_create_empty
	movq	%rax, %r14
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movl	4(%rax), %edi
	movq	%r14, %rdx
	movl	-84(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %ecx
	callq	_svn__compress_zlib
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	(%r14), %esi
	movq	%r13, %rdi
	callq	_append_encoded_int
	movq	%r15, %rdi
	callq	_svn_stringbuf_create_empty
	movq	%rax, %r15
	movq	8(%rbx), %rax
	movl	(%rax), %esi
	movl	4(%rax), %edi
	movq	%r15, %rdx
	movl	%r12d, %ecx
	callq	_svn__compress_zlib
LBB0_17:
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	%r15, %rdi
	callq	_svn_stringbuf__morph_into_string
	movq	%rax, %rbx
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_20
LBB0_19:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_append_encoded_int
	movq	8(%rbx), %rbx
LBB0_20:
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_append_encoded_int
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%r12)
	movq	%r13, (%r15)
	movq	%rbx, (%r14)
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_22
## %bb.21:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_INSTRUCTION_LEN,4,2        ## @MAX_INSTRUCTION_LEN
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.no_dead_strip	_encode_window
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function encode_window
_encode_window:                         ; @encode_window
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #64
	mov	x19, x6
	stur	w5, [x29, #-132]                ; 4-byte Folded Spill
	stur	w4, [x29, #-92]                 ; 4-byte Folded Spill
	mov	x23, x3
	stp	x1, x2, [x29, #-112]            ; 16-byte Folded Spill
	stur	x0, [x29, #-120]                ; 8-byte Folded Spill
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAX_INSTRUCTION_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_INSTRUCTION_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x28, x9, x8
	mov	sp, x28
	mov	x0, x6
	bl	_svn_stringbuf_create_empty
	mov	x26, x0
	stur	x19, [x29, #-128]               ; 8-byte Folded Spill
	mov	x0, x19
	bl	_svn_stringbuf_create_empty
	mov	x22, x0
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.1:
	add	x19, x28, #1
	ldr	x8, [x23, #32]
	add	x20, x8, #8
	mov	w21, #64
	mov	w25, #12
	mov	w27, #128
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	w2, w0, w28
	mov	x0, x26
	mov	x1, x28
	bl	_svn_stringbuf_appendbytes
	ldr	x8, [x23, #32]
	ldrsw	x9, [x23]
	madd	x8, x9, x25, x8
	add	x20, x20, #12
	add	x9, x24, #12
	cmp	x9, x8
	b.hs	LBB0_14
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x24, x20
	ldr	w8, [x24, #-8]!
	cmp	w8, #128
	b.eq	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, #130
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, #129
	b.ne	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	strb	wzr, [x28]
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	strb	w27, [x28]
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	strb	w21, [x28]
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x24, #4]
	cmp	w1, #63
	b.hi	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [x28]
	orr	w8, w8, w1
	strb	w8, [x28]
	mov	x0, x19
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_svn__encode_uint
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x24]
	cmp	w8, #130
	b.eq	LBB0_2
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x20]
	bl	_svn__encode_uint
	b	LBB0_2
LBB0_14:
	ldr	w1, [x23, #24]
	mov	x0, x22
	bl	_append_encoded_int
	ldr	w1, [x23, #20]
	mov	x0, x22
	bl	_append_encoded_int
	ldr	w1, [x23, #16]
	mov	x0, x22
	bl	_append_encoded_int
	ldur	w8, [x29, #-92]                 ; 4-byte Folded Reload
	cmp	w8, #1
	b.eq	LBB0_17
; %bb.15:
	cmp	w8, #2
	b.ne	LBB0_18
; %bb.16:
	ldur	x19, [x29, #-128]               ; 8-byte Folded Reload
	mov	x0, x19
	bl	_svn_stringbuf_create_empty
	mov	x25, x0
	ldp	w1, w0, [x26]
	mov	x2, x25
	bl	_svn__compress_lz4
	bl	_SVN_ERR
	ldr	w1, [x25]
	mov	x0, x22
	bl	_append_encoded_int
	mov	x0, x19
	bl	_svn_stringbuf_create_empty
	mov	x19, x0
	ldr	x8, [x23, #8]
	ldp	w1, w0, [x8]
	mov	x2, x19
	bl	_svn__compress_lz4
	bl	_SVN_ERR
	mov	x0, x19
	bl	_svn_stringbuf__morph_into_string
	mov	x19, x0
	mov	x26, x25
	b	LBB0_19
LBB0_17:
	ldur	x19, [x29, #-128]               ; 8-byte Folded Reload
	mov	x0, x19
	bl	_svn_stringbuf_create_empty
	mov	x27, x0
	ldp	w1, w0, [x26]
	mov	x2, x27
	ldur	w20, [x29, #-132]               ; 4-byte Folded Reload
	mov	x3, x20
	bl	_svn__compress_zlib
	bl	_SVN_ERR
	ldr	w1, [x27]
	mov	x0, x22
	bl	_append_encoded_int
	mov	x0, x19
	bl	_svn_stringbuf_create_empty
	mov	x19, x0
	ldr	x8, [x23, #8]
	ldp	w1, w0, [x8]
	mov	x2, x19
	mov	x3, x20
	bl	_svn__compress_zlib
	bl	_SVN_ERR
	mov	x0, x19
	bl	_svn_stringbuf__morph_into_string
	mov	x19, x0
	mov	x26, x27
	b	LBB0_19
LBB0_18:
	ldr	w1, [x26]
	mov	x0, x22
	bl	_append_encoded_int
	ldr	x19, [x23, #8]
LBB0_19:
	ldp	x21, x20, [x29, #-112]          ; 16-byte Folded Reload
	ldur	x23, [x29, #-120]               ; 8-byte Folded Reload
	ldr	w1, [x19]
	mov	x0, x22
	bl	_append_encoded_int
	str	x26, [x23]
	str	x22, [x21]
	str	x19, [x20]
Lloh8:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh10:
	ldr	x0, [x8]
	ldur	x8, [x29, #-88]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.20:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_INSTRUCTION_LEN,4,2        ; @MAX_INSTRUCTION_LEN
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.no_dead_strip	_encode_window
.subsections_via_symbols
