// File: /workspace/github_c_makefile_star2_O0/haxlang[P]hax/haxUnixAZ.c
// Function: StoreStatData
static int
StoreStatData(
    Hax_Interp *interp,			/* Interpreter for error reports. */
    char *varName,			/* Name of associative array variable
					 * in which to store stat results. */
    struct stat *statPtr		/* Pointer to buffer containing
					 * stat data to store in varName. */)
{
    char string[30];

    sprintf(string, "%lld", (long long int) statPtr->st_dev);
    if (Hax_SetVar2(interp, varName, (char *) "dev", string, HAX_LEAVE_ERR_MSG)
	    == NULL) {
	return HAX_ERROR;
    }
    sprintf(string, "%lld", (long long int) statPtr->st_ino);
    if (Hax_SetVar2(interp, varName, (char *) "ino", string, HAX_LEAVE_ERR_MSG)
	    == NULL) {
	return HAX_ERROR;
    }
    sprintf(string, "%d", statPtr->st_mode);
    if (Hax_SetVar2(interp, varName, (char *) "mode", string, HAX_LEAVE_ERR_MSG)
	    == NULL) {
	return HAX_ERROR;
    }
    sprintf(string, "%lld", (long long int) statPtr->st_nlink);
    if (Hax_SetVar2(interp, varName, (char *) "nlink", string,
	    HAX_LEAVE_ERR_MSG)
	    == NULL) {
	return HAX_ERROR;
    }
    sprintf(string, "%d", statPtr->st_uid);
    if (Hax_SetVar2(interp, varName, (char *) "uid", string, HAX_LEAVE_ERR_MSG)
	    == NULL) {
	return HAX_ERROR;
    }
    sprintf(string, "%d", statPtr->st_gid);
    if (Hax_SetVar2(interp, varName, (char *) "gid", string, HAX_LEAVE_ERR_MSG)
	    == NULL) {
	return HAX_ERROR;
    }
    sprintf(string, "%lld", (long long int) statPtr->st_size);
    if (Hax_SetVar2(interp, varName, (char *) "size", string, HAX_LEAVE_ERR_MSG)
	    == NULL) {
	return HAX_ERROR;
    }
    sprintf(string, "%lld", (long long int) statPtr->st_atime);
    if (Hax_SetVar2(interp, varName, (char *) "atime", string,
	    HAX_LEAVE_ERR_MSG)
	    == NULL) {
	return HAX_ERROR;
    }
    sprintf(string, "%lld", (long long int) statPtr->st_mtime);
    if (Hax_SetVar2(interp, varName, (char *) "mtime", string,
	    HAX_LEAVE_ERR_MSG)
	    == NULL) {
	return HAX_ERROR;
    }
    sprintf(string, "%lld", (long long int) statPtr->st_ctime);
    if (Hax_SetVar2(interp, varName, (char *) "ctime", string,
	    HAX_LEAVE_ERR_MSG)
	    == NULL) {
	return HAX_ERROR;
    }
    if (Hax_SetVar2(interp, varName, (char *) "type",
	    GetFileType((int) statPtr->st_mode), HAX_LEAVE_ERR_MSG) == NULL) {
	return HAX_ERROR;
    }
    return HAX_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
leaq -0x40(%rbp), %rdi
movq -0x20(%rbp), %rax
movq (%rax), %rdx
leaq 0x4f96(%rip), %rsi      # 0xb6cc
movb $0x0, %al
callq 0x35a0
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
leaq -0x40(%rbp), %rcx
leaq 0x4fda(%rip), %rdx      # 0xb72a
movl $0x200, %r8d            # imm = 0x200
callq 0x30c0
cmpq $0x0, %rax
jne 0x676d
movl $0x1, -0x4(%rbp)
jmp 0x6a50
leaq -0x40(%rbp), %rdi
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rdx
leaq 0x4f4c(%rip), %rsi      # 0xb6cc
movb $0x0, %al
callq 0x35a0
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
leaq -0x40(%rbp), %rcx
leaq 0x4f94(%rip), %rdx      # 0xb72e
movl $0x200, %r8d            # imm = 0x200
callq 0x30c0
cmpq $0x0, %rax
jne 0x67b7
movl $0x1, -0x4(%rbp)
jmp 0x6a50
leaq -0x40(%rbp), %rdi
movq -0x20(%rbp), %rax
movl 0x18(%rax), %edx
leaq 0x4dad(%rip), %rsi      # 0xb576
movb $0x0, %al
callq 0x35a0
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
leaq -0x40(%rbp), %rcx
leaq 0x4f4f(%rip), %rdx      # 0xb732
movl $0x200, %r8d            # imm = 0x200
callq 0x30c0
cmpq $0x0, %rax
jne 0x6800
movl $0x1, -0x4(%rbp)
jmp 0x6a50
leaq -0x40(%rbp), %rdi
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rdx
leaq 0x4eb9(%rip), %rsi      # 0xb6cc
movb $0x0, %al
callq 0x35a0
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
leaq -0x40(%rbp), %rcx
leaq 0x4f0a(%rip), %rdx      # 0xb737
movl $0x200, %r8d            # imm = 0x200
callq 0x30c0
cmpq $0x0, %rax
jne 0x684a
movl $0x1, -0x4(%rbp)
jmp 0x6a50
leaq -0x40(%rbp), %rdi
movq -0x20(%rbp), %rax
movl 0x1c(%rax), %edx
leaq 0x4d1a(%rip), %rsi      # 0xb576
movb $0x0, %al
callq 0x35a0
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
leaq -0x40(%rbp), %rcx
leaq 0x4ec7(%rip), %rdx      # 0xb73d
movl $0x200, %r8d            # imm = 0x200
callq 0x30c0
cmpq $0x0, %rax
jne 0x6893
movl $0x1, -0x4(%rbp)
jmp 0x6a50
leaq -0x40(%rbp), %rdi
movq -0x20(%rbp), %rax
movl 0x20(%rax), %edx
leaq 0x4cd1(%rip), %rsi      # 0xb576
movb $0x0, %al
callq 0x35a0
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
leaq -0x40(%rbp), %rcx
leaq 0x4e82(%rip), %rdx      # 0xb741
movl $0x200, %r8d            # imm = 0x200
callq 0x30c0
cmpq $0x0, %rax
jne 0x68dc
movl $0x1, -0x4(%rbp)
jmp 0x6a50
leaq -0x40(%rbp), %rdi
movq -0x20(%rbp), %rax
movq 0x30(%rax), %rdx
leaq 0x4ddd(%rip), %rsi      # 0xb6cc
movb $0x0, %al
callq 0x35a0
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
leaq -0x40(%rbp), %rcx
leaq 0x4a3c(%rip), %rdx      # 0xb345
movl $0x200, %r8d            # imm = 0x200
callq 0x30c0
cmpq $0x0, %rax
jne 0x6926
movl $0x1, -0x4(%rbp)
jmp 0x6a50
leaq -0x40(%rbp), %rdi
movq -0x20(%rbp), %rax
movq 0x48(%rax), %rdx
leaq 0x4d93(%rip), %rsi      # 0xb6cc
movb $0x0, %al
callq 0x35a0
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
leaq -0x40(%rbp), %rcx
leaq 0x4980(%rip), %rdx      # 0xb2d3
movl $0x200, %r8d            # imm = 0x200
callq 0x30c0
cmpq $0x0, %rax
jne 0x6970
movl $0x1, -0x4(%rbp)
jmp 0x6a50
leaq -0x40(%rbp), %rdi
movq -0x20(%rbp), %rax
movq 0x58(%rax), %rdx
leaq 0x4d49(%rip), %rsi      # 0xb6cc
movb $0x0, %al
callq 0x35a0
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
leaq -0x40(%rbp), %rcx
leaq 0x497f(%rip), %rdx      # 0xb31c
movl $0x200, %r8d            # imm = 0x200
callq 0x30c0
cmpq $0x0, %rax
jne 0x69ba
movl $0x1, -0x4(%rbp)
jmp 0x6a50
leaq -0x40(%rbp), %rdi
movq -0x20(%rbp), %rax
movq 0x68(%rax), %rdx
leaq 0x4cff(%rip), %rsi      # 0xb6cc
movb $0x0, %al
callq 0x35a0
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
leaq -0x40(%rbp), %rcx
leaq 0x4d5e(%rip), %rdx      # 0xb745
movl $0x200, %r8d            # imm = 0x200
callq 0x30c0
cmpq $0x0, %rax
jne 0x6a01
movl $0x1, -0x4(%rbp)
jmp 0x6a50
movq -0x10(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x20(%rbp), %rax
movl 0x18(%rax), %edi
callq 0x6a60
movq -0x50(%rbp), %rdi
movq -0x48(%rbp), %rsi
movq %rax, %rcx
leaq 0x493f(%rip), %rdx      # 0xb36e
movl $0x200, %r8d            # imm = 0x200
callq 0x30c0
cmpq $0x0, %rax
jne 0x6a49
movl $0x1, -0x4(%rbp)
jmp 0x6a50
movl $0x0, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x50, %rsp
popq %rbp
retq
nopl (%rax)