	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_chunk
_process_chunk:                         ## @process_chunk
	.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	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, %r15
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r13
	movq	%rsi, 24(%rdi)
	movl	%edx, (%rdi)
	movq	40(%rdi), %rax
	movq	%r8, %rcx
	shlq	$4, %rcx
	movq	(%rax,%rcx), %rcx
	movq	_BUF_SIZE@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	leaq	32(%rcx), %rsi
	movq	(%r14), %rdx
	cmpq	%rdx, %rsi
	jle	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	incq	%r15
	cmpq	32(%r13), %r15
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rdi
	callq	_expand_buf
	movq	40(%r13), %rax
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rcx
	shlq	$4, %rcx
	movq	$0, (%rax,%rcx)
	movq	(%r14), %rdx
	xorl	%ecx, %ecx
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %r12
	shlq	$4, %r12
	movq	8(%rax,%r12), %rax
	addq	%rcx, %rax
	movq	%rax, 16(%r13)
	subl	%ecx, %edx
	movq	%rdx, 8(%r13)
	movq	%r13, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	*-56(%rbp)                      ## 8-byte Folded Reload
	movl	%eax, %ebx
	movb	$1, %al
	movq	_Z_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %ebx
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_Z_STREAM_END@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %ebx
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_Z_BUF_ERROR@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	sete	%al
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movzbl	%al, %edi
	callq	_assert
	movq	(%r14), %rcx
	movq	8(%r13), %rdx
	movq	40(%r13), %rax
	subq	%rdx, %rcx
	movq	%rcx, (%rax,%r12)
	testq	%rdx, %rdx
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_Z_STREAM_END@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ebx
	jne	LBB0_1
LBB0_10:
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BUF_SIZE,8,3                   ## @BUF_SIZE
	.comm	_Z_OK,4,2                       ## @Z_OK
	.comm	_Z_STREAM_END,4,2               ## @Z_STREAM_END
	.comm	_Z_BUF_ERROR,4,2                ## @Z_BUF_ERROR
	.no_dead_strip	_process_chunk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_chunk
_process_chunk:                         ; @process_chunk
	.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	x20, x5
	mov	x19, x4
	mov	x21, x3
	mov	x22, x0
	str	x1, [x0, #24]
	str	w2, [x0]
	ldr	x8, [x0, #40]
	lsl	x9, x4, #4
	ldr	x9, [x8, x9]
Lloh0:
	adrp	x24, _BUF_SIZE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _BUF_SIZE@GOTPAGEOFF]
Lloh2:
	adrp	x25, _Z_OK@GOTPAGE
Lloh3:
	ldr	x25, [x25, _Z_OK@GOTPAGEOFF]
Lloh4:
	adrp	x26, _Z_STREAM_END@GOTPAGE
Lloh5:
	ldr	x26, [x26, _Z_STREAM_END@GOTPAGEOFF]
Lloh6:
	adrp	x27, _Z_BUF_ERROR@GOTPAGE
Lloh7:
	ldr	x27, [x27, _Z_BUF_ERROR@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x11, x9, #32
	ldr	x10, [x24]
	cmp	x11, x10
	b.le	LBB0_5
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x19, x19, #1
	ldr	x9, [x22, #32]
	cmp	x19, x9
	b.ne	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x22
	bl	_expand_buf
	ldr	x8, [x22, #40]
LBB0_4:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x9, #0
	lsl	x10, x19, #4
	str	xzr, [x8, x10]
	ldr	x10, [x24]
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
	add	x8, x8, x19, lsl #4
	ldr	x8, [x8, #8]
	add	x8, x9, x8
	sub	w9, w10, w9
	stp	x9, x8, [x22, #8]
	mov	x0, x22
	mov	x1, x21
	blr	x20
	mov	x23, x0
	ldr	w8, [x25]
	ldr	w9, [x26]
	cmp	w0, w8
	ccmp	w0, w9, #4, ne
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w0, #1
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x27]
	cmp	w23, w8
	cset	w0, eq
LBB0_8:                                 ;   in Loop: Header=BB0_1 Depth=1
	bl	_assert
	ldr	x8, [x24]
	ldr	x10, [x22, #8]
	sub	x9, x8, x10
	ldr	x8, [x22, #40]
	lsl	x11, x19, #4
	str	x9, [x8, x11]
	cbnz	x10, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w10, [x26]
	cmp	w23, w10
	b.ne	LBB0_1
LBB0_10:
	mov	x0, 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
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BUF_SIZE,8,3                   ; @BUF_SIZE
	.comm	_Z_OK,4,2                       ; @Z_OK
	.comm	_Z_STREAM_END,4,2               ; @Z_STREAM_END
	.comm	_Z_BUF_ERROR,4,2                ; @Z_BUF_ERROR
	.no_dead_strip	_process_chunk
.subsections_via_symbols
