	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function deflate_rle
_deflate_rle:                           ## @deflate_rle
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_MAX_MATCH@GOTPCREL(%rip), %r13
	movq	_MIN_MATCH@GOTPCREL(%rip), %r12
	leaq	L_.str(%rip), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	__tr_tally_dist
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	subq	%rcx, %rax
	movq	%rax, (%rbx)
	addq	%rcx, 16(%rbx)
	movq	$0, 8(%rbx)
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
	movq	(%r13), %rcx
	cmpq	%rcx, %rax
	jg	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_fill_window
	movq	(%rbx), %rax
	movq	(%r13), %rcx
	cmpq	%rcx, %rax
	jg	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_Z_NO_FLUSH@GOTPCREL(%rip), %rdx
	cmpl	%r14d, (%rdx)
	je	LBB0_35
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	testq	%rax, %rax
	je	LBB0_36
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, 8(%rbx)
	movq	(%r12), %rsi
	cmpq	%rsi, %rax
	jl	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rdx
	testq	%rdx, %rdx
	jle	LBB0_7
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%rbx), %r9
	leaq	(%r9,%rdx,8), %rsi
	movq	-8(%r9,%rdx,8), %rdi
	cmpq	(%r9,%rdx,8), %rdi
	jne	LBB0_33
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	8(%rsi), %r8
	cmpq	8(%rsi), %rdi
	jne	LBB0_24
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	8(%r8), %rdi
	jne	LBB0_25
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rsi,%rcx,8), %r8
	leaq	(%r9,%rdx,8), %rsi
	addq	$40, %rsi
LBB0_13:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	-16(%rsi), %rdi
	jne	LBB0_26
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=2
	cmpq	-8(%rsi), %rdi
	jne	LBB0_27
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=2
	cmpq	(%rsi), %rdi
	jne	LBB0_32
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=2
	cmpq	8(%rsi), %rdi
	jne	LBB0_28
## %bb.17:                              ##   in Loop: Header=BB0_13 Depth=2
	cmpq	16(%rsi), %rdi
	jne	LBB0_29
## %bb.18:                              ##   in Loop: Header=BB0_13 Depth=2
	cmpq	24(%rsi), %rdi
	jne	LBB0_30
## %bb.19:                              ##   in Loop: Header=BB0_13 Depth=2
	cmpq	32(%rsi), %rdi
	jne	LBB0_31
## %bb.20:                              ##   in Loop: Header=BB0_13 Depth=2
	leaq	64(%rsi), %rdx
	cmpq	40(%rsi), %rdi
	jne	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_13 Depth=2
	addq	$40, %rsi
	cmpq	%r8, %rsi
	movq	%rdx, %rsi
	jb	LBB0_13
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	$-24, %rdx
	movq	%rdx, %rsi
	jmp	LBB0_32
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edx, %edx
	subq	%rsi, %rdx
	jge	LBB0_1
	jmp	LBB0_34
LBB0_24:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r8, %rsi
	jmp	LBB0_33
LBB0_25:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	$8, %r8
	movq	%r8, %rsi
	jmp	LBB0_33
LBB0_26:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	$-16, %rsi
	jmp	LBB0_32
LBB0_27:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	$-8, %rsi
	jmp	LBB0_32
LBB0_28:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	$8, %rsi
	jmp	LBB0_32
LBB0_29:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	$16, %rsi
	jmp	LBB0_32
LBB0_30:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	$24, %rsi
	jmp	LBB0_32
LBB0_31:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	$32, %rsi
LBB0_32:                                ##   in Loop: Header=BB0_2 Depth=1
	subq	%rsi, %r8
	shrq	$3, %r8
	movslq	%r8d, %rdx
	subq	%rdx, %rcx
	cmpq	%rax, %rcx
	cmovgeq	%rax, %rcx
	movq	%rcx, 8(%rbx)
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_2 Depth=1
	movslq	32(%rbx), %rax
	leaq	(%r9,%rax,8), %rax
	addq	$-8, %rax
	xorl	%edi, %edi
	cmpq	%rax, %rsi
	setbe	%dil
	movq	%r15, %rsi
	callq	_Assert
	movq	8(%rbx), %rdx
	movq	(%r12), %rsi
	subq	%rsi, %rdx
	jge	LBB0_1
