#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ generate_winding_numbers(int, int *);
int numbtrop_standard_clear();
int numbtrop_standard_dimension(int *);
int numbtrop_standard_initialize(int, int, int *, double *, double *);
int numbtrop_standard_retrieve_tropism(int, int, int *, double *, double *);
int numbtrop_standard_size(int *);
int numbtrop_store_standard_tropism(int, int, int, double *, double);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ random_doubles(int, double *);
int /*<<< orphan*/ scanf(char *, int *);
void standard_operate(int nbt, int dim, int *wind, double *dir, double *err) {
  int fail, size, k, idx, wnd, retdim;
  fail = numbtrop_standard_initialize(nbt, dim, wind, dir, err);
  fail = numbtrop_standard_size(&size);
  printf("The number of tropisms : %d\n", size);
  fail = numbtrop_standard_dimension(&retdim);
  printf("The retrieved dimension : %d\n", retdim);
  do {
    double diridx[dim];
    double erridx;
    printf("Give an index (<= 0 to exit): ");
    scanf("%d", &idx);
    if (idx <= 0)
      break;
    fail = numbtrop_standard_retrieve_tropism(dim, idx, &wnd, diridx, &erridx);
    printf("The tropism %d has winding number %d,\n", idx, wnd);
    printf("with coordinates :");
    for (k = 0; k < dim; k++)
      printf(" %.3e", diridx[k]);
    printf("\nand error : %.3e\n", erridx);
    generate_winding_numbers(1, &wnd);
    random_doubles(dim, diridx);
    random_doubles(1, &erridx);
    printf("Changing tropism %d to winding number %d,\n", idx, wnd);
    printf("with coordinates :");
    for (k = 0; k < dim; k++)
      printf(" %.3e", diridx[k]);
    printf("\nand error : %.3e\n", erridx);
    fail = numbtrop_store_standard_tropism(dim, idx, wnd, diridx, erridx);
  } while (idx > 0);
  fail = numbtrop_standard_clear();
}


