// File: /workspace/github_c_makefile_star2_O0/jsummers[P]deark/src/../foreign/miniz-c.h
// Function: tdefl_start_static_block
static void tdefl_start_static_block(tdefl_compressor *d)
{
    mz_uint i;
    mz_uint8 *p = &d->m_huff_code_sizes[0][0];

    for (i = 0; i <= 143; ++i)
        *p++ = 8;
    for (; i <= 255; ++i)
        *p++ = 9;
    for (; i <= 279; ++i)
        *p++ = 7;
    for (; i <= 287; ++i)
        *p++ = 8;

    memset(d->m_huff_code_sizes[1], 5, 32);

    tdefl_optimize_huffman_table(d, 0, 288, 15, MZ_TRUE);
    tdefl_optimize_huffman_table(d, 1, 32, 15, MZ_TRUE);

    TDEFL_PUT_BITS(1, 2);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x8f4a, %rax           # imm = 0x8F4A
movq %rax, -0x18(%rbp)
movl $0x0, -0xc(%rbp)
cmpl $0x8f, -0xc(%rbp)
ja 0x198437
movq -0x18(%rbp), %rax
movq %rax, %rcx
addq $0x1, %rcx
movq %rcx, -0x18(%rbp)
movb $0x8, (%rax)
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x198411
jmp 0x198439
cmpl $0xff, -0xc(%rbp)
ja 0x19845f
movq -0x18(%rbp), %rax
movq %rax, %rcx
addq $0x1, %rcx
movq %rcx, -0x18(%rbp)
movb $0x9, (%rax)
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x198439
jmp 0x198461
cmpl $0x117, -0xc(%rbp)      # imm = 0x117
ja 0x198487
movq -0x18(%rbp), %rax
movq %rax, %rcx
addq $0x1, %rcx
movq %rcx, -0x18(%rbp)
movb $0x7, (%rax)
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x198461
jmp 0x198489
cmpl $0x11f, -0xc(%rbp)      # imm = 0x11F
ja 0x1984af
movq -0x18(%rbp), %rax
movq %rax, %rcx
addq $0x1, %rcx
movq %rcx, -0x18(%rbp)
movb $0x8, (%rax)
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x198489
movq -0x8(%rbp), %rdi
addq $0x8f4a, %rdi           # imm = 0x8F4A
addq $0x120, %rdi            # imm = 0x120
movl $0x5, %esi
movl $0x20, %edx
callq 0x19140
movq -0x8(%rbp), %rdi
xorl %esi, %esi
movl $0x120, %edx            # imm = 0x120
movl $0xf, %ecx
movl $0x1, %r8d
callq 0x199c80
movq -0x8(%rbp), %rdi
movl $0x1, %r8d
movl $0x20, %edx
movl $0xf, %ecx
movl %r8d, %esi
callq 0x199c80
movl $0x1, -0x1c(%rbp)
movl $0x2, -0x20(%rbp)
movl -0x1c(%rbp), %eax
movl -0x20(%rbp), %ecx
movl $0x1, %edx
shll %cl, %edx
movl %edx, %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
ja 0x19852d
jmp 0x19854c
leaq 0x40e0e(%rip), %rdi     # 0x1d9342
leaq 0x40b33(%rip), %rsi     # 0x1d906e
movl $0x448, %edx            # imm = 0x448
leaq 0x40e3e(%rip), %rcx     # 0x1d9385
callq 0x19120
movl -0x1c(%rbp), %eax
movq -0x8(%rbp), %rcx
movl 0x5c(%rcx), %ecx
shll %cl, %eax
movl %eax, %ecx
movq -0x8(%rbp), %rax
orl 0x60(%rax), %ecx
movl %ecx, 0x60(%rax)
movl -0x20(%rbp), %ecx
movq -0x8(%rbp), %rax
addl 0x5c(%rax), %ecx
movl %ecx, 0x5c(%rax)
movq -0x8(%rbp), %rax
cmpl $0x8, 0x5c(%rax)
jb 0x1985c7
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
movq -0x8(%rbp), %rcx
cmpq 0x48(%rcx), %rax
jae 0x1985ab
movq -0x8(%rbp), %rax
movl 0x60(%rax), %eax
movb %al, %cl
movq -0x8(%rbp), %rdx
movq 0x40(%rdx), %rax
movq %rax, %rsi
addq $0x1, %rsi
movq %rsi, 0x40(%rdx)
movb %cl, (%rax)
movq -0x8(%rbp), %rax
movl 0x60(%rax), %ecx
shrl $0x8, %ecx
movl %ecx, 0x60(%rax)
movq -0x8(%rbp), %rax
movl 0x5c(%rax), %ecx
subl $0x8, %ecx
movl %ecx, 0x5c(%rax)
jmp 0x198571
jmp 0x1985c9
addq $0x20, %rsp
popq %rbp
retq
nop