void closure_mapping_order4_square(int *out_2138521137306367256) {
  out_2138521137306367256[0] = 6;
  out_2138521137306367256[1] = 7;
  out_2138521137306367256[2] = 8;
  out_2138521137306367256[3] = 11;
  out_2138521137306367256[4] = 12;
  out_2138521137306367256[5] = 13;
  out_2138521137306367256[6] = 16;
  out_2138521137306367256[7] = 17;
  out_2138521137306367256[8] = 18;
  out_2138521137306367256[9] = 1;
  out_2138521137306367256[10] = 2;
  out_2138521137306367256[11] = 3;
  out_2138521137306367256[12] = 9;
  out_2138521137306367256[13] = 14;
  out_2138521137306367256[14] = 19;
  out_2138521137306367256[15] = 23;
  out_2138521137306367256[16] = 22;
  out_2138521137306367256[17] = 21;
  out_2138521137306367256[18] = 15;
  out_2138521137306367256[19] = 10;
  out_2138521137306367256[20] = 5;
  out_2138521137306367256[21] = 0;
  out_2138521137306367256[22] = 4;
  out_2138521137306367256[23] = 24;
  out_2138521137306367256[24] = 20;
}


x86 assembly (clang, -O0):
<closure_mapping_order4_square>:
push   %rbp
mov    %rsp,%rbp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rax
movl   $0x6,(%rax)
mov    -0x8(%rbp),%rax
movl   $0x7,0x4(%rax)
mov    -0x8(%rbp),%rax
movl   $0x8,0x8(%rax)
mov    -0x8(%rbp),%rax
movl   $0xb,0xc(%rax)
mov    -0x8(%rbp),%rax
movl   $0xc,0x10(%rax)
mov    -0x8(%rbp),%rax
movl   $0xd,0x14(%rax)
mov    -0x8(%rbp),%rax
movl   $0x10,0x18(%rax)
mov    -0x8(%rbp),%rax
movl   $0x11,0x1c(%rax)
mov    -0x8(%rbp),%rax
movl   $0x12,0x20(%rax)
mov    -0x8(%rbp),%rax
movl   $0x1,0x24(%rax)
mov    -0x8(%rbp),%rax
movl   $0x2,0x28(%rax)
mov    -0x8(%rbp),%rax
movl   $0x3,0x2c(%rax)
mov    -0x8(%rbp),%rax
movl   $0x9,0x30(%rax)
mov    -0x8(%rbp),%rax
movl   $0xe,0x34(%rax)
mov    -0x8(%rbp),%rax
movl   $0x13,0x38(%rax)
mov    -0x8(%rbp),%rax
movl   $0x17,0x3c(%rax)
mov    -0x8(%rbp),%rax
movl   $0x16,0x40(%rax)
mov    -0x8(%rbp),%rax
movl   $0x15,0x44(%rax)
mov    -0x8(%rbp),%rax
movl   $0xf,0x48(%rax)
mov    -0x8(%rbp),%rax
movl   $0xa,0x4c(%rax)
mov    -0x8(%rbp),%rax
movl   $0x5,0x50(%rax)
mov    -0x8(%rbp),%rax
movl   $0x0,0x54(%rax)
mov    -0x8(%rbp),%rax
movl   $0x4,0x58(%rax)
mov    -0x8(%rbp),%rax
movl   $0x18,0x5c(%rax)
mov    -0x8(%rbp),%rax
movl   $0x14,0x60(%rax)
pop    %rbp
ret

x86 assembly (clang, -O2):
<closure_mapping_order4_square>:
movaps 0xef9(%rip),%xmm0
movups %xmm0,(%rdi)
movaps 0xeff(%rip),%xmm0
movups %xmm0,0x10(%rdi)
movaps 0xf04(%rip),%xmm0
movups %xmm0,0x20(%rdi)
movaps 0xf09(%rip),%xmm0
movups %xmm0,0x30(%rdi)
movaps 0xf0e(%rip),%xmm0
movups %xmm0,0x40(%rdi)
movaps 0xf13(%rip),%xmm0
movups %xmm0,0x50(%rdi)
movl   $0x14,0x60(%rdi)
ret

