#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*/ scc_setrate(int *, int, int, int);
int /*<<< orphan*/ scc_setval(int *, int, int);
int scc_defaults(int *i, int *j) {
  scc_setval(i, 0xFF000000, 0x62000000);
  scc_setval(i, 0x00FF0000, 0x00630000);
  scc_setrate(i, 0x0000FF00, 8, 10);
  scc_setval(i, 0x000000FF, 0x00000061);
  scc_setrate(j, 0xFF000000, 24, 50);
  scc_setrate(j, 0x00FF0000, 16, 45);
  return (0);
}


x86 assembly (clang, -O0):
<scc_defaults>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x8(%rbp),%rdi
mov    $0xff000000,%esi
mov    $0x62000000,%edx
call   1030 <scc_setval@plt>
mov    -0x8(%rbp),%rdi
mov    $0xff0000,%esi
mov    $0x630000,%edx
call   1030 <scc_setval@plt>
mov    -0x8(%rbp),%rdi
mov    $0xff00,%esi
mov    $0x8,%edx
mov    $0xa,%ecx
call   1040 <scc_setrate@plt>
mov    -0x8(%rbp),%rdi
mov    $0xff,%esi
mov    $0x61,%edx
call   1030 <scc_setval@plt>
mov    -0x10(%rbp),%rdi
mov    $0xff000000,%esi
mov    $0x18,%edx
mov    $0x32,%ecx
call   1040 <scc_setrate@plt>
mov    -0x10(%rbp),%rdi
mov    $0xff0000,%esi
mov    $0x10,%edx
mov    $0x2d,%ecx
call   1040 <scc_setrate@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<scc_defaults>:
push   %r14
push   %rbx
push   %rax
mov    %rsi,%r14
mov    %rdi,%rbx
mov    $0xff000000,%esi
mov    $0x62000000,%edx
call   1030 <scc_setval@plt>
mov    %rbx,%rdi
mov    $0xff0000,%esi
mov    $0x630000,%edx
call   1030 <scc_setval@plt>
mov    %rbx,%rdi
mov    $0xff00,%esi
mov    $0x8,%edx
mov    $0xa,%ecx
call   1040 <scc_setrate@plt>
mov    %rbx,%rdi
mov    $0xff,%esi
mov    $0x61,%edx
call   1030 <scc_setval@plt>
mov    %r14,%rdi
mov    $0xff000000,%esi
mov    $0x18,%edx
mov    $0x32,%ecx
call   1040 <scc_setrate@plt>
mov    %r14,%rdi
mov    $0xff0000,%esi
mov    $0x10,%edx
mov    $0x2d,%ecx
call   1040 <scc_setrate@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
define i32 @scc_defaults(i32* %0, i32* %1) {
%3 = alloca i32*
%4 = alloca i32*
store i32* %0, i32** %3
store i32* %1, i32** %4
%5 = load i32*, i32** %3
%6 = call i32 @scc_setval(i32* %5, i32 -16777216, i32 1644167168)
%7 = load i32*, i32** %3
%8 = call i32 @scc_setval(i32* %7, i32 16711680, i32 6488064)
%9 = load i32*, i32** %3
%10 = call i32 @scc_setrate(i32* %9, i32 65280, i32 8, i32 10)
%11 = load i32*, i32** %3
%12 = call i32 @scc_setval(i32* %11, i32 255, i32 97)
%13 = load i32*, i32** %4
%14 = call i32 @scc_setrate(i32* %13, i32 -16777216, i32 24, i32 50)
%15 = load i32*, i32** %4
%16 = call i32 @scc_setrate(i32* %15, i32 16711680, i32 16, i32 45)
ret i32 0
}

LLVM IR (-O2):
define i32 @scc_defaults(i32* %0, i32* %1) {
%3 = tail call i32 @scc_setval(i32* %0, i32 -16777216, i32 1644167168)
%4 = tail call i32 @scc_setval(i32* %0, i32 16711680, i32 6488064)
%5 = tail call i32 @scc_setrate(i32* %0, i32 65280, i32 8, i32 10)
%6 = tail call i32 @scc_setval(i32* %0, i32 255, i32 97)
%7 = tail call i32 @scc_setrate(i32* %1, i32 -16777216, i32 24, i32 50)
%8 = tail call i32 @scc_setrate(i32* %1, i32 16711680, i32 16, i32 45)
ret i32 0
}