LBB0_34:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rax
	movq	24(%rbx), %rcx
	movl	(%rcx,%rax,8), %edi
	callq	_Tracevv
	movq	16(%rbx), %rax
	movq	24(%rbx), %rcx
	movq	(%rcx,%rax,8), %rsi
	movq	%rbx, %rdi
	callq	__tr_tally_lit
	movq	(%rbx), %rax
	decq	%rax
	movq	%rax, (%rbx)
	incq	16(%rbx)
	jmp	LBB0_2
LBB0_35:
	movq	_need_more@GOTPCREL(%rip), %r14
	jmp	LBB0_40
LBB0_36:
	movq	$0, 48(%rbx)
	movq	_Z_FINISH@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_38
## %bb.37:
	movq	_finish_done@GOTPCREL(%rip), %r14
	movl	$1, %esi
	jmp	LBB0_39
LBB0_38:
	xorl	%esi, %esi
	movq	_block_done@GOTPCREL(%rip), %r14
	cmpq	$0, 40(%rbx)
	je	LBB0_40
LBB0_39:
	movq	%rbx, %rdi
	callq	_FLUSH_BLOCK
LBB0_40:
	movl	(%r14), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_MATCH,8,3                  ## @MAX_MATCH
	.comm	_Z_NO_FLUSH,4,2                 ## @Z_NO_FLUSH
	.comm	_need_more,4,2                  ## @need_more
	.comm	_MIN_MATCH,8,3                  ## @MIN_MATCH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wild scan"

	.comm	_stderr,4,2                     ## @stderr
	.comm	_Z_FINISH,4,2                   ## @Z_FINISH
	.comm	_finish_done,4,2                ## @finish_done
	.comm	_block_done,4,2                 ## @block_done
	.no_dead_strip	_deflate_rle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function deflate_rle
_deflate_rle:                           ; @deflate_rle
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x23, _MAX_MATCH@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MAX_MATCH@GOTPAGEOFF]
Lloh2:
	adrp	x24, _MIN_MATCH@GOTPAGE
Lloh3:
	ldr	x24, [x24, _MIN_MATCH@GOTPAGEOFF]
Lloh4:
	adrp	x21, l_.str@PAGE
Lloh5:
	add	x21, x21, l_.str@PAGEOFF
Lloh6:
	adrp	x25, _Z_NO_FLUSH@GOTPAGE
Lloh7:
	ldr	x25, [x25, _Z_NO_FLUSH@GOTPAGEOFF]
Lloh8:
	adrp	x22, _need_more@GOTPAGE