LLVM IR (-O0):
define void @closure_mapping_order4_square(i32* %0) {
%2 = alloca i32*
store i32* %0, i32** %2
%3 = load i32*, i32** %2
%4 = getelementptr inbounds i32, i32* %3, i64 0
store i32 6, i32* %4
%5 = load i32*, i32** %2
%6 = getelementptr inbounds i32, i32* %5, i64 1
store i32 7, i32* %6
%7 = load i32*, i32** %2
%8 = getelementptr inbounds i32, i32* %7, i64 2
store i32 8, i32* %8
%9 = load i32*, i32** %2
%10 = getelementptr inbounds i32, i32* %9, i64 3
store i32 11, i32* %10
%11 = load i32*, i32** %2
%12 = getelementptr inbounds i32, i32* %11, i64 4
store i32 12, i32* %12
%13 = load i32*, i32** %2
%14 = getelementptr inbounds i32, i32* %13, i64 5
store i32 13, i32* %14
%15 = load i32*, i32** %2
%16 = getelementptr inbounds i32, i32* %15, i64 6
store i32 16, i32* %16
%17 = load i32*, i32** %2
%18 = getelementptr inbounds i32, i32* %17, i64 7
store i32 17, i32* %18
%19 = load i32*, i32** %2
%20 = getelementptr inbounds i32, i32* %19, i64 8
store i32 18, i32* %20
%21 = load i32*, i32** %2
%22 = getelementptr inbounds i32, i32* %21, i64 9
store i32 1, i32* %22
%23 = load i32*, i32** %2
%24 = getelementptr inbounds i32, i32* %23, i64 10
store i32 2, i32* %24
%25 = load i32*, i32** %2
%26 = getelementptr inbounds i32, i32* %25, i64 11
store i32 3, i32* %26
%27 = load i32*, i32** %2
%28 = getelementptr inbounds i32, i32* %27, i64 12
store i32 9, i32* %28
%29 = load i32*, i32** %2
%30 = getelementptr inbounds i32, i32* %29, i64 13
store i32 14, i32* %30
%31 = load i32*, i32** %2
%32 = getelementptr inbounds i32, i32* %31, i64 14
store i32 19, i32* %32
%33 = load i32*, i32** %2
%34 = getelementptr inbounds i32, i32* %33, i64 15
store i32 23, i32* %34
%35 = load i32*, i32** %2
%36 = getelementptr inbounds i32, i32* %35, i64 16
store i32 22, i32* %36
%37 = load i32*, i32** %2
%38 = getelementptr inbounds i32, i32* %37, i64 17
store i32 21, i32* %38
%39 = load i32*, i32** %2
%40 = getelementptr inbounds i32, i32* %39, i64 18
store i32 15, i32* %40
%41 = load i32*, i32** %2
%42 = getelementptr inbounds i32, i32* %41, i64 19
store i32 10, i32* %42
%43 = load i32*, i32** %2
%44 = getelementptr inbounds i32, i32* %43, i64 20
store i32 5, i32* %44
%45 = load i32*, i32** %2
%46 = getelementptr inbounds i32, i32* %45, i64 21
store i32 0, i32* %46
%47 = load i32*, i32** %2
%48 = getelementptr inbounds i32, i32* %47, i64 22
store i32 4, i32* %48
%49 = load i32*, i32** %2
%50 = getelementptr inbounds i32, i32* %49, i64 23
store i32 24, i32* %50
%51 = load i32*, i32** %2
%52 = getelementptr inbounds i32, i32* %51, i64 24
store i32 20, i32* %52
ret void
}

LLVM IR (-O2):
define void @closure_mapping_order4_square(i32* writeonly %0) {
%2 = bitcast i32* %0 to <4 x i32>*
store <4 x i32> <i32 6, i32 7, i32 8, i32 11>, <4 x i32>* %2
%3 = getelementptr inbounds i32, i32* %0, i64 4
%4 = bitcast i32* %3 to <4 x i32>*
store <4 x i32> <i32 12, i32 13, i32 16, i32 17>, <4 x i32>* %4
%5 = getelementptr inbounds i32, i32* %0, i64 8
%6 = bitcast i32* %5 to <4 x i32>*
store <4 x i32> <i32 18, i32 1, i32 2, i32 3>, <4 x i32>* %6
%7 = getelementptr inbounds i32, i32* %0, i64 12
%8 = bitcast i32* %7 to <4 x i32>*
store <4 x i32> <i32 9, i32 14, i32 19, i32 23>, <4 x i32>* %8
%9 = getelementptr inbounds i32, i32* %0, i64 16
%10 = bitcast i32* %9 to <4 x i32>*
store <4 x i32> <i32 22, i32 21, i32 15, i32 10>, <4 x i32>* %10
%11 = getelementptr inbounds i32, i32* %0, i64 20
%12 = bitcast i32* %11 to <4 x i32>*
store <4 x i32> <i32 5, i32 0, i32 4, i32 24>, <4 x i32>* %12
%13 = getelementptr inbounds i32, i32* %0, i64 24
store i32 20, i32* %13
ret void
}