void jitter_offset2f(unsigned int *pval, float *xy) {
  unsigned int return_value_rt_rand$1;
  return_value_rt_rand$1 = rt_rand(pval);
  xy[(signed long int)0] =
      (float)((double)return_value_rt_rand$1 / 4.294967e+9 - 5.000000e-1);
  unsigned int return_value_rt_rand$2;
  return_value_rt_rand$2 = rt_rand(pval);
  xy[(signed long int)1] =
      (float)((double)return_value_rt_rand$2 / 4.294967e+9 - 5.000000e-1);
}


x86 assembly (clang, -O0):
<jitter_offset2f>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x8(%rbp),%rdi
xor    %eax,%eax
mov    %al,-0x19(%rbp)
call   1030 <rt_rand@plt>
mov    %eax,%ecx
mov    -0x19(%rbp),%al
mov    %ecx,-0x14(%rbp)
mov    -0x14(%rbp),%ecx
cvtsi2sd %rcx,%xmm0
movsd  0xec2(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  0xebe(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
mov    -0x10(%rbp),%rcx
movss  %xmm0,(%rcx)
mov    -0x8(%rbp),%rdi
call   1030 <rt_rand@plt>
mov    %eax,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cvtsi2sd %rax,%xmm0
movsd  0xe8a(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  0xe76(%rip),%xmm1
subsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
mov    -0x10(%rbp),%rax
movss  %xmm0,0x4(%rax)
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<jitter_offset2f>:
push   %r14
push   %rbx
push   %rax
mov    %rsi,%r14
mov    %rdi,%rbx
xor    %eax,%eax
call   1030 <rt_rand@plt>
mov    %eax,%eax
cvtsi2sd %rax,%xmm0
divsd  0xed0(%rip),%xmm0
addsd  0xed0(%rip),%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,(%r14)
mov    %rbx,%rdi
xor    %eax,%eax
call   1030 <rt_rand@plt>
mov    %eax,%eax
xorps  %xmm0,%xmm0
cvtsi2sd %rax,%xmm0
divsd  0xea3(%rip),%xmm0
addsd  0xea3(%rip),%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,0x4(%r14)
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
define void @jitter_offset2f(i32* %0, float* %1) {
%3 = alloca i32*
%4 = alloca float*
%5 = alloca i32
%6 = alloca i32
store i32* %0, i32** %3
store float* %1, float** %4
%7 = load i32*, i32** %3
%8 = call i32 (i32*, ...) bitcast (i32 (...)* @rt_rand to i32 (i32*, ...)*)(i32* %7)
store i32 %8, i32* %5
%9 = load i32, i32* %5
%10 = uitofp i32 %9 to double
%11 = fdiv double %10, 0x41EFFFFFDB000000
%12 = fsub double %11, 5.000000e-01
%13 = fptrunc double %12 to float
%14 = load float*, float** %4
%15 = getelementptr inbounds float, float* %14, i64 0
store float %13, float* %15
%16 = load i32*, i32** %3
%17 = call i32 (i32*, ...) bitcast (i32 (...)* @rt_rand to i32 (i32*, ...)*)(i32* %16)
store i32 %17, i32* %6
%18 = load i32, i32* %6
%19 = uitofp i32 %18 to double
%20 = fdiv double %19, 0x41EFFFFFDB000000
%21 = fsub double %20, 5.000000e-01
%22 = fptrunc double %21 to float
%23 = load float*, float** %4
%24 = getelementptr inbounds float, float* %23, i64 1
store float %22, float* %24
ret void
}

LLVM IR (-O2):
define void @jitter_offset2f(i32* %0, float* nocapture writeonly %1) {
%3 = tail call i32 (i32*, ...) bitcast (i32 (...)* @rt_rand to i32 (i32*, ...)*)(i32* %0)
%4 = uitofp i32 %3 to double
%5 = fdiv double %4, 0x41EFFFFFDB000000
%6 = fadd double %5, -5.000000e-01
%7 = fptrunc double %6 to float
store float %7, float* %1
%8 = tail call i32 (i32*, ...) bitcast (i32 (...)* @rt_rand to i32 (i32*, ...)*)(i32* %0)
%9 = uitofp i32 %8 to double
%10 = fdiv double %9, 0x41EFFFFFDB000000
%11 = fadd double %10, -5.000000e-01
%12 = fptrunc double %11 to float
%13 = getelementptr inbounds float, float* %1, i64 1
store float %12, float* %13
ret void
}