void sbt_L3(float vbuf[], float samp[]) {
  int i;
  vbuf += 576;
  for (i = 0; i < 18; i++) {
    vbuf -= 32;
    window(vbuf);
    fidct_L3(samp);
    samp++;
  }
}


x86 assembly (clang, -O0):
<sbt_L3>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x8(%rbp),%rax
add    $0x900,%rax
mov    %rax,-0x8(%rbp)
movl   $0x0,-0x14(%rbp)
cmpl   $0x12,-0x14(%rbp)
jge    118b <sbt_L3+0x6b>
mov    -0x8(%rbp),%rax
add    $0xffffffffffffff80,%rax
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
mov    $0x0,%al
call   1040 <window@plt>
mov    -0x10(%rbp),%rdi
mov    $0x0,%al
call   1030 <fidct_L3@plt>
mov    -0x10(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x10(%rbp)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1145 <sbt_L3+0x25>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<sbt_L3>:
push   %r15
push   %r14
push   %rbx
mov    %rsi,%rbx
mov    %rdi,%r14
add    $0x880,%rdi
xor    %eax,%eax
call   1040 <window@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1030 <fidct_L3@plt>
lea    0x4(%rbx),%r15
lea    0x800(%r14),%rdi
xor    %eax,%eax
call   1040 <window@plt>
mov    %r15,%rdi
xor    %eax,%eax
call   1030 <fidct_L3@plt>
lea    0x8(%rbx),%r15
lea    0x780(%r14),%rdi
xor    %eax,%eax
call   1040 <window@plt>
mov    %r15,%rdi
xor    %eax,%eax
call   1030 <fidct_L3@plt>
lea    0xc(%rbx),%r15
lea    0x700(%r14),%rdi
xor    %eax,%eax
call   1040 <window@plt>
mov    %r15,%rdi
xor    %eax,%eax
call   1030 <fidct_L3@plt>
lea    0x10(%rbx),%r15
lea    0x680(%r14),%rdi
xor    %eax,%eax
call   1040 <window@plt>
mov    %r15,%rdi
xor    %eax,%eax
call   1030 <fidct_L3@plt>
lea    0x14(%rbx),%r15
lea    0x600(%r14),%rdi
xor    %eax,%eax
call   1040 <window@plt>
mov    %r15,%rdi
xor    %eax,%eax
call   1030 <fidct_L3@plt>
lea    0x18(%rbx),%r15
lea    0x580(%r14),%rdi
xor    %eax,%eax
call   1040 <window@plt>
mov    %r15,%rdi
xor    %eax,%eax
call   1030 <fidct_L3@plt>
lea    0x1c(%rbx),%r15
lea    0x500(%r14),%rdi
xor    %eax,%eax
call   1040 <window@plt>
mov    %r15,%rdi
xor    %eax,%eax
call   1030 <fidct_L3@plt>
lea    0x20(%rbx),%r15
lea    0x480(%r14),%rdi
xor    %eax,%eax
call   1040 <window@plt>
mov    %r15,%rdi
xor    %eax,%eax
call   1030 <fidct_L3@plt>
lea    0x24(%rbx),%r15
lea    0x400(%r14),%rdi
xor    %eax,%eax
call   1040 <window@plt>
mov    %r15,%rdi
xor    %eax,%eax
call   1030 <fidct_L3@plt>
lea    0x28(%rbx),%r15
lea    0x380(%r14),%rdi
xor    %eax,%eax
call   1040 <window@plt>
mov    %r15,%rdi
xor    %eax,%eax
call   1030 <fidct_L3@plt>
lea    0x2c(%rbx),%r15
lea    0x300(%r14),%rdi
xor    %eax,%eax
call   1040 <window@plt>
mov    %r15,%rdi
xor    %eax,%eax
call   1030 <fidct_L3@plt>
lea    0x30(%rbx),%r15
lea    0x280(%r14),%rdi
xor    %eax,%eax
call   1040 <window@plt>
mov    %r15,%rdi
xor    %eax,%eax
call   1030 <fidct_L3@plt>
lea    0x34(%rbx),%r15
lea    0x200(%r14),%rdi
xor    %eax,%eax
call   1040 <window@plt>
mov    %r15,%rdi
xor    %eax,%eax
call   1030 <fidct_L3@plt>
lea    0x38(%rbx),%r15
lea    0x180(%r14),%rdi
xor    %eax,%eax
call   1040 <window@plt>
mov    %r15,%rdi
xor    %eax,%eax
call   1030 <fidct_L3@plt>
lea    0x3c(%rbx),%r15
lea    0x100(%r14),%rdi
xor    %eax,%eax
call   1040 <window@plt>
mov    %r15,%rdi
xor    %eax,%eax
call   1030 <fidct_L3@plt>
lea    0x40(%rbx),%r15
lea    0x80(%r14),%rdi
xor    %eax,%eax
call   1040 <window@plt>
mov    %r15,%rdi
xor    %eax,%eax
call   1030 <fidct_L3@plt>
add    $0x44,%rbx
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <window@plt>
mov    %rbx,%rdi
xor    %eax,%eax
pop    %rbx
pop    %r14
pop    %r15
jmp    1030 <fidct_L3@plt>

LLVM IR (-O0):
define void @sbt_L3(float* %0, float* %1) {
%3 = alloca float*
%4 = alloca float*
%5 = alloca i32
store float* %0, float** %3
store float* %1, float** %4
%6 = load float*, float** %3
%7 = getelementptr inbounds float, float* %6, i64 576
store float* %7, float** %3
store i32 0, i32* %5
br label %8
8: ; preds = %20, %2
%9 = load i32, i32* %5
%10 = icmp slt i32 %9, 18
br i1 %10, label %11, label %23
11: ; preds = %8
%12 = load float*, float** %3
%13 = getelementptr inbounds float, float* %12, i64 -32
store float* %13, float** %3
%14 = load float*, float** %3
%15 = call i32 (float*, ...) bitcast (i32 (...)* @window to i32 (float*, ...)*)(float* %14)
%16 = load float*, float** %4
%17 = call i32 (float*, ...) bitcast (i32 (...)* @fidct_L3 to i32 (float*, ...)*)(float* %16)
%18 = load float*, float** %4
%19 = getelementptr inbounds float, float* %18, i32 1
store float* %19, float** %4
br label %20
20: ; preds = %11
%21 = load i32, i32* %5
%22 = add nsw i32 %21, 1
store i32 %22, i32* %5
br label %8
23: ; preds = %8
ret void
}

LLVM IR (-O2):
define void @sbt_L3(float* %0, float* %1) {
%3 = getelementptr inbounds float, float* %0, i64 544
%4 = tail call i32 (float*, ...) bitcast (i32 (...)* @window to i32 (float*, ...)*)(float* %3)
%5 = tail call i32 (float*, ...) bitcast (i32 (...)* @fidct_L3 to i32 (float*, ...)*)(float* %1)
%6 = getelementptr inbounds float, float* %1, i64 1
%7 = getelementptr inbounds float, float* %0, i64 512
%8 = tail call i32 (float*, ...) bitcast (i32 (...)* @window to i32 (float*, ...)*)(float* %7)
%9 = tail call i32 (float*, ...) bitcast (i32 (...)* @fidct_L3 to i32 (float*, ...)*)(float* %6)
%10 = getelementptr inbounds float, float* %1, i64 2
%11 = getelementptr inbounds float, float* %0, i64 480
%12 = tail call i32 (float*, ...) bitcast (i32 (...)* @window to i32 (float*, ...)*)(float* %11)
%13 = tail call i32 (float*, ...) bitcast (i32 (...)* @fidct_L3 to i32 (float*, ...)*)(float* %10)
%14 = getelementptr inbounds float, float* %1, i64 3
%15 = getelementptr inbounds float, float* %0, i64 448
%16 = tail call i32 (float*, ...) bitcast (i32 (...)* @window to i32 (float*, ...)*)(float* %15)
%17 = tail call i32 (float*, ...) bitcast (i32 (...)* @fidct_L3 to i32 (float*, ...)*)(float* %14)
%18 = getelementptr inbounds float, float* %1, i64 4
%19 = getelementptr inbounds float, float* %0, i64 416
%20 = tail call i32 (float*, ...) bitcast (i32 (...)* @window to i32 (float*, ...)*)(float* %19)
%21 = tail call i32 (float*, ...) bitcast (i32 (...)* @fidct_L3 to i32 (float*, ...)*)(float* %18)
%22 = getelementptr inbounds float, float* %1, i64 5
%23 = getelementptr inbounds float, float* %0, i64 384
%24 = tail call i32 (float*, ...) bitcast (i32 (...)* @window to i32 (float*, ...)*)(float* %23)
%25 = tail call i32 (float*, ...) bitcast (i32 (...)* @fidct_L3 to i32 (float*, ...)*)(float* %22)
%26 = getelementptr inbounds float, float* %1, i64 6
%27 = getelementptr inbounds float, float* %0, i64 352
%28 = tail call i32 (float*, ...) bitcast (i32 (...)* @window to i32 (float*, ...)*)(float* %27)
%29 = tail call i32 (float*, ...) bitcast (i32 (...)* @fidct_L3 to i32 (float*, ...)*)(float* %26)
%30 = getelementptr inbounds float, float* %1, i64 7
%31 = getelementptr inbounds float, float* %0, i64 320
%32 = tail call i32 (float*, ...) bitcast (i32 (...)* @window to i32 (float*, ...)*)(float* %31)
%33 = tail call i32 (float*, ...) bitcast (i32 (...)* @fidct_L3 to i32 (float*, ...)*)(float* %30)
%34 = getelementptr inbounds float, float* %1, i64 8
%35 = getelementptr inbounds float, float* %0, i64 288
%36 = tail call i32 (float*, ...) bitcast (i32 (...)* @window to i32 (float*, ...)*)(float* %35)
%37 = tail call i32 (float*, ...) bitcast (i32 (...)* @fidct_L3 to i32 (float*, ...)*)(float* %34)
%38 = getelementptr inbounds float, float* %1, i64 9
%39 = getelementptr inbounds float, float* %0, i64 256
%40 = tail call i32 (float*, ...) bitcast (i32 (...)* @window to i32 (float*, ...)*)(float* %39)
%41 = tail call i32 (float*, ...) bitcast (i32 (...)* @fidct_L3 to i32 (float*, ...)*)(float* %38)
%42 = getelementptr inbounds float, float* %1, i64 10
%43 = getelementptr inbounds float, float* %0, i64 224
%44 = tail call i32 (float*, ...) bitcast (i32 (...)* @window to i32 (float*, ...)*)(float* %43)
%45 = tail call i32 (float*, ...) bitcast (i32 (...)* @fidct_L3 to i32 (float*, ...)*)(float* %42)
%46 = getelementptr inbounds float, float* %1, i64 11
%47 = getelementptr inbounds float, float* %0, i64 192
%48 = tail call i32 (float*, ...) bitcast (i32 (...)* @window to i32 (float*, ...)*)(float* %47)
%49 = tail call i32 (float*, ...) bitcast (i32 (...)* @fidct_L3 to i32 (float*, ...)*)(float* %46)
%50 = getelementptr inbounds float, float* %1, i64 12
%51 = getelementptr inbounds float, float* %0, i64 160
%52 = tail call i32 (float*, ...) bitcast (i32 (...)* @window to i32 (float*, ...)*)(float* %51)
%53 = tail call i32 (float*, ...) bitcast (i32 (...)* @fidct_L3 to i32 (float*, ...)*)(float* %50)
%54 = getelementptr inbounds float, float* %1, i64 13
%55 = getelementptr inbounds float, float* %0, i64 128
%56 = tail call i32 (float*, ...) bitcast (i32 (...)* @window to i32 (float*, ...)*)(float* %55)
%57 = tail call i32 (float*, ...) bitcast (i32 (...)* @fidct_L3 to i32 (float*, ...)*)(float* %54)
%58 = getelementptr inbounds float, float* %1, i64 14
%59 = getelementptr inbounds float, float* %0, i64 96
%60 = tail call i32 (float*, ...) bitcast (i32 (...)* @window to i32 (float*, ...)*)(float* %59)
%61 = tail call i32 (float*, ...) bitcast (i32 (...)* @fidct_L3 to i32 (float*, ...)*)(float* %58)
%62 = getelementptr inbounds float, float* %1, i64 15
%63 = getelementptr inbounds float, float* %0, i64 64
%64 = tail call i32 (float*, ...) bitcast (i32 (...)* @window to i32 (float*, ...)*)(float* %63)
%65 = tail call i32 (float*, ...) bitcast (i32 (...)* @fidct_L3 to i32 (float*, ...)*)(float* %62)
%66 = getelementptr inbounds float, float* %1, i64 16
%67 = getelementptr inbounds float, float* %0, i64 32
%68 = tail call i32 (float*, ...) bitcast (i32 (...)* @window to i32 (float*, ...)*)(float* %67)
%69 = tail call i32 (float*, ...) bitcast (i32 (...)* @fidct_L3 to i32 (float*, ...)*)(float* %66)
%70 = getelementptr inbounds float, float* %1, i64 17
%71 = tail call i32 (float*, ...) bitcast (i32 (...)* @window to i32 (float*, ...)*)(float* %0)
%72 = tail call i32 (float*, ...) bitcast (i32 (...)* @fidct_L3 to i32 (float*, ...)*)(float* %70)
ret void
}