#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 */
struct stringset {
  int dummy;
};

/* Variables and functions */
int /*<<< orphan*/ assert(int);
struct stringset *stringset_alloc();
struct stringset *stringset_alloc_from_array(char const **, int);
struct stringset *stringset_alloc_from_stringset(struct stringset *);
int /*<<< orphan*/ stringset_free(struct stringset *);
int stringset_is_superset_of(struct stringset *, struct stringset *);
void test_is_superset_of(void) {
  char const *members1[] = {"watermelon", "mango", "apple", "banana",
                            "strawberry"};
  int members1_count = sizeof members1 / sizeof members1[0];
  struct stringset *set1 = stringset_alloc_from_array(members1, members1_count);
  assert(set1);
  char const *members2[] = {"mango", "green", "banana"};
  int members2_count = sizeof members2 / sizeof members2[0];
  struct stringset *set2 = stringset_alloc_from_array(members2, members2_count);
  assert(set2);
  char const *members3[] = {"mango", "watermelon", "banana"};
  int members3_count = sizeof members3 / sizeof members3[0];
  struct stringset *set3 = stringset_alloc_from_array(members3, members3_count);
  assert(set3);
  struct stringset *set3_dup = stringset_alloc_from_stringset(set3);
  assert(set3_dup);
  assert(!stringset_is_superset_of(set1, set2));
  assert(stringset_is_superset_of(set1, set3));
  assert(!stringset_is_superset_of(set2, set1));
  assert(!stringset_is_superset_of(set2, set3));
  assert(!stringset_is_superset_of(set3, set1));
  assert(!stringset_is_superset_of(set3, set2));
  assert(stringset_is_superset_of(set3, set3));
  assert(stringset_is_superset_of(set3, set3_dup));
  assert(stringset_is_superset_of(set3_dup, set3));
  struct stringset *empty_set = stringset_alloc();
  assert(empty_set);
  assert(!stringset_is_superset_of(empty_set, set1));
  assert(!stringset_is_superset_of(empty_set, set2));
  assert(!stringset_is_superset_of(empty_set, set3));
  assert(stringset_is_superset_of(empty_set, empty_set));
  assert(stringset_is_superset_of(set1, empty_set));
  assert(stringset_is_superset_of(set2, empty_set));
  assert(stringset_is_superset_of(set3, empty_set));
  stringset_free(set1);
  stringset_free(set2);
  stringset_free(set3);
  stringset_free(set3_dup);
  stringset_free(empty_set);
}


