	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zlib_run
_zlib_run:                              ## @zlib_run
	.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	$0, (%rdi)
	movq	24(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_23
## %bb.1:
	movq	(%rax), %r15
	movq	8(%rax), %r14
	xorl	%edi, %edi
	cmpq	$0, 8(%r12)
	sete	%dil
	callq	_assert
	xorl	%eax, %eax
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movl	(%r14), %r13d
	testq	%r13, %r13
	je	LBB0_20
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testl	%eax, %eax
	jle	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movl	40(%r12), %edi
	callq	_skip_12
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=2
	movq	8(%r14), %rax
	movq	(%rax,%rbx,8), %rsi
	movq	%r12, %rdi
	callq	_zlib_advance
	cmpl	$129, %eax
	jne	LBB0_7
## %bb.19:                              ##   in Loop: Header=BB0_4 Depth=2
	incq	%rbx
	movl	$12, %eax
	cmpq	%rbx, %r13
	jne	LBB0_4
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r15, %r14
	je	LBB0_21
## %bb.22:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r14), %r14
	jmp	LBB0_2
LBB0_7:
	cmpl	$128, %eax
	jne	LBB0_24
## %bb.8:
	movq	32(%r12), %rax
	cmpl	$0, (%rax)
	je	LBB0_16
## %bb.9:
	cmpq	$0, (%r12)
	jne	LBB0_16
## %bb.10:
	leal	1(%rbx), %ecx
	movq	%r14, %rax
	cmpl	%r13d, %ecx
	jge	LBB0_17
LBB0_12:
	movq	8(%rax), %rdx
	movslq	%ecx, %rcx
	movslq	%r13d, %rsi
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rdx,%rcx,8)
	jg	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_14 Depth=1
	incq	%rcx
	cmpq	%rcx, %rsi
	jne	LBB0_14
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%r15, %rax
	je	LBB0_16
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	16(%rax), %rax
	movl	(%rax), %r13d
	xorl	%ecx, %ecx
	cmpl	%r13d, %ecx
	jl	LBB0_12
	jmp	LBB0_17
LBB0_23:
	movq	8(%r12), %rax
	movq	16(%r12), %rbx
	xorl	%edi, %edi
	cmpq	(%rbx), %rax
	setl	%dil
	callq	_assert
	movq	(%rbx), %rsi
	subq	8(%r12), %rsi
	movq	%r12, %rdi
	callq	_zlib_advance
	movq	(%r12), %rcx
	subq	%rcx, (%rbx)
	jmp	LBB0_24
LBB0_15:
	movq	16(%r12), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_chunk_message
LBB0_16:
	movq	(%r12), %rax
	movq	8(%r14), %rcx
	subq	%rax, (%rcx,%rbx,8)
	incl	%ebx
	movl	%ebx, (%r14)
	movq	24(%r12), %rax
	movq	%r14, (%rax)
	movl	$128, %eax
LBB0_24:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	movl	$129, %eax
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"extra compressed data"

	.no_dead_strip	_zlib_run
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zlib_run
_zlib_run:                              ; @zlib_run
	.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, x0
	str	xzr, [x0]
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_18
; %bb.1:
	ldp	x21, x20, [x8]
	ldr	x8, [x19, #8]
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
	mov	w8, #0
	ldr	w23, [x20]
	cbz	w23, LBB0_7
LBB0_2:
	mov	x22, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x19, #40]
	bl	_skip_12
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20, #8]
	ldr	x1, [x8, x22, lsl #3]
	mov	x0, x19
	bl	_zlib_advance
	cmp	w0, #129
	b.ne	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	mov	w8, #12
	cmp	x23, x22
	b.ne	LBB0_3
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x20, x21
	b.eq	LBB0_22
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x20, [x20, #16]
	ldr	w23, [x20]
	cbnz	w23, LBB0_2
	b	LBB0_7
LBB0_9:
	cmp	w0, #128
	b.ne	LBB0_21
; %bb.10:
	ldr	x8, [x19, #32]
	ldr	w8, [x8]
	cbz	w8, LBB0_20
; %bb.11:
	ldr	x8, [x19]
	cbnz	x8, LBB0_20
; %bb.12:
	add	w9, w22, #1
	mov	x8, x20
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
	cmp	w9, w23
	b.ge	LBB0_16
LBB0_13:
	ldr	x10, [x8, #8]
	sxtw	x11, w23
	add	x10, x10, w9, sxtw #3
	sub	x9, x11, w9, sxtw
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10]
	cmp	x11, #1
	b.ge	LBB0_19
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x10, x10, #8
	subs	x9, x9, #1
	b.ne	LBB0_14
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	cmp	x8, x21
	b.eq	LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	w9, #0
	ldr	x8, [x8, #16]
	ldr	w23, [x8]
	cmp	w9, w23
	b.lt	LBB0_13
	b	LBB0_16
LBB0_18:
	ldp	x8, x20, [x19, #8]
	ldr	x9, [x20]
	cmp	x8, x9
	cset	w0, lt
	bl	_assert
	ldr	x8, [x20]
	ldr	x9, [x19, #8]
	sub	x1, x8, x9
	mov	x0, x19
	bl	_zlib_advance
	ldr	x8, [x19]
	ldr	x9, [x20]
	sub	x8, x9, x8
	str	x8, [x20]
	b	LBB0_21
LBB0_19:
	ldr	x0, [x19, #16]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_chunk_message
LBB0_20:
	ldr	x8, [x19]
	ldr	x9, [x20, #8]
	lsl	x10, x22, #3
	ldr	x11, [x9, x10]
	sub	x8, x11, x8
	str	x8, [x9, x10]
	add	w8, w22, #1
	str	w8, [x20]
	ldr	x8, [x19, #24]
	str	x20, [x8]
	mov	w0, #128
LBB0_21:
	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_22:
	mov	w0, #129
	b	LBB0_21
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"extra compressed data"

	.no_dead_strip	_zlib_run
.subsections_via_symbols
