	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zlib_decode
_zlib_decode:                           ## @zlib_decode
	.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
	movl	%ecx, %r14d
	movq	%rdx, %r12
	movl	%esi, %r13d
	movq	%rdi, %rbx
	movslq	%esi, %rdx
	addq	%rdi, %rdx
	leaq	-52(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_svn__decode_uint
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%r12, %rdi
	movl	-52(%rbp), %r12d
	cmpl	%r14d, %r12d
	jle	LBB0_5
## %bb.4:
	movq	_SVN_ERR_SVNDIFF_INVALID_COMPRESSED_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_2
LBB0_1:
	movq	_SVN_ERR_SVNDIFF_INVALID_COMPRESSED_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rdi
LBB0_2:
	callq	__
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_svn_error_create
	jmp	LBB0_13
LBB0_5:
	movq	%rax, %r15
	movslq	%r12d, %r14
	subl	%r15d, %ebx
	addl	%r13d, %ebx
	cmpl	%r12d, %ebx
	jne	LBB0_7
## %bb.6:
	movq	%rdi, %rbx
	movl	%r12d, %esi
	callq	_svn_stringbuf_ensure
	movq	8(%rbx), %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	callq	_memcpy
	movq	8(%rbx), %rax
	movq	$0, (%rax,%r14,8)
	movl	%r12d, (%rbx)
	jmp	LBB0_12
LBB0_7:
	movq	%r14, -48(%rbp)
	movl	%r12d, %esi
	movq	%rdi, %r12
	callq	_svn_stringbuf_ensure
	movq	8(%r12), %rdi
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdx
	movl	%ebx, %ecx
	callq	_uncompress
	movl	%eax, %ebx
	movq	_Z_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_8
## %bb.9:
	cmpq	%r14, -48(%rbp)
	jne	LBB0_10
## %bb.11:
	movq	8(%r12), %rax
	movq	$0, (%rax,%r14,8)
	movl	-48(%rbp), %eax
	movl	%eax, (%r12)
LBB0_12:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_13
LBB0_8:
	leaq	L_.str.3(%rip), %rdi
	callq	__
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	callq	_svn_error__wrap_zlib
	movl	%eax, %edi
	callq	_svn_error_trace
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	_SVN_ERR_SVNDIFF_INVALID_COMPRESSED_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_ERR_SVNDIFF_INVALID_COMPRESSED_DATA,4,2 ## @SVN_ERR_SVNDIFF_INVALID_COMPRESSED_DATA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Decompression of zlib compressed data failed: no size"

L_.str.1:                               ## @.str.1
	.asciz	"Decompression of zlib compressed data failed: size too large"

	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.comm	_Z_OK,4,2                       ## @Z_OK
L_.str.2:                               ## @.str.2
	.asciz	"uncompress"

L_.str.3:                               ## @.str.3
	.asciz	"Decompression of svndiff data failed"

L_.str.4:                               ## @.str.4
	.asciz	"Size of uncompressed data does not match stored original length"

	.no_dead_strip	_zlib_decode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zlib_decode
_zlib_decode:                           ; @zlib_decode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x24, x3
	mov	x19, x2
	mov	x22, x1
	mov	x23, x0
	add	x2, x0, w1, sxtw
	add	x0, sp, #12
	mov	x1, x23
	bl	_svn__decode_uint
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w21, [sp, #12]
	cmp	w21, w24
	b.le	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _SVN_ERR_SVNDIFF_INVALID_COMPRESSED_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVN_ERR_SVNDIFF_INVALID_COMPRESSED_DATA@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _SVN_ERR_SVNDIFF_INVALID_COMPRESSED_DATA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SVN_ERR_SVNDIFF_INVALID_COMPRESSED_DATA@GOTPAGEOFF]
Lloh7:
	ldr	w19, [x8]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
LBB0_4:
	bl	__
	mov	x2, x0
	mov	x0, x19
	mov	x1, #0
	bl	_svn_error_create
	b	LBB0_12
LBB0_5:
	mov	x20, x0
	sxtw	x24, w21
	sub	w8, w23, w20
	add	w22, w8, w22
	cmp	w22, w21
	b.ne	LBB0_7
; %bb.6:
	mov	x0, x19
	mov	x1, x21
	bl	_svn_stringbuf_ensure
	ldr	x0, [x19, #8]
	mov	x1, x20
	mov	x2, x21
	bl	_memcpy
	ldr	x8, [x19, #8]
	str	xzr, [x8, x24, lsl #3]
	str	w21, [x19]
	b	LBB0_10
LBB0_7:
	str	x24, [sp]
	mov	x0, x19
	mov	x1, x21
	bl	_svn_stringbuf_ensure
	ldr	x0, [x19, #8]
	mov	x1, sp
	mov	x2, x20
	mov	x3, x22
	bl	_uncompress
Lloh10:
	adrp	x8, _Z_OK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _Z_OK@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_11
; %bb.8:
	ldr	x8, [sp]
	cmp	x8, x24
	b.ne	LBB0_13
; %bb.9:
	ldr	x8, [x19, #8]
	str	xzr, [x8, x24, lsl #3]
	ldr	x8, [sp]
	str	w8, [x19]
LBB0_10:
Lloh13:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh15:
	ldr	x0, [x8]
	b	LBB0_12
LBB0_11:
	mov	x20, x0
Lloh16:
	adrp	x0, l_.str.3@PAGE
Lloh17:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	__
	mov	x2, x0
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_svn_error__wrap_zlib
	bl	_svn_error_trace
LBB0_12:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_13:
Lloh20:
	adrp	x8, _SVN_ERR_SVNDIFF_INVALID_COMPRESSED_DATA@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SVN_ERR_SVNDIFF_INVALID_COMPRESSED_DATA@GOTPAGEOFF]
Lloh22:
	ldr	w19, [x8]
Lloh23:
	adrp	x0, l_.str.4@PAGE
Lloh24:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_4
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_ERR_SVNDIFF_INVALID_COMPRESSED_DATA,4,2 ; @SVN_ERR_SVNDIFF_INVALID_COMPRESSED_DATA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Decompression of zlib compressed data failed: no size"

l_.str.1:                               ; @.str.1
	.asciz	"Decompression of zlib compressed data failed: size too large"

	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.comm	_Z_OK,4,2                       ; @Z_OK
l_.str.2:                               ; @.str.2
	.asciz	"uncompress"

l_.str.3:                               ; @.str.3
	.asciz	"Decompression of svndiff data failed"

l_.str.4:                               ; @.str.4
	.asciz	"Size of uncompressed data does not match stored original length"

	.no_dead_strip	_zlib_decode
.subsections_via_symbols
