	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_deflatePrime                   ## -- Begin function deflatePrime
	.p2align	4, 0x90
_deflatePrime:                          ## @deflatePrime
	.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	_Z_NULL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_Z_STREAM_ERROR@GOTPCREL(%rip), %rcx
	cmpq	%rdi, %rax
	je	LBB0_7
## %bb.1:
	movq	(%rdi), %r15
	cmpq	%rax, %r15
	je	LBB0_7
## %bb.2:
	movq	_Buf_size@GOTPCREL(%rip), %r13
	movl	(%r13), %ebx
	leal	7(%rbx), %eax
	sarl	$3, %eax
	cltq
	shlq	$2, %rax
	addq	8(%r15), %rax
	cmpq	16(%r15), %rax
	jbe	LBB0_4
## %bb.3:
	movq	_Z_BUF_ERROR@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_4:
	movl	%edx, %r14d
	movl	%esi, %r12d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %eax
	subl	%eax, %ebx
	cmpl	%r12d, %ebx
	cmovgel	%r12d, %ebx
	movl	$-1, %edx
	movl	%ebx, %ecx
	shll	%cl, %edx
	notl	%edx
	andl	%r14d, %edx
	movl	%eax, %ecx
	shll	%cl, %edx
	orl	%edx, 4(%r15)
	addl	%ebx, %eax
	movl	%eax, (%r15)
	movq	%r15, %rdi
	callq	__tr_flush_bits
	subl	%ebx, %r12d
	je	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, %ecx
	sarl	%cl, %r14d
	movl	(%r13), %ebx
	jmp	LBB0_5
LBB0_6:
	movq	_Z_OK@GOTPCREL(%rip), %rcx
LBB0_7:
	movl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Z_NULL,8,3                     ## @Z_NULL
	.comm	_Z_STREAM_ERROR,4,2             ## @Z_STREAM_ERROR
	.comm	_Buf_size,4,2                   ## @Buf_size
	.comm	_Z_BUF_ERROR,4,2                ## @Z_BUF_ERROR
	.comm	_Z_OK,4,2                       ## @Z_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_deflatePrime                   ; -- Begin function deflatePrime
	.p2align	2
_deflatePrime:                          ; @deflatePrime
	.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
Lloh0:
	adrp	x8, _Z_NULL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Z_NULL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
	b.eq	LBB0_4
; %bb.1:
	ldr	x21, [x0]
	cmp	x21, x8
	b.eq	LBB0_4
; %bb.2:
Lloh3:
	adrp	x23, _Buf_size@GOTPAGE
Lloh4:
	ldr	x23, [x23, _Buf_size@GOTPAGEOFF]
	ldp	x10, x9, [x21, #8]
	ldr	w8, [x23]
	add	w11, w8, #7
	asr	w11, w11, #3
	add	x10, x10, w11, sxtw #2
	cmp	x10, x9
	b.ls	LBB0_6
; %bb.3:
Lloh5:
	adrp	x22, _Z_BUF_ERROR@GOTPAGE
Lloh6:
	ldr	x22, [x22, _Z_BUF_ERROR@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh7:
	adrp	x22, _Z_STREAM_ERROR@GOTPAGE
Lloh8:
	ldr	x22, [x22, _Z_STREAM_ERROR@GOTPAGEOFF]
LBB0_5:
	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
LBB0_6:
	mov	x19, x2
	mov	x20, x1
	mov	w24, #-1
Lloh9:
	adrp	x22, _Z_OK@GOTPAGE
Lloh10:
	ldr	x22, [x22, _Z_OK@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w9, w10, [x21]
	sub	w8, w8, w9
	cmp	w8, w20
	csel	w25, w8, w20, lt
	lsl	w8, w24, w25
	bic	w8, w19, w8
	lsl	w8, w8, w9
	orr	w8, w8, w10
	add	w9, w25, w9
	stp	w9, w8, [x21]
	mov	x0, x21
	bl	__tr_flush_bits
	subs	w20, w20, w25
	b.eq	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	asr	w19, w19, w25
	ldr	w8, [x23]
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_Z_NULL,8,3                     ; @Z_NULL
	.comm	_Z_STREAM_ERROR,4,2             ; @Z_STREAM_ERROR
	.comm	_Buf_size,4,2                   ; @Buf_size
	.comm	_Z_BUF_ERROR,4,2                ; @Z_BUF_ERROR
	.comm	_Z_OK,4,2                       ; @Z_OK
.subsections_via_symbols
