#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 */
typedef struct TYPE_3__ TYPE_1__;

/* Type definitions */
struct TYPE_3__ {
  scalar_t__ *name;
};
typedef TYPE_1__ OBJ_NAME;
typedef int /*<<< orphan*/ BIO;

/* Variables and functions */
int /*<<< orphan*/ BIO_printf(int /*<<< orphan*/ *, char *, ...);
int /*<<< orphan*/ islower(unsigned char);
void show_ciphers(const OBJ_NAME *name, void *bio_) {
  BIO *bio = bio_;
  static int n;
  if (!islower((unsigned char)*name->name))
    return;
  BIO_printf(bio, "-%-25s", name->name);
  if (++n == 3) {
    BIO_printf(bio, "\n");
    n = 0;
  } else
    BIO_printf(bio, " ");
}


x86 assembly (clang, -O0):
<show_ciphers>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0x18(%rbp)
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
mov    (%rax),%rax
movzbl %al,%edi
call   1030 <islower@plt>
cmp    $0x0,%eax
jne    1158 <show_ciphers+0x38>
jmp    11bc <show_ciphers+0x9c>
mov    -0x18(%rbp),%rdi
mov    -0x8(%rbp),%rax
mov    (%rax),%rdx
lea    0xe96(%rip),%rsi
mov    $0x0,%al
call   1040 <BIO_printf@plt>
mov    0x2ebd(%rip),%eax
add    $0x1,%eax
mov    %eax,0x2eb4(%rip)
cmp    $0x3,%eax
jne    11aa <show_ciphers+0x8a>
mov    -0x18(%rbp),%rdi
lea    0xe73(%rip),%rsi
mov    $0x0,%al
call   1040 <BIO_printf@plt>
movl   $0x0,0x2e8f(%rip)
jmp    11bc <show_ciphers+0x9c>
mov    -0x18(%rbp),%rdi
lea    0xe54(%rip),%rsi
mov    $0x0,%al
call   1040 <BIO_printf@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<show_ciphers>:
push   %r14
push   %rbx
push   %rax
mov    %rsi,%r14
mov    %rdi,%rbx
mov    (%rdi),%rax
movzbl (%rax),%edi
call   1030 <islower@plt>
test   %eax,%eax
je     117c <show_ciphers+0x5c>
mov    (%rbx),%rdx
lea    0xebd(%rip),%rsi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <BIO_printf@plt>
mov    0x2ee1(%rip),%eax
add    $0x1,%eax
mov    %eax,0x2ed8(%rip)
cmp    $0x3,%eax
jne    1184 <show_ciphers+0x64>
lea    0xe9f(%rip),%rsi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <BIO_printf@plt>
movl   $0x0,0x2eb8(%rip)
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret
lea    0xe7e(%rip),%rsi
mov    %r14,%rdi
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1040 <BIO_printf@plt>

LLVM IR (-O0):
%struct.TYPE_3__ = type { i64* }
@show_ciphers.n = internal global i32 0
@.str = [7 x i8] c"-%-25s\00"
@.str.1 = [2 x i8] c"\0A\00"
@.str.2 = [2 x i8] c" \00"
define void @show_ciphers(%struct.TYPE_3__* %0, i8* %1) {
%3 = alloca %struct.TYPE_3__*
%4 = alloca i8*
%5 = alloca i32*
store %struct.TYPE_3__* %0, %struct.TYPE_3__** %3
store i8* %1, i8** %4
%6 = load i8*, i8** %4
%7 = bitcast i8* %6 to i32*
store i32* %7, i32** %5
%8 = load %struct.TYPE_3__*, %struct.TYPE_3__** %3
%9 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %8, i32 0, i32 0
%10 = load i64*, i64** %9
%11 = load i64, i64* %10
%12 = trunc i64 %11 to i8
%13 = call i32 @islower(i8 zeroext %12)
%14 = icmp ne i32 %13, 0
br i1 %14, label %16, label %15
15: ; preds = %2
br label %31
16: ; preds = %2
%17 = load i32*, i32** %5
%18 = load %struct.TYPE_3__*, %struct.TYPE_3__** %3
%19 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %18, i32 0, i32 0
%20 = load i64*, i64** %19
%21 = call i32 (i32*, i8*, ...) @BIO_printf(i32* %17, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i64* %20)
%22 = load i32, i32* @show_ciphers.n
%23 = add nsw i32 %22, 1
store i32 %23, i32* @show_ciphers.n
%24 = icmp eq i32 %23, 3
br i1 %24, label %25, label %28
25: ; preds = %16
%26 = load i32*, i32** %5
%27 = call i32 (i32*, i8*, ...) @BIO_printf(i32* %26, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32 0, i32* @show_ciphers.n
br label %31
28: ; preds = %16
%29 = load i32*, i32** %5
%30 = call i32 (i32*, i8*, ...) @BIO_printf(i32* %29, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
br label %31
31: ; preds = %15, %28, %25
ret void
}

LLVM IR (-O2):
%struct.TYPE_3__ = type { i64* }
@show_ciphers.n = internal unnamed_addr global i32 0
@.str = [7 x i8] c"-%-25s\00"
@.str.1 = [2 x i8] c"\0A\00"
@.str.2 = [2 x i8] c" \00"
define void @show_ciphers(%struct.TYPE_3__* nocapture %0, i8* %1) {
%3 = bitcast i8* %1 to i32*
%4 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %0, i64 0, i32 0
%5 = load i64*, i64** %4
%6 = load i64, i64* %5
%7 = trunc i64 %6 to i8
%8 = tail call i32 @islower(i8 zeroext %7)
%9 = icmp eq i32 %8, 0
br i1 %9, label %20, label %10
10: ; preds = %2
%11 = load i64*, i64** %4
%12 = tail call i32 (i32*, i8*, ...) @BIO_printf(i32* %3, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i64* %11)
%13 = load i32, i32* @show_ciphers.n
%14 = add nsw i32 %13, 1
store i32 %14, i32* @show_ciphers.n
%15 = icmp eq i32 %14, 3
br i1 %15, label %16, label %18
16: ; preds = %10
%17 = tail call i32 (i32*, i8*, ...) @BIO_printf(i32* %3, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32 0, i32* @show_ciphers.n
br label %20
18: ; preds = %10
%19 = tail call i32 (i32*, i8*, ...) @BIO_printf(i32* %3, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
br label %20
20: ; preds = %16, %18, %2
ret void
}