You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: syscall_darwin_arm64.go
    path of file: ./repos/bzppx-codepub/vendor/golang.org/x/sys/unix
    
    the code of the file until where you have to start completion: // Copyright 2015 The Go Authors. All rights 
    
func Gettimeofday(tv *Timeval) (err error) {
	// The tv passed to gettimeofday must be non-nil
	// but is otherwise unused. The answers come back
	// in the two registers.
	sec, usec, err := gettimeofday(tv)
	tv.Sec = sec
	tv.Usec = usec
	return err
}