	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_handler_gz
_read_handler_gz:                       ## @read_handler_gz
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	(%rdi), %rdx
	testq	%rdx, %rdx
	jne	LBB0_2
## %bb.1:
	movl	28(%rbx), %edi
	movl	$4, %esi
	callq	_apr_palloc
	movq	%rax, (%rbx)
	movq	_zalloc@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 48(%rax)
	movq	_zfree@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 44(%rax)
	movl	28(%rbx), %edi
	movl	%edi, 40(%rax)
	movq	_ZBUFFER_SIZE@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_apr_palloc
	movq	%rax, 16(%rbx)
	movq	(%rbx), %rdx
	movq	%rax, 24(%rdx)
	movl	(%r14), %ecx
	movl	%ecx, (%rdx)
	movl	24(%rbx), %edi
	leaq	8(%rbx), %rcx
	movq	%rax, %rsi
	callq	_read_helper_gz
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	(%rbx), %rdi
	callq	_inflateInit
	movq	(%rbx), %rcx
	movl	16(%rcx), %edx
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	callq	_svn_error__wrap_zlib
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	(%rbx), %rdx
LBB0_2:
	movq	%r15, 32(%rdx)
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	(%r12), %rax
	movq	%rax, 8(%rdx)
	testq	%rax, %rax
	jle	LBB0_11
## %bb.3:
	leaq	8(%rbx), %r15
	movq	_ZBUFFER_SIZE@GOTPCREL(%rip), %r12
	movq	_Z_STREAM_END@GOTPCREL(%rip), %r13
	movq	_Z_OK@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%rdx)
	jg	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r12), %eax
	movl	%eax, (%rdx)
	movq	16(%rbx), %rsi
	movq	%rsi, 24(%rdx)
	movl	24(%rbx), %edi
	movq	%r15, %rcx
	callq	_read_helper_gz
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	(%rbx), %rdx
	cmpl	$0, (%rdx)
	je	LBB0_6
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r15), %esi
	movq	%rdx, %rdi
	callq	_inflate
	cmpl	(%r13), %eax
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx), %rdx
	cmpl	(%r14), %eax
	jne	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rdx), %rax
	testq	%rax, %rax
	jg	LBB0_4
	jmp	LBB0_11
LBB0_8:
	movq	(%rbx), %rax
	movq	8(%rax), %rax
LBB0_11:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	subq	%rax, (%rcx)
LBB0_12:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movl	16(%rdx), %edx
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edi
	callq	_svn_error__wrap_zlib
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_svn_error_trace                ## TAILCALL
LBB0_6:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	$0, (%rax)
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_zalloc,4,2                     ## @zalloc
	.comm	_zfree,4,2                      ## @zfree
	.comm	_ZBUFFER_SIZE,4,2               ## @ZBUFFER_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"inflateInit"

	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.comm	_Z_STREAM_END,4,2               ## @Z_STREAM_END
	.comm	_Z_OK,4,2                       ## @Z_OK
L_.str.1:                               ## @.str.1
	.asciz	"inflate"

	.no_dead_strip	_read_handler_gz
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_handler_gz
_read_handler_gz:                       ; @read_handler_gz
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x2, [x0]
Lloh0:
	adrp	x22, _ZBUFFER_SIZE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ZBUFFER_SIZE@GOTPAGEOFF]
	cbnz	x2, LBB0_2
; %bb.1:
	ldr	w0, [x20, #28]
	mov	w1, #4
	bl	_apr_palloc
	str	x0, [x20]
Lloh2:
	adrp	x8, _zalloc@GOTPAGE
Lloh3:
	ldr	x8, [x8, _zalloc@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _zfree@GOTPAGE
Lloh6:
	ldr	x9, [x9, _zfree@GOTPAGEOFF]
	str	w8, [x0, #48]
Lloh7:
	ldr	w9, [x9]
	ldr	w8, [x20, #28]
	stp	w8, w9, [x0, #40]
	ldr	w1, [x22]
	mov	x0, x8
	bl	_apr_palloc
	mov	x1, x0
	str	x0, [x20, #16]
	ldr	x2, [x20]
	str	x0, [x2, #24]
	ldr	w8, [x22]
	str	w8, [x2]
	ldr	w0, [x20, #24]
	add	x3, x20, #8
	bl	_read_helper_gz
	bl	_SVN_ERR
	ldr	x0, [x20]
	bl	_inflateInit
	ldr	x8, [x20]
	ldr	w2, [x8, #16]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_svn_error__wrap_zlib
	bl	_SVN_ERR
	ldr	x2, [x20]
LBB0_2:
	str	x21, [x2, #32]
	ldr	x8, [x19]
	str	x8, [x2, #8]
	cmp	x8, #1
	b.lt	LBB0_10
; %bb.3:
	add	x21, x20, #8
Lloh10:
	adrp	x23, _Z_STREAM_END@GOTPAGE
Lloh11:
	ldr	x23, [x23, _Z_STREAM_END@GOTPAGEOFF]
Lloh12:
	adrp	x24, _Z_OK@GOTPAGE
Lloh13:
	ldr	x24, [x24, _Z_OK@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x2]
	cmp	w8, #0
	b.gt	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x22]
	str	w8, [x2]
	ldr	x1, [x20, #16]
	str	x1, [x2, #24]
	ldr	w0, [x20, #24]
	mov	x3, x21
	bl	_read_helper_gz
	bl	_SVN_ERR
	ldr	x2, [x20]
	ldr	w8, [x2]
	cbz	w8, LBB0_13
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x21]
	mov	x0, x2
	bl	_inflate
	ldr	w8, [x23]
	cmp	w0, w8
	b.eq	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x24]
	ldr	x2, [x20]
	cmp	w0, w8
	b.ne	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x2, #8]
	cmp	x8, #0
	b.gt	LBB0_4
	b	LBB0_10
LBB0_9:
	ldr	x8, [x20]
	ldr	x8, [x8, #8]
LBB0_10:
	ldr	x9, [x19]
	sub	x8, x9, x8
	str	x8, [x19]
LBB0_11:
Lloh14:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh16:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_12:
	ldr	w2, [x2, #16]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_svn_error__wrap_zlib
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_svn_error_trace
LBB0_13:
	str	xzr, [x19]
	b	LBB0_11
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_zalloc,4,2                     ; @zalloc
	.comm	_zfree,4,2                      ; @zfree
	.comm	_ZBUFFER_SIZE,4,2               ; @ZBUFFER_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"inflateInit"

	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.comm	_Z_STREAM_END,4,2               ; @Z_STREAM_END
	.comm	_Z_OK,4,2                       ; @Z_OK
l_.str.1:                               ; @.str.1
	.asciz	"inflate"

	.no_dead_strip	_read_handler_gz
.subsections_via_symbols
