	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function close_handler_gz
_close_handler_gz:                      ## @close_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	%rdi, %r12
	movq	24(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_inflateEnd
	movq	24(%r12), %rcx
	movl	(%rcx), %edx
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	callq	_svn_error__wrap_zlib
	movl	%eax, %edi
	callq	_SVN_ERR
LBB0_2:
	cmpq	$0, 8(%r12)
	je	LBB0_12
## %bb.3:
	movl	16(%r12), %edi
	movq	_ZBUFFER_SIZE@GOTPCREL(%rip), %r13
	movq	(%r13), %rsi
	callq	_apr_palloc
	movq	%rax, %r14
	movq	_TRUE@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_11
## %bb.4:
	movq	_Z_STREAM_END@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rdi
	movq	%r14, 16(%rdi)
	movq	(%r13), %rax
	movq	%rax, (%rdi)
	movq	_Z_FINISH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_deflate
	movl	%eax, %ebx
	movl	(%r15), %eax
	cmpl	%eax, %ebx
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_Z_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %ebx
	jne	LBB0_14
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r13), %rcx
	movq	8(%r12), %rdx
	subq	(%rdx), %rcx
	movq	%rcx, -48(%rbp)
	jle	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r12), %edi
	movq	%r14, %rsi
	leaq	-48(%rbp), %rdx
	callq	_svn_stream_write
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	(%r15), %eax
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%eax, %ebx
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_TRUE@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_5
LBB0_11:
	movq	8(%r12), %rdi
	callq	_deflateEnd
	movq	8(%r12), %rcx
	movl	8(%rcx), %edx
	leaq	L_.str.2(%rip), %rsi
	movl	%eax, %edi
	callq	_svn_error__wrap_zlib
	movl	%eax, %edi
	callq	_SVN_ERR
LBB0_12:
	movl	(%r12), %edi
	callq	_svn_stream_close
LBB0_13:
	movl	%eax, %edi
	callq	_svn_error_trace
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	8(%r12), %rax
	movl	8(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	callq	_svn_error__wrap_zlib
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"inflateEnd"

	.comm	_ZBUFFER_SIZE,8,3               ## @ZBUFFER_SIZE
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_Z_FINISH,4,2                   ## @Z_FINISH
	.comm	_Z_STREAM_END,4,2               ## @Z_STREAM_END
	.comm	_Z_OK,4,2                       ## @Z_OK
L_.str.1:                               ## @.str.1
	.asciz	"deflate"

L_.str.2:                               ## @.str.2
	.asciz	"deflateEnd"

	.no_dead_strip	_close_handler_gz
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function close_handler_gz
_close_handler_gz:                      ; @close_handler_gz
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x0
	ldr	x0, [x0, #24]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_inflateEnd
	ldr	x8, [x19, #24]
	ldr	w2, [x8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_svn_error__wrap_zlib
	bl	_SVN_ERR
LBB0_2:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_10
; %bb.3:
	ldr	w0, [x19, #16]
Lloh2:
	adrp	x22, _ZBUFFER_SIZE@GOTPAGE
Lloh3:
	ldr	x22, [x22, _ZBUFFER_SIZE@GOTPAGEOFF]
	ldr	x1, [x22]
	bl	_apr_palloc
Lloh4:
	adrp	x23, _TRUE@GOTPAGE
Lloh5:
	ldr	x23, [x23, _TRUE@GOTPAGEOFF]
	ldr	x8, [x23]
	cbz	x8, LBB0_9
; %bb.4:
	mov	x20, x0
Lloh6:
	adrp	x24, _Z_FINISH@GOTPAGE
Lloh7:
	ldr	x24, [x24, _Z_FINISH@GOTPAGEOFF]
Lloh8:
	adrp	x25, _Z_STREAM_END@GOTPAGE
Lloh9:
	ldr	x25, [x25, _Z_STREAM_END@GOTPAGEOFF]
Lloh10:
	adrp	x26, _Z_OK@GOTPAGE
Lloh11:
	ldr	x26, [x26, _Z_OK@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [x23]
	cmp	w21, w8
	ccmp	x9, #0, #4, ne
	b.eq	LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19, #8]
	str	x20, [x0, #16]
	ldr	x8, [x22]
	str	x8, [x0]
	ldr	w1, [x24]
	bl	_deflate
	mov	x21, x0
	ldr	w8, [x25]
	ldr	w9, [x26]
	cmp	w0, w8
	ccmp	w0, w9, #4, ne
	b.ne	LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [x22]
	ldr	x10, [x19, #8]
	ldr	x10, [x10]
	sub	x9, x9, x10
	str	x9, [sp, #8]
	cmp	x9, #1
	b.lt	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x19]
	add	x2, sp, #8
	mov	x1, x20
	bl	_svn_stream_write
	bl	_SVN_ERR
	ldr	w8, [x25]
	b	LBB0_5
LBB0_9:
	ldr	x0, [x19, #8]
	bl	_deflateEnd
	ldr	x8, [x19, #8]
	ldr	w2, [x8, #8]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_svn_error__wrap_zlib
	bl	_SVN_ERR
LBB0_10:
	ldr	w0, [x19]
	bl	_svn_stream_close
LBB0_11:
	bl	_svn_error_trace
	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
	add	sp, sp, #96
	ret
LBB0_12:
	ldr	x8, [x19, #8]
	ldr	w2, [x8, #8]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_svn_error__wrap_zlib
	b	LBB0_11
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"inflateEnd"

	.comm	_ZBUFFER_SIZE,8,3               ; @ZBUFFER_SIZE
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_Z_FINISH,4,2                   ; @Z_FINISH
	.comm	_Z_STREAM_END,4,2               ; @Z_STREAM_END
	.comm	_Z_OK,4,2                       ; @Z_OK
l_.str.1:                               ; @.str.1
	.asciz	"deflate"

l_.str.2:                               ; @.str.2
	.asciz	"deflateEnd"

	.no_dead_strip	_close_handler_gz
.subsections_via_symbols
