#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*/ niceprint(char *);
void gas(void) {
  niceprint(
      "The adventurers come upon a cavern with a dangerous natural gas leak. "
      "Any member of the party with a passive Wisdom (Perception) score of 14 "
      "or higher detects signs of the gas. The characters' travel pace for the "
      "day is slowed by half as they circumvent the area, but there are no ill "
      "effects. If the gas goes undetected, each character in the area must "
      "make a DC 12 Constitution saving throw, taking 1d10 poison damage on "
      "a failed save, or half as much damage on a successful one. Any open "
      "flames brought into the area cause the gas to explode. Each creature "
      "in the explosion must make a DC 15 Dexterity saving throw, taking 3d6 "
      "fire damage on a failed save, or half as much damage on a successful "
      "one.\n\n");
}


x86 assembly (clang, -O0):
<gas>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <niceprint@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<gas>:
lea    0xee9(%rip),%rdi
jmp    1030 <niceprint@plt>

LLVM IR (-O0):
@.str = [706 x i8] c"The adventurers come upon a cavern with a dangerous natural gas leak. Any member of the party with a passive Wisdom (Perception) score of 14 or higher detects signs of the gas. The characters' travel pace for the day is slowed by half as they circumvent the area, but there are no ill effects. If the gas goes undetected, each character in the area must make a DC 12 Constitution saving throw, taking 1d10 poison damage on a failed save, or half as much damage on a successful one. Any open flames brought into the area cause the gas to explode. Each creature in the explosion must make a DC 15 Dexterity saving throw, taking 3d6 fire damage on a failed save, or half as much damage on a successful one.\0A\0A\00"
define void @gas() {
%1 = call i32 @niceprint(i8* getelementptr inbounds ([706 x i8], [706 x i8]* @.str, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [706 x i8] c"The adventurers come upon a cavern with a dangerous natural gas leak. Any member of the party with a passive Wisdom (Perception) score of 14 or higher detects signs of the gas. The characters' travel pace for the day is slowed by half as they circumvent the area, but there are no ill effects. If the gas goes undetected, each character in the area must make a DC 12 Constitution saving throw, taking 1d10 poison damage on a failed save, or half as much damage on a successful one. Any open flames brought into the area cause the gas to explode. Each creature in the explosion must make a DC 15 Dexterity saving throw, taking 3d6 fire damage on a failed save, or half as much damage on a successful one.\0A\0A\00"
define void @gas() {
%1 = tail call i32 @niceprint(i8* getelementptr inbounds ([706 x i8], [706 x i8]* @.str, i64 0, i64 0))
ret void
}