#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_subset_of(struct stringset *, struct stringset *);
void test_is_subset_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_subset_of(set1, set2));
  assert(!stringset_is_subset_of(set1, set3));
  assert(!stringset_is_subset_of(set2, set1));
  assert(!stringset_is_subset_of(set2, set3));
  assert(stringset_is_subset_of(set3, set1));
  assert(!stringset_is_subset_of(set3, set2));
  assert(stringset_is_subset_of(set3, set3));
  assert(stringset_is_subset_of(set3, set3_dup));
  assert(stringset_is_subset_of(set3_dup, set3));
  struct stringset *empty_set = stringset_alloc();
  assert(empty_set);
  assert(stringset_is_subset_of(empty_set, set1));
  assert(stringset_is_subset_of(empty_set, set2));
  assert(stringset_is_subset_of(empty_set, set3));
  assert(stringset_is_subset_of(empty_set, empty_set));
  assert(!stringset_is_subset_of(set1, empty_set));
  assert(!stringset_is_subset_of(set2, empty_set));
  assert(!stringset_is_subset_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_subset_of>:
push   %rbp
mov    %rsp,%rbp
sub    $0xb0,%rsp
lea    -0x30(%rbp),%rdi
xor    %esi,%esi
mov    $0x28,%edx
call   1050 <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   1030 <stringset_is_subset_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   1030 <stringset_is_subset_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    -0x40(%rbp),%rsi
call   1030 <stringset_is_subset_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   1030 <stringset_is_subset_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   1030 <stringset_is_subset_of@plt>
mov    %eax,%edi
call   1070 <assert@plt>
mov    -0xa0(%rbp),%rdi
mov    -0x70(%rbp),%rsi
call   1030 <stringset_is_subset_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   1030 <stringset_is_subset_of@plt>
mov    %eax,%edi
call   1070 <assert@plt>
mov    -0xa0(%rbp),%rdi
mov    -0xa8(%rbp),%rsi
call   1030 <stringset_is_subset_of@plt>
mov    %eax,%edi
call   1070 <assert@plt>
mov    -0xa8(%rbp),%rdi
mov    -0xa0(%rbp),%rsi
call   1030 <stringset_is_subset_of@plt>
mov    %eax,%edi
call   1070 <assert@plt>
mov    $0x0,%al
call   1040 <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   1030 <stringset_is_subset_of@plt>
mov    %eax,%edi
call   1070 <assert@plt>
mov    -0xb0(%rbp),%rdi
mov    -0x70(%rbp),%rsi
call   1030 <stringset_is_subset_of@plt>
mov    %eax,%edi
call   1070 <assert@plt>
mov    -0xb0(%rbp),%rdi
mov    -0xa0(%rbp),%rsi
call   1030 <stringset_is_subset_of@plt>
mov    %eax,%edi
call   1070 <assert@plt>
mov    -0xb0(%rbp),%rdi
mov    -0xb0(%rbp),%rsi
call   1030 <stringset_is_subset_of@plt>
mov    %eax,%edi
call   1070 <assert@plt>
mov    -0x40(%rbp),%rdi
mov    -0xb0(%rbp),%rsi
call   1030 <stringset_is_subset_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    -0xb0(%rbp),%rsi
call   1030 <stringset_is_subset_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    -0xb0(%rbp),%rsi
call   1030 <stringset_is_subset_of@plt>
cmp    $0x0,%eax
setne  %al
xor    $0xff,%al
and    $0x1,%al
movzbl %al,%edi
call   1070 <assert@plt>
mov    -0x40(%rbp),%rdi
call   1060 <stringset_free@plt>
mov    -0x70(%rbp),%rdi
call   1060 <stringset_free@plt>
mov    -0xa0(%rbp),%rdi
call   1060 <stringset_free@plt>
mov    -0xa8(%rbp),%rdi
call   1060 <stringset_free@plt>
mov    -0xb0(%rbp),%rdi
call   1060 <stringset_free@plt>
add    $0xb0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<test_is_subset_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   1030 <stringset_is_subset_of@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1060 <assert@plt>
mov    %r14,%rdi
mov    %r13,%rsi
call   1030 <stringset_is_subset_of@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1060 <assert@plt>
mov    %r15,%rdi
mov    %r14,%rsi
call   1030 <stringset_is_subset_of@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1060 <assert@plt>
mov    %r15,%rdi
mov    %r13,%rsi
call   1030 <stringset_is_subset_of@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1060 <assert@plt>
mov    %r13,%rdi
mov    %r14,%rsi
call   1030 <stringset_is_subset_of@plt>
mov    %eax,%edi
call   1060 <assert@plt>
mov    %r13,%rdi
mov    %r15,%rsi
call   1030 <stringset_is_subset_of@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1060 <assert@plt>
mov    %r13,%rdi
mov    %r13,%rsi
call   1030 <stringset_is_subset_of@plt>
mov    %eax,%edi
call   1060 <assert@plt>
mov    %r13,%rdi
mov    %r12,%rsi
call   1030 <stringset_is_subset_of@plt>
mov    %eax,%edi
call   1060 <assert@plt>
mov    %r12,%rdi
mov    %r13,%rsi
call   1030 <stringset_is_subset_of@plt>
mov    %eax,%edi
call   1060 <assert@plt>
xor    %eax,%eax
call   1040 <stringset_alloc@plt>
mov    %rax,%rbx
mov    %ebx,%edi
call   1060 <assert@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1030 <stringset_is_subset_of@plt>
mov    %eax,%edi
call   1060 <assert@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1030 <stringset_is_subset_of@plt>
mov    %eax,%edi
call   1060 <assert@plt>
mov    %rbx,%rdi
mov    %r13,%rsi
call   1030 <stringset_is_subset_of@plt>
mov    %eax,%edi
call   1060 <assert@plt>
mov    %rbx,%rdi
mov    %rbx,%rsi
call   1030 <stringset_is_subset_of@plt>
mov    %eax,%edi
call   1060 <assert@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1030 <stringset_is_subset_of@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1060 <assert@plt>
mov    %r15,%rdi
mov    %rbx,%rsi
call   1030 <stringset_is_subset_of@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1060 <assert@plt>
mov    %r13,%rdi
mov    %rbx,%rsi
call   1030 <stringset_is_subset_of@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1060 <assert@plt>
mov    %r14,%rdi
call   1050 <stringset_free@plt>
mov    %r15,%rdi
call   1050 <stringset_free@plt>
mov    %r13,%rdi
call   1050 <stringset_free@plt>
mov    %r12,%rdi
call   1050 <stringset_free@plt>
mov    %rbx,%rdi
call   1050 <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_subset_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_subset_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_subset_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_subset_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_subset_of(%struct.stringset* %51, %struct.stringset* %52)
%54 = icmp ne i32 %53, 0
%55 = xor i1 %54, true
%56 = zext i1 %55 to i32
%57 = call i32 @assert(i32 %56)
%58 = load %struct.stringset*, %struct.stringset** %6
%59 = load %struct.stringset*, %struct.stringset** %3
%60 = call i32 @stringset_is_subset_of(%struct.stringset* %58, %struct.stringset* %59)
%61 = icmp ne i32 %60, 0
%62 = xor i1 %61, true
%63 = zext i1 %62 to i32
%64 = call i32 @assert(i32 %63)
%65 = load %struct.stringset*, %struct.stringset** %6
%66 = load %struct.stringset*, %struct.stringset** %9
%67 = call i32 @stringset_is_subset_of(%struct.stringset* %65, %struct.stringset* %66)
%68 = icmp ne i32 %67, 0
%69 = xor i1 %68, true
%70 = zext i1 %69 to i32
%71 = call i32 @assert(i32 %70)
%72 = load %struct.stringset*, %struct.stringset** %9
%73 = load %struct.stringset*, %struct.stringset** %3
%74 = call i32 @stringset_is_subset_of(%struct.stringset* %72, %struct.stringset* %73)
%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_subset_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_subset_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_subset_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_subset_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_subset_of(%struct.stringset* %99, %struct.stringset* %100)
%102 = call i32 @assert(i32 %101)
%103 = load %struct.stringset*, %struct.stringset** %11
%104 = load %struct.stringset*, %struct.stringset** %6
%105 = call i32 @stringset_is_subset_of(%struct.stringset* %103, %struct.stringset* %104)
%106 = call i32 @assert(i32 %105)
%107 = load %struct.stringset*, %struct.stringset** %11
%108 = load %struct.stringset*, %struct.stringset** %9
%109 = call i32 @stringset_is_subset_of(%struct.stringset* %107, %struct.stringset* %108)
%110 = call i32 @assert(i32 %109)
%111 = load %struct.stringset*, %struct.stringset** %11
%112 = load %struct.stringset*, %struct.stringset** %11
%113 = call i32 @stringset_is_subset_of(%struct.stringset* %111, %struct.stringset* %112)
%114 = call i32 @assert(i32 %113)
%115 = load %struct.stringset*, %struct.stringset** %3
%116 = load %struct.stringset*, %struct.stringset** %11
%117 = call i32 @stringset_is_subset_of(%struct.stringset* %115, %struct.stringset* %116)
%118 = icmp ne i32 %117, 0
%119 = xor i1 %118, true
%120 = zext i1 %119 to i32
%121 = call i32 @assert(i32 %120)
%122 = load %struct.stringset*, %struct.stringset** %6
%123 = load %struct.stringset*, %struct.stringset** %11
%124 = call i32 @stringset_is_subset_of(%struct.stringset* %122, %struct.stringset* %123)
%125 = icmp ne i32 %124, 0
%126 = xor i1 %125, true
%127 = zext i1 %126 to i32
%128 = call i32 @assert(i32 %127)
%129 = load %struct.stringset*, %struct.stringset** %9
%130 = load %struct.stringset*, %struct.stringset** %11
%131 = call i32 @stringset_is_subset_of(%struct.stringset* %129, %struct.stringset* %130)
%132 = icmp ne i32 %131, 0
%133 = xor i1 %132, true
%134 = zext i1 %133 to i32
%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_subset_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_subset_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_subset_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_subset_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_subset_of(%struct.stringset* %10, %struct.stringset* %22)
%35 = icmp eq i32 %34, 0
%36 = zext i1 %35 to i32
%37 = call i32 @assert(i32 %36)
%38 = call i32 @stringset_is_subset_of(%struct.stringset* %16, %struct.stringset* %10)
%39 = icmp eq i32 %38, 0
%40 = zext i1 %39 to i32
%41 = call i32 @assert(i32 %40)
%42 = call i32 @stringset_is_subset_of(%struct.stringset* %16, %struct.stringset* %22)
%43 = icmp eq i32 %42, 0
%44 = zext i1 %43 to i32
%45 = call i32 @assert(i32 %44)
%46 = call i32 @stringset_is_subset_of(%struct.stringset* %22, %struct.stringset* %10)
%47 = call i32 @assert(i32 %46)
%48 = call i32 @stringset_is_subset_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_subset_of(%struct.stringset* %22, %struct.stringset* %22)
%53 = call i32 @assert(i32 %52)
%54 = call i32 @stringset_is_subset_of(%struct.stringset* %22, %struct.stringset* %26)
%55 = call i32 @assert(i32 %54)
%56 = call i32 @stringset_is_subset_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_subset_of(%struct.stringset* %58, %struct.stringset* %10)
%63 = call i32 @assert(i32 %62)
%64 = call i32 @stringset_is_subset_of(%struct.stringset* %58, %struct.stringset* %16)
%65 = call i32 @assert(i32 %64)
%66 = call i32 @stringset_is_subset_of(%struct.stringset* %58, %struct.stringset* %22)
%67 = call i32 @assert(i32 %66)
%68 = call i32 @stringset_is_subset_of(%struct.stringset* %58, %struct.stringset* %58)
%69 = call i32 @assert(i32 %68)
%70 = call i32 @stringset_is_subset_of(%struct.stringset* %10, %struct.stringset* %58)
%71 = icmp eq i32 %70, 0
%72 = zext i1 %71 to i32
%73 = call i32 @assert(i32 %72)
%74 = call i32 @stringset_is_subset_of(%struct.stringset* %16, %struct.stringset* %58)
%75 = icmp eq i32 %74, 0
%76 = zext i1 %75 to i32
%77 = call i32 @assert(i32 %76)
%78 = call i32 @stringset_is_subset_of(%struct.stringset* %22, %struct.stringset* %58)
%79 = icmp eq i32 %78, 0
%80 = zext i1 %79 to i32
%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
}