#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 */
char *hydrology_library_get_period_of_record_begin_date(char *, char *, char *);
char *hydrology_library_get_period_of_record_end_date(char *, char *, char *);
void hydrology_library_get_period_of_record_begin_end_dates(
    char **begin_date_string, char **end_date_string, char *application_name,
    char *station, char *datatype) {
  *begin_date_string = hydrology_library_get_period_of_record_begin_date(
      application_name, station, datatype);
  *end_date_string = hydrology_library_get_period_of_record_end_date(
      application_name, station, datatype);
}


x86 assembly (clang, -O0):
<hydrology_library_get_period_of_record_begin_end_dates>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    -0x18(%rbp),%rdi
mov    -0x20(%rbp),%rsi
mov    -0x28(%rbp),%rdx
call   1040 <hydrology_library_get_period_of_record_begin_date@plt>
mov    %rax,%rcx
mov    -0x8(%rbp),%rax
mov    %rcx,(%rax)
mov    -0x18(%rbp),%rdi
mov    -0x20(%rbp),%rsi
mov    -0x28(%rbp),%rdx
call   1030 <hydrology_library_get_period_of_record_end_date@plt>
mov    %rax,%rcx
mov    -0x10(%rbp),%rax
mov    %rcx,(%rax)
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<hydrology_library_get_period_of_record_begin_end_dates>:
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
mov    %r8,%r14
mov    %rcx,%r15
mov    %rdx,%rbx
mov    %rsi,%r12
mov    %rdi,%r13
mov    %rdx,%rdi
mov    %rcx,%rsi
mov    %r8,%rdx
call   1040 <hydrology_library_get_period_of_record_begin_date@plt>
mov    %rax,0x0(%r13)
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %r14,%rdx
call   1030 <hydrology_library_get_period_of_record_end_date@plt>
mov    %rax,(%r12)
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
define void @hydrology_library_get_period_of_record_begin_end_dates(i8** %0, i8** %1, i8* %2, i8* %3, i8* %4) {
%6 = alloca i8**
%7 = alloca i8**
%8 = alloca i8*
%9 = alloca i8*
%10 = alloca i8*
store i8** %0, i8*** %6
store i8** %1, i8*** %7
store i8* %2, i8** %8
store i8* %3, i8** %9
store i8* %4, i8** %10
%11 = load i8*, i8** %8
%12 = load i8*, i8** %9
%13 = load i8*, i8** %10
%14 = call i8* @hydrology_library_get_period_of_record_begin_date(i8* %11, i8* %12, i8* %13)
%15 = load i8**, i8*** %6
store i8* %14, i8** %15
%16 = load i8*, i8** %8
%17 = load i8*, i8** %9
%18 = load i8*, i8** %10
%19 = call i8* @hydrology_library_get_period_of_record_end_date(i8* %16, i8* %17, i8* %18)
%20 = load i8**, i8*** %7
store i8* %19, i8** %20
ret void
}

LLVM IR (-O2):
define void @hydrology_library_get_period_of_record_begin_end_dates(i8** nocapture writeonly %0, i8** nocapture writeonly %1, i8* %2, i8* %3, i8* %4) {
%6 = tail call i8* @hydrology_library_get_period_of_record_begin_date(i8* %2, i8* %3, i8* %4)
store i8* %6, i8** %0
%7 = tail call i8* @hydrology_library_get_period_of_record_end_date(i8* %2, i8* %3, i8* %4)
store i8* %7, i8** %1
ret void
}