void print_msg_for_cca_envvars(const char *key_name) {
  char *msg;
  __util_asprintf(__func__,
                  "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                  "outputs/2022-01-22/02-19-57/repos/ibm-s390-tools/s390-tools/"
                  "refs/heads/master/zkey/cca.c",
                  739, &msg,
                  "WARNING: You must set environment variables "
                  "%s and %s to the desired card and domain that is "
                  "set up with the AES master key used by this %s. "
                  "%s specifies the domain as decimal number. %s "
                  "specifies the adapter number as 'CRPnn', where "
                  "'nn' is the adapter number. See the CCA "
                  "documentation for more details.\n",
                  "CSU_DEFAULT_DOMAIN", "CSU_DEFAULT_ADAPTER", key_name,
                  "CSU_DEFAULT_DOMAIN", "CSU_DEFAULT_ADAPTER");
  util_print_indented(msg, 0);
  free(msg);
}


x86 assembly (clang, -O0):
<print_msg_for_cca_envvars>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%r11
lea    0xeb9(%rip),%rdi
lea    0xecc(%rip),%rsi
mov    $0x2e3,%edx
lea    -0x10(%rbp),%rcx
lea    0xf4d(%rip),%r8
lea    0x1079(%rip),%r10
lea    0x1085(%rip),%rax
mov    %r10,%r9
mov    %rax,(%rsp)
mov    %r11,0x8(%rsp)
mov    %r10,0x10(%rsp)
mov    %rax,0x18(%rsp)
mov    $0x0,%al
call   1050 <__util_asprintf@plt>
mov    -0x10(%rbp),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1040 <util_print_indented@plt>
mov    -0x10(%rbp),%rdi
call   1030 <free@plt>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_msg_for_cca_envvars>:
push   %rax
mov    %rdi,%r10
lea    0x10b6(%rip),%r11
lea    0x109c(%rip),%r9
lea    0xeb7(%rip),%rdi
lea    0xeca(%rip),%rsi
lea    0xf54(%rip),%r8
mov    %rsp,%rcx
mov    $0x2e3,%edx
xor    %eax,%eax
push   %r11
push   %r9
push   %r10
push   %r11
call   1050 <__util_asprintf@plt>
add    $0x20,%rsp
mov    (%rsp),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <util_print_indented@plt>
mov    (%rsp),%rdi
call   1030 <free@plt>
pop    %rax
ret

LLVM IR (-O0):
@__func__.print_msg_for_cca_envvars = [26 x i8] c"print_msg_for_cca_envvars\00"
@.str = [145 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/ibm-s390-tools/s390-tools/refs/heads/master/zkey/cca.c\00"
@.str.1 = [307 x i8] c"WARNING: You must set environment variables %s and %s to the desired card and domain that is set up with the AES master key used by this %s. %s specifies the domain as decimal number. %s specifies the adapter number as 'CRPnn', where 'nn' is the adapter number. See the CCA documentation for more details.\0A\00"
@.str.2 = [19 x i8] c"CSU_DEFAULT_DOMAIN\00"
@.str.3 = [20 x i8] c"CSU_DEFAULT_ADAPTER\00"
define void @print_msg_for_cca_envvars(i8* %0) {
%2 = alloca i8*
%3 = alloca i8*
store i8* %0, i8** %2
%4 = load i8*, i8** %2
%5 = call i32 (i8*, i8*, i32, i8**, i8*, i8*, i8*, i8*, i8*, i8*, ...) bitcast (i32 (...)* @__util_asprintf to i32 (i8*, i8*, i32, i8**, i8*, i8*, i8*, i8*, i8*, i8*, ...)*)(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @__func__.print_msg_for_cca_envvars, i64 0, i64 0), i8* getelementptr inbounds ([145 x i8], [145 x i8]* @.str, i64 0, i64 0), i32 739, i8** %3, i8* getelementptr inbounds ([307 x i8], [307 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), i8* %4, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0))
%6 = load i8*, i8** %3
%7 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @util_print_indented to i32 (i8*, i32, ...)*)(i8* %6, i32 0)
%8 = load i8*, i8** %3
ret void
}

LLVM IR (-O2):
@__func__.print_msg_for_cca_envvars = [26 x i8] c"print_msg_for_cca_envvars\00"
@.str = [145 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/ibm-s390-tools/s390-tools/refs/heads/master/zkey/cca.c\00"
@.str.1 = [307 x i8] c"WARNING: You must set environment variables %s and %s to the desired card and domain that is set up with the AES master key used by this %s. %s specifies the domain as decimal number. %s specifies the adapter number as 'CRPnn', where 'nn' is the adapter number. See the CCA documentation for more details.\0A\00"
@.str.2 = [19 x i8] c"CSU_DEFAULT_DOMAIN\00"
@.str.3 = [20 x i8] c"CSU_DEFAULT_ADAPTER\00"
define void @print_msg_for_cca_envvars(i8* %0) {
%2 = alloca i8*
%3 = bitcast i8** %2 to i8*
%4 = call i32 (i8*, i8*, i32, i8**, i8*, i8*, i8*, i8*, i8*, i8*, ...) bitcast (i32 (...)* @__util_asprintf to i32 (i8*, i8*, i32, i8**, i8*, i8*, i8*, i8*, i8*, i8*, ...)*)(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @__func__.print_msg_for_cca_envvars, i64 0, i64 0), i8* getelementptr inbounds ([145 x i8], [145 x i8]* @.str, i64 0, i64 0), i32 739, i8** %2, i8* getelementptr inbounds ([307 x i8], [307 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), i8* %0, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0))
%5 = load i8*, i8** %2
%6 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @util_print_indented to i32 (i8*, i32, ...)*)(i8* %5, i32 0)
%7 = load i8*, i8** %2
ret void
}