// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/libraries/libwebp/src/dsp/dec.c
// Function: TransformAC3_C
static void TransformAC3_C(const int16_t* in, uint8_t* dst) {
  const int a = in[0] + 4;
  const int c4 = WEBP_TRANSFORM_AC3_MUL2(in[4]);
  const int d4 = WEBP_TRANSFORM_AC3_MUL1(in[4]);
  const int c1 = WEBP_TRANSFORM_AC3_MUL2(in[1]);
  const int d1 = WEBP_TRANSFORM_AC3_MUL1(in[1]);
  STORE2(0, a + d4, d1, c1);
  STORE2(1, a + c4, d1, c1);
  STORE2(2, a - c4, d1, c1);
  STORE2(3, a - d4, d1, c1);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movswl (%rax), %eax
addl $0x4, %eax
movl %eax, -0x14(%rbp)
movq -0x8(%rbp), %rax
movswl 0x8(%rax), %eax
imull $0x8a8c, %eax, %eax     # imm = 0x8A8C
sarl $0x10, %eax
movl %eax, -0x18(%rbp)
movq -0x8(%rbp), %rax
movswl 0x8(%rax), %eax
imull $0x4e7b, %eax, %eax     # imm = 0x4E7B
sarl $0x10, %eax
movq -0x8(%rbp), %rcx
movswl 0x8(%rcx), %ecx
addl %ecx, %eax
movl %eax, -0x1c(%rbp)
movq -0x8(%rbp), %rax
movswl 0x2(%rax), %eax
imull $0x8a8c, %eax, %eax     # imm = 0x8A8C
sarl $0x10, %eax
movl %eax, -0x20(%rbp)
movq -0x8(%rbp), %rax
movswl 0x2(%rax), %eax
imull $0x4e7b, %eax, %eax     # imm = 0x4E7B
sarl $0x10, %eax
movq -0x8(%rbp), %rcx
movswl 0x2(%rcx), %ecx
addl %ecx, %eax
movl %eax, -0x24(%rbp)
movl -0x14(%rbp), %eax
addl -0x1c(%rbp), %eax
movl %eax, -0x28(%rbp)
movq -0x10(%rbp), %rax
movzbl (%rax), %edi
movl -0x28(%rbp), %eax
addl -0x24(%rbp), %eax
sarl $0x3, %eax
addl %eax, %edi
callq 0x14c930
movb %al, %cl
movq -0x10(%rbp), %rax
movb %cl, (%rax)
movq -0x10(%rbp), %rax
movzbl 0x1(%rax), %edi
movl -0x28(%rbp), %eax
addl -0x20(%rbp), %eax
sarl $0x3, %eax
addl %eax, %edi
callq 0x14c930
movb %al, %cl
movq -0x10(%rbp), %rax
movb %cl, 0x1(%rax)
movq -0x10(%rbp), %rax
movzbl 0x2(%rax), %edi
movl -0x28(%rbp), %eax
subl -0x20(%rbp), %eax
sarl $0x3, %eax
addl %eax, %edi
callq 0x14c930
movb %al, %cl
movq -0x10(%rbp), %rax
movb %cl, 0x2(%rax)
movq -0x10(%rbp), %rax
movzbl 0x3(%rax), %edi
movl -0x28(%rbp), %eax
subl -0x24(%rbp), %eax
sarl $0x3, %eax
addl %eax, %edi
callq 0x14c930
movb %al, %cl
movq -0x10(%rbp), %rax
movb %cl, 0x3(%rax)
jmp 0x14af0e
movl -0x14(%rbp), %eax
addl -0x18(%rbp), %eax
movl %eax, -0x2c(%rbp)
movq -0x10(%rbp), %rax
movzbl 0x20(%rax), %edi
movl -0x2c(%rbp), %eax
addl -0x24(%rbp), %eax
sarl $0x3, %eax
addl %eax, %edi
callq 0x14c930
movb %al, %cl
movq -0x10(%rbp), %rax
movb %cl, 0x20(%rax)
movq -0x10(%rbp), %rax
movzbl 0x21(%rax), %edi
movl -0x2c(%rbp), %eax
addl -0x20(%rbp), %eax
sarl $0x3, %eax
addl %eax, %edi
callq 0x14c930
movb %al, %cl
movq -0x10(%rbp), %rax
movb %cl, 0x21(%rax)
movq -0x10(%rbp), %rax
movzbl 0x22(%rax), %edi
movl -0x2c(%rbp), %eax
subl -0x20(%rbp), %eax
sarl $0x3, %eax
addl %eax, %edi
callq 0x14c930
movb %al, %cl
movq -0x10(%rbp), %rax
movb %cl, 0x22(%rax)
movq -0x10(%rbp), %rax
movzbl 0x23(%rax), %edi
movl -0x2c(%rbp), %eax
subl -0x24(%rbp), %eax
sarl $0x3, %eax
addl %eax, %edi
callq 0x14c930
movb %al, %cl
movq -0x10(%rbp), %rax
movb %cl, 0x23(%rax)
jmp 0x14af9d
movl -0x14(%rbp), %eax
subl -0x18(%rbp), %eax
movl %eax, -0x30(%rbp)
movq -0x10(%rbp), %rax
movzbl 0x40(%rax), %edi
movl -0x30(%rbp), %eax
addl -0x24(%rbp), %eax
sarl $0x3, %eax
addl %eax, %edi
callq 0x14c930
movb %al, %cl
movq -0x10(%rbp), %rax
movb %cl, 0x40(%rax)
movq -0x10(%rbp), %rax
movzbl 0x41(%rax), %edi
movl -0x30(%rbp), %eax
addl -0x20(%rbp), %eax
sarl $0x3, %eax
addl %eax, %edi
callq 0x14c930
movb %al, %cl
movq -0x10(%rbp), %rax
movb %cl, 0x41(%rax)
movq -0x10(%rbp), %rax
movzbl 0x42(%rax), %edi
movl -0x30(%rbp), %eax
subl -0x20(%rbp), %eax
sarl $0x3, %eax
addl %eax, %edi
callq 0x14c930
movb %al, %cl
movq -0x10(%rbp), %rax
movb %cl, 0x42(%rax)
movq -0x10(%rbp), %rax
movzbl 0x43(%rax), %edi
movl -0x30(%rbp), %eax
subl -0x24(%rbp), %eax
sarl $0x3, %eax
addl %eax, %edi
callq 0x14c930
movb %al, %cl
movq -0x10(%rbp), %rax
movb %cl, 0x43(%rax)
jmp 0x14b02c
movl -0x14(%rbp), %eax
subl -0x1c(%rbp), %eax
movl %eax, -0x34(%rbp)
movq -0x10(%rbp), %rax
movzbl 0x60(%rax), %edi
movl -0x34(%rbp), %eax
addl -0x24(%rbp), %eax
sarl $0x3, %eax
addl %eax, %edi
callq 0x14c930
movb %al, %cl
movq -0x10(%rbp), %rax
movb %cl, 0x60(%rax)
movq -0x10(%rbp), %rax
movzbl 0x61(%rax), %edi
movl -0x34(%rbp), %eax
addl -0x20(%rbp), %eax
sarl $0x3, %eax
addl %eax, %edi
callq 0x14c930
movb %al, %cl
movq -0x10(%rbp), %rax
movb %cl, 0x61(%rax)
movq -0x10(%rbp), %rax
movzbl 0x62(%rax), %edi
movl -0x34(%rbp), %eax
subl -0x20(%rbp), %eax
sarl $0x3, %eax
addl %eax, %edi
callq 0x14c930
movb %al, %cl
movq -0x10(%rbp), %rax
movb %cl, 0x62(%rax)
movq -0x10(%rbp), %rax
movzbl 0x63(%rax), %edi
movl -0x34(%rbp), %eax
subl -0x24(%rbp), %eax
sarl $0x3, %eax
addl %eax, %edi
callq 0x14c930
movb %al, %cl
movq -0x10(%rbp), %rax
movb %cl, 0x63(%rax)
addq $0x40, %rsp
popq %rbp
retq
nop