	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compress_filter_read
_compress_filter_read:                  ## @compress_filter_read
	.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	%rsi, %r14
	movq	(%rdi), %rbx
	cmpl	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	$0, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_2:
	movq	24(%rbx), %r13
	movslq	4(%rbx), %rax
	testq	%rax, %rax
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	jle	LBB0_11
## %bb.3:
	movq	%rdi, %r12
	movq	%r13, %r15
	addq	%rax, %r15
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rax
	cmpq	16(%rbx), %rax
	jbe	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	-4(%rax), %rcx
	movq	%rcx, 8(%rbx)
	movzbl	-4(%rax), %eax
	movb	%al, (%r13)
	incq	%r13
	cmpq	%r15, %r13
	jb	LBB0_10
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	callq	_next_code
	cmpl	$-1, %eax
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%r15, %r13
	jae	LBB0_11
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$0, (%rbx)
	je	LBB0_4
	jmp	LBB0_11
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	$-1, (%rbx)
	cmpq	%r15, %r13
	jb	LBB0_10
LBB0_11:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%r14)
	subl	%eax, %r13d
	movl	%r13d, %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.no_dead_strip	_compress_filter_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compress_filter_read
_compress_filter_read:                  ; @compress_filter_read
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	ldr	x22, [x0]
	ldr	w8, [x22]
	cbz	w8, LBB0_2
; %bb.1:
	mov	w0, #0
	str	xzr, [x19]
	b	LBB0_13
LBB0_2:
	ldr	x21, [x22, #24]
	ldrsw	x8, [x22, #4]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.3:
	mov	x20, x0
	add	x24, x21, x8
	mov	w25, #-1
Lloh0:
	adrp	x26, _ARCHIVE_OK@GOTPAGE
Lloh1:
	ldr	x26, [x26, _ARCHIVE_OK@GOTPAGEOFF]
	mov	x23, x21
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x8, x9, [x22, #8]
	cmp	x8, x9
	b.ls	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x8, #-4]!
	str	x8, [x22, #8]
	strb	w9, [x23], #1
	cmp	x23, x24
	b.lo	LBB0_9
	b	LBB0_12
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_next_code
	cmn	w0, #1
	b.eq	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x26]
	cmp	w0, w8
	b.ne	LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x23, x24
	b.hs	LBB0_12
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x22]
	cbz	w8, LBB0_4
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	str	w25, [x22]
	cmp	x23, x24
	b.lo	LBB0_9
	b	LBB0_12
LBB0_11:
	mov	x23, x21
LBB0_12:
	str	x21, [x19]
	sub	w0, w23, w21
LBB0_13:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.no_dead_strip	_compress_filter_read
.subsections_via_symbols
