#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*/ printf(char *);
void print_sys_cfg_cipher_usage(void) {
  printf("\nUsage : sys_cfg_cipher [PAIRWISE_CIPHER GROUP_CIPHER]\n");
  printf("\nOptions: PAIRWISE_CIPHER:  0 - NONE");
  printf("\n                           4 - TKIP");
  printf("\n                           8 - AES CCMP");
  printf("\n                           12 - AES CCMP + TKIP");
  printf("\n         GROUP_CIPHER :    0 - NONE");
  printf("\n                           4 - TKIP");
  printf("\n                           8 - AES CCMP");
  printf("\n         empty - Get current cipher settings\n");
  return;
}


x86 assembly (clang, -O0):
<print_sys_cfg_cipher_usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf11(%rip),%rdi
call   1030 <printf@plt>
lea    0xf2a(%rip),%rdi
call   1030 <printf@plt>
lea    0xf43(%rip),%rdi
call   1030 <printf@plt>
lea    0xf60(%rip),%rdi
call   1030 <printf@plt>
lea    0xf85(%rip),%rdi
call   1030 <printf@plt>
lea    0xefa(%rip),%rdi
call   1030 <printf@plt>
lea    0xf13(%rip),%rdi
call   1030 <printf@plt>
lea    0xf86(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_sys_cfg_cipher_usage>:
push   %r14
push   %rbx
push   %rax
lea    0xf9e(%rip),%rdi
call   1030 <puts@plt>
lea    0xec9(%rip),%rdi
call   1040 <printf@plt>
lea    0xee2(%rip),%r14
mov    %r14,%rdi
call   1040 <printf@plt>
lea    0xef8(%rip),%rbx
mov    %rbx,%rdi
call   1040 <printf@plt>
lea    0xf12(%rip),%rdi
call   1040 <printf@plt>
lea    0xf37(%rip),%rdi
call   1040 <printf@plt>
mov    %r14,%rdi
call   1040 <printf@plt>
mov    %rbx,%rdi
call   1040 <printf@plt>
lea    0xf77(%rip),%rdi
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [56 x i8] c"\0AUsage : sys_cfg_cipher [PAIRWISE_CIPHER GROUP_CIPHER]\0A\00"
@.str.1 = [37 x i8] c"\0AOptions: PAIRWISE_CIPHER: 0 - NONE\00"
@.str.2 = [37 x i8] c"\0A 4 - TKIP\00"
@.str.3 = [41 x i8] c"\0A 8 - AES CCMP\00"
@.str.4 = [49 x i8] c"\0A 12 - AES CCMP + TKIP\00"
@.str.5 = [37 x i8] c"\0A GROUP_CIPHER : 0 - NONE\00"
@.str.6 = [47 x i8] c"\0A empty - Get current cipher settings\0A\00"
define void @print_sys_cfg_cipher_usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.2, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.3, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.6, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str.1 = [37 x i8] c"\0AOptions: PAIRWISE_CIPHER: 0 - NONE\00"
@.str.2 = [37 x i8] c"\0A 4 - TKIP\00"
@.str.3 = [41 x i8] c"\0A 8 - AES CCMP\00"
@.str.4 = [49 x i8] c"\0A 12 - AES CCMP + TKIP\00"
@.str.5 = [37 x i8] c"\0A GROUP_CIPHER : 0 - NONE\00"
@str = [55 x i8] c"\0AUsage : sys_cfg_cipher [PAIRWISE_CIPHER GROUP_CIPHER]\00"
@str.7 = [46 x i8] c"\0A empty - Get current cipher settings\00"
define void @print_sys_cfg_cipher_usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.5, i64 0, i64 0))
%7 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.2, i64 0, i64 0))
%8 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.3, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.7, i64 0, i64 0))
ret void
}