	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compress_block
_compress_block:                        ## @compress_block
	.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
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	cmpl	$0, (%rdi)
	je	LBB0_9
## %bb.1:
	movl	$2, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movl	%r12d, %esi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_send_code
	movl	%r12d, %edi
	callq	_isgraph
	movl	%eax, %edi
	movl	%r12d, %esi
	callq	_Tracecv
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, %eax
	andl	$-2, %eax
	addq	24(%r15), %rax
	xorl	%edi, %edi
	cmpq	%rax, 32(%r15)
	setl	%dil
	leaq	L_.str.2(%rip), %rsi
	callq	_Assert
	movl	(%r15), %eax
	addq	$2, %r14
	cmpq	%rax, %rbx
	jae	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movq	16(%r15), %rcx
	movl	(%rax,%rbx,4), %r13d
	movslq	(%rcx,%rbx,4), %r12
	incq	%rbx
	testl	%r13d, %r13d
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	__length_code@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r12,4), %ebx
	movq	_LITERALS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rbx,%rax), %esi
	incl	%esi
	movq	%r15, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_send_code
	movq	_extra_lbits@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %edx
	testl	%edx, %edx
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_base_length@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	subl	(%rax,%rbx,8), %r12d
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_send_bits
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	decl	%r13d
	movl	%r13d, %edi
	callq	_d_code
	movl	%eax, %ebx
	xorl	%edi, %edi
	movq	_D_CODES@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	setb	%dil
	leaq	L_.str.1(%rip), %rsi
	callq	_Assert
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_send_code
	movq	_extra_dbits@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	%ebx, %eax
	movl	(%rcx,%rax,4), %edx
	testl	%edx, %edx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_base_dist@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	subl	(%rcx,%rax,8), %r13d
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_send_bits
	jmp	LBB0_8
LBB0_9:
	movq	_END_BLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_send_code                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.comm	__length_code,8,3               ## @_length_code
	.comm	_LITERALS,4,2                   ## @LITERALS
	.comm	_extra_lbits,8,3                ## @extra_lbits
	.comm	_base_length,8,3                ## @base_length
	.comm	_D_CODES,4,2                    ## @D_CODES
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"bad d_code"

	.comm	_extra_dbits,8,3                ## @extra_dbits
	.comm	_base_dist,8,3                  ## @base_dist
L_.str.2:                               ## @.str.2
	.asciz	"pendingBuf overflow"

	.comm	_END_BLOCK,4,2                  ## @END_BLOCK
	.no_dead_strip	_compress_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compress_block
_compress_block:                        ; @compress_block
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_9
; %bb.1:
	mov	x21, x2
	mov	x26, #0
	mov	w27, #2
Lloh0:
	adrp	x22, l_.str.2@PAGE
Lloh1:
	add	x22, x22, l_.str.2@PAGEOFF
Lloh2:
	adrp	x23, l_.str.1@PAGE
Lloh3:
	add	x23, x23, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x24
	mov	x2, x19
	bl	_send_code
	mov	x0, x24
	bl	_isgraph
	mov	x1, x24
	bl	_Tracecv
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x26, x26, #1
	ldp	x9, x8, [x20, #24]
	and	x10, x27, #0xfffffffe
	add	x9, x9, x10
	cmp	x8, x9
	cset	w0, lt
	mov	x1, x22
	bl	_Assert
	ldr	w8, [x20]
	add	x27, x27, #2
	cmp	x26, x8
	b.hs	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x8, x26, #2
	ldp	x9, x10, [x20, #8]
	ldr	w25, [x9, x8]
	ldrsw	x24, [x10, x8]
	cbz	w25, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh4:
	adrp	x8, __length_code@GOTPAGE
Lloh5:
	ldr	x8, [x8, __length_code@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	ldr	w28, [x8, x24, lsl #2]
Lloh7:
	adrp	x8, _LITERALS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _LITERALS@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	add	w8, w28, w8
	add	w1, w8, #1
	mov	x0, x20
	mov	x2, x19
	bl	_send_code
Lloh10:
	adrp	x8, _extra_lbits@GOTPAGE
Lloh11:
	ldr	x8, [x8, _extra_lbits@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	ldr	w2, [x8, x28, lsl #2]
	cbz	w2, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh13:
	adrp	x8, _base_length@GOTPAGE
Lloh14:
	ldr	x8, [x8, _base_length@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	ldr	x8, [x8, x28, lsl #3]
	sub	w1, w24, w8
	mov	x0, x20
	bl	_send_bits
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	w24, w25, #1
	mov	x0, x24
	bl	_d_code
	mov	x25, x0
Lloh16:
	adrp	x8, _D_CODES@GOTPAGE
Lloh17:
	ldr	x8, [x8, _D_CODES@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	cmp	w0, w8
	cset	w0, lo
	mov	x1, x23
	bl	_Assert
	mov	x0, x20
	mov	x1, x25
	mov	x2, x21
	bl	_send_code
Lloh19:
	adrp	x8, _extra_dbits@GOTPAGE
Lloh20:
	ldr	x8, [x8, _extra_dbits@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	ldr	w2, [x8, w25, uxtw #2]
	cbz	w2, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, w25
Lloh22:
	adrp	x9, _base_dist@GOTPAGE
Lloh23:
	ldr	x9, [x9, _base_dist@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	ldr	x8, [x9, x8, lsl #3]
	sub	w1, w24, w8
	mov	x0, x20
	bl	_send_bits
	b	LBB0_3
LBB0_9:
Lloh25:
	adrp	x8, _END_BLOCK@GOTPAGE
Lloh26:
	ldr	x8, [x8, _END_BLOCK@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	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
	b	_send_code
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.comm	__length_code,8,3               ; @_length_code
	.comm	_LITERALS,4,2                   ; @LITERALS
	.comm	_extra_lbits,8,3                ; @extra_lbits
	.comm	_base_length,8,3                ; @base_length
	.comm	_D_CODES,4,2                    ; @D_CODES
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"bad d_code"

	.comm	_extra_dbits,8,3                ; @extra_dbits
	.comm	_base_dist,8,3                  ; @base_dist
l_.str.2:                               ; @.str.2
	.asciz	"pendingBuf overflow"

	.comm	_END_BLOCK,4,2                  ; @END_BLOCK
	.no_dead_strip	_compress_block
.subsections_via_symbols