x86 assembly (clang, -O0):
<standard_operate>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %rdx,-0x10(%rbp)
mov    %rcx,-0x18(%rbp)
mov    %r8,-0x20(%rbp)
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
mov    -0x10(%rbp),%rdx
mov    -0x18(%rbp),%rcx
mov    -0x20(%rbp),%r8
call   1090 <numbtrop_standard_initialize@plt>
mov    %eax,-0x24(%rbp)
lea    -0x28(%rbp),%rdi
call   1080 <numbtrop_standard_size@plt>
mov    %eax,-0x24(%rbp)
mov    -0x28(%rbp),%esi
lea    0xe16(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x38(%rbp),%rdi
call   1070 <numbtrop_standard_dimension@plt>
mov    %eax,-0x24(%rbp)
mov    -0x38(%rbp),%esi
lea    0xe16(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%eax
mov    %rsp,%rcx
mov    %rcx,-0x40(%rbp)
lea    0xf(,%rax,8),%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0x60(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x48(%rbp)
lea    0xdff(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xe10(%rip),%rdi
lea    -0x30(%rbp),%rsi
call   10b0 <scanf@plt>
cmpl   $0x0,-0x30(%rbp)
jg     1269 <standard_operate+0xc9>
movl   $0x2,-0x54(%rbp)
jmp    13ae <standard_operate+0x20e>
mov    -0x60(%rbp),%rcx
mov    -0x8(%rbp),%edi
mov    -0x30(%rbp),%esi
lea    -0x34(%rbp),%rdx
lea    -0x50(%rbp),%r8
call   10a0 <numbtrop_standard_retrieve_tropism@plt>
mov    %eax,-0x24(%rbp)
mov    -0x30(%rbp),%esi
mov    -0x34(%rbp),%edx
lea    0xdcd(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xde6(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    12e1 <standard_operate+0x141>
mov    -0x60(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
lea    0xdcb(%rip),%rdi
mov    $0x1,%al
call   1050 <printf@plt>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    12ac <standard_operate+0x10c>
movsd  -0x50(%rbp),%xmm0
lea    0xdb0(%rip),%rdi
mov    $0x1,%al
call   1050 <printf@plt>
mov    $0x1,%edi
lea    -0x34(%rbp),%rsi
call   1060 <generate_winding_numbers@plt>
mov    -0x60(%rbp),%rsi
mov    -0x8(%rbp),%edi
call   1040 <random_doubles@plt>
mov    $0x1,%edi
lea    -0x50(%rbp),%rsi
call   1040 <random_doubles@plt>
mov    -0x30(%rbp),%esi
mov    -0x34(%rbp),%edx
lea    0xd87(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xd4d(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    137a <standard_operate+0x1da>
mov    -0x60(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
lea    0xd32(%rip),%rdi
mov    $0x1,%al
call   1050 <printf@plt>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    1345 <standard_operate+0x1a5>
movsd  -0x50(%rbp),%xmm0
lea    0xd17(%rip),%rdi
mov    $0x1,%al
call   1050 <printf@plt>
mov    -0x60(%rbp),%rcx
mov    -0x8(%rbp),%edi
mov    -0x30(%rbp),%esi
mov    -0x34(%rbp),%edx
movsd  -0x50(%rbp),%xmm0
call   1030 <numbtrop_store_standard_tropism@plt>
mov    %eax,-0x24(%rbp)
movl   $0x0,-0x54(%rbp)
mov    -0x40(%rbp),%rax
mov    %rax,%rsp
mov    -0x54(%rbp),%eax
test   %eax,%eax
je     13ca <standard_operate+0x22a>
jmp    13c5 <standard_operate+0x225>
jmp    13d9 <standard_operate+0x239>
jmp    13cf <standard_operate+0x22f>
cmpl   $0x0,-0x30(%rbp)
jg     120e <standard_operate+0x6e>
mov    $0x0,%al
call   10c0 <numbtrop_standard_clear@plt>
mov    %eax,-0x24(%rbp)
mov    %rbp,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<standard_operate>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x38,%rsp
mov    %esi,%ebx
call   1090 <numbtrop_standard_initialize@plt>
lea    -0x48(%rbp),%rdi
call   1080 <numbtrop_standard_size@plt>
mov    -0x48(%rbp),%esi
lea    0xe35(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    -0x44(%rbp),%rdi
call   1070 <numbtrop_standard_dimension@plt>
mov    -0x44(%rbp),%esi
lea    0xe38(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebx,%r15d
lea    0xf(,%r15,8),%rax
and    $0xfffffffffffffff0,%rax
mov    %rax,-0x58(%rbp)
lea    -0x40(%rbp),%r13
lea    0xe8d(%rip),%r12
mov    %ebx,-0x34(%rbp)
jmp    12b3 <standard_operate+0x113>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movsd  -0x40(%rbp),%xmm0
lea    0xe71(%rip),%rdi
mov    $0x1,%al
call   1050 <printf@plt>
mov    $0x1,%edi
lea    -0x2c(%rbp),%rsi
call   1060 <generate_winding_numbers@plt>
mov    %ebx,%edi
mov    %r14,%rsi
call   1040 <random_doubles@plt>
mov    $0x1,%edi
mov    %r13,%rsi
call   1040 <random_doubles@plt>
mov    -0x30(%rbp),%esi
mov    -0x2c(%rbp),%edx
lea    0xe4b(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xe11(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movsd  -0x40(%rbp),%xmm0
lea    0xe17(%rip),%rdi
mov    $0x1,%al
call   1050 <printf@plt>
mov    -0x30(%rbp),%esi
mov    -0x2c(%rbp),%edx
movsd  -0x40(%rbp),%xmm0
mov    -0x34(%rbp),%ebx
mov    %ebx,%edi
mov    %r14,%rcx
call   1030 <numbtrop_store_standard_tropism@plt>
mov    -0x50(%rbp),%rsp
cmpl   $0x0,-0x30(%rbp)
jle    13d2 <standard_operate+0x232>
mov    %rsp,-0x50(%rbp)
mov    %rsp,%r14
sub    -0x58(%rbp),%r14
mov    %r14,%rsp
lea    0xd73(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xd84(%rip),%rdi
lea    -0x30(%rbp),%rsi
call   10b0 <scanf@plt>
mov    -0x30(%rbp),%esi
test   %esi,%esi
jle    13ce <standard_operate+0x22e>
mov    %ebx,%edi
mov    %r13,%r8
lea    -0x2c(%rbp),%rdx
mov    %r14,%rcx
call   10a0 <numbtrop_standard_retrieve_tropism@plt>
mov    -0x30(%rbp),%esi
mov    -0x2c(%rbp),%edx
lea    0xd55(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xd6e(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
test   %ebx,%ebx
jle    1220 <standard_operate+0x80>
xor    %ebx,%ebx
nopw   0x0(%rax,%rax,1)
movsd  (%r14,%rbx,8),%xmm0
mov    %r12,%rdi
mov    $0x1,%al
call   1050 <printf@plt>
add    $0x1,%rbx
cmp    %rbx,%r15
jne    1330 <standard_operate+0x190>
movsd  -0x40(%rbp),%xmm0
lea    0xd48(%rip),%rdi
mov    $0x1,%al
call   1050 <printf@plt>
mov    $0x1,%edi
lea    -0x2c(%rbp),%rsi
call   1060 <generate_winding_numbers@plt>
mov    -0x34(%rbp),%ebx
mov    %ebx,%edi
mov    %r14,%rsi
call   1040 <random_doubles@plt>
mov    $0x1,%edi
mov    %r13,%rsi
call   1040 <random_doubles@plt>
mov    -0x30(%rbp),%esi
mov    -0x2c(%rbp),%edx
lea    0xd1f(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xce5(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
test   %ebx,%ebx
jle    127a <standard_operate+0xda>
xor    %ebx,%ebx
movsd  (%r14,%rbx,8),%xmm0
mov    %r12,%rdi
mov    $0x1,%al
call   1050 <printf@plt>
add    $0x1,%rbx
cmp    %rbx,%r15
jne    13b0 <standard_operate+0x210>
jmp    127a <standard_operate+0xda>
mov    -0x50(%rbp),%rsp
xor    %eax,%eax
call   10c0 <numbtrop_standard_clear@plt>
lea    -0x28(%rbp),%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [29 x i8] c"The number of tropisms : %d\0A\00"
@.str.1 = [30 x i8] c"The retrieved dimension : %d\0A\00"
@.str.2 = [31 x i8] c"Give an index (<= 0 to exit): \00"
@.str.3 = [3 x i8] c"%d\00"
@.str.4 = [39 x i8] c"The tropism %d has winding number %d,\0A\00"
@.str.5 = [19 x i8] c"with coordinates :\00"
@.str.6 = [6 x i8] c" %.3e\00"
@.str.7 = [19 x i8] c"\0Aand error : %.3e\0A\00"
@.str.8 = [43 x i8] c"Changing tropism %d to winding number %d,\0A\00"
define void @standard_operate(i32 %0, i32 %1, i32* %2, double* %3, double* %4) {
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32*
%9 = alloca double*
%10 = alloca double*
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca i8*
%18 = alloca i64
%19 = alloca double
%20 = alloca i32
store i32 %0, i32* %6
store i32 %1, i32* %7
store i32* %2, i32** %8
store double* %3, double** %9
store double* %4, double** %10
%21 = load i32, i32* %6
%22 = load i32, i32* %7
%23 = load i32*, i32** %8
%24 = load double*, double** %9
%25 = load double*, double** %10
%26 = call i32 @numbtrop_standard_initialize(i32 %21, i32 %22, i32* %23, double* %24, double* %25)
store i32 %26, i32* %11
%27 = call i32 @numbtrop_standard_size(i32* %12)
store i32 %27, i32* %11
%28 = load i32, i32* %12
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str, i64 0, i64 0), i32 %28)
%30 = call i32 @numbtrop_standard_dimension(i32* %16)
store i32 %30, i32* %11
%31 = load i32, i32* %16
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.1, i64 0, i64 0), i32 %31)
br label %33
33: ; preds = %100, %5
%34 = load i32, i32* %7
%35 = zext i32 %34 to i64
%36 = call i8* @llvm.stacksave()
store i8* %36, i8** %17
%37 = alloca double, i64 %35
store i64 %35, i64* %18
%38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.2, i64 0, i64 0))
%39 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %14)
%40 = load i32, i32* %14
%41 = icmp sle i32 %40, 0
br i1 %41, label %42, label %43
42: ; preds = %33
store i32 2, i32* %20
br label %96
43: ; preds = %33
%44 = load i32, i32* %7
%45 = load i32, i32* %14
%46 = call i32 @numbtrop_standard_retrieve_tropism(i32 %44, i32 %45, i32* %15, double* %37, double* %19)
store i32 %46, i32* %11
%47 = load i32, i32* %14
%48 = load i32, i32* %15
%49 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.4, i64 0, i64 0), i32 %47, i32 %48)
%50 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.5, i64 0, i64 0))
store i32 0, i32* %13
br label %51
51: ; preds = %61, %43
%52 = load i32, i32* %13
%53 = load i32, i32* %7
%54 = icmp slt i32 %52, %53
br i1 %54, label %55, label %64
55: ; preds = %51
%56 = load i32, i32* %13
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds double, double* %37, i64 %57
%59 = load double, double* %58
%60 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), double %59)
br label %61
61: ; preds = %55
%62 = load i32, i32* %13
%63 = add nsw i32 %62, 1
store i32 %63, i32* %13
br label %51
64: ; preds = %51
%65 = load double, double* %19
%66 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.7, i64 0, i64 0), double %65)
%67 = call i32 @generate_winding_numbers(i32 1, i32* %15)
%68 = load i32, i32* %7
%69 = call i32 @random_doubles(i32 %68, double* %37)
%70 = call i32 @random_doubles(i32 1, double* %19)
%71 = load i32, i32* %14
%72 = load i32, i32* %15
%73 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.8, i64 0, i64 0), i32 %71, i32 %72)
%74 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.5, i64 0, i64 0))
store i32 0, i32* %13
br label %75
75: ; preds = %85, %64
%76 = load i32, i32* %13
%77 = load i32, i32* %7
%78 = icmp slt i32 %76, %77
br i1 %78, label %79, label %88
79: ; preds = %75
%80 = load i32, i32* %13
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds double, double* %37, i64 %81
%83 = load double, double* %82
%84 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), double %83)
br label %85
85: ; preds = %79
%86 = load i32, i32* %13
%87 = add nsw i32 %86, 1
store i32 %87, i32* %13
br label %75
88: ; preds = %75
%89 = load double, double* %19
%90 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.7, i64 0, i64 0), double %89)
%91 = load i32, i32* %7
%92 = load i32, i32* %14
%93 = load i32, i32* %15
%94 = load double, double* %19
%95 = call i32 @numbtrop_store_standard_tropism(i32 %91, i32 %92, i32 %93, double* %37, double %94)
store i32 %95, i32* %11
store i32 0, i32* %20
br label %96
96: ; preds = %88, %42
%97 = load i8*, i8** %17
%98 = load i32, i32* %20
switch i32 %98, label %105 [
i32 0, label %99
i32 2, label %103
]
99: ; preds = %96
br label %100
100: ; preds = %99
%101 = load i32, i32* %14
%102 = icmp sgt i32 %101, 0
br i1 %102, label %33, label %103
103: ; preds = %100, %96
%104 = call i32 (...) @numbtrop_standard_clear()
store i32 %104, i32* %11
ret void
105: ; preds = %96
unreachable
}