x86 assembly (clang, -O0):
<test_is_superset_of>:
push   %rbp
mov    %rsp,%rbp
sub    $0xb0,%rsp
lea    -0x30(%rbp),%rdi
xor    %esi,%esi
mov    $0x28,%edx
call   1040 <memset@plt>
lea    0xe6e(%rip),%rax
mov    %rax,-0x30(%rbp)
lea    0xe6e(%rip),%rax
mov    %rax,-0x28(%rbp)
lea    0xe69(%rip),%rax
mov    %rax,-0x20(%rbp)
lea    0xe64(%rip),%rax
mov    %rax,-0x18(%rbp)
lea    0xe60(%rip),%rax
mov    %rax,-0x10(%rbp)
movl   $0x5,-0x34(%rbp)
lea    -0x30(%rbp),%rdi
mov    -0x34(%rbp),%esi
call   1080 <stringset_alloc_from_array@plt>
mov    %rax,-0x40(%rbp)
mov    -0x40(%rbp),%rax
mov    %eax,%edi
call   1070 <assert@plt>
mov    0x2bf5(%rip),%rax
mov    %rax,-0x60(%rbp)
mov    0x2bf2(%rip),%rax
mov    %rax,-0x58(%rbp)
mov    0x2bef(%rip),%rax
mov    %rax,-0x50(%rbp)
movl   $0x3,-0x64(%rbp)
lea    -0x60(%rbp),%rdi
mov    -0x64(%rbp),%esi
call   1080 <stringset_alloc_from_array@plt>
mov    %rax,-0x70(%rbp)
mov    -0x70(%rbp),%rax
mov    %eax,%edi
call   1070 <assert@plt>
mov    0x2bd2(%rip),%rax
mov    %rax,-0x90(%rbp)
mov    0x2bcc(%rip),%rax
mov    %rax,-0x88(%rbp)
mov    0x2bc6(%rip),%rax
mov    %rax,-0x80(%rbp)
movl   $0x3,-0x94(%rbp)
lea    -0x90(%rbp),%rdi
mov    -0x94(%rbp),%esi
call   1080 <stringset_alloc_from_array@plt>
mov    %rax,-0xa0(%rbp)
mov    -0xa0(%rbp),%rax
mov    %eax,%edi
call   1070 <assert@plt>
mov    -0xa0(%rbp),%rdi
call   1090 <stringset_alloc_from_stringset@plt>
mov    %rax,-0xa8(%rbp)
mov    -0xa8(%rbp),%rax
mov    %eax,%edi
call   1070 <assert@plt>
mov    -0x40(%rbp),%rdi
mov    -0x70(%rbp),%rsi
call   1060 <stringset_is_superset_of@plt>
cmp    $0x0,%eax
setne  %al
xor    $0xff,%al
and    $0x1,%al
movzbl %al,%edi
call   1070 <assert@plt>
mov    -0x40(%rbp),%rdi
mov    -0xa0(%rbp),%rsi
call   1060 <stringset_is_superset_of@plt>
mov    %eax,%edi
call   1070 <assert@plt>
mov    -0x70(%rbp),%rdi
mov    -0x40(%rbp),%rsi
call   1060 <stringset_is_superset_of@plt>
cmp    $0x0,%eax
setne  %al
xor    $0xff,%al
and    $0x1,%al
movzbl %al,%edi
call   1070 <assert@plt>
mov    -0x70(%rbp),%rdi
mov    -0xa0(%rbp),%rsi
call   1060 <stringset_is_superset_of@plt>
cmp    $0x0,%eax
setne  %al
xor    $0xff,%al
and    $0x1,%al
movzbl %al,%edi
call   1070 <assert@plt>
mov    -0xa0(%rbp),%rdi
mov    -0x40(%rbp),%rsi
call   1060 <stringset_is_superset_of@plt>
cmp    $0x0,%eax
setne  %al
xor    $0xff,%al
and    $0x1,%al
movzbl %al,%edi
call   1070 <assert@plt>
mov    -0xa0(%rbp),%rdi
mov    -0x70(%rbp),%rsi
call   1060 <stringset_is_superset_of@plt>
cmp    $0x0,%eax
setne  %al
xor    $0xff,%al
and    $0x1,%al
movzbl %al,%edi
call   1070 <assert@plt>
mov    -0xa0(%rbp),%rdi
mov    -0xa0(%rbp),%rsi
call   1060 <stringset_is_superset_of@plt>
mov    %eax,%edi
call   1070 <assert@plt>
mov    -0xa0(%rbp),%rdi
mov    -0xa8(%rbp),%rsi
call   1060 <stringset_is_superset_of@plt>
mov    %eax,%edi
call   1070 <assert@plt>
mov    -0xa8(%rbp),%rdi
mov    -0xa0(%rbp),%rsi
call   1060 <stringset_is_superset_of@plt>
mov    %eax,%edi
call   1070 <assert@plt>
mov    $0x0,%al
call   1030 <stringset_alloc@plt>
mov    %rax,-0xb0(%rbp)
mov    -0xb0(%rbp),%rax
mov    %eax,%edi
call   1070 <assert@plt>
mov    -0xb0(%rbp),%rdi
mov    -0x40(%rbp),%rsi
call   1060 <stringset_is_superset_of@plt>
cmp    $0x0,%eax
setne  %al
xor    $0xff,%al
and    $0x1,%al
movzbl %al,%edi
call   1070 <assert@plt>
mov    -0xb0(%rbp),%rdi
mov    -0x70(%rbp),%rsi
call   1060 <stringset_is_superset_of@plt>
cmp    $0x0,%eax
setne  %al
xor    $0xff,%al
and    $0x1,%al
movzbl %al,%edi
call   1070 <assert@plt>
mov    -0xb0(%rbp),%rdi
mov    -0xa0(%rbp),%rsi
call   1060 <stringset_is_superset_of@plt>
cmp    $0x0,%eax
setne  %al
xor    $0xff,%al
and    $0x1,%al
movzbl %al,%edi
call   1070 <assert@plt>
mov    -0xb0(%rbp),%rdi
mov    -0xb0(%rbp),%rsi
call   1060 <stringset_is_superset_of@plt>
mov    %eax,%edi
call   1070 <assert@plt>
mov    -0x40(%rbp),%rdi
mov    -0xb0(%rbp),%rsi
call   1060 <stringset_is_superset_of@plt>
mov    %eax,%edi
call   1070 <assert@plt>
mov    -0x70(%rbp),%rdi
mov    -0xb0(%rbp),%rsi
call   1060 <stringset_is_superset_of@plt>
mov    %eax,%edi
call   1070 <assert@plt>
mov    -0xa0(%rbp),%rdi
mov    -0xb0(%rbp),%rsi
call   1060 <stringset_is_superset_of@plt>
mov    %eax,%edi
call   1070 <assert@plt>
mov    -0x40(%rbp),%rdi
call   1050 <stringset_free@plt>
mov    -0x70(%rbp),%rdi
call   1050 <stringset_free@plt>
mov    -0xa0(%rbp),%rdi
call   1050 <stringset_free@plt>
mov    -0xa8(%rbp),%rdi
call   1050 <stringset_free@plt>
mov    -0xb0(%rbp),%rdi
call   1050 <stringset_free@plt>
add    $0xb0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<test_is_superset_of>:
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x70,%rsp
lea    0xe8c(%rip),%rax
mov    %rax,(%rsp)
lea    0xe8c(%rip),%rax
mov    %rax,0x8(%rsp)
lea    0xe86(%rip),%rax
mov    %rax,0x10(%rsp)
lea    0xe80(%rip),%rax
mov    %rax,0x18(%rsp)
lea    0xe7b(%rip),%rax
mov    %rax,0x20(%rsp)
mov    %rsp,%rdi
mov    $0x5,%esi
call   1070 <stringset_alloc_from_array@plt>
mov    %rax,%r14
mov    %r14d,%edi
call   1060 <assert@plt>
mov    0x2c29(%rip),%rax
mov    %rax,0x60(%rsp)
movaps 0x2c0d(%rip),%xmm0
movaps %xmm0,0x50(%rsp)
lea    0x50(%rsp),%rdi
mov    $0x3,%esi
call   1070 <stringset_alloc_from_array@plt>
mov    %rax,%r15
mov    %r15d,%edi
call   1060 <assert@plt>
mov    0x2c17(%rip),%rax
mov    %rax,0x40(%rsp)
movaps 0x2bfb(%rip),%xmm0
movaps %xmm0,0x30(%rsp)
lea    0x30(%rsp),%rdi
mov    $0x3,%esi
call   1070 <stringset_alloc_from_array@plt>
mov    %rax,%r13
mov    %r13d,%edi
call   1060 <assert@plt>
mov    %r13,%rdi
call   1080 <stringset_alloc_from_stringset@plt>
mov    %rax,%r12
mov    %r12d,%edi
call   1060 <assert@plt>
mov    %r14,%rdi
mov    %r15,%rsi
call   1050 <stringset_is_superset_of@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1060 <assert@plt>
mov    %r14,%rdi
mov    %r13,%rsi
call   1050 <stringset_is_superset_of@plt>
mov    %eax,%edi
call   1060 <assert@plt>
mov    %r15,%rdi
mov    %r14,%rsi
call   1050 <stringset_is_superset_of@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1060 <assert@plt>
mov    %r15,%rdi
mov    %r13,%rsi
call   1050 <stringset_is_superset_of@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1060 <assert@plt>
mov    %r13,%rdi
mov    %r14,%rsi
call   1050 <stringset_is_superset_of@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1060 <assert@plt>
mov    %r13,%rdi
mov    %r15,%rsi
call   1050 <stringset_is_superset_of@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1060 <assert@plt>
mov    %r13,%rdi
mov    %r13,%rsi
call   1050 <stringset_is_superset_of@plt>
mov    %eax,%edi
call   1060 <assert@plt>
mov    %r13,%rdi
mov    %r12,%rsi
call   1050 <stringset_is_superset_of@plt>
mov    %eax,%edi
call   1060 <assert@plt>
mov    %r12,%rdi
mov    %r13,%rsi
call   1050 <stringset_is_superset_of@plt>
mov    %eax,%edi
call   1060 <assert@plt>
xor    %eax,%eax
call   1030 <stringset_alloc@plt>
mov    %rax,%rbx
mov    %ebx,%edi
call   1060 <assert@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1050 <stringset_is_superset_of@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1060 <assert@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1050 <stringset_is_superset_of@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1060 <assert@plt>
mov    %rbx,%rdi
mov    %r13,%rsi
call   1050 <stringset_is_superset_of@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1060 <assert@plt>
mov    %rbx,%rdi
mov    %rbx,%rsi
call   1050 <stringset_is_superset_of@plt>
mov    %eax,%edi
call   1060 <assert@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1050 <stringset_is_superset_of@plt>
mov    %eax,%edi
call   1060 <assert@plt>
mov    %r15,%rdi
mov    %rbx,%rsi
call   1050 <stringset_is_superset_of@plt>
mov    %eax,%edi
call   1060 <assert@plt>
mov    %r13,%rdi
mov    %rbx,%rsi
call   1050 <stringset_is_superset_of@plt>
mov    %eax,%edi
call   1060 <assert@plt>
mov    %r14,%rdi
call   1040 <stringset_free@plt>
mov    %r15,%rdi
call   1040 <stringset_free@plt>
mov    %r13,%rdi
call   1040 <stringset_free@plt>
mov    %r12,%rdi
call   1040 <stringset_free@plt>
mov    %rbx,%rdi
call   1040 <stringset_free@plt>
add    $0x70,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
%struct.stringset = type { i32 }
@.str = [11 x i8] c"watermelon\00"
@.str.1 = [6 x i8] c"mango\00"
@.str.2 = [6 x i8] c"apple\00"
@.str.3 = [7 x i8] c"banana\00"
@.str.4 = [11 x i8] c"strawberry\00"
@.str.5 = [6 x i8] c"green\00"
@__const.test_is_superset_of.members2 = [3 x i8*] [i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i32 0, i32 0)]
@__const.test_is_superset_of.members3 = [3 x i8*] [i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i32 0, i32 0)]
define void @test_is_superset_of() {
%1 = alloca [5 x i8*]
%2 = alloca i32
%3 = alloca %struct.stringset*
%4 = alloca [3 x i8*]
%5 = alloca i32
%6 = alloca %struct.stringset*
%7 = alloca [3 x i8*]
%8 = alloca i32
%9 = alloca %struct.stringset*
%10 = alloca %struct.stringset*
%11 = alloca %struct.stringset*
%12 = bitcast [5 x i8*]* %1 to i8*
%13 = bitcast i8* %12 to [5 x i8*]*
%14 = getelementptr inbounds [5 x i8*], [5 x i8*]* %13, i32 0, i32 0
store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i32 0, i32 0), i8** %14
%15 = getelementptr inbounds [5 x i8*], [5 x i8*]* %13, i32 0, i32 1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i32 0, i32 0), i8** %15
%16 = getelementptr inbounds [5 x i8*], [5 x i8*]* %13, i32 0, i32 2
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i32 0, i32 0), i8** %16
%17 = getelementptr inbounds [5 x i8*], [5 x i8*]* %13, i32 0, i32 3
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i32 0, i32 0), i8** %17
%18 = getelementptr inbounds [5 x i8*], [5 x i8*]* %13, i32 0, i32 4
store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i32 0, i32 0), i8** %18
store i32 5, i32* %2
%19 = getelementptr inbounds [5 x i8*], [5 x i8*]* %1, i64 0, i64 0
%20 = load i32, i32* %2
%21 = call %struct.stringset* @stringset_alloc_from_array(i8** %19, i32 %20)
store %struct.stringset* %21, %struct.stringset** %3
%22 = load %struct.stringset*, %struct.stringset** %3
%23 = ptrtoint %struct.stringset* %22 to i32
%24 = call i32 @assert(i32 %23)
%25 = bitcast [3 x i8*]* %4 to i8*
store i32 3, i32* %5
%26 = getelementptr inbounds [3 x i8*], [3 x i8*]* %4, i64 0, i64 0
%27 = load i32, i32* %5
%28 = call %struct.stringset* @stringset_alloc_from_array(i8** %26, i32 %27)
store %struct.stringset* %28, %struct.stringset** %6
%29 = load %struct.stringset*, %struct.stringset** %6
%30 = ptrtoint %struct.stringset* %29 to i32
%31 = call i32 @assert(i32 %30)
%32 = bitcast [3 x i8*]* %7 to i8*
store i32 3, i32* %8
%33 = getelementptr inbounds [3 x i8*], [3 x i8*]* %7, i64 0, i64 0
%34 = load i32, i32* %8
%35 = call %struct.stringset* @stringset_alloc_from_array(i8** %33, i32 %34)
store %struct.stringset* %35, %struct.stringset** %9
%36 = load %struct.stringset*, %struct.stringset** %9
%37 = ptrtoint %struct.stringset* %36 to i32
%38 = call i32 @assert(i32 %37)
%39 = load %struct.stringset*, %struct.stringset** %9
%40 = call %struct.stringset* @stringset_alloc_from_stringset(%struct.stringset* %39)
store %struct.stringset* %40, %struct.stringset** %10
%41 = load %struct.stringset*, %struct.stringset** %10
%42 = ptrtoint %struct.stringset* %41 to i32
%43 = call i32 @assert(i32 %42)
%44 = load %struct.stringset*, %struct.stringset** %3
%45 = load %struct.stringset*, %struct.stringset** %6
%46 = call i32 @stringset_is_superset_of(%struct.stringset* %44, %struct.stringset* %45)
%47 = icmp ne i32 %46, 0
%48 = xor i1 %47, true
%49 = zext i1 %48 to i32
%50 = call i32 @assert(i32 %49)
%51 = load %struct.stringset*, %struct.stringset** %3
%52 = load %struct.stringset*, %struct.stringset** %9
%53 = call i32 @stringset_is_superset_of(%struct.stringset* %51, %struct.stringset* %52)
%54 = call i32 @assert(i32 %53)
%55 = load %struct.stringset*, %struct.stringset** %6
%56 = load %struct.stringset*, %struct.stringset** %3
%57 = call i32 @stringset_is_superset_of(%struct.stringset* %55, %struct.stringset* %56)
%58 = icmp ne i32 %57, 0
%59 = xor i1 %58, true
%60 = zext i1 %59 to i32
%61 = call i32 @assert(i32 %60)
%62 = load %struct.stringset*, %struct.stringset** %6
%63 = load %struct.stringset*, %struct.stringset** %9
%64 = call i32 @stringset_is_superset_of(%struct.stringset* %62, %struct.stringset* %63)
%65 = icmp ne i32 %64, 0
%66 = xor i1 %65, true
%67 = zext i1 %66 to i32
%68 = call i32 @assert(i32 %67)
%69 = load %struct.stringset*, %struct.stringset** %9
%70 = load %struct.stringset*, %struct.stringset** %3
%71 = call i32 @stringset_is_superset_of(%struct.stringset* %69, %struct.stringset* %70)
%72 = icmp ne i32 %71, 0
%73 = xor i1 %72, true
%74 = zext i1 %73 to i32
%75 = call i32 @assert(i32 %74)
%76 = load %struct.stringset*, %struct.stringset** %9
%77 = load %struct.stringset*, %struct.stringset** %6
%78 = call i32 @stringset_is_superset_of(%struct.stringset* %76, %struct.stringset* %77)
%79 = icmp ne i32 %78, 0
%80 = xor i1 %79, true
%81 = zext i1 %80 to i32
%82 = call i32 @assert(i32 %81)
%83 = load %struct.stringset*, %struct.stringset** %9
%84 = load %struct.stringset*, %struct.stringset** %9
%85 = call i32 @stringset_is_superset_of(%struct.stringset* %83, %struct.stringset* %84)
%86 = call i32 @assert(i32 %85)
%87 = load %struct.stringset*, %struct.stringset** %9
%88 = load %struct.stringset*, %struct.stringset** %10
%89 = call i32 @stringset_is_superset_of(%struct.stringset* %87, %struct.stringset* %88)
%90 = call i32 @assert(i32 %89)
%91 = load %struct.stringset*, %struct.stringset** %10
%92 = load %struct.stringset*, %struct.stringset** %9
%93 = call i32 @stringset_is_superset_of(%struct.stringset* %91, %struct.stringset* %92)
%94 = call i32 @assert(i32 %93)
%95 = call %struct.stringset* (...) @stringset_alloc()
store %struct.stringset* %95, %struct.stringset** %11
%96 = load %struct.stringset*, %struct.stringset** %11
%97 = ptrtoint %struct.stringset* %96 to i32
%98 = call i32 @assert(i32 %97)
%99 = load %struct.stringset*, %struct.stringset** %11
%100 = load %struct.stringset*, %struct.stringset** %3
%101 = call i32 @stringset_is_superset_of(%struct.stringset* %99, %struct.stringset* %100)
%102 = icmp ne i32 %101, 0
%103 = xor i1 %102, true
%104 = zext i1 %103 to i32
%105 = call i32 @assert(i32 %104)
%106 = load %struct.stringset*, %struct.stringset** %11
%107 = load %struct.stringset*, %struct.stringset** %6
%108 = call i32 @stringset_is_superset_of(%struct.stringset* %106, %struct.stringset* %107)
%109 = icmp ne i32 %108, 0
%110 = xor i1 %109, true
%111 = zext i1 %110 to i32
%112 = call i32 @assert(i32 %111)
%113 = load %struct.stringset*, %struct.stringset** %11
%114 = load %struct.stringset*, %struct.stringset** %9
%115 = call i32 @stringset_is_superset_of(%struct.stringset* %113, %struct.stringset* %114)
%116 = icmp ne i32 %115, 0
%117 = xor i1 %116, true
%118 = zext i1 %117 to i32
%119 = call i32 @assert(i32 %118)
%120 = load %struct.stringset*, %struct.stringset** %11
%121 = load %struct.stringset*, %struct.stringset** %11
%122 = call i32 @stringset_is_superset_of(%struct.stringset* %120, %struct.stringset* %121)
%123 = call i32 @assert(i32 %122)
%124 = load %struct.stringset*, %struct.stringset** %3
%125 = load %struct.stringset*, %struct.stringset** %11
%126 = call i32 @stringset_is_superset_of(%struct.stringset* %124, %struct.stringset* %125)
%127 = call i32 @assert(i32 %126)
%128 = load %struct.stringset*, %struct.stringset** %6
%129 = load %struct.stringset*, %struct.stringset** %11
%130 = call i32 @stringset_is_superset_of(%struct.stringset* %128, %struct.stringset* %129)
%131 = call i32 @assert(i32 %130)
%132 = load %struct.stringset*, %struct.stringset** %9
%133 = load %struct.stringset*, %struct.stringset** %11
%134 = call i32 @stringset_is_superset_of(%struct.stringset* %132, %struct.stringset* %133)
%135 = call i32 @assert(i32 %134)
%136 = load %struct.stringset*, %struct.stringset** %3
%137 = call i32 @stringset_free(%struct.stringset* %136)
%138 = load %struct.stringset*, %struct.stringset** %6
%139 = call i32 @stringset_free(%struct.stringset* %138)
%140 = load %struct.stringset*, %struct.stringset** %9
%141 = call i32 @stringset_free(%struct.stringset* %140)
%142 = load %struct.stringset*, %struct.stringset** %10
%143 = call i32 @stringset_free(%struct.stringset* %142)
%144 = load %struct.stringset*, %struct.stringset** %11
%145 = call i32 @stringset_free(%struct.stringset* %144)
ret void
}

