68 lines
3.2 KiB
ArmAsm
68 lines
3.2 KiB
ArmAsm
/*-*- mode:unix-assembly; indent-tabs-mode:t; tab-width:8; coding:utf-8 -*-│
|
|
│vi: set et ft=asm ts=8 tw=8 fenc=utf-8 :vi│
|
|
╞══════════════════════════════════════════════════════════════════════════════╡
|
|
│ Copyright 2020 Justine Alexandra Roberts Tunney │
|
|
│ │
|
|
│ Permission to use, copy, modify, and/or distribute this software for │
|
|
│ any purpose with or without fee is hereby granted, provided that the │
|
|
│ above copyright notice and this permission notice appear in all copies. │
|
|
│ │
|
|
│ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │
|
|
│ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │
|
|
│ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │
|
|
│ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │
|
|
│ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │
|
|
│ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │
|
|
│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │
|
|
│ PERFORMANCE OF THIS SOFTWARE. │
|
|
╚─────────────────────────────────────────────────────────────────────────────*/
|
|
#include "third_party/zlib/deflate.h"
|
|
#include "libc/macros.h"
|
|
|
|
.initbss 300,_init_kZlibDistCode
|
|
kZlibDistCode:
|
|
.zero DIST_CODE_LEN
|
|
.endobj kZlibDistCode,globl,hidden
|
|
.previous
|
|
|
|
.initro 300,_init_kZlibDistCode
|
|
.LkZlibDistCode.rodata: /* 64 bytes (13%) */
|
|
.byte 1,0x00 /* 00-00 ∅ */
|
|
.byte 1,0x01 /* 01-01 ☺ */
|
|
.byte 1,0x02 /* 02-02 ☻ */
|
|
.byte 1,0x03 /* 03-03 ♥ */
|
|
.byte 2,0x04 /* 04-05 ♦-♣ */
|
|
.byte 2,0x05 /* 06-07 ♠-• */
|
|
.byte 4,0x06 /* 08-0b ◘-♂ */
|
|
.byte 4,0x07 /* 0c-0f ♀-☼ */
|
|
.byte 8,0x08 /* 10-17 ►-↨ */
|
|
.byte 8,0x09 /* 18-1f ↑-▼ */
|
|
.byte 16,0x0a /* 20-2f -/ */
|
|
.byte 16,0x0b /* 30-3f 0-? */
|
|
.byte 32,0x0c /* 40-5f @-_ */
|
|
.byte 32,0x0d /* 60-7f `-⌂ */
|
|
.byte 64,0x0e /* 80-bf Ç-┐ */
|
|
.byte 64,0x0f /* c0-ff └-λ */
|
|
.byte 2,0x00 /* 100-101 */
|
|
.byte 1,0x10 /* 102-102 */
|
|
.byte 1,0x11 /* 103-103 */
|
|
.byte 2,0x12 /* 104-105 */
|
|
.byte 2,0x13 /* 106-107 */
|
|
.byte 4,0x14 /* 108-10b */
|
|
.byte 4,0x15 /* 10c-10f */
|
|
.byte 8,0x16 /* 110-117 */
|
|
.byte 8,0x17 /* 118-11f */
|
|
.byte 16,0x18 /* 120-12f */
|
|
.byte 16,0x19 /* 130-13f */
|
|
.byte 32,0x1a /* 140-15f */
|
|
.byte 32,0x1b /* 160-17f */
|
|
.byte 64,0x1c /* 180-1bf */
|
|
.byte 64,0x1d /* 1c0-1ff */
|
|
.endobj .LkZlibDistCode.rodata
|
|
.byte 0,0 /* terminator */
|
|
.previous
|
|
|
|
.init.start 300,_init_kZlibDistCode
|
|
call rldecode
|
|
.init.end 300,_init_kZlibDistCode
|