	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BrotliStoreMetaBlock           ## -- Begin function BrotliStoreMetaBlock
	.p2align	4, 0x90
_BrotliStoreMetaBlock:                  ## @BrotliStoreMetaBlock
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movq	%r8, %r14
	movq	%rdx, %r12
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	88(%rbp), %r8
	movq	80(%rbp), %rdx
	movq	24(%rbp), %rdi
	movq	_BROTLI_NUM_DISTANCE_SHORT_CODES@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%rcx, %rsi
	movq	%r8, %rcx
	callq	_StoreCompressedMetaBlockHeader
	movq	_HuffmanTree@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MAX_HUFFMAN_TREE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_BROTLI_ALLOC
	movq	_tree@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	%rbx, %rdi
	callq	_BROTLI_IS_OOM
	testq	%rax, %rax
	je	LBB0_2
LBB0_1:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movq	72(%rbp), %r14
	movl	40(%rbp), %ecx
	movl	$48, %ebx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %ebx
	movl	48(%rbp), %r13d
	movl	32(%rbp), %r12d
	addl	%r12d, %ebx
	addl	%r15d, %ebx
	movq	48(%r14), %rdx
	movl	64(%r14), %ecx
	movl	60(%r14), %r8d
	movl	56(%r14), %r9d
	leaq	-48(%rbp), %rdi
	movl	$256, %esi                      ## imm = 0x100
	callq	_InitBlockEncoder
	movq	_BROTLI_NUM_COMMAND_SYMBOLS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	96(%r14), %rdx
	movl	112(%r14), %ecx
	movl	108(%r14), %r8d
	movl	104(%r14), %r9d
	leaq	-52(%rbp), %rdi
	callq	_InitBlockEncoder
	movq	72(%r14), %rdx
	movl	88(%r14), %ecx
	movl	84(%r14), %r8d
	movl	80(%r14), %r9d
	leaq	-44(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_InitBlockEncoder
	movq	_tree@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-48(%rbp), %rdi
	movq	80(%rbp), %rdx
	movq	88(%rbp), %rbx
	movq	%rbx, %rcx
	callq	_BuildAndStoreBlockSwitchEntropyCodes
	movl	(%r15), %esi
	leaq	-52(%rbp), %rdi
	movq	80(%rbp), %rdx
	movq	%rbx, %rcx
	callq	_BuildAndStoreBlockSwitchEntropyCodes
	movl	(%r15), %esi
	leaq	-44(%rbp), %rdi
	movq	80(%rbp), %rdx
	movq	%rbx, %rcx
	callq	_BuildAndStoreBlockSwitchEntropyCodes
	movl	$2, %edi
	movl	40(%rbp), %r15d
	movl	%r15d, %esi
	movq	80(%rbp), %rdx
	movq	%rbx, %rcx
	callq	_BrotliWriteBits
	movl	%r15d, %ecx
	shrl	%cl, %r12d
	movl	$4, %edi
	movl	%r12d, %esi
	movq	%r14, %r12
	movq	80(%rbp), %r15
	movq	%r15, %rdx
	movq	%rbx, %rcx
	callq	_BrotliWriteBits
	cmpq	$0, 48(%r14)
	movq	%rbx, %r14
	je	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	$2, %edi
	movl	%r13d, %esi
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	_BrotliWriteBits
	incq	%rbx
	cmpq	48(%r12), %rbx
	jb	LBB0_4
LBB0_5:
	movq	(%r12), %rdx
	testq	%rdx, %rdx
	movq	%r12, %rax
	movq	-104(%rbp), %r12                ## 8-byte Reload
	je	LBB0_7
## %bb.6:
	movl	20(%rax), %esi
	movl	40(%rax), %ecx
	movq	_tree@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, (%rsp)
	movq	%r12, %rdi
	movq	%r15, %r9
	callq	_EncodeContextMap
	movq	%r12, %rdi
	callq	_BROTLI_IS_OOM
	testq	%rax, %rax
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_1
	jmp	LBB0_8
LBB0_7:
	movl	40(%rax), %edi
	movq	_BROTLI_LITERAL_CONTEXT_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_tree@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rcx
	movq	%r14, %r8
	callq	_StoreTrivialContextMap
	movq	-80(%rbp), %r13                 ## 8-byte Reload
LBB0_8:
	movq	72(%rbp), %rax
	movq	8(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_10
## %bb.9:
	movl	16(%rax), %esi
	movl	24(%rax), %ecx
	movq	_tree@GOTPCREL(%rip), %r14
	movl	(%r14), %r8d
	movq	88(%rbp), %rbx
	movq	%rbx, (%rsp)
	movq	%r12, %rdi
	movq	%r15, %r9
	callq	_EncodeContextMap
	movq	%r12, %rdi
	callq	_BROTLI_IS_OOM
	testq	%rax, %rax
	jne	LBB0_1
	jmp	LBB0_11
LBB0_10:
	movl	24(%rax), %edi
	movq	_BROTLI_DISTANCE_CONTEXT_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_tree@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%r15, %rcx
	movq	88(%rbp), %rbx
	movq	%rbx, %r8
	callq	_StoreTrivialContextMap
LBB0_11:
	movq	72(%rbp), %rax
	movl	40(%rax), %ecx
	movl	44(%rax), %edx
	movl	(%r14), %r8d
	movq	%rbx, (%rsp)
	leaq	-48(%rbp), %rsi
	movq	%r12, %rdi
	movq	%r15, %r9
	callq	_BuildAndStoreEntropyCodesLiteral
	movq	%r12, %rdi
	callq	_BROTLI_IS_OOM
	testq	%rax, %rax
	jne	LBB0_1
## %bb.12:
	movq	72(%rbp), %rax
	movl	32(%rax), %ecx
	movl	36(%rax), %edx
	movl	(%r14), %r8d
	movq	%rbx, (%rsp)
	leaq	-52(%rbp), %rsi
	movq	%r12, %rdi
	movq	%r15, %r9
	callq	_BuildAndStoreEntropyCodesCommand
	movq	%r12, %rdi
	callq	_BROTLI_IS_OOM
	testq	%rax, %rax
	jne	LBB0_1
## %bb.13:
	movq	72(%rbp), %rax
	movl	24(%rax), %ecx
	movl	28(%rax), %edx
	movl	(%r14), %r8d
	movq	%rbx, (%rsp)
	leaq	-44(%rbp), %rsi
	movq	%r12, %rdi
	movq	%r15, %r9
	callq	_BuildAndStoreEntropyCodesDistance
	movq	%r12, %rdi
	callq	_BROTLI_IS_OOM
	testq	%rax, %rax
	jne	LBB0_1
## %bb.14:
	movl	(%r14), %esi
	movq	%r12, %rdi
	callq	_BROTLI_FREE
	cmpq	$0, 64(%rbp)
	je	LBB0_33
## %bb.15:
	movq	16(%rbp), %r12
	xorl	%eax, %eax
	jmp	LBB0_19
LBB0_16:                                ##   in Loop: Header=BB0_19 Depth=1
	leaq	-144(%rbp), %rdi
	callq	_CommandDistanceContext
	movl	16(%rbx), %ecx
	movq	_BROTLI_DISTANCE_CONTEXT_BITS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, (%rsp)
	leaq	-44(%rbp), %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	movq	80(%rbp), %r14
	movq	%r14, %r8
	movq	88(%rbp), %rbx
	movq	%rbx, %r9
	callq	_StoreSymbolWithContext
LBB0_17:                                ##   in Loop: Header=BB0_19 Depth=1
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	movl	%r12d, %esi
	movq	%r14, %rdx
	movq	%rbx, %rcx
	callq	_BrotliWriteBits
LBB0_18:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	incq	%rax
	movq	%r15, %r12
	cmpq	64(%rbp), %rax
	je	LBB0_33
LBB0_19:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_22 Depth 2
                                        ##     Child Loop BB0_25 Depth 2
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	shlq	$5, %rax
	movq	56(%rbp), %rcx
	movups	(%rcx,%rax), %xmm0
	movups	16(%rcx,%rax), %xmm1
	movaps	%xmm0, -144(%rbp)
	movaps	%xmm1, -128(%rbp)
	movq	-144(%rbp), %rsi
	leaq	-52(%rbp), %rdi
	movq	80(%rbp), %rbx
	movq	%rbx, %rdx
	movq	88(%rbp), %r15
	movq	%r15, %rcx
	callq	_StoreSymbol
	leaq	-144(%rbp), %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_StoreCommandExtra
	movq	72(%rbp), %rax
	cmpq	$0, (%rax)
	movq	-136(%rbp), %rbx
	je	LBB0_23
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	testq	%rbx, %rbx
	je	LBB0_28
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r12, %rsi
	.p2align	4, 0x90
LBB0_22:                                ##   Parent Loop BB0_19 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r15, %r12
	movq	%r15, %rdi
	movl	48(%rbp), %edx
	callq	_Context
	movq	%r13, %rcx
	andq	-96(%rbp), %rcx                 ## 8-byte Folded Reload
	movq	(%r14,%rcx,8), %r15
	movq	72(%rbp), %rcx
	movl	20(%rcx), %ecx
	movq	_BROTLI_LITERAL_CONTEXT_BITS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, (%rsp)
	leaq	-48(%rbp), %rdi
	movq	%r15, %rsi
	movq	%rax, %rdx
	movq	80(%rbp), %r8
	movq	88(%rbp), %r9
	callq	_StoreSymbolWithContext
	incq	%r13
	movq	%r12, %rsi
	decq	%rbx
	jne	LBB0_22
	jmp	LBB0_29
LBB0_23:                                ##   in Loop: Header=BB0_19 Depth=1
	testq	%rbx, %rbx
	je	LBB0_28
## %bb.24:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_25:                                ##   Parent Loop BB0_19 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, %rax
	andq	-96(%rbp), %rax                 ## 8-byte Folded Reload
	movq	(%r14,%rax,8), %rsi
	leaq	-48(%rbp), %rdi
	movq	80(%rbp), %rdx
	movq	%r15, %rcx
	callq	_StoreSymbol
	incq	%r13
	decq	%rbx
	jne	LBB0_25
LBB0_28:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	-64(%rbp), %r15                 ## 8-byte Reload
LBB0_29:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	leaq	-144(%rbp), %r14
	movq	%r14, %rdi
	callq	_CommandCopyLen
	addq	%r13, %rax
	movq	%rax, %r13
	movq	%r14, %rdi
	callq	_CommandCopyLen
	testq	%rax, %rax
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movq	%r12, %r15
	je	LBB0_18
## %bb.30:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	%r13, %rdx
	leaq	-2(%r13), %rax
	andq	%r14, %rax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rax,8), %r15
	leaq	-1(%r13), %rax
	andq	%r14, %rax
	movq	(%rcx,%rax,8), %rax
	cmpq	$128, -144(%rbp)
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jb	LBB0_18
## %bb.31:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	-128(%rbp), %r14
	movl	-120(%rbp), %r12d
	movl	%r12d, %ecx
	sarl	$24, %ecx
	andl	$16777215, %r12d                ## imm = 0xFFFFFF
	movq	72(%rbp), %rbx
	cmpq	$0, 8(%rbx)
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	jne	LBB0_16
## %bb.32:                              ##   in Loop: Header=BB0_19 Depth=1
	leaq	-44(%rbp), %rdi
	movq	%r14, %rsi
	movq	80(%rbp), %r14
	movq	%r14, %rdx
	movq	88(%rbp), %rbx
	movq	%rbx, %rcx
	callq	_StoreSymbol
	jmp	LBB0_17
LBB0_33:
	leaq	-44(%rbp), %rsi
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_CleanupBlockEncoder
	leaq	-52(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_CleanupBlockEncoder
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_CleanupBlockEncoder
	cmpq	$0, 24(%rbp)
	movq	88(%rbp), %rsi
	movq	80(%rbp), %rdi
	je	LBB0_1
## %bb.34:
	callq	_JumpToByteBoundary
	jmp	LBB0_1
	.cfi_endproc
                                        ## -- End function
	.comm	_BROTLI_NUM_DISTANCE_SHORT_CODES,4,2 ## @BROTLI_NUM_DISTANCE_SHORT_CODES
	.comm	_HuffmanTree,4,2                ## @HuffmanTree
	.comm	_tree,4,2                       ## @tree
	.comm	_MAX_HUFFMAN_TREE_SIZE,4,2      ## @MAX_HUFFMAN_TREE_SIZE
	.comm	_BROTLI_NUM_COMMAND_SYMBOLS,8,3 ## @BROTLI_NUM_COMMAND_SYMBOLS
	.comm	_BROTLI_LITERAL_CONTEXT_BITS,4,2 ## @BROTLI_LITERAL_CONTEXT_BITS
	.comm	_BROTLI_DISTANCE_CONTEXT_BITS,4,2 ## @BROTLI_DISTANCE_CONTEXT_BITS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BrotliStoreMetaBlock           ; -- Begin function BrotliStoreMetaBlock
	.p2align	2
_BrotliStoreMetaBlock:                  ; @BrotliStoreMetaBlock
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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
	stp	x5, x6, [sp, #56]               ; 16-byte Folded Spill
	mov	x25, x4
	mov	x24, x2
	mov	x26, x1
	mov	x23, x0
	ldp	x21, x20, [x29, #56]
Lloh0:
	adrp	x8, _BROTLI_NUM_DISTANCE_SHORT_CODES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BROTLI_NUM_DISTANCE_SHORT_CODES@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	str	x7, [sp, #48]                   ; 8-byte Folded Spill
	mov	x0, x7
	mov	x1, x3
	mov	x2, x21
	mov	x3, x20
	bl	_StoreCompressedMetaBlockHeader
Lloh3:
	adrp	x8, _HuffmanTree@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HuffmanTree@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _MAX_HUFFMAN_TREE_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAX_HUFFMAN_TREE_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x23
	bl	_BROTLI_ALLOC
Lloh9:
	adrp	x19, _tree@GOTPAGE
Lloh10:
	ldr	x19, [x19, _tree@GOTPAGEOFF]
	str	w0, [x19]
	mov	x0, x23
	bl	_BROTLI_IS_OOM
	cbz	x0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
LBB0_2:
	stp	x26, x25, [sp, #24]             ; 16-byte Folded Spill
	str	x23, [sp, #40]                  ; 8-byte Folded Spill
	ldr	x23, [x29, #48]
	ldp	w26, w27, [x29, #20]
	ldr	w25, [x29, #16]
	mov	w8, #48
	lsl	w8, w8, w26
	add	w8, w8, w25
	add	w22, w8, w22
	ldr	x2, [x23, #48]
	ldp	w4, w3, [x23, #60]
	ldr	w5, [x23, #56]
	sub	x0, x29, #84
	mov	w1, #256
	bl	_InitBlockEncoder
Lloh11:
	adrp	x8, _BROTLI_NUM_COMMAND_SYMBOLS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BROTLI_NUM_COMMAND_SYMBOLS@GOTPAGEOFF]
Lloh13:
	ldr	x1, [x8]
	ldr	x2, [x23, #96]
	ldp	w4, w3, [x23, #108]
	ldr	w5, [x23, #104]
	sub	x0, x29, #88
	bl	_InitBlockEncoder
	ldr	x2, [x23, #72]
	ldp	w4, w3, [x23, #84]
	ldr	w5, [x23, #80]
	sub	x0, x29, #92
	mov	x1, x22
	bl	_InitBlockEncoder
	ldr	w1, [x19]
	sub	x0, x29, #84
	mov	x2, x21
	mov	x3, x20
	bl	_BuildAndStoreBlockSwitchEntropyCodes
	ldr	w1, [x19]
	sub	x0, x29, #88
	mov	x2, x21
	mov	x3, x20
	bl	_BuildAndStoreBlockSwitchEntropyCodes
	mov	x28, x19
	ldr	w1, [x19]
	sub	x0, x29, #92
	mov	x2, x21
	mov	x3, x20
	bl	_BuildAndStoreBlockSwitchEntropyCodes
	mov	w0, #2
	mov	x1, x26
	mov	x2, x21
	mov	x3, x20
	bl	_BrotliWriteBits
	lsr	w1, w25, w26
	mov	w0, #4
	mov	x2, x21
	mov	x3, x20
	bl	_BrotliWriteBits
	ldr	x8, [x23, #48]
	cbz	x8, LBB0_5
; %bb.3:
	mov	x22, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #2
	mov	x1, x27
	mov	x2, x21
	mov	x3, x20
	bl	_BrotliWriteBits
	add	x22, x22, #1
	ldr	x8, [x23, #48]
	cmp	x22, x8
	b.lo	LBB0_4
LBB0_5:
	ldr	x2, [x23]
	ldr	x25, [sp, #40]                  ; 8-byte Folded Reload
	cbz	x2, LBB0_9
; %bb.6:
	ldr	w1, [x23, #20]
	ldr	w3, [x23, #40]
	ldr	w4, [x28]
	mov	x0, x25
	mov	x5, x21
	mov	x6, x20
	bl	_EncodeContextMap
	mov	x0, x25
	bl	_BROTLI_IS_OOM
	cbnz	x0, LBB0_1
; %bb.7:
	ldr	x2, [x23, #8]
	cbz	x2, LBB0_10
LBB0_8:
	ldr	w1, [x23, #16]
	ldr	w3, [x23, #24]
	ldr	w4, [x28]
	mov	x0, x25
	mov	x5, x21
	mov	x6, x20
	bl	_EncodeContextMap
	mov	x0, x25
	bl	_BROTLI_IS_OOM
	cbnz	x0, LBB0_1
	b	LBB0_11
LBB0_9:
	ldr	w0, [x23, #40]
Lloh14:
	adrp	x8, _BROTLI_LITERAL_CONTEXT_BITS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _BROTLI_LITERAL_CONTEXT_BITS@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	ldr	w2, [x28]
	mov	x3, x21
	mov	x4, x20
	bl	_StoreTrivialContextMap
	ldr	x2, [x23, #8]
	cbnz	x2, LBB0_8
LBB0_10:
	ldr	w0, [x23, #24]
Lloh17:
	adrp	x8, _BROTLI_DISTANCE_CONTEXT_BITS@GOTPAGE
Lloh18:
	ldr	x8, [x8, _BROTLI_DISTANCE_CONTEXT_BITS@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	ldr	w2, [x28]
	mov	x3, x21
	mov	x4, x20
	bl	_StoreTrivialContextMap
LBB0_11:
	ldp	w3, w2, [x23, #40]
	ldr	w4, [x28]
	sub	x1, x29, #84
	mov	x0, x25
	mov	x5, x21
	mov	x6, x20
	bl	_BuildAndStoreEntropyCodesLiteral
	mov	x0, x25
	bl	_BROTLI_IS_OOM
	cbnz	x0, LBB0_1
; %bb.12:
	ldp	w3, w2, [x23, #32]
	ldr	w4, [x28]
	sub	x1, x29, #88
	mov	x0, x25
	mov	x5, x21
	mov	x6, x20
	bl	_BuildAndStoreEntropyCodesCommand
	mov	x0, x25
	bl	_BROTLI_IS_OOM
	cbnz	x0, LBB0_1
; %bb.13:
	ldp	w3, w2, [x23, #24]
	ldr	w4, [x28]
	sub	x1, x29, #92
	mov	x0, x25
	mov	x5, x21
	mov	x6, x20
	bl	_BuildAndStoreEntropyCodesDistance
	mov	x0, x25
	bl	_BROTLI_IS_OOM
	cbnz	x0, LBB0_1
; %bb.14:
	ldr	x22, [x29, #40]
	ldr	w1, [x28]
	mov	x0, x25
	bl	_BROTLI_FREE
	ldr	x26, [sp, #56]                  ; 8-byte Folded Reload
	str	x22, [sp, #8]                   ; 8-byte Folded Spill
	cbz	x22, LBB0_32
; %bb.15:
	mov	x19, #0
	ldr	x8, [x29, #32]
	str	x8, [sp]                        ; 8-byte Folded Spill
Lloh20:
	adrp	x28, _BROTLI_LITERAL_CONTEXT_BITS@GOTPAGE
Lloh21:
	ldr	x28, [x28, _BROTLI_LITERAL_CONTEXT_BITS@GOTPAGEOFF]
	str	w27, [sp, #76]                  ; 4-byte Folded Spill
	ldr	x27, [sp, #24]                  ; 8-byte Folded Reload
	b	LBB0_19
LBB0_16:                                ;   in Loop: Header=BB0_19 Depth=1
	add	x0, sp, #80
	bl	_CommandDistanceContext
	mov	x2, x0
	ldr	w3, [x23, #16]
Lloh22:
	adrp	x8, _BROTLI_DISTANCE_CONTEXT_BITS@GOTPAGE
Lloh23:
	ldr	x8, [x8, _BROTLI_DISTANCE_CONTEXT_BITS@GOTPAGEOFF]
Lloh24:
	ldr	w6, [x8]
	sub	x0, x29, #92
	mov	x1, x22
	mov	x4, x21
	mov	x5, x20
	bl	_StoreSymbolWithContext
LBB0_17:                                ;   in Loop: Header=BB0_19 Depth=1
	asr	w0, w25, #24
	and	w1, w25, #0xffffff
	mov	x2, x21
	mov	x3, x20
	bl	_BrotliWriteBits
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	add	x19, x19, #1
	str	x28, [sp, #64]                  ; 8-byte Folded Spill
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	cmp	x19, x8
	ldr	x25, [sp, #40]                  ; 8-byte Folded Reload
Lloh25:
	adrp	x28, _BROTLI_LITERAL_CONTEXT_BITS@GOTPAGE
Lloh26:
	ldr	x28, [x28, _BROTLI_LITERAL_CONTEXT_BITS@GOTPAGEOFF]
	b.eq	LBB0_32
LBB0_19:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_22 Depth 2
                                        ;     Child Loop BB0_25 Depth 2
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	add	x8, x8, x19, lsl #5
	ldp	q0, q1, [x8]
	stp	q0, q1, [sp, #80]
	ldr	x1, [sp, #80]
	sub	x0, x29, #88
	mov	x2, x21
	mov	x3, x20
	bl	_StoreSymbol
	add	x0, sp, #80
	mov	x1, x21
	mov	x2, x20
	bl	_StoreCommandExtra
	ldr	x8, [x23]
	ldr	x25, [sp, #88]
	str	x19, [sp, #16]                  ; 8-byte Folded Spill
	cbz	x8, LBB0_23
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	cbz	x25, LBB0_27
; %bb.21:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x22, [sp, #32]                  ; 8-byte Folded Reload
	ldr	x1, [sp, #64]                   ; 8-byte Folded Reload
	mov	x19, x28
LBB0_22:                                ;   Parent Loop BB0_19 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x28, x26
	mov	x0, x26
	ldr	w2, [sp, #76]                   ; 4-byte Folded Reload
	bl	_Context
	mov	x2, x0
	and	x8, x24, x22
	ldr	x26, [x27, x8, lsl #3]
	ldr	w3, [x23, #20]
	ldr	w6, [x19]
	sub	x0, x29, #84
	mov	x1, x26
	mov	x4, x21
	mov	x5, x20
	bl	_StoreSymbolWithContext
	add	x24, x24, #1
	mov	x1, x28
	subs	x25, x25, #1
	b.ne	LBB0_22
	b	LBB0_28
LBB0_23:                                ;   in Loop: Header=BB0_19 Depth=1
	cbz	x25, LBB0_27
; %bb.24:                               ;   in Loop: Header=BB0_19 Depth=1
	str	x26, [sp, #56]                  ; 8-byte Folded Spill
	ldp	x26, x22, [sp, #24]             ; 16-byte Folded Reload
LBB0_25:                                ;   Parent Loop BB0_19 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	and	x8, x24, x22
	ldr	x1, [x26, x8, lsl #3]
	sub	x0, x29, #84
	mov	x2, x21
	mov	x3, x20
	bl	_StoreSymbol
	add	x24, x24, #1
	subs	x25, x25, #1
	b.ne	LBB0_25
; %bb.26:                               ;   in Loop: Header=BB0_19 Depth=1
	ldp	x26, x28, [sp, #56]             ; 16-byte Folded Reload
	b	LBB0_28
LBB0_27:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	x28, [sp, #64]                  ; 8-byte Folded Reload
LBB0_28:                                ;   in Loop: Header=BB0_19 Depth=1
	add	x0, sp, #80
	bl	_CommandCopyLen
	add	x24, x0, x24
	add	x0, sp, #80
	bl	_CommandCopyLen
	ldr	x19, [sp, #16]                  ; 8-byte Folded Reload
	cbz	x0, LBB0_18
; %bb.29:                               ;   in Loop: Header=BB0_19 Depth=1
	sub	x8, x24, #2
	ldp	x10, x9, [sp, #24]              ; 16-byte Folded Reload
	and	x8, x8, x9
	ldr	x28, [x10, x8, lsl #3]
	sub	x8, x24, #1
	and	x8, x8, x9
	ldr	x26, [x10, x8, lsl #3]
	ldr	x8, [sp, #80]
	cmp	x8, #128
	b.lo	LBB0_18
; %bb.30:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x22, [sp, #96]
	ldr	w25, [sp, #104]
	ldr	x8, [x23, #8]
	cbnz	x8, LBB0_16
; %bb.31:                               ;   in Loop: Header=BB0_19 Depth=1
	sub	x0, x29, #92
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	bl	_StoreSymbol
	b	LBB0_17
LBB0_32:
	sub	x1, x29, #92
	mov	x0, x25
	bl	_CleanupBlockEncoder
	sub	x1, x29, #88
	mov	x0, x25
	bl	_CleanupBlockEncoder
	sub	x1, x29, #84
	mov	x0, x25
	bl	_CleanupBlockEncoder
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	cbz	x8, LBB0_1
; %bb.33:
	mov	x0, x21
	mov	x1, x20
	bl	_JumpToByteBoundary
	b	LBB0_1
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_BROTLI_NUM_DISTANCE_SHORT_CODES,4,2 ; @BROTLI_NUM_DISTANCE_SHORT_CODES
	.comm	_HuffmanTree,4,2                ; @HuffmanTree
	.comm	_tree,4,2                       ; @tree
	.comm	_MAX_HUFFMAN_TREE_SIZE,4,2      ; @MAX_HUFFMAN_TREE_SIZE
	.comm	_BROTLI_NUM_COMMAND_SYMBOLS,8,3 ; @BROTLI_NUM_COMMAND_SYMBOLS
	.comm	_BROTLI_LITERAL_CONTEXT_BITS,4,2 ; @BROTLI_LITERAL_CONTEXT_BITS
	.comm	_BROTLI_DISTANCE_CONTEXT_BITS,4,2 ; @BROTLI_DISTANCE_CONTEXT_BITS
.subsections_via_symbols