LLVM IR (-O2):
@.str = [29 x i8] c"The number of tropisms : %d\0A\00"
@.str.1 = [30 x i8] c"The retrieved dimension : %d\0A\00"
@.str.2 = [31 x i8] c"Give an index (<= 0 to exit): \00"
@.str.3 = [3 x i8] c"%d\00"
@.str.4 = [39 x i8] c"The tropism %d has winding number %d,\0A\00"
@.str.5 = [19 x i8] c"with coordinates :\00"
@.str.6 = [6 x i8] c" %.3e\00"
@.str.7 = [19 x i8] c"\0Aand error : %.3e\0A\00"
@.str.8 = [43 x i8] c"Changing tropism %d to winding number %d,\0A\00"
define void @standard_operate(i32 %0, i32 %1, i32* %2, double* %3, double* %4) {
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca double
%11 = bitcast i32* %6 to i8*
%12 = bitcast i32* %7 to i8*
%13 = bitcast i32* %8 to i8*
%14 = bitcast i32* %9 to i8*
%15 = tail call i32 @numbtrop_standard_initialize(i32 %0, i32 %1, i32* %2, double* %3, double* %4)
%16 = call i32 @numbtrop_standard_size(i32* %6)
%17 = load i32, i32* %6
%18 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str, i64 0, i64 0), i32 %17)
%19 = call i32 @numbtrop_standard_dimension(i32* %9)
%20 = load i32, i32* %9
%21 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.1, i64 0, i64 0), i32 %20)
%22 = zext i32 %1 to i64
%23 = bitcast double* %10 to i8*
%24 = icmp sgt i32 %1, 0
br label %25
25: ; preds = %73, %5
%26 = call i8* @llvm.stacksave()
%27 = alloca double, i64 %22
%28 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.2, i64 0, i64 0))
%29 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %7)
%30 = load i32, i32* %7
%31 = icmp slt i32 %30, 1
br i1 %31, label %32, label %33
32: ; preds = %25
br label %82
33: ; preds = %25
%34 = call i32 @numbtrop_standard_retrieve_tropism(i32 %1, i32 %30, i32* %8, double* %27, double* %10)
%35 = load i32, i32* %7
%36 = load i32, i32* %8
%37 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.4, i64 0, i64 0), i32 %35, i32 %36)
%38 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.5, i64 0, i64 0))
br i1 %24, label %39, label %63
39: ; preds = %33, %39
%40 = phi i64 [ %44, %39 ], [ 0, %33 ]
%41 = getelementptr inbounds double, double* %27, i64 %40
%42 = load double, double* %41
%43 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), double %42)
%44 = add nuw nsw i64 %40, 1
%45 = icmp eq i64 %44, %22
br i1 %45, label %46, label %39
46: ; preds = %39
%47 = load double, double* %10
%48 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.7, i64 0, i64 0), double %47)
%49 = call i32 @generate_winding_numbers(i32 1, i32* %8)
%50 = call i32 @random_doubles(i32 %1, double* %27)
%51 = call i32 @random_doubles(i32 1, double* %10)
%52 = load i32, i32* %7
%53 = load i32, i32* %8
%54 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @.str.8, i64 0, i64 0), i32 %52, i32 %53)
%55 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.5, i64 0, i64 0))
br i1 %24, label %56, label %73
56: ; preds = %46, %56
%57 = phi i64 [ %61, %56 ], [ 0, %46 ]
%58 = getelementptr inbounds double, double* %27, i64 %57
%59 = load double, double* %58
%60 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), double %59)
%61 = add nuw nsw i64 %57, 1
%62 = icmp eq i64 %61, %22
br i1 %62, label %73, label %56
63: ; preds = %33
%64 = load double, double* %10
%65 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.7, i64 0, i64 0), double %64)
%66 = call i32 @generate_winding_numbers(i32 1, i32* %8)
%67 = call i32 @random_doubles(i32 %1, double* %27)
%68 = call i32 @random_doubles(i32 1, double* %10)
%69 = load i32, i32* %7
%70 = load i32, i32* %8
%71 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @.str.8, i64 0, i64 0), i32 %69, i32 %70)
%72 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.5, i64 0, i64 0))
br label %73
73: ; preds = %56, %63, %46
%74 = load double, double* %10
%75 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.7, i64 0, i64 0), double %74)
%76 = load i32, i32* %7
%77 = load i32, i32* %8
%78 = load double, double* %10
%79 = call i32 @numbtrop_store_standard_tropism(i32 %1, i32 %76, i32 %77, double* %27, double %78)
%80 = load i32, i32* %7
%81 = icmp sgt i32 %80, 0
br i1 %81, label %25, label %82
82: ; preds = %73, %32
%83 = call i32 (...) @numbtrop_standard_clear()
ret void
}