#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 database_save_adjustment(char *, char *, char, char *, char *, char *,
                             char *, char *, char *, char *, int, char *,
                             char *, char *, char *, char *, char *, char *,
                             char *, char *, char *, float, char *, char *,
                             char *, char *, char *, char *);
int database_save_adjustment_short(
    char account[], char current_datetime[], char adjustment_type,
    char transaction_identifier[], char date[], char timestr[], char status[],
    char description[], char currency[], char VATrate[], float progress,
    char supplier[], char receive[], char spend[]) {
  return database_save_adjustment(
      account, current_datetime, adjustment_type, transaction_identifier, "1",
      description, spend, receive, date, timestr, -1, currency, status, "", "",
      "", "", "", "", "", "", progress, "0", "0", "0", "", "", VATrate);
}


x86 assembly (clang, -O0):
<database_save_adjustment_short>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xe8,%rsp
mov    %dl,%al
mov    0x40(%rbp),%rdx
mov    0x38(%rbp),%rdx
mov    0x30(%rbp),%rdx
mov    0x28(%rbp),%rdx
mov    0x20(%rbp),%rdx
mov    0x18(%rbp),%rdx
mov    0x10(%rbp),%rdx
mov    %rdi,-0x30(%rbp)
mov    %rsi,-0x38(%rbp)
mov    %al,-0x39(%rbp)
mov    %rcx,-0x48(%rbp)
mov    %r8,-0x50(%rbp)
mov    %r9,-0x58(%rbp)
movss  %xmm0,-0x5c(%rbp)
mov    -0x30(%rbp),%rdi
mov    -0x38(%rbp),%rsi
mov    -0x39(%rbp),%dl
mov    -0x48(%rbp),%rcx
mov    0x18(%rbp),%r9
mov    0x40(%rbp),%rax
mov    0x38(%rbp),%r13
mov    -0x50(%rbp),%r12
mov    -0x58(%rbp),%r15
mov    0x20(%rbp),%r14
mov    0x10(%rbp),%rbx
movss  -0x5c(%rbp),%xmm0
mov    0x28(%rbp),%r8
mov    %r8,-0x68(%rbp)
lea    0xe63(%rip),%r8
lea    0xe5f(%rip),%r10
lea    0xe57(%rip),%r11
movsbl %dl,%edx
mov    %rax,(%rsp)
mov    -0x68(%rbp),%rax
mov    %r13,0x8(%rsp)
mov    %r12,0x10(%rsp)
mov    %r15,0x18(%rsp)
movl   $0xffffffff,0x20(%rsp)
ff
mov    %r14,0x28(%rsp)
mov    %rbx,0x30(%rsp)
mov    %r10,0x38(%rsp)
mov    %r10,0x40(%rsp)
mov    %r10,0x48(%rsp)
mov    %r10,0x50(%rsp)
mov    %r10,0x58(%rsp)
mov    %r10,0x60(%rsp)
mov    %r10,0x68(%rsp)
mov    %r10,0x70(%rsp)
mov    %r11,0x78(%rsp)
mov    %r11,0x80(%rsp)
mov    %r11,0x88(%rsp)
mov    %r10,0x90(%rsp)
mov    %r10,0x98(%rsp)
mov    %rax,0xa0(%rsp)
call   1030 <database_save_adjustment@plt>
add    $0xe8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

x86 assembly (clang, -O2):
<database_save_adjustment_short>:
push   %rbx
mov    %r9,%r11
mov    %r8,%r10
mov    0x18(%rsp),%r9
sub    $0x8,%rsp
lea    0xedc(%rip),%rax
lea    0xed4(%rip),%rbx
lea    0xecb(%rip),%r8
push   0x30(%rsp)
push   %rax
push   %rax
push   %rbx
push   %rbx
push   %rbx
push   %rax
push   %rax
push   %rax
push   %rax
push   %rax
push   %rax
push   %rax
push   %rax
push   0x88(%rsp)
push   0xa0(%rsp)
push   $0xffffffffffffffff
push   %r11
push   %r10
push   0xd8(%rsp)
push   0xe8(%rsp)
call   1030 <database_save_adjustment@plt>
add    $0xb0,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@.str = [2 x i8] c"1\00"
@.str.1 = [1 x i8] zeroinitializer
@.str.2 = [2 x i8] c"0\00"
define i32 @database_save_adjustment_short(i8* %0, i8* %1, i8 signext %2, i8* %3, i8* %4, i8* %5, i8* %6, i8* %7, i8* %8, i8* %9, float %10, i8* %11, i8* %12, i8* %13) {
%15 = alloca i8*
%16 = alloca i8*
%17 = alloca i8
%18 = alloca i8*
%19 = alloca i8*
%20 = alloca i8*
%21 = alloca i8*
%22 = alloca i8*
%23 = alloca i8*
%24 = alloca i8*
%25 = alloca float
%26 = alloca i8*
%27 = alloca i8*
%28 = alloca i8*
store i8* %0, i8** %15
store i8* %1, i8** %16
store i8 %2, i8* %17
store i8* %3, i8** %18
store i8* %4, i8** %19
store i8* %5, i8** %20
store i8* %6, i8** %21
store i8* %7, i8** %22
store i8* %8, i8** %23
store i8* %9, i8** %24
store float %10, float* %25
store i8* %11, i8** %26
store i8* %12, i8** %27
store i8* %13, i8** %28
%29 = load i8*, i8** %15
%30 = load i8*, i8** %16
%31 = load i8, i8* %17
%32 = load i8*, i8** %18
%33 = load i8*, i8** %22
%34 = load i8*, i8** %28
%35 = load i8*, i8** %27
%36 = load i8*, i8** %19
%37 = load i8*, i8** %20
%38 = load i8*, i8** %23
%39 = load i8*, i8** %21
%40 = load float, float* %25
%41 = load i8*, i8** %24
%42 = call i32 @database_save_adjustment(i8* %29, i8* %30, i8 signext %31, i8* %32, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* %33, i8* %34, i8* %35, i8* %36, i8* %37, i32 -1, i8* %38, i8* %39, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), float %40, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8* %41)
ret i32 %42
}

LLVM IR (-O2):
@.str = [2 x i8] c"1\00"
@.str.1 = [1 x i8] zeroinitializer
@.str.2 = [2 x i8] c"0\00"
define i32 @database_save_adjustment_short(i8* %0, i8* %1, i8 signext %2, i8* %3, i8* %4, i8* %5, i8* %6, i8* %7, i8* %8, i8* %9, float %10, i8* nocapture readnone %11, i8* %12, i8* %13) {
%15 = tail call i32 @database_save_adjustment(i8* %0, i8* %1, i8 signext %2, i8* %3, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* %7, i8* %13, i8* %12, i8* %4, i8* %5, i32 -1, i8* %8, i8* %6, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), float %10, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8* %9)
ret i32 %15
}