Lloh9:
	ldr	x22, [x22, _need_more@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	mov	w1, #1
	bl	__tr_tally_dist
	ldp	x8, x9, [x19]
	sub	x8, x8, x9
	ldr	x10, [x19, #16]
	add	x9, x10, x9
	stp	xzr, x9, [x19, #8]
	str	x8, [x19]
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	ldr	x9, [x23]
	cmp	x8, x9
	b.gt	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_fill_window
	ldr	x8, [x19]
	ldr	x9, [x23]
	ldr	w10, [x25]
	cmp	x8, x9
	ccmp	w10, w20, #0, le
	b.eq	LBB0_37
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	cbz	x8, LBB0_32
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	str	xzr, [x19, #8]
	ldr	x10, [x24]
	cmp	x8, x10
	b.lt	LBB0_21
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x14, [x19, #16]
	cmp	x14, #1
	b.lt	LBB0_21
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x10, [x19, #24]
	add	x11, x10, x14, lsl #3
	ldp	x13, x12, [x11, #-8]
	cmp	x13, x12
	b.ne	LBB0_30
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x12, x11
	ldr	x15, [x12, #8]!
	cmp	x13, x15
	b.ne	LBB0_22
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x15, [x12, #8]!
	cmp	x13, x15
	b.ne	LBB0_22
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	add	x12, x11, x9, lsl #3
	add	x11, x10, x14, lsl #3
	add	x11, x11, #40
LBB0_11:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldur	x14, [x11, #-16]
	cmp	x13, x14
	b.ne	LBB0_23
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	ldur	x14, [x11, #-8]
	cmp	x13, x14
	b.ne	LBB0_24
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	x14, [x11]
	cmp	x13, x14
	b.ne	LBB0_29
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	x14, [x11, #8]
	cmp	x13, x14
	b.ne	LBB0_25
; %bb.15:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	x14, [x11, #16]
	cmp	x13, x14
	b.ne	LBB0_26
; %bb.16:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	x14, [x11, #24]
	cmp	x13, x14
	b.ne	LBB0_27
; %bb.17:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	x14, [x11, #32]
	cmp	x13, x14
	b.ne	LBB0_28
; %bb.18:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	x15, [x11, #40]!
	add	x14, x11, #24
	cmp	x13, x15
	b.ne	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_11 Depth=2
	cmp	x11, x12
	mov	x11, x14
	b.lo	LBB0_11
LBB0_20:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	x11, x14, #24
	b	LBB0_29
LBB0_21:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x11, #0
	subs	x2, x11, x10
	b.ge	LBB0_1
	b	LBB0_31
LBB0_22:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x11, x12
	b	LBB0_30
LBB0_23:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	x11, x11, #16
	b	LBB0_29
LBB0_24:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	x11, x11, #8
	b	LBB0_29
LBB0_25:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x11, x11, #8
	b	LBB0_29
LBB0_26:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x11, x11, #16
	b	LBB0_29
LBB0_27:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x11, x11, #24
	b	LBB0_29
LBB0_28:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x11, x11, #32
LBB0_29:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	x12, x12, x11
	lsr	x12, x12, #3
	sub	x9, x9, w12, sxtw
	cmp	x9, x8
	csel	x8, x9, x8, lt
	str	x8, [x19, #8]
LBB0_30:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrsw	x8, [x19, #32]
	add	x8, x10, x8, lsl #3
	sub	x8, x8, #8
	cmp	x11, x8
	cset	w0, ls
	mov	x1, x21
	bl	_Assert
	ldr	x11, [x19, #8]
	ldr	x10, [x24]
	subs	x2, x11, x10
	b.ge	LBB0_1
LBB0_31:                                ;   in Loop: Header=BB0_2 Depth=1
	ldp	x9, x8, [x19, #16]
	ldr	x0, [x8, x9, lsl #3]
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_Tracevv
	ldp	x9, x8, [x19, #16]
	ldr	x1, [x8, x9, lsl #3]
	mov	x0, x19
	bl	__tr_tally_lit
	ldr	x8, [x19]
	sub	x8, x8, #1
	str	x8, [x19]
	ldr	x9, [x19, #16]
	add	x9, x9, #1
	str	x9, [x19, #16]
	b	LBB0_2
LBB0_32:
	str	xzr, [x19, #48]
Lloh10:
	adrp	x8, _Z_FINISH@GOTPAGE
Lloh11:
	ldr	x8, [x8, _Z_FINISH@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_34
; %bb.33:
Lloh13:
	adrp	x22, _finish_done@GOTPAGE
Lloh14:
	ldr	x22, [x22, _finish_done@GOTPAGEOFF]
	mov	w1, #1
	b	LBB0_36
LBB0_34:
	ldr	x8, [x19, #40]
Lloh15:
	adrp	x22, _block_done@GOTPAGE
Lloh16:
	ldr	x22, [x22, _block_done@GOTPAGEOFF]
	cbz	x8, LBB0_37
; %bb.35:
	mov	w1, #0
LBB0_36:
	mov	x0, x19
	bl	_FLUSH_BLOCK
LBB0_37:
	ldr	w0, [x22]
	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	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_MATCH,8,3                  ; @MAX_MATCH
	.comm	_Z_NO_FLUSH,4,2                 ; @Z_NO_FLUSH
	.comm	_need_more,4,2                  ; @need_more
	.comm	_MIN_MATCH,8,3                  ; @MIN_MATCH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wild scan"

	.comm	_stderr,4,2                     ; @stderr
	.comm	_Z_FINISH,4,2                   ; @Z_FINISH
	.comm	_finish_done,4,2                ; @finish_done
	.comm	_block_done,4,2                 ; @block_done
	.no_dead_strip	_deflate_rle
.subsections_via_symbols
