	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function deflateFixed
_deflateFixed:                          ## @deflateFixed
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	movq	%r8, %rbx
	movq	%rcx, %r13
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %r15
	leaq	-44(%rbp), %rdi
	callq	_HuffmanTree_init
	leaq	-64(%rbp), %r14
	movq	%r14, %rdi
	callq	_HuffmanTree_init
	leaq	-44(%rbp), %rdi
	callq	_generateFixedLitLenTree
	movq	%r14, %rdi
	callq	_generateFixedDistanceTree
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	24(%rbp), %edx
	callq	_addBitToStream
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	$1, %edx
	callq	_addBitToStream
	movq	%r12, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_addBitToStream
	movq	16(%rbp), %rax
	cmpq	$0, 16(%rax)
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.4:
	movq	%rax, %r14
	leaq	-60(%rbp), %r15
	movq	%r15, %rdi
	callq	_uivector_init
	movl	12(%r14), %r9d
	movl	8(%r14), %r10d
	movl	(%r14), %eax
	movl	4(%r14), %r11d
	subq	$8, %rsp
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	movq	%rbx, %rcx
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	pushq	%rax
	pushq	%r11
	pushq	%r10
	callq	_encodeLZ77
	addq	$32, %rsp
	testl	%eax, %eax
	je	LBB0_5
## %bb.8:
	movl	%eax, %ebx
	leaq	-60(%rbp), %rdi
	callq	_uivector_cleanup
	jmp	LBB0_7
LBB0_1:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, %rbx
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	jae	LBB0_6
## %bb.2:
	movq	%rax, %r12
	leaq	-44(%rbp), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r13,%rbx), %esi
	movq	%r15, %rdi
	callq	_HuffmanTree_getCode
	movl	%eax, %r14d
	movzbl	(%r13,%rbx), %esi
	movq	%r15, %rdi
	callq	_HuffmanTree_getLength
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	%r14d, %edx
	movl	%eax, %ecx
	callq	_addHuffmanSymbol
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_3
	jmp	LBB0_6
LBB0_5:
	leaq	-60(%rbp), %rbx
	leaq	-44(%rbp), %rcx
	leaq	-64(%rbp), %r8
	movq	%r12, %rdi
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_writeLZ77data
	movq	%rbx, %rdi
	callq	_uivector_cleanup
LBB0_6:
	leaq	-44(%rbp), %r14
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_HuffmanTree_getCode
	movl	%eax, %r15d
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_HuffmanTree_getLength
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_addHuffmanSymbol
LBB0_7:
	leaq	-44(%rbp), %rdi
	callq	_HuffmanTree_cleanup
	leaq	-64(%rbp), %rdi
	callq	_HuffmanTree_cleanup
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_deflateFixed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function deflateFixed
_deflateFixed:                          ; @deflateFixed
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x26, x7
	mov	x25, x6
	mov	x22, x5
	mov	x21, x4
	mov	x23, x3
	mov	x24, x2
	mov	x20, x1
	mov	x19, x0
	add	x0, sp, #12
	bl	_HuffmanTree_init
	add	x0, sp, #8
	bl	_HuffmanTree_init
	add	x0, sp, #12
	bl	_generateFixedLitLenTree
	add	x0, sp, #8
	bl	_generateFixedDistanceTree
	mov	x0, x20
	mov	x1, x19
	mov	x2, x26
	bl	_addBitToStream
	mov	x0, x20
	mov	x1, x19
	mov	w2, #1
	bl	_addBitToStream
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	bl	_addBitToStream
	ldr	x8, [x25, #16]
	cbz	x8, LBB0_3
; %bb.1:
	add	x0, sp, #4
	bl	_uivector_init
	ldp	w6, w5, [x25, #8]
	ldp	w8, w7, [x25]
	str	w8, [sp]
	add	x0, sp, #4
	mov	x1, x24
	mov	x2, x23
	mov	x3, x21
	mov	x4, x22
	bl	_encodeLZ77
	cbz	w0, LBB0_6
; %bb.2:
	mov	x21, x0
	add	x0, sp, #4
	bl	_uivector_cleanup
	b	LBB0_8
LBB0_3:
	cmp	x21, x22
	b.hs	LBB0_7
; %bb.4:
	sub	x22, x22, x21
	add	x23, x23, x21
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w1, [x23]
	add	x0, sp, #12
	bl	_HuffmanTree_getCode
	mov	x21, x0
	ldrb	w1, [x23], #1
	add	x0, sp, #12
	bl	_HuffmanTree_getLength
	mov	x3, x0
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_addHuffmanSymbol
	subs	x22, x22, #1
	b.ne	LBB0_5
	b	LBB0_7
LBB0_6:
	add	x2, sp, #4
	add	x3, sp, #12
	add	x4, sp, #8
	mov	x0, x20
	mov	x1, x19
	bl	_writeLZ77data
	add	x0, sp, #4
	bl	_uivector_cleanup
LBB0_7:
	add	x0, sp, #12
	mov	w1, #0
	bl	_HuffmanTree_getCode
	mov	x21, x0
	add	x0, sp, #12
	mov	w1, #0
	bl	_HuffmanTree_getLength
	mov	x3, x0
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_addHuffmanSymbol
	mov	w21, #0
LBB0_8:
	add	x0, sp, #12
	bl	_HuffmanTree_cleanup
	add	x0, sp, #8
	bl	_HuffmanTree_cleanup
	mov	x0, x21
	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
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_deflateFixed
.subsections_via_symbols