LLVM IR (-O2):
%struct.stringset = type { i32 }
@.str = [11 x i8] c"watermelon\00"
@.str.1 = [6 x i8] c"mango\00"
@.str.2 = [6 x i8] c"apple\00"
@.str.3 = [7 x i8] c"banana\00"
@.str.4 = [11 x i8] c"strawberry\00"
@.str.5 = [6 x i8] c"green\00"
@__const.test_is_superset_of.members2 = [3 x i8*] [i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i32 0, i32 0)]
@__const.test_is_superset_of.members3 = [3 x i8*] [i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i32 0, i32 0)]
define void @test_is_superset_of() {
%1 = alloca [5 x i8*]
%2 = alloca [3 x i8*]
%3 = alloca [3 x i8*]
%4 = bitcast [5 x i8*]* %1 to i8*
%5 = getelementptr inbounds [5 x i8*], [5 x i8*]* %1, i64 0, i64 0
store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8** %5
%6 = getelementptr inbounds [5 x i8*], [5 x i8*]* %1, i64 0, i64 1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8** %6
%7 = getelementptr inbounds [5 x i8*], [5 x i8*]* %1, i64 0, i64 2
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8** %7
%8 = getelementptr inbounds [5 x i8*], [5 x i8*]* %1, i64 0, i64 3
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i8** %8
%9 = getelementptr inbounds [5 x i8*], [5 x i8*]* %1, i64 0, i64 4
store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i8** %9
%10 = call %struct.stringset* @stringset_alloc_from_array(i8** %5, i32 5)
%11 = ptrtoint %struct.stringset* %10 to i64
%12 = trunc i64 %11 to i32
%13 = call i32 @assert(i32 %12)
%14 = bitcast [3 x i8*]* %2 to i8*
%15 = getelementptr inbounds [3 x i8*], [3 x i8*]* %2, i64 0, i64 0
%16 = call %struct.stringset* @stringset_alloc_from_array(i8** %15, i32 3)
%17 = ptrtoint %struct.stringset* %16 to i64
%18 = trunc i64 %17 to i32
%19 = call i32 @assert(i32 %18)
%20 = bitcast [3 x i8*]* %3 to i8*
%21 = getelementptr inbounds [3 x i8*], [3 x i8*]* %3, i64 0, i64 0
%22 = call %struct.stringset* @stringset_alloc_from_array(i8** %21, i32 3)
%23 = ptrtoint %struct.stringset* %22 to i64
%24 = trunc i64 %23 to i32
%25 = call i32 @assert(i32 %24)
%26 = call %struct.stringset* @stringset_alloc_from_stringset(%struct.stringset* %22)
%27 = ptrtoint %struct.stringset* %26 to i64
%28 = trunc i64 %27 to i32
%29 = call i32 @assert(i32 %28)
%30 = call i32 @stringset_is_superset_of(%struct.stringset* %10, %struct.stringset* %16)
%31 = icmp eq i32 %30, 0
%32 = zext i1 %31 to i32
%33 = call i32 @assert(i32 %32)
%34 = call i32 @stringset_is_superset_of(%struct.stringset* %10, %struct.stringset* %22)
%35 = call i32 @assert(i32 %34)
%36 = call i32 @stringset_is_superset_of(%struct.stringset* %16, %struct.stringset* %10)
%37 = icmp eq i32 %36, 0
%38 = zext i1 %37 to i32
%39 = call i32 @assert(i32 %38)
%40 = call i32 @stringset_is_superset_of(%struct.stringset* %16, %struct.stringset* %22)
%41 = icmp eq i32 %40, 0
%42 = zext i1 %41 to i32
%43 = call i32 @assert(i32 %42)
%44 = call i32 @stringset_is_superset_of(%struct.stringset* %22, %struct.stringset* %10)
%45 = icmp eq i32 %44, 0
%46 = zext i1 %45 to i32
%47 = call i32 @assert(i32 %46)
%48 = call i32 @stringset_is_superset_of(%struct.stringset* %22, %struct.stringset* %16)
%49 = icmp eq i32 %48, 0
%50 = zext i1 %49 to i32
%51 = call i32 @assert(i32 %50)
%52 = call i32 @stringset_is_superset_of(%struct.stringset* %22, %struct.stringset* %22)
%53 = call i32 @assert(i32 %52)
%54 = call i32 @stringset_is_superset_of(%struct.stringset* %22, %struct.stringset* %26)
%55 = call i32 @assert(i32 %54)
%56 = call i32 @stringset_is_superset_of(%struct.stringset* %26, %struct.stringset* %22)
%57 = call i32 @assert(i32 %56)
%58 = call %struct.stringset* (...) @stringset_alloc()
%59 = ptrtoint %struct.stringset* %58 to i64
%60 = trunc i64 %59 to i32
%61 = call i32 @assert(i32 %60)
%62 = call i32 @stringset_is_superset_of(%struct.stringset* %58, %struct.stringset* %10)
%63 = icmp eq i32 %62, 0
%64 = zext i1 %63 to i32
%65 = call i32 @assert(i32 %64)
%66 = call i32 @stringset_is_superset_of(%struct.stringset* %58, %struct.stringset* %16)
%67 = icmp eq i32 %66, 0
%68 = zext i1 %67 to i32
%69 = call i32 @assert(i32 %68)
%70 = call i32 @stringset_is_superset_of(%struct.stringset* %58, %struct.stringset* %22)
%71 = icmp eq i32 %70, 0
%72 = zext i1 %71 to i32
%73 = call i32 @assert(i32 %72)
%74 = call i32 @stringset_is_superset_of(%struct.stringset* %58, %struct.stringset* %58)
%75 = call i32 @assert(i32 %74)
%76 = call i32 @stringset_is_superset_of(%struct.stringset* %10, %struct.stringset* %58)
%77 = call i32 @assert(i32 %76)
%78 = call i32 @stringset_is_superset_of(%struct.stringset* %16, %struct.stringset* %58)
%79 = call i32 @assert(i32 %78)
%80 = call i32 @stringset_is_superset_of(%struct.stringset* %22, %struct.stringset* %58)
%81 = call i32 @assert(i32 %80)
%82 = call i32 @stringset_free(%struct.stringset* %10)
%83 = call i32 @stringset_free(%struct.stringset* %16)
%84 = call i32 @stringset_free(%struct.stringset* %22)
%85 = call i32 @stringset_free(%struct.stringset* %26)
%86 = call i32 @stringset_free(%struct.stringset* %58)
ret void